nulogy_sso 2.1.2 → 2.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +10 -0
- data/app/controllers/nulogy_sso/authentication_controller.rb +1 -1
- data/app/services/nulogy_sso/origin_redirector.rb +17 -0
- data/lib/nulogy_sso/version.rb +1 -1
- data/spec/dummy/log/test.log +719 -0
- data/spec/examples.txt +24 -20
- data/spec/{integration → unit}/services/nulogy_sso/authenticator_spec.rb +0 -0
- data/spec/{integration → unit}/services/nulogy_sso/cookie_token_store_spec.rb +0 -0
- data/spec/unit/services/nulogy_sso/origin_redirector_spec.rb +23 -0
- metadata +10 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ad56727743b843b7b225c6aaf8858c97c62c20dc974e3c776b9fc0fb155bc52f
|
4
|
+
data.tar.gz: c53a714607c173e9c1e5b96b9c1a2cedfb268b7c4483487f5fd32cfa306e0f10
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 150658c3b533bc60ebf25ff6660a93389b08b495b17d4efb8e5d6c682a377775fc09c76db34bc65522496002b0f739c1d39bddb6d00ac91c605ff3ffaf817f65
|
7
|
+
data.tar.gz: 8f091e0a1cd0c7aa4bc5f4c327bf72637a729ca53e073710bd414aa082a7cbc7dcdd46e17cf16c3fde207dc5558f6e741e4ce4cbefd9cee560f1d3fe8dd2a20d
|
data/README.md
CHANGED
@@ -115,6 +115,16 @@ There are multiple helpers made available via the `NulogySSO::TestUtilities` mod
|
|
115
115
|
|
116
116
|
It is a common use case for a Rails app to switch from Devise-powered authentication to Auth0. This would also require updates to test helper code, similar to [functionality that Devise provides out of the box](https://github.com/heartcombo/devise/wiki/How-To:-Test-controllers-with-Rails-(and-RSpec)). [See this example](https://github.com/nulogy/Common-Platform-Interface/blob/f9444ded80d6012b9659942481fa2e6b880b54ee/spec/support/controller_integration_spec_macros.rb) of how a test helper could be written for an app using a feature flag (e.g. environment variable) to switch between Devise and NulogySSO authentication.
|
117
117
|
|
118
|
+
###
|
119
|
+
|
120
|
+
1. Ensure that all tests are passing on the project
|
121
|
+
1. Increment the library version in [version.rb](./lib/nulogy_sso/version.rb), adhering to semver principles
|
122
|
+
1. Add a entry to [the Changelog](./CHANGELOG.md). Move all entries in the _Unreleased_ section into the new version's section. Now is also a good chance to add in any addition bullet points that may have been forgotten in the _Unreleased_ section. Append today's date to the new version.
|
123
|
+
1. Run these commands to complete the deployment. Rubygem push rights on this gem is required.
|
124
|
+
```sh
|
125
|
+
gem build
|
126
|
+
```
|
127
|
+
|
118
128
|
### Contributing
|
119
129
|
|
120
130
|
Feel free to create a PR if you wish to add new functionality to this Engine or detect a bug. A developer on CN1 will review and merge.
|
@@ -88,7 +88,7 @@ module NulogySSO
|
|
88
88
|
client_id: sso_config.client_id,
|
89
89
|
response_type: "code",
|
90
90
|
scope: "openid email",
|
91
|
-
redirect_uri:
|
91
|
+
redirect_uri: OriginRedirector.authentication_redirect_uri(session[:previous_request_url])
|
92
92
|
}
|
93
93
|
|
94
94
|
"#{sso_config.base_uri}/authorize?#{query_params.to_query}"
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module NulogySSO
|
4
|
+
module OriginRedirector
|
5
|
+
extend self
|
6
|
+
|
7
|
+
def authentication_redirect_uri(previous_request_uri)
|
8
|
+
if previous_request_uri.blank?
|
9
|
+
sso_config.login_uri
|
10
|
+
else
|
11
|
+
"#{sso_config.login_uri}?origin=#{CGI::escape(previous_request_uri)}"
|
12
|
+
end
|
13
|
+
end
|
14
|
+
|
15
|
+
delegate :sso_config, to: :NulogySSO
|
16
|
+
end
|
17
|
+
end
|
data/lib/nulogy_sso/version.rb
CHANGED
data/spec/dummy/log/test.log
CHANGED
@@ -6214,3 +6214,722 @@ Processing by ApplicationController#hello_world as HTML
|
|
6214
6214
|
Rendered text template (Duration: 0.0ms | Allocations: 3)
|
6215
6215
|
Completed 200 OK in 7ms (Views: 5.6ms | ActiveRecord: 0.1ms | Allocations: 1799)
|
6216
6216
|
[1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
|
6217
|
+
[1m[35m (3.8ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
6218
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "schema_sha1"]]
|
6219
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
6220
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
6221
|
+
[1m[35m (1.4ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
6222
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "schema_sha1"]]
|
6223
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
6224
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
6225
|
+
[1m[35m (1.2ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
6226
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "schema_sha1"]]
|
6227
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
6228
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
6229
|
+
[1m[35m (1.3ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
6230
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "schema_sha1"]]
|
6231
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
6232
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
6233
|
+
[1m[35m (6.4ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
6234
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "schema_sha1"]]
|
6235
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
6236
|
+
[1m[35m (0.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
6237
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
6238
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
6239
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
6240
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
6241
|
+
[1m[35m (0.3ms)[0m [1m[36mbegin transaction[0m
|
6242
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
6243
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
6244
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
6245
|
+
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
6246
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
6247
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
6248
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
6249
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
6250
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
6251
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
6252
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
6253
|
+
[1m[35m (0.3ms)[0m [1m[36mbegin transaction[0m
|
6254
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
6255
|
+
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
6256
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
6257
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
6258
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
6259
|
+
[1m[35m (0.3ms)[0m [1m[36mbegin transaction[0m
|
6260
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6261
|
+
[1m[36mUser Create (6.0ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test@nulogy.com"], ["created_at", "2020-01-17 16:37:35"], ["updated_at", "2020-01-17 16:37:35"]]
|
6262
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6263
|
+
Started GET "/hello_world" for 10.2.2.127 at 2020-01-17 11:37:35 -0500
|
6264
|
+
Processing by ApplicationController#hello_world as HTML
|
6265
|
+
Redirected to http://10.2.2.127:51255/nulogy_sso/login
|
6266
|
+
Filter chain halted as :authenticate_sso_user rendered or redirected
|
6267
|
+
Completed 302 Found in 11ms (ActiveRecord: 0.0ms | Allocations: 449)
|
6268
|
+
Started GET "/nulogy_sso/login" for 10.2.2.127 at 2020-01-17 11:37:35 -0500
|
6269
|
+
Processing by NulogySSO::AuthenticationController#login as HTML
|
6270
|
+
Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms | Allocations: 351)
|
6271
|
+
[1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
|
6272
|
+
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
6273
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6274
|
+
[1m[36mUser Create (0.7ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test@nulogy.com"], ["created_at", "2020-01-17 16:37:35"], ["updated_at", "2020-01-17 16:37:35"]]
|
6275
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6276
|
+
Started GET "/hello_world" for 10.2.2.127 at 2020-01-17 11:37:35 -0500
|
6277
|
+
Processing by ApplicationController#hello_world as HTML
|
6278
|
+
Redirected to http://10.2.2.127:51255/nulogy_sso/login
|
6279
|
+
Filter chain halted as :authenticate_sso_user rendered or redirected
|
6280
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.0ms | Allocations: 325)
|
6281
|
+
Started GET "/nulogy_sso/login" for 10.2.2.127 at 2020-01-17 11:37:35 -0500
|
6282
|
+
Processing by NulogySSO::AuthenticationController#login as HTML
|
6283
|
+
Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms | Allocations: 319)
|
6284
|
+
[1m[35m (0.7ms)[0m [1m[31mrollback transaction[0m
|
6285
|
+
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
6286
|
+
Started GET "/hello_world" for 10.2.2.127 at 2020-01-17 11:37:35 -0500
|
6287
|
+
Processing by ApplicationController#hello_world as HTML
|
6288
|
+
Redirected to http://10.2.2.127:51255/nulogy_sso/login
|
6289
|
+
Filter chain halted as :authenticate_sso_user rendered or redirected
|
6290
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.0ms | Allocations: 325)
|
6291
|
+
Started GET "/nulogy_sso/login" for 10.2.2.127 at 2020-01-17 11:37:35 -0500
|
6292
|
+
Processing by NulogySSO::AuthenticationController#login as HTML
|
6293
|
+
Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms | Allocations: 323)
|
6294
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
6295
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
6296
|
+
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6297
|
+
[1m[36mUser Create (1.4ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test@nulogy.com"], ["created_at", "2020-01-17 16:37:35"], ["updated_at", "2020-01-17 16:37:35"]]
|
6298
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6299
|
+
Started GET "/api_endpoint" for 10.2.2.127 at 2020-01-17 11:37:35 -0500
|
6300
|
+
Processing by ApiController#api_endpoint as HTML
|
6301
|
+
Redirected to http://10.2.2.127:51255/nulogy_sso/login
|
6302
|
+
Filter chain halted as :authenticate_sso_user rendered or redirected
|
6303
|
+
Completed 302 Found in 196ms (ActiveRecord: 0.0ms | Allocations: 2309)
|
6304
|
+
Started GET "/nulogy_sso/login" for 10.2.2.127 at 2020-01-17 11:37:35 -0500
|
6305
|
+
Processing by NulogySSO::AuthenticationController#login as HTML
|
6306
|
+
Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms | Allocations: 489)
|
6307
|
+
[1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
|
6308
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
6309
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6310
|
+
[1m[36mUser Create (0.7ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test@nulogy.com"], ["created_at", "2020-01-17 16:37:35"], ["updated_at", "2020-01-17 16:37:35"]]
|
6311
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6312
|
+
Started GET "/api_endpoint" for 10.2.2.127 at 2020-01-17 11:37:35 -0500
|
6313
|
+
Processing by ApiController#api_endpoint as HTML
|
6314
|
+
Redirected to http://10.2.2.127:51255/nulogy_sso/login
|
6315
|
+
Filter chain halted as :authenticate_sso_user rendered or redirected
|
6316
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.0ms | Allocations: 316)
|
6317
|
+
Started GET "/nulogy_sso/login" for 10.2.2.127 at 2020-01-17 11:37:35 -0500
|
6318
|
+
Processing by NulogySSO::AuthenticationController#login as HTML
|
6319
|
+
Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms | Allocations: 319)
|
6320
|
+
[1m[35m (0.8ms)[0m [1m[31mrollback transaction[0m
|
6321
|
+
[1m[35m (3.8ms)[0m [1m[36mbegin transaction[0m
|
6322
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6323
|
+
[1m[36mUser Create (0.9ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test@nulogy.com"], ["created_at", "2020-01-17 16:37:35"], ["updated_at", "2020-01-17 16:37:35"]]
|
6324
|
+
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6325
|
+
Started GET "/api_endpoint" for 10.2.2.127 at 2020-01-17 11:37:35 -0500
|
6326
|
+
Processing by ApiController#api_endpoint as HTML
|
6327
|
+
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = ? LIMIT ?[0m [["email", "test@nulogy.com"], ["LIMIT", 1]]
|
6328
|
+
Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.4ms | Allocations: 839)
|
6329
|
+
[1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
|
6330
|
+
[1m[35m (1.6ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
6331
|
+
[1m[35m (0.6ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "schema_sha1"]]
|
6332
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
6333
|
+
[1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
6334
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
6335
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6336
|
+
[1m[36mUser Create (0.9ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test@nulogy.com"], ["created_at", "2020-01-17 16:39:12.625037"], ["updated_at", "2020-01-17 16:39:12.625037"]]
|
6337
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6338
|
+
Started GET "/hello_world" for 10.2.2.127 at 2020-01-17 11:39:13 -0500
|
6339
|
+
Processing by ApplicationController#hello_world as HTML
|
6340
|
+
Redirected to http://10.2.2.127:51383/nulogy_sso/login
|
6341
|
+
Filter chain halted as :authenticate_sso_user rendered or redirected
|
6342
|
+
Completed 302 Found in 10ms (ActiveRecord: 0.0ms | Allocations: 856)
|
6343
|
+
Started GET "/nulogy_sso/login" for 10.2.2.127 at 2020-01-17 11:39:13 -0500
|
6344
|
+
Processing by NulogySSO::AuthenticationController#login as HTML
|
6345
|
+
Completed 500 Internal Server Error in 14ms (ActiveRecord: 0.0ms | Allocations: 3008)
|
6346
|
+
[1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
|
6347
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
6348
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6349
|
+
[1m[36mUser Create (0.9ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test@nulogy.com"], ["created_at", "2020-01-17 16:39:15.415760"], ["updated_at", "2020-01-17 16:39:15.415760"]]
|
6350
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6351
|
+
Started GET "/hello_world" for 10.2.2.127 at 2020-01-17 11:39:15 -0500
|
6352
|
+
Processing by ApplicationController#hello_world as HTML
|
6353
|
+
Redirected to http://10.2.2.127:51383/nulogy_sso/login
|
6354
|
+
Filter chain halted as :authenticate_sso_user rendered or redirected
|
6355
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.0ms | Allocations: 323)
|
6356
|
+
Started GET "/nulogy_sso/login" for 10.2.2.127 at 2020-01-17 11:39:15 -0500
|
6357
|
+
Processing by NulogySSO::AuthenticationController#login as HTML
|
6358
|
+
Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms | Allocations: 319)
|
6359
|
+
[1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
|
6360
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
6361
|
+
Started GET "/hello_world" for 10.2.2.127 at 2020-01-17 11:39:16 -0500
|
6362
|
+
Processing by ApplicationController#hello_world as HTML
|
6363
|
+
Redirected to http://10.2.2.127:51383/nulogy_sso/login
|
6364
|
+
Filter chain halted as :authenticate_sso_user rendered or redirected
|
6365
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.0ms | Allocations: 323)
|
6366
|
+
Started GET "/nulogy_sso/login" for 10.2.2.127 at 2020-01-17 11:39:16 -0500
|
6367
|
+
Processing by NulogySSO::AuthenticationController#login as HTML
|
6368
|
+
Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms | Allocations: 317)
|
6369
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
6370
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
6371
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6372
|
+
[1m[36mUser Create (0.7ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test@nulogy.com"], ["created_at", "2020-01-17 16:39:18.013513"], ["updated_at", "2020-01-17 16:39:18.013513"]]
|
6373
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6374
|
+
Started GET "/hello_world" for 10.2.2.127 at 2020-01-17 11:39:18 -0500
|
6375
|
+
Processing by ApplicationController#hello_world as HTML
|
6376
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = ? LIMIT ?[0m [["email", "test@nulogy.com"], ["LIMIT", 1]]
|
6377
|
+
Rendering text template
|
6378
|
+
Rendered text template (Duration: 0.1ms | Allocations: 3)
|
6379
|
+
Completed 200 OK in 72ms (Views: 8.1ms | ActiveRecord: 0.3ms | Allocations: 3715)
|
6380
|
+
[1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
|
6381
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
6382
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6383
|
+
[1m[36mUser Create (0.7ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test@nulogy.com"], ["created_at", "2020-01-17 16:39:19.843720"], ["updated_at", "2020-01-17 16:39:19.843720"]]
|
6384
|
+
[1m[35m (1.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6385
|
+
Started GET "/hello_world" for 10.2.2.127 at 2020-01-17 11:39:20 -0500
|
6386
|
+
Processing by ApplicationController#hello_world as HTML
|
6387
|
+
Redirected to http://10.2.2.127:51383/nulogy_sso/login
|
6388
|
+
Filter chain halted as :authenticate_sso_user rendered or redirected
|
6389
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.0ms | Allocations: 323)
|
6390
|
+
Started GET "/nulogy_sso/login" for 10.2.2.127 at 2020-01-17 11:39:20 -0500
|
6391
|
+
Processing by NulogySSO::AuthenticationController#login as HTML
|
6392
|
+
Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms | Allocations: 312)
|
6393
|
+
[1m[35m (7.6ms)[0m [1m[31mrollback transaction[0m
|
6394
|
+
[1m[35m (0.5ms)[0m [1m[36mbegin transaction[0m
|
6395
|
+
[1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6396
|
+
[1m[36mUser Create (2.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test@nulogy.com"], ["created_at", "2020-01-17 16:39:20.997464"], ["updated_at", "2020-01-17 16:39:20.997464"]]
|
6397
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6398
|
+
Started GET "/hello_world" for 10.2.2.127 at 2020-01-17 11:39:21 -0500
|
6399
|
+
Processing by ApplicationController#hello_world as HTML
|
6400
|
+
Redirected to http://10.2.2.127:51383/nulogy_sso/login
|
6401
|
+
Filter chain halted as :authenticate_sso_user rendered or redirected
|
6402
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.0ms | Allocations: 500)
|
6403
|
+
Started GET "/nulogy_sso/login" for 10.2.2.127 at 2020-01-17 11:39:21 -0500
|
6404
|
+
Processing by NulogySSO::AuthenticationController#login as HTML
|
6405
|
+
Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms | Allocations: 481)
|
6406
|
+
[1m[35m (1.0ms)[0m [1m[31mrollback transaction[0m
|
6407
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
6408
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6409
|
+
[1m[36mUser Create (0.7ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test@nulogy.com"], ["created_at", "2020-01-17 16:39:22.151598"], ["updated_at", "2020-01-17 16:39:22.151598"]]
|
6410
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6411
|
+
Started GET "/api_endpoint" for 10.2.2.127 at 2020-01-17 11:39:22 -0500
|
6412
|
+
Processing by ApiController#api_endpoint as HTML
|
6413
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = ? LIMIT ?[0m [["email", "test@nulogy.com"], ["LIMIT", 1]]
|
6414
|
+
Completed 200 OK in 4ms (Views: 0.4ms | ActiveRecord: 0.2ms | Allocations: 661)
|
6415
|
+
[1m[35m (0.7ms)[0m [1m[31mrollback transaction[0m
|
6416
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
6417
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6418
|
+
[1m[36mUser Create (0.8ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test@nulogy.com"], ["created_at", "2020-01-17 16:39:23.498168"], ["updated_at", "2020-01-17 16:39:23.498168"]]
|
6419
|
+
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6420
|
+
Started GET "/api_endpoint" for 10.2.2.127 at 2020-01-17 11:39:23 -0500
|
6421
|
+
Processing by ApiController#api_endpoint as HTML
|
6422
|
+
Redirected to http://10.2.2.127:51383/nulogy_sso/login
|
6423
|
+
Filter chain halted as :authenticate_sso_user rendered or redirected
|
6424
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.0ms | Allocations: 319)
|
6425
|
+
Started GET "/nulogy_sso/login" for 10.2.2.127 at 2020-01-17 11:39:23 -0500
|
6426
|
+
Processing by NulogySSO::AuthenticationController#login as HTML
|
6427
|
+
Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms | Allocations: 313)
|
6428
|
+
[1m[35m (0.8ms)[0m [1m[31mrollback transaction[0m
|
6429
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
6430
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6431
|
+
[1m[36mUser Create (0.6ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test@nulogy.com"], ["created_at", "2020-01-17 16:39:24.500073"], ["updated_at", "2020-01-17 16:39:24.500073"]]
|
6432
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6433
|
+
Started GET "/api_endpoint" for 10.2.2.127 at 2020-01-17 11:39:24 -0500
|
6434
|
+
Processing by ApiController#api_endpoint as HTML
|
6435
|
+
Redirected to http://10.2.2.127:51383/nulogy_sso/login
|
6436
|
+
Filter chain halted as :authenticate_sso_user rendered or redirected
|
6437
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.0ms | Allocations: 491)
|
6438
|
+
Started GET "/nulogy_sso/login" for 10.2.2.127 at 2020-01-17 11:39:24 -0500
|
6439
|
+
Processing by NulogySSO::AuthenticationController#login as HTML
|
6440
|
+
Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.0ms | Allocations: 483)
|
6441
|
+
[1m[35m (0.7ms)[0m [1m[31mrollback transaction[0m
|
6442
|
+
[1m[35m (3.3ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
6443
|
+
[1m[35m (0.5ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "schema_sha1"]]
|
6444
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
6445
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
6446
|
+
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
6447
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6448
|
+
[1m[36mUser Create (0.9ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test@nulogy.com"], ["created_at", "2020-01-17 16:40:16.720550"], ["updated_at", "2020-01-17 16:40:16.720550"]]
|
6449
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6450
|
+
Started GET "/hello_world" for 10.2.2.127 at 2020-01-17 11:40:23 -0500
|
6451
|
+
Processing by ApplicationController#hello_world as HTML
|
6452
|
+
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = ? LIMIT ?[0m [["email", "test@nulogy.com"], ["LIMIT", 1]]
|
6453
|
+
Rendering text template
|
6454
|
+
Rendered text template (Duration: 0.0ms | Allocations: 3)
|
6455
|
+
Completed 200 OK in 147ms (Views: 12.6ms | ActiveRecord: 0.4ms | Allocations: 6899)
|
6456
|
+
[1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
|
6457
|
+
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
6458
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6459
|
+
[1m[36mUser Create (1.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test@nulogy.com"], ["created_at", "2020-01-17 16:40:23.923377"], ["updated_at", "2020-01-17 16:40:23.923377"]]
|
6460
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6461
|
+
Started GET "/hello_world" for 10.2.2.127 at 2020-01-17 11:40:24 -0500
|
6462
|
+
Processing by ApplicationController#hello_world as HTML
|
6463
|
+
Redirected to http://10.2.2.127:51538/nulogy_sso/login
|
6464
|
+
Filter chain halted as :authenticate_sso_user rendered or redirected
|
6465
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms | Allocations: 345)
|
6466
|
+
Started GET "/nulogy_sso/login" for 10.2.2.127 at 2020-01-17 11:40:24 -0500
|
6467
|
+
Processing by NulogySSO::AuthenticationController#login as HTML
|
6468
|
+
Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms | Allocations: 353)
|
6469
|
+
[1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
|
6470
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
6471
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6472
|
+
[1m[36mUser Create (0.6ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test@nulogy.com"], ["created_at", "2020-01-17 16:40:25.291119"], ["updated_at", "2020-01-17 16:40:25.291119"]]
|
6473
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6474
|
+
Started GET "/hello_world" for 10.2.2.127 at 2020-01-17 11:40:25 -0500
|
6475
|
+
Processing by ApplicationController#hello_world as HTML
|
6476
|
+
Redirected to http://10.2.2.127:51538/nulogy_sso/login
|
6477
|
+
Filter chain halted as :authenticate_sso_user rendered or redirected
|
6478
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.0ms | Allocations: 500)
|
6479
|
+
Started GET "/nulogy_sso/login" for 10.2.2.127 at 2020-01-17 11:40:25 -0500
|
6480
|
+
Processing by NulogySSO::AuthenticationController#login as HTML
|
6481
|
+
Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms | Allocations: 487)
|
6482
|
+
[1m[35m (0.9ms)[0m [1m[31mrollback transaction[0m
|
6483
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
6484
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6485
|
+
[1m[36mUser Create (0.6ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test@nulogy.com"], ["created_at", "2020-01-17 16:40:26.169103"], ["updated_at", "2020-01-17 16:40:26.169103"]]
|
6486
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6487
|
+
Started GET "/api_endpoint" for 10.2.2.127 at 2020-01-17 11:40:26 -0500
|
6488
|
+
Processing by ApiController#api_endpoint as HTML
|
6489
|
+
Redirected to http://10.2.2.127:51538/nulogy_sso/login
|
6490
|
+
Filter chain halted as :authenticate_sso_user rendered or redirected
|
6491
|
+
Completed 302 Found in 58ms (ActiveRecord: 0.0ms | Allocations: 356)
|
6492
|
+
Started GET "/nulogy_sso/login" for 10.2.2.127 at 2020-01-17 11:40:26 -0500
|
6493
|
+
Processing by NulogySSO::AuthenticationController#login as HTML
|
6494
|
+
Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms | Allocations: 310)
|
6495
|
+
[1m[35m (1.2ms)[0m [1m[31mrollback transaction[0m
|
6496
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
6497
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6498
|
+
[1m[36mUser Create (0.4ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test@nulogy.com"], ["created_at", "2020-01-17 16:40:27.098346"], ["updated_at", "2020-01-17 16:40:27.098346"]]
|
6499
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6500
|
+
Started GET "/api_endpoint" for 10.2.2.127 at 2020-01-17 11:40:27 -0500
|
6501
|
+
Processing by ApiController#api_endpoint as HTML
|
6502
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = ? LIMIT ?[0m [["email", "test@nulogy.com"], ["LIMIT", 1]]
|
6503
|
+
Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.2ms | Allocations: 629)
|
6504
|
+
[1m[35m (0.9ms)[0m [1m[31mrollback transaction[0m
|
6505
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
6506
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6507
|
+
[1m[36mUser Create (0.7ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test@nulogy.com"], ["created_at", "2020-01-17 16:40:28.169658"], ["updated_at", "2020-01-17 16:40:28.169658"]]
|
6508
|
+
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6509
|
+
Started GET "/api_endpoint" for 10.2.2.127 at 2020-01-17 11:40:28 -0500
|
6510
|
+
Processing by ApiController#api_endpoint as HTML
|
6511
|
+
Redirected to http://10.2.2.127:51538/nulogy_sso/login
|
6512
|
+
Filter chain halted as :authenticate_sso_user rendered or redirected
|
6513
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.0ms | Allocations: 491)
|
6514
|
+
Started GET "/nulogy_sso/login" for 10.2.2.127 at 2020-01-17 11:40:28 -0500
|
6515
|
+
Processing by NulogySSO::AuthenticationController#login as HTML
|
6516
|
+
Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms | Allocations: 475)
|
6517
|
+
[1m[35m (0.7ms)[0m [1m[31mrollback transaction[0m
|
6518
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
6519
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6520
|
+
[1m[36mUser Create (0.9ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test@nulogy.com"], ["created_at", "2020-01-17 16:40:29.405928"], ["updated_at", "2020-01-17 16:40:29.405928"]]
|
6521
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6522
|
+
Started GET "/hello_world" for 10.2.2.127 at 2020-01-17 11:40:29 -0500
|
6523
|
+
Processing by ApplicationController#hello_world as HTML
|
6524
|
+
Redirected to http://10.2.2.127:51538/nulogy_sso/login
|
6525
|
+
Filter chain halted as :authenticate_sso_user rendered or redirected
|
6526
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.0ms | Allocations: 323)
|
6527
|
+
Started GET "/nulogy_sso/login" for 10.2.2.127 at 2020-01-17 11:40:29 -0500
|
6528
|
+
Processing by NulogySSO::AuthenticationController#login as HTML
|
6529
|
+
Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms | Allocations: 317)
|
6530
|
+
[1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
|
6531
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
6532
|
+
Started GET "/hello_world" for 10.2.2.127 at 2020-01-17 11:40:30 -0500
|
6533
|
+
Processing by ApplicationController#hello_world as HTML
|
6534
|
+
Redirected to http://10.2.2.127:51538/nulogy_sso/login
|
6535
|
+
Filter chain halted as :authenticate_sso_user rendered or redirected
|
6536
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms | Allocations: 323)
|
6537
|
+
Started GET "/nulogy_sso/login" for 10.2.2.127 at 2020-01-17 11:40:30 -0500
|
6538
|
+
Processing by NulogySSO::AuthenticationController#login as HTML
|
6539
|
+
Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms | Allocations: 307)
|
6540
|
+
[1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
|
6541
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
6542
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6543
|
+
[1m[36mUser Create (0.8ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test@nulogy.com"], ["created_at", "2020-01-17 16:40:31.770225"], ["updated_at", "2020-01-17 16:40:31.770225"]]
|
6544
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6545
|
+
Started GET "/hello_world" for 10.2.2.127 at 2020-01-17 11:40:31 -0500
|
6546
|
+
Processing by ApplicationController#hello_world as HTML
|
6547
|
+
Redirected to http://10.2.2.127:51538/nulogy_sso/login
|
6548
|
+
Filter chain halted as :authenticate_sso_user rendered or redirected
|
6549
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms | Allocations: 323)
|
6550
|
+
Started GET "/nulogy_sso/login" for 10.2.2.127 at 2020-01-17 11:40:31 -0500
|
6551
|
+
Processing by NulogySSO::AuthenticationController#login as HTML
|
6552
|
+
Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms | Allocations: 315)
|
6553
|
+
[1m[35m (0.7ms)[0m [1m[31mrollback transaction[0m
|
6554
|
+
[1m[35m (2.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
6555
|
+
[1m[35m (12.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "schema_sha1"]]
|
6556
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
6557
|
+
[1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
6558
|
+
[1m[35m (2.3ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
6559
|
+
[1m[35m (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "schema_sha1"]]
|
6560
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
6561
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
6562
|
+
[1m[35m (2.7ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
6563
|
+
[1m[35m (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "schema_sha1"]]
|
6564
|
+
[1m[35m (0.5ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
6565
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
6566
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
6567
|
+
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
6568
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
6569
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
6570
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
6571
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
6572
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
6573
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
6574
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
6575
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
6576
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
6577
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
6578
|
+
[1m[35m (0.3ms)[0m [1m[36mbegin transaction[0m
|
6579
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
6580
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
6581
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
6582
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
6583
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
6584
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
6585
|
+
[1m[35m (2.7ms)[0m [1m[31mrollback transaction[0m
|
6586
|
+
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
6587
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
6588
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
6589
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
6590
|
+
[1m[35m (4.2ms)[0m [1m[36mbegin transaction[0m
|
6591
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
6592
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
6593
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6594
|
+
[1m[36mUser Create (0.9ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test@nulogy.com"], ["created_at", "2020-01-17 16:47:11"], ["updated_at", "2020-01-17 16:47:11"]]
|
6595
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6596
|
+
[1m[35m (3.6ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
6597
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "schema_sha1"]]
|
6598
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
6599
|
+
[1m[35m (0.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
6600
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
6601
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
6602
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
6603
|
+
[1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
|
6604
|
+
[1m[35m (0.7ms)[0m [1m[36mbegin transaction[0m
|
6605
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
6606
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
6607
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6608
|
+
[1m[36mUser Create (0.9ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test@nulogy.com"], ["created_at", "2020-01-17 16:49:35"], ["updated_at", "2020-01-17 16:49:35"]]
|
6609
|
+
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6610
|
+
Started GET "/api_endpoint" for 10.2.2.127 at 2020-01-17 11:49:35 -0500
|
6611
|
+
Processing by ApiController#api_endpoint as HTML
|
6612
|
+
Redirected to http://10.2.2.127:51781/nulogy_sso/login
|
6613
|
+
Filter chain halted as :authenticate_sso_user rendered or redirected
|
6614
|
+
Completed 302 Found in 10ms (ActiveRecord: 0.0ms | Allocations: 413)
|
6615
|
+
Started GET "/nulogy_sso/login" for 10.2.2.127 at 2020-01-17 11:49:35 -0500
|
6616
|
+
Processing by NulogySSO::AuthenticationController#login as HTML
|
6617
|
+
Redirected to http://localhost:1080/authorize?audience=mock_audience&client_id=mock_client_id&redirect_uri=mock_login_uri%3Forigin%3Dhttp%253A%252F%252F10.2.2.127%253A51781%252Fapi_endpoint&response_type=code&scope=openid+email
|
6618
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms | Allocations: 362)
|
6619
|
+
[1m[35m (0.9ms)[0m [1m[31mrollback transaction[0m
|
6620
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
6621
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6622
|
+
[1m[36mUser Create (1.6ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test@nulogy.com"], ["created_at", "2020-01-17 16:49:35"], ["updated_at", "2020-01-17 16:49:35"]]
|
6623
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6624
|
+
Started GET "/api_endpoint" for 10.2.2.127 at 2020-01-17 11:49:35 -0500
|
6625
|
+
Processing by ApiController#api_endpoint as HTML
|
6626
|
+
Redirected to http://10.2.2.127:51781/nulogy_sso/login
|
6627
|
+
Filter chain halted as :authenticate_sso_user rendered or redirected
|
6628
|
+
Completed 302 Found in 308ms (ActiveRecord: 0.0ms | Allocations: 2280)
|
6629
|
+
Started GET "/nulogy_sso/login" for 10.2.2.127 at 2020-01-17 11:49:35 -0500
|
6630
|
+
Processing by NulogySSO::AuthenticationController#login as HTML
|
6631
|
+
Redirected to http://localhost:1080/authorize?audience=mock_audience&client_id=mock_client_id&redirect_uri=mock_login_uri%3Forigin%3Dhttp%253A%252F%252F10.2.2.127%253A51781%252Fapi_endpoint&response_type=code&scope=openid+email
|
6632
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.0ms | Allocations: 470)
|
6633
|
+
[1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
|
6634
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
6635
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6636
|
+
[1m[36mUser Create (0.8ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test@nulogy.com"], ["created_at", "2020-01-17 16:49:35"], ["updated_at", "2020-01-17 16:49:35"]]
|
6637
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6638
|
+
Started GET "/api_endpoint" for 10.2.2.127 at 2020-01-17 11:49:35 -0500
|
6639
|
+
Processing by ApiController#api_endpoint as HTML
|
6640
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = ? LIMIT ?[0m [["email", "test@nulogy.com"], ["LIMIT", 1]]
|
6641
|
+
Completed 200 OK in 5ms (Views: 0.4ms | ActiveRecord: 0.3ms | Allocations: 835)
|
6642
|
+
[1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
|
6643
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
6644
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6645
|
+
[1m[36mUser Create (0.7ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test@nulogy.com"], ["created_at", "2020-01-17 16:49:35"], ["updated_at", "2020-01-17 16:49:35"]]
|
6646
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6647
|
+
Started GET "/hello_world" for 10.2.2.127 at 2020-01-17 11:49:35 -0500
|
6648
|
+
Processing by ApplicationController#hello_world as HTML
|
6649
|
+
Redirected to http://10.2.2.127:51781/nulogy_sso/login
|
6650
|
+
Filter chain halted as :authenticate_sso_user rendered or redirected
|
6651
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.0ms | Allocations: 373)
|
6652
|
+
Started GET "/nulogy_sso/login" for 10.2.2.127 at 2020-01-17 11:49:35 -0500
|
6653
|
+
Processing by NulogySSO::AuthenticationController#login as HTML
|
6654
|
+
Redirected to http://localhost:1080/authorize?audience=mock_audience&client_id=mock_client_id&redirect_uri=mock_login_uri%3Forigin%3Dhttp%253A%252F%252F10.2.2.127%253A51781%252Fhello_world&response_type=code&scope=openid+email
|
6655
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms | Allocations: 303)
|
6656
|
+
[1m[35m (0.7ms)[0m [1m[31mrollback transaction[0m
|
6657
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
6658
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6659
|
+
[1m[36mUser Create (0.4ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test@nulogy.com"], ["created_at", "2020-01-17 16:49:35"], ["updated_at", "2020-01-17 16:49:35"]]
|
6660
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6661
|
+
Started GET "/hello_world" for 10.2.2.127 at 2020-01-17 11:49:35 -0500
|
6662
|
+
Processing by ApplicationController#hello_world as HTML
|
6663
|
+
Redirected to http://10.2.2.127:51781/nulogy_sso/login
|
6664
|
+
Filter chain halted as :authenticate_sso_user rendered or redirected
|
6665
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.0ms | Allocations: 503)
|
6666
|
+
Started GET "/nulogy_sso/login" for 10.2.2.127 at 2020-01-17 11:49:35 -0500
|
6667
|
+
Processing by NulogySSO::AuthenticationController#login as HTML
|
6668
|
+
Redirected to http://localhost:1080/authorize?audience=mock_audience&client_id=mock_client_id&redirect_uri=mock_login_uri%3Forigin%3Dhttp%253A%252F%252F10.2.2.127%253A51781%252Fhello_world&response_type=code&scope=openid+email
|
6669
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms | Allocations: 470)
|
6670
|
+
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
6671
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
6672
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6673
|
+
[1m[36mUser Create (0.4ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test@nulogy.com"], ["created_at", "2020-01-17 16:49:35"], ["updated_at", "2020-01-17 16:49:35"]]
|
6674
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6675
|
+
Started GET "/hello_world" for 10.2.2.127 at 2020-01-17 11:49:35 -0500
|
6676
|
+
Processing by ApplicationController#hello_world as HTML
|
6677
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = ? LIMIT ?[0m [["email", "test@nulogy.com"], ["LIMIT", 1]]
|
6678
|
+
Rendering text template
|
6679
|
+
Rendered text template (Duration: 0.1ms | Allocations: 3)
|
6680
|
+
Completed 200 OK in 13ms (Views: 9.1ms | ActiveRecord: 0.3ms | Allocations: 1703)
|
6681
|
+
[1m[35m (0.9ms)[0m [1m[31mrollback transaction[0m
|
6682
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
6683
|
+
Started GET "/hello_world" for 10.2.2.127 at 2020-01-17 11:49:35 -0500
|
6684
|
+
Processing by ApplicationController#hello_world as HTML
|
6685
|
+
Redirected to http://10.2.2.127:51781/nulogy_sso/login
|
6686
|
+
Filter chain halted as :authenticate_sso_user rendered or redirected
|
6687
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms | Allocations: 325)
|
6688
|
+
Started GET "/nulogy_sso/login" for 10.2.2.127 at 2020-01-17 11:49:35 -0500
|
6689
|
+
Processing by NulogySSO::AuthenticationController#login as HTML
|
6690
|
+
Redirected to http://localhost:1080/authorize?audience=mock_audience&client_id=mock_client_id&redirect_uri=mock_login_uri%3Forigin%3Dhttp%253A%252F%252F10.2.2.127%253A51781%252Fhello_world&response_type=code&scope=openid+email
|
6691
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms | Allocations: 299)
|
6692
|
+
Started GET "/nulogy_sso/verify_authentication_code?code=FAKE_CODE&origin=http%3A%2F%2F10.2.2.127%3A51781%2Fhello_world" for 10.2.2.127 at 2020-01-17 11:49:35 -0500
|
6693
|
+
Processing by NulogySSO::AuthenticationController#verify_authentication_code as HTML
|
6694
|
+
Parameters: {"code"=>"FAKE_CODE", "origin"=>"http://10.2.2.127:51781/hello_world"}
|
6695
|
+
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = ? LIMIT ?[0m [["email", "test@nulogy.com"], ["LIMIT", 1]]
|
6696
|
+
Rendering text template
|
6697
|
+
Rendered text template (Duration: 0.1ms | Allocations: 1)
|
6698
|
+
Completed 200 OK in 93ms (Views: 1.9ms | ActiveRecord: 0.4ms | Allocations: 3930)
|
6699
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
6700
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
6701
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6702
|
+
[1m[36mUser Create (0.5ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test@nulogy.com"], ["created_at", "2020-01-17 16:49:35"], ["updated_at", "2020-01-17 16:49:35"]]
|
6703
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6704
|
+
Started GET "/hello_world" for 10.2.2.127 at 2020-01-17 11:49:35 -0500
|
6705
|
+
Processing by ApplicationController#hello_world as HTML
|
6706
|
+
Redirected to http://10.2.2.127:51781/nulogy_sso/login
|
6707
|
+
Filter chain halted as :authenticate_sso_user rendered or redirected
|
6708
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.0ms | Allocations: 325)
|
6709
|
+
Started GET "/nulogy_sso/login" for 10.2.2.127 at 2020-01-17 11:49:35 -0500
|
6710
|
+
Processing by NulogySSO::AuthenticationController#login as HTML
|
6711
|
+
Redirected to http://localhost:1080/authorize?audience=mock_audience&client_id=mock_client_id&redirect_uri=mock_login_uri%3Forigin%3Dhttp%253A%252F%252F10.2.2.127%253A51781%252Fhello_world&response_type=code&scope=openid+email
|
6712
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms | Allocations: 307)
|
6713
|
+
Started GET "/nulogy_sso/verify_authentication_code?code=FAKE_CODE&origin=http%3A%2F%2F10.2.2.127%3A51781%2Fhello_world" for 10.2.2.127 at 2020-01-17 11:49:35 -0500
|
6714
|
+
Processing by NulogySSO::AuthenticationController#verify_authentication_code as HTML
|
6715
|
+
Parameters: {"code"=>"FAKE_CODE", "origin"=>"http://10.2.2.127:51781/hello_world"}
|
6716
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = ? LIMIT ?[0m [["email", "test@nulogy.com"], ["LIMIT", 1]]
|
6717
|
+
Redirected to http://10.2.2.127:51781/hello_world
|
6718
|
+
Completed 302 Found in 64ms (ActiveRecord: 0.3ms | Allocations: 2726)
|
6719
|
+
Started GET "/hello_world" for 10.2.2.127 at 2020-01-17 11:49:35 -0500
|
6720
|
+
Processing by ApplicationController#hello_world as HTML
|
6721
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = ? LIMIT ?[0m [["email", "test@nulogy.com"], ["LIMIT", 1]]
|
6722
|
+
Rendering text template
|
6723
|
+
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
6724
|
+
Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.1ms | Allocations: 726)
|
6725
|
+
[1m[35m (0.7ms)[0m [1m[31mrollback transaction[0m
|
6726
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
6727
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6728
|
+
[1m[36mUser Create (0.4ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test@nulogy.com"], ["created_at", "2020-01-17 16:49:35"], ["updated_at", "2020-01-17 16:49:35"]]
|
6729
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6730
|
+
Started GET "/hello_world" for 10.2.2.127 at 2020-01-17 11:49:35 -0500
|
6731
|
+
Processing by ApplicationController#hello_world as HTML
|
6732
|
+
Redirected to http://10.2.2.127:51781/nulogy_sso/login
|
6733
|
+
Filter chain halted as :authenticate_sso_user rendered or redirected
|
6734
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms | Allocations: 325)
|
6735
|
+
Started GET "/nulogy_sso/login" for 10.2.2.127 at 2020-01-17 11:49:35 -0500
|
6736
|
+
Processing by NulogySSO::AuthenticationController#login as HTML
|
6737
|
+
Redirected to http://localhost:1080/authorize?audience=mock_audience&client_id=mock_client_id&redirect_uri=mock_login_uri%3Forigin%3Dhttp%253A%252F%252F10.2.2.127%253A51781%252Fhello_world&response_type=code&scope=openid+email
|
6738
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms | Allocations: 301)
|
6739
|
+
Started GET "/nulogy_sso/verify_authentication_code?code=FAKE_CODE&origin=http%3A%2F%2F10.2.2.127%3A51781%2Fhello_world" for 10.2.2.127 at 2020-01-17 11:49:35 -0500
|
6740
|
+
Processing by NulogySSO::AuthenticationController#verify_authentication_code as HTML
|
6741
|
+
Parameters: {"code"=>"FAKE_CODE", "origin"=>"http://10.2.2.127:51781/hello_world"}
|
6742
|
+
Rendering text template
|
6743
|
+
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
6744
|
+
Completed 200 OK in 56ms (Views: 0.7ms | ActiveRecord: 0.0ms | Allocations: 2284)
|
6745
|
+
[1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
|
6746
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
6747
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
6748
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
6749
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
6750
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
6751
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
6752
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
6753
|
+
[1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
|
6754
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
6755
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
6756
|
+
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
6757
|
+
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
6758
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
6759
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
6760
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
6761
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
6762
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
6763
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
6764
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
6765
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
6766
|
+
[1m[35m (1.6ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
6767
|
+
[1m[35m (0.7ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "schema_sha1"]]
|
6768
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
6769
|
+
[1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
6770
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
6771
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
6772
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
6773
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
6774
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
6775
|
+
[1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
|
6776
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
6777
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
6778
|
+
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
6779
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
6780
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
6781
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
6782
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
6783
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
6784
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
6785
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
6786
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
6787
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6788
|
+
[1m[36mUser Create (2.3ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test@nulogy.com"], ["created_at", "2020-01-17 18:29:57.714154"], ["updated_at", "2020-01-17 18:29:57.714154"]]
|
6789
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6790
|
+
Started GET "/hello_world" for 10.2.2.127 at 2020-01-17 13:29:58 -0500
|
6791
|
+
Processing by ApplicationController#hello_world as HTML
|
6792
|
+
Redirected to http://10.2.2.127:52562/nulogy_sso/login
|
6793
|
+
Filter chain halted as :authenticate_sso_user rendered or redirected
|
6794
|
+
Completed 302 Found in 8ms (ActiveRecord: 0.0ms | Allocations: 473)
|
6795
|
+
Started GET "/nulogy_sso/login" for 10.2.2.127 at 2020-01-17 13:29:58 -0500
|
6796
|
+
Processing by NulogySSO::AuthenticationController#login as HTML
|
6797
|
+
Redirected to http://localhost:1080/authorize?audience=mock_audience&client_id=mock_client_id&redirect_uri=mock_login_uri%3Forigin%3Dhttp%253A%252F%252F10.2.2.127%253A52562%252Fhello_world&response_type=code&scope=openid+email
|
6798
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms | Allocations: 341)
|
6799
|
+
Started GET "/nulogy_sso/verify_authentication_code?code=FAKE_CODE&origin=http%3A%2F%2F10.2.2.127%3A52562%2Fhello_world" for 10.2.2.127 at 2020-01-17 13:29:59 -0500
|
6800
|
+
Processing by NulogySSO::AuthenticationController#verify_authentication_code as HTML
|
6801
|
+
Parameters: {"code"=>"FAKE_CODE", "origin"=>"http://10.2.2.127:52562/hello_world"}
|
6802
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = ? LIMIT ?[0m [["email", "test@nulogy.com"], ["LIMIT", 1]]
|
6803
|
+
Redirected to http://10.2.2.127:52562/hello_world
|
6804
|
+
Completed 302 Found in 124ms (ActiveRecord: 0.3ms | Allocations: 6034)
|
6805
|
+
Started GET "/hello_world" for 10.2.2.127 at 2020-01-17 13:29:59 -0500
|
6806
|
+
Processing by ApplicationController#hello_world as HTML
|
6807
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = ? LIMIT ?[0m [["email", "test@nulogy.com"], ["LIMIT", 1]]
|
6808
|
+
Rendering text template
|
6809
|
+
Rendered text template (Duration: 0.0ms | Allocations: 3)
|
6810
|
+
Completed 200 OK in 11ms (Views: 8.3ms | ActiveRecord: 0.2ms | Allocations: 1808)
|
6811
|
+
[1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
|
6812
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
6813
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6814
|
+
[1m[36mUser Create (0.4ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test@nulogy.com"], ["created_at", "2020-01-17 18:30:00.119668"], ["updated_at", "2020-01-17 18:30:00.119668"]]
|
6815
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6816
|
+
Started GET "/hello_world" for 10.2.2.127 at 2020-01-17 13:30:00 -0500
|
6817
|
+
Processing by ApplicationController#hello_world as HTML
|
6818
|
+
Redirected to http://10.2.2.127:52562/nulogy_sso/login
|
6819
|
+
Filter chain halted as :authenticate_sso_user rendered or redirected
|
6820
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.0ms | Allocations: 323)
|
6821
|
+
Started GET "/nulogy_sso/login" for 10.2.2.127 at 2020-01-17 13:30:00 -0500
|
6822
|
+
Processing by NulogySSO::AuthenticationController#login as HTML
|
6823
|
+
Redirected to http://localhost:1080/authorize?audience=mock_audience&client_id=mock_client_id&redirect_uri=mock_login_uri%3Forigin%3Dhttp%253A%252F%252F10.2.2.127%253A52562%252Fhello_world&response_type=code&scope=openid+email
|
6824
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms | Allocations: 308)
|
6825
|
+
Started GET "/nulogy_sso/verify_authentication_code?code=FAKE_CODE&origin=http%3A%2F%2F10.2.2.127%3A52562%2Fhello_world" for 10.2.2.127 at 2020-01-17 13:30:00 -0500
|
6826
|
+
Processing by NulogySSO::AuthenticationController#verify_authentication_code as HTML
|
6827
|
+
Parameters: {"code"=>"FAKE_CODE", "origin"=>"http://10.2.2.127:52562/hello_world"}
|
6828
|
+
Rendering text template
|
6829
|
+
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
6830
|
+
Completed 200 OK in 42ms (Views: 0.9ms | ActiveRecord: 0.0ms | Allocations: 2415)
|
6831
|
+
[1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
|
6832
|
+
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
6833
|
+
Started GET "/hello_world" for 10.2.2.127 at 2020-01-17 13:30:00 -0500
|
6834
|
+
Processing by ApplicationController#hello_world as HTML
|
6835
|
+
Redirected to http://10.2.2.127:52562/nulogy_sso/login
|
6836
|
+
Filter chain halted as :authenticate_sso_user rendered or redirected
|
6837
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms | Allocations: 323)
|
6838
|
+
Started GET "/nulogy_sso/login" for 10.2.2.127 at 2020-01-17 13:30:00 -0500
|
6839
|
+
Processing by NulogySSO::AuthenticationController#login as HTML
|
6840
|
+
Redirected to http://localhost:1080/authorize?audience=mock_audience&client_id=mock_client_id&redirect_uri=mock_login_uri%3Forigin%3Dhttp%253A%252F%252F10.2.2.127%253A52562%252Fhello_world&response_type=code&scope=openid+email
|
6841
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms | Allocations: 302)
|
6842
|
+
Started GET "/nulogy_sso/verify_authentication_code?code=FAKE_CODE&origin=http%3A%2F%2F10.2.2.127%3A52562%2Fhello_world" for 10.2.2.127 at 2020-01-17 13:30:00 -0500
|
6843
|
+
Processing by NulogySSO::AuthenticationController#verify_authentication_code as HTML
|
6844
|
+
Parameters: {"code"=>"FAKE_CODE", "origin"=>"http://10.2.2.127:52562/hello_world"}
|
6845
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = ? LIMIT ?[0m [["email", "test@nulogy.com"], ["LIMIT", 1]]
|
6846
|
+
Rendering text template
|
6847
|
+
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
6848
|
+
Completed 200 OK in 43ms (Views: 0.5ms | ActiveRecord: 0.2ms | Allocations: 2599)
|
6849
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
6850
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
6851
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6852
|
+
[1m[36mUser Create (1.0ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test@nulogy.com"], ["created_at", "2020-01-17 18:30:01.584731"], ["updated_at", "2020-01-17 18:30:01.584731"]]
|
6853
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6854
|
+
Started GET "/hello_world" for 10.2.2.127 at 2020-01-17 13:30:01 -0500
|
6855
|
+
Processing by ApplicationController#hello_world as HTML
|
6856
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = ? LIMIT ?[0m [["email", "test@nulogy.com"], ["LIMIT", 1]]
|
6857
|
+
Rendering text template
|
6858
|
+
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
6859
|
+
Completed 200 OK in 3ms (Views: 0.8ms | ActiveRecord: 0.1ms | Allocations: 613)
|
6860
|
+
[1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
|
6861
|
+
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
6862
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6863
|
+
[1m[36mUser Create (0.7ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test@nulogy.com"], ["created_at", "2020-01-17 18:30:02.327034"], ["updated_at", "2020-01-17 18:30:02.327034"]]
|
6864
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6865
|
+
Started GET "/hello_world" for 10.2.2.127 at 2020-01-17 13:30:02 -0500
|
6866
|
+
Processing by ApplicationController#hello_world as HTML
|
6867
|
+
Redirected to http://10.2.2.127:52562/nulogy_sso/login
|
6868
|
+
Filter chain halted as :authenticate_sso_user rendered or redirected
|
6869
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms | Allocations: 323)
|
6870
|
+
Started GET "/nulogy_sso/login" for 10.2.2.127 at 2020-01-17 13:30:02 -0500
|
6871
|
+
Processing by NulogySSO::AuthenticationController#login as HTML
|
6872
|
+
Redirected to http://localhost:1080/authorize?audience=mock_audience&client_id=mock_client_id&redirect_uri=mock_login_uri%3Forigin%3Dhttp%253A%252F%252F10.2.2.127%253A52562%252Fhello_world&response_type=code&scope=openid+email
|
6873
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms | Allocations: 299)
|
6874
|
+
[1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
|
6875
|
+
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
6876
|
+
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6877
|
+
[1m[36mUser Create (0.7ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test@nulogy.com"], ["created_at", "2020-01-17 18:30:03.144526"], ["updated_at", "2020-01-17 18:30:03.144526"]]
|
6878
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6879
|
+
Started GET "/hello_world" for 10.2.2.127 at 2020-01-17 13:30:03 -0500
|
6880
|
+
Processing by ApplicationController#hello_world as HTML
|
6881
|
+
Redirected to http://10.2.2.127:52562/nulogy_sso/login
|
6882
|
+
Filter chain halted as :authenticate_sso_user rendered or redirected
|
6883
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.0ms | Allocations: 500)
|
6884
|
+
Started GET "/nulogy_sso/login" for 10.2.2.127 at 2020-01-17 13:30:03 -0500
|
6885
|
+
Processing by NulogySSO::AuthenticationController#login as HTML
|
6886
|
+
Redirected to http://localhost:1080/authorize?audience=mock_audience&client_id=mock_client_id&redirect_uri=mock_login_uri%3Forigin%3Dhttp%253A%252F%252F10.2.2.127%253A52562%252Fhello_world&response_type=code&scope=openid+email
|
6887
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.0ms | Allocations: 470)
|
6888
|
+
[1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
|
6889
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
6890
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6891
|
+
[1m[36mUser Create (1.0ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test@nulogy.com"], ["created_at", "2020-01-17 18:30:04.232003"], ["updated_at", "2020-01-17 18:30:04.232003"]]
|
6892
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6893
|
+
Started GET "/api_endpoint" for 10.2.2.127 at 2020-01-17 13:30:04 -0500
|
6894
|
+
Processing by ApiController#api_endpoint as HTML
|
6895
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = ? LIMIT ?[0m [["email", "test@nulogy.com"], ["LIMIT", 1]]
|
6896
|
+
Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.1ms | Allocations: 644)
|
6897
|
+
[1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
|
6898
|
+
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
6899
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6900
|
+
[1m[36mUser Create (0.8ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test@nulogy.com"], ["created_at", "2020-01-17 18:30:05.161097"], ["updated_at", "2020-01-17 18:30:05.161097"]]
|
6901
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6902
|
+
Started GET "/api_endpoint" for 10.2.2.127 at 2020-01-17 13:30:05 -0500
|
6903
|
+
Processing by ApiController#api_endpoint as HTML
|
6904
|
+
Redirected to http://10.2.2.127:52562/nulogy_sso/login
|
6905
|
+
Filter chain halted as :authenticate_sso_user rendered or redirected
|
6906
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms | Allocations: 319)
|
6907
|
+
Started GET "/nulogy_sso/login" for 10.2.2.127 at 2020-01-17 13:30:05 -0500
|
6908
|
+
Processing by NulogySSO::AuthenticationController#login as HTML
|
6909
|
+
Redirected to http://localhost:1080/authorize?audience=mock_audience&client_id=mock_client_id&redirect_uri=mock_login_uri%3Forigin%3Dhttp%253A%252F%252F10.2.2.127%253A52562%252Fapi_endpoint&response_type=code&scope=openid+email
|
6910
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms | Allocations: 302)
|
6911
|
+
[1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
|
6912
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
6913
|
+
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6914
|
+
[1m[36mUser Create (1.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test@nulogy.com"], ["created_at", "2020-01-17 18:30:06.020596"], ["updated_at", "2020-01-17 18:30:06.020596"]]
|
6915
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6916
|
+
Started GET "/api_endpoint" for 10.2.2.127 at 2020-01-17 13:30:06 -0500
|
6917
|
+
Processing by ApiController#api_endpoint as HTML
|
6918
|
+
Redirected to http://10.2.2.127:52562/nulogy_sso/login
|
6919
|
+
Filter chain halted as :authenticate_sso_user rendered or redirected
|
6920
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.0ms | Allocations: 491)
|
6921
|
+
Started GET "/nulogy_sso/login" for 10.2.2.127 at 2020-01-17 13:30:06 -0500
|
6922
|
+
Processing by NulogySSO::AuthenticationController#login as HTML
|
6923
|
+
Redirected to http://localhost:1080/authorize?audience=mock_audience&client_id=mock_client_id&redirect_uri=mock_login_uri%3Forigin%3Dhttp%253A%252F%252F10.2.2.127%253A52562%252Fapi_endpoint&response_type=code&scope=openid+email
|
6924
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.0ms | Allocations: 468)
|
6925
|
+
[1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
|
6926
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
6927
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
6928
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
6929
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
6930
|
+
[1m[35m (0.3ms)[0m [1m[36mbegin transaction[0m
|
6931
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
6932
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
6933
|
+
[1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
|
6934
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
6935
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
data/spec/examples.txt
CHANGED
@@ -1,20 +1,24 @@
|
|
1
|
-
example_id
|
2
|
-
|
3
|
-
./spec/features/nulogy_sso/sso_login_spec.rb[1:1:1]
|
4
|
-
./spec/features/nulogy_sso/sso_login_spec.rb[1:1:2]
|
5
|
-
./spec/features/nulogy_sso/sso_login_spec.rb[1:1:3]
|
6
|
-
./spec/features/nulogy_sso/sso_login_spec.rb[1:1
|
7
|
-
./spec/features/nulogy_sso/sso_login_spec.rb[1:2:
|
8
|
-
./spec/features/nulogy_sso/sso_login_spec.rb[1:2:
|
9
|
-
./spec/features/nulogy_sso/sso_login_spec.rb[1:
|
10
|
-
./spec/features/nulogy_sso/sso_login_spec.rb[1:3:
|
11
|
-
./spec/features/nulogy_sso/sso_login_spec.rb[1:3:
|
12
|
-
./spec/
|
13
|
-
./spec/
|
14
|
-
./spec/
|
15
|
-
./spec/
|
16
|
-
./spec/
|
17
|
-
./spec/
|
18
|
-
./spec/
|
19
|
-
./spec/
|
20
|
-
./spec/
|
1
|
+
example_id | status | run_time |
|
2
|
+
---------------------------------------------------------------- | ------ | --------------- |
|
3
|
+
./spec/features/nulogy_sso/sso_login_spec.rb[1:1:1] | passed | 2.75 seconds |
|
4
|
+
./spec/features/nulogy_sso/sso_login_spec.rb[1:1:2] | passed | 0.87115 seconds |
|
5
|
+
./spec/features/nulogy_sso/sso_login_spec.rb[1:1:3] | passed | 0.74032 seconds |
|
6
|
+
./spec/features/nulogy_sso/sso_login_spec.rb[1:2:1] | passed | 0.74025 seconds |
|
7
|
+
./spec/features/nulogy_sso/sso_login_spec.rb[1:2:2] | passed | 1.09 seconds |
|
8
|
+
./spec/features/nulogy_sso/sso_login_spec.rb[1:2:3] | passed | 0.81793 seconds |
|
9
|
+
./spec/features/nulogy_sso/sso_login_spec.rb[1:3:1] | passed | 0.92833 seconds |
|
10
|
+
./spec/features/nulogy_sso/sso_login_spec.rb[1:3:2] | passed | 1.06 seconds |
|
11
|
+
./spec/features/nulogy_sso/sso_login_spec.rb[1:3:3] | passed | 0.86027 seconds |
|
12
|
+
./spec/unit/services/nulogy_sso/authenticator_spec.rb[1:1:1] | passed | 0.00576 seconds |
|
13
|
+
./spec/unit/services/nulogy_sso/authenticator_spec.rb[1:1:2:1] | passed | 0.0191 seconds |
|
14
|
+
./spec/unit/services/nulogy_sso/authenticator_spec.rb[1:1:2:2] | passed | 0.01515 seconds |
|
15
|
+
./spec/unit/services/nulogy_sso/authenticator_spec.rb[1:1:3:1] | passed | 0.01469 seconds |
|
16
|
+
./spec/unit/services/nulogy_sso/authenticator_spec.rb[1:2:1] | passed | 0.04118 seconds |
|
17
|
+
./spec/unit/services/nulogy_sso/authenticator_spec.rb[1:2:2] | passed | 0.01448 seconds |
|
18
|
+
./spec/unit/services/nulogy_sso/authenticator_spec.rb[1:2:3] | passed | 0.00149 seconds |
|
19
|
+
./spec/unit/services/nulogy_sso/authenticator_spec.rb[1:2:4] | passed | 0.01547 seconds |
|
20
|
+
./spec/unit/services/nulogy_sso/cookie_token_store_spec.rb[1:1] | passed | 0.02958 seconds |
|
21
|
+
./spec/unit/services/nulogy_sso/cookie_token_store_spec.rb[1:2] | passed | 0.00423 seconds |
|
22
|
+
./spec/unit/services/nulogy_sso/cookie_token_store_spec.rb[1:3] | passed | 0.00144 seconds |
|
23
|
+
./spec/unit/services/nulogy_sso/origin_redirector_spec.rb[1:1:1] | passed | 0.00155 seconds |
|
24
|
+
./spec/unit/services/nulogy_sso/origin_redirector_spec.rb[1:1:2] | passed | 0.00188 seconds |
|
File without changes
|
File without changes
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module NulogySSO
|
4
|
+
RSpec.describe OriginRedirector do
|
5
|
+
let(:mock_login_uri) { NulogySSO::sso_config.login_uri }
|
6
|
+
|
7
|
+
describe "#authentication_redirect_uri" do
|
8
|
+
it "appends the url escaped origin to the redirect uri" do
|
9
|
+
previous_url = "https://example.com/path?foo=bar&specialParam%5Babc%5D=1"
|
10
|
+
|
11
|
+
result = subject.authentication_redirect_uri(previous_url)
|
12
|
+
|
13
|
+
expect(result).to eq("#{mock_login_uri}?origin=https%3A%2F%2Fexample.com%2Fpath%3Ffoo%3Dbar%26specialParam%255Babc%255D%3D1")
|
14
|
+
end
|
15
|
+
|
16
|
+
it "omits the origin when the previous uri is missing" do
|
17
|
+
result = subject.authentication_redirect_uri(nil)
|
18
|
+
|
19
|
+
expect(result).to eq(mock_login_uri)
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nulogy_sso
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nulogy Corporation
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-01-
|
11
|
+
date: 2020-01-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: auth0
|
@@ -154,6 +154,7 @@ files:
|
|
154
154
|
- app/controllers/nulogy_sso/authentication_controller.rb
|
155
155
|
- app/services/nulogy_sso/authenticator.rb
|
156
156
|
- app/services/nulogy_sso/cookie_token_store.rb
|
157
|
+
- app/services/nulogy_sso/origin_redirector.rb
|
157
158
|
- config/initializers/inflections.rb
|
158
159
|
- config/routes.rb
|
159
160
|
- lib/nulogy_sso.rb
|
@@ -314,11 +315,12 @@ files:
|
|
314
315
|
- spec/examples.txt
|
315
316
|
- spec/feature_spec_helper.rb
|
316
317
|
- spec/features/nulogy_sso/sso_login_spec.rb
|
317
|
-
- spec/integration/services/nulogy_sso/authenticator_spec.rb
|
318
|
-
- spec/integration/services/nulogy_sso/cookie_token_store_spec.rb
|
319
318
|
- spec/rails_helper.rb
|
320
319
|
- spec/spec_helper.rb
|
321
320
|
- spec/support/mock_auth0_verifier.rb
|
321
|
+
- spec/unit/services/nulogy_sso/authenticator_spec.rb
|
322
|
+
- spec/unit/services/nulogy_sso/cookie_token_store_spec.rb
|
323
|
+
- spec/unit/services/nulogy_sso/origin_redirector_spec.rb
|
322
324
|
homepage: https://nulogy.com
|
323
325
|
licenses: []
|
324
326
|
metadata: {}
|
@@ -337,12 +339,15 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
337
339
|
- !ruby/object:Gem::Version
|
338
340
|
version: '0'
|
339
341
|
requirements: []
|
340
|
-
rubygems_version: 3.0.
|
342
|
+
rubygems_version: 3.0.6
|
341
343
|
signing_key:
|
342
344
|
specification_version: 4
|
343
345
|
summary: Rails Engine For Nulogy's Auth Integration
|
344
346
|
test_files:
|
345
347
|
- spec/spec_helper.rb
|
348
|
+
- spec/unit/services/nulogy_sso/origin_redirector_spec.rb
|
349
|
+
- spec/unit/services/nulogy_sso/authenticator_spec.rb
|
350
|
+
- spec/unit/services/nulogy_sso/cookie_token_store_spec.rb
|
346
351
|
- spec/dummy/app/models/application_record.rb
|
347
352
|
- spec/dummy/app/models/user.rb
|
348
353
|
- spec/dummy/app/jobs/application_job.rb
|
@@ -491,8 +496,6 @@ test_files:
|
|
491
496
|
- spec/dummy/tmp/cache/assets/sprockets/v3.0/1c/1cSa1S_Ik-wQeXi-Pb1sJX4_CC_Gu6CJ6THxM2ZxOTQ.cache
|
492
497
|
- spec/dummy/tmp/cache/assets/sprockets/v3.0/qj/qjq5Ug3S2i5pydfGSIfUa7Y0s8s0FwqXzt0kkFijToI.cache
|
493
498
|
- spec/examples.txt
|
494
|
-
- spec/integration/services/nulogy_sso/authenticator_spec.rb
|
495
|
-
- spec/integration/services/nulogy_sso/cookie_token_store_spec.rb
|
496
499
|
- spec/features/nulogy_sso/sso_login_spec.rb
|
497
500
|
- spec/support/mock_auth0_verifier.rb
|
498
501
|
- spec/feature_spec_helper.rb
|