nulogy_sso 2.1.3 → 2.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ad56727743b843b7b225c6aaf8858c97c62c20dc974e3c776b9fc0fb155bc52f
4
- data.tar.gz: c53a714607c173e9c1e5b96b9c1a2cedfb268b7c4483487f5fd32cfa306e0f10
3
+ metadata.gz: 63c5aa8c4f2d8f19fe7622ac4351fae01d48b870212a0f6b3383fe4370d6f382
4
+ data.tar.gz: '090b4829e374149aaf3ed228f18e7c19105eb1de3ec1f9d3b075850c35d9bdca'
5
5
  SHA512:
6
- metadata.gz: 150658c3b533bc60ebf25ff6660a93389b08b495b17d4efb8e5d6c682a377775fc09c76db34bc65522496002b0f739c1d39bddb6d00ac91c605ff3ffaf817f65
7
- data.tar.gz: 8f091e0a1cd0c7aa4bc5f4c327bf72637a729ca53e073710bd414aa082a7cbc7dcdd46e17cf16c3fde207dc5558f6e741e4ce4cbefd9cee560f1d3fe8dd2a20d
6
+ metadata.gz: dcde34ae072af23ce9108af2203e227853dac1b4b70dede364315485b1e83ab84c50c9ab7f152a517a8b69492df18e93803e3ed0bbf0ce7d0b76fe233ceecd7f
7
+ data.tar.gz: fd0ada5c07e42eade74dda9189cb7744079b4a20562eb9e309bb137c56a24575b6288d8c9281e6eb708967e622e1e5388634849c8729dc3bbc4e5b3496a43b29
data/README.md CHANGED
@@ -111,18 +111,26 @@ docker-compose up -d
111
111
 
112
112
  Tests must be run manually before submitting a PR. This can be done using `rspec spec`.
113
113
 
114
- There are multiple helpers made available via the `NulogySSO::TestUtilities` module. These are helpful for doing things such as grabbing test JWT values and interacting with a [Mockserver](https://github.com/jamesdbloom/mockserver) mock of the Auth0 API.
114
+ Please consult [this documentation](docs/Testing.md) for advice on how to implement tests on an application using nulogy_sso.
115
115
 
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
-
118
- ###
116
+ ### Deployment
119
117
 
120
118
  1. Ensure that all tests are passing on the project
121
119
  1. Increment the library version in [version.rb](./lib/nulogy_sso/version.rb), adhering to semver principles
122
120
  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.
121
+ 1. Run these commands to complete the deployment. Rubygem push rights on this gem is required. Obviously, replace `X.Y.Z` with the version being deployed.
124
122
  ```sh
125
- gem build
123
+ # Commit changes to the files listed above
124
+ git commit -m "Cuts version X.Y.Z"
125
+ git push
126
+
127
+ # Push the gem to Rubygems
128
+ gem build nulogy_sso.gemspec
129
+ gem push nulogy_sso-X.Y.Z.gem
130
+
131
+ # Cut a release on GitHub
132
+ git tag vX.Y.Z
133
+ git push --tags
126
134
  ```
127
135
 
128
136
  ### Contributing
@@ -9,20 +9,24 @@ module NulogySSO
9
9
  class Engine < ::Rails::Engine
10
10
  isolate_namespace NulogySSO
11
11
 
12
+ VERIFY_CONFIG = ENV["ASSETS_PRECOMPILE"].blank?
13
+
12
14
  # Load all gems in the gemspec, as opposed to explicit require calls
13
15
  Bundler.require(*Rails.groups)
14
16
 
15
17
  config.after_initialize do
16
- if NulogySSO.sso_config.blank?
17
- raise "Missing sso_config config object. Consider using config_for() to load a YAML config file."
18
- end
18
+ if VERIFY_CONFIG
19
+ if NulogySSO.sso_config.blank?
20
+ raise "Missing sso_config config object. Consider using config_for() to load a YAML config file."
21
+ end
19
22
 
20
- if NulogySSO.find_user_by_email.blank?
21
- raise "Missing find_user_by_email config lambda."
22
- end
23
+ if NulogySSO.find_user_by_email.blank?
24
+ raise "Missing find_user_by_email config lambda."
25
+ end
23
26
 
24
- if NulogySSO.handle_sso_error.blank?
25
- raise "Missing handle_sso_error config lambda."
27
+ if NulogySSO.handle_sso_error.blank?
28
+ raise "Missing handle_sso_error config lambda."
29
+ end
26
30
  end
27
31
  end
28
32
  end
@@ -1,3 +1,3 @@
1
1
  module NulogySSO
2
- VERSION = "2.1.3"
2
+ VERSION = "2.2.0"
3
3
  end
@@ -6933,3 +6933,553 @@ Completed 302 Found in 3ms (ActiveRecord: 0.0ms | Allocations: 468)
6933
6933
   (0.2ms) rollback transaction
6934
6934
   (0.1ms) begin transaction
6935
6935
   (0.1ms) rollback transaction
6936
+  (3.0ms) SELECT sqlite_version(*)
6937
+  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "schema_sha1"]]
6938
+  (0.4ms) SELECT sqlite_version(*)
6939
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
6940
+  (0.1ms) begin transaction
6941
+  (0.1ms) rollback transaction
6942
+  (0.1ms) begin transaction
6943
+  (0.1ms) rollback transaction
6944
+  (0.1ms) begin transaction
6945
+  (0.1ms) rollback transaction
6946
+  (0.1ms) begin transaction
6947
+  (0.1ms) rollback transaction
6948
+  (0.1ms) begin transaction
6949
+  (0.1ms) rollback transaction
6950
+  (0.1ms) begin transaction
6951
+  (0.5ms) rollback transaction
6952
+  (0.1ms) begin transaction
6953
+  (0.1ms) rollback transaction
6954
+  (0.1ms) begin transaction
6955
+  (0.1ms) rollback transaction
6956
+  (0.1ms) begin transaction
6957
+  (0.0ms) rollback transaction
6958
+  (0.1ms) begin transaction
6959
+  (0.0ms) rollback transaction
6960
+  (0.1ms) begin transaction
6961
+  (0.1ms) rollback transaction
6962
+  (0.1ms) begin transaction
6963
+  (9.0ms) rollback transaction
6964
+  (0.1ms) begin transaction
6965
+  (0.1ms) rollback transaction
6966
+  (0.1ms) begin transaction
6967
+  (0.1ms) SAVEPOINT active_record_1
6968
+ User Create (3.2ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?) [["email", "test@nulogy.com"], ["created_at", "2020-05-06 17:49:47.674966"], ["updated_at", "2020-05-06 17:49:47.674966"]]
6969
+  (1.0ms) RELEASE SAVEPOINT active_record_1
6970
+  (1.2ms) rollback transaction
6971
+  (0.1ms) begin transaction
6972
+  (0.2ms) SAVEPOINT active_record_1
6973
+ User Create (0.6ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?) [["email", "test@nulogy.com"], ["created_at", "2020-05-06 17:49:47.701208"], ["updated_at", "2020-05-06 17:49:47.701208"]]
6974
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6975
+  (0.7ms) rollback transaction
6976
+  (0.1ms) begin transaction
6977
+  (0.1ms) SAVEPOINT active_record_1
6978
+ User Create (0.4ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?) [["email", "test@nulogy.com"], ["created_at", "2020-05-06 17:49:47.710135"], ["updated_at", "2020-05-06 17:49:47.710135"]]
6979
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6980
+  (1.9ms) rollback transaction
6981
+  (0.1ms) begin transaction
6982
+  (0.1ms) SAVEPOINT active_record_1
6983
+ User Create (0.6ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?) [["email", "test@nulogy.com"], ["created_at", "2020-05-06 17:49:47.721673"], ["updated_at", "2020-05-06 17:49:47.721673"]]
6984
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6985
+  (0.8ms) rollback transaction
6986
+  (0.1ms) begin transaction
6987
+  (0.8ms) SAVEPOINT active_record_1
6988
+ User Create (0.6ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?) [["email", "test@nulogy.com"], ["created_at", "2020-05-06 17:49:47.740387"], ["updated_at", "2020-05-06 17:49:47.740387"]]
6989
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6990
+  (0.7ms) rollback transaction
6991
+  (0.1ms) begin transaction
6992
+  (0.1ms) SAVEPOINT active_record_1
6993
+ User Create (0.7ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?) [["email", "test@nulogy.com"], ["created_at", "2020-05-06 17:49:47.755587"], ["updated_at", "2020-05-06 17:49:47.755587"]]
6994
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6995
+  (0.9ms) rollback transaction
6996
+  (0.1ms) begin transaction
6997
+  (0.1ms) rollback transaction
6998
+  (1.1ms) begin transaction
6999
+  (0.1ms) rollback transaction
7000
+  (0.4ms) begin transaction
7001
+  (0.8ms) rollback transaction
7002
+  (3.4ms) SELECT sqlite_version(*)
7003
+  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "schema_sha1"]]
7004
+  (0.1ms) SELECT sqlite_version(*)
7005
+  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
7006
+  (0.1ms) begin transaction
7007
+  (0.1ms) rollback transaction
7008
+  (0.1ms) begin transaction
7009
+  (0.1ms) rollback transaction
7010
+  (0.1ms) begin transaction
7011
+  (0.1ms) rollback transaction
7012
+  (0.1ms) begin transaction
7013
+  (0.2ms) rollback transaction
7014
+  (0.2ms) begin transaction
7015
+  (0.1ms) rollback transaction
7016
+  (0.1ms) begin transaction
7017
+  (0.1ms) rollback transaction
7018
+  (0.1ms) begin transaction
7019
+  (0.1ms) rollback transaction
7020
+  (0.1ms) begin transaction
7021
+  (0.1ms) rollback transaction
7022
+  (0.1ms) begin transaction
7023
+  (0.1ms) rollback transaction
7024
+  (0.1ms) begin transaction
7025
+  (0.1ms) rollback transaction
7026
+  (0.1ms) begin transaction
7027
+  (0.1ms) rollback transaction
7028
+  (0.1ms) begin transaction
7029
+  (0.1ms) rollback transaction
7030
+  (0.1ms) begin transaction
7031
+  (0.1ms) rollback transaction
7032
+  (0.1ms) begin transaction
7033
+  (0.1ms) SAVEPOINT active_record_1
7034
+ User Create (1.0ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?) [["email", "test@nulogy.com"], ["created_at", "2020-05-06 17:50:59"], ["updated_at", "2020-05-06 17:50:59"]]
7035
+  (0.1ms) RELEASE SAVEPOINT active_record_1
7036
+  (0.8ms) rollback transaction
7037
+  (0.1ms) begin transaction
7038
+  (0.1ms) SAVEPOINT active_record_1
7039
+ User Create (1.0ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?) [["email", "test@nulogy.com"], ["created_at", "2020-05-06 17:50:59"], ["updated_at", "2020-05-06 17:50:59"]]
7040
+  (0.1ms) RELEASE SAVEPOINT active_record_1
7041
+  (1.2ms) rollback transaction
7042
+  (0.1ms) begin transaction
7043
+  (0.2ms) rollback transaction
7044
+  (0.1ms) begin transaction
7045
+  (0.1ms) SAVEPOINT active_record_1
7046
+ User Create (0.7ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?) [["email", "test@nulogy.com"], ["created_at", "2020-05-06 17:50:59"], ["updated_at", "2020-05-06 17:50:59"]]
7047
+  (0.1ms) RELEASE SAVEPOINT active_record_1
7048
+  (0.7ms) rollback transaction
7049
+  (0.1ms) begin transaction
7050
+  (0.1ms) SAVEPOINT active_record_1
7051
+ User Create (5.2ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?) [["email", "test@nulogy.com"], ["created_at", "2020-05-06 17:50:59"], ["updated_at", "2020-05-06 17:50:59"]]
7052
+  (0.8ms) RELEASE SAVEPOINT active_record_1
7053
+  (0.8ms) rollback transaction
7054
+  (0.2ms) begin transaction
7055
+  (0.1ms) SAVEPOINT active_record_1
7056
+ User Create (0.6ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?) [["email", "test@nulogy.com"], ["created_at", "2020-05-06 17:50:59"], ["updated_at", "2020-05-06 17:50:59"]]
7057
+  (0.1ms) RELEASE SAVEPOINT active_record_1
7058
+  (1.3ms) rollback transaction
7059
+  (0.1ms) begin transaction
7060
+  (0.1ms) SAVEPOINT active_record_1
7061
+ User Create (0.8ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?) [["email", "test@nulogy.com"], ["created_at", "2020-05-06 17:50:59"], ["updated_at", "2020-05-06 17:50:59"]]
7062
+  (0.1ms) RELEASE SAVEPOINT active_record_1
7063
+  (0.8ms) rollback transaction
7064
+  (0.1ms) begin transaction
7065
+  (0.1ms) SAVEPOINT active_record_1
7066
+ User Create (0.6ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?) [["email", "test@nulogy.com"], ["created_at", "2020-05-06 17:50:59"], ["updated_at", "2020-05-06 17:50:59"]]
7067
+  (0.1ms) RELEASE SAVEPOINT active_record_1
7068
+  (1.3ms) rollback transaction
7069
+  (0.1ms) begin transaction
7070
+  (0.1ms) SAVEPOINT active_record_1
7071
+ User Create (0.7ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?) [["email", "test@nulogy.com"], ["created_at", "2020-05-06 17:50:59"], ["updated_at", "2020-05-06 17:50:59"]]
7072
+  (0.1ms) RELEASE SAVEPOINT active_record_1
7073
+  (0.8ms) rollback transaction
7074
+  (4.8ms) SELECT sqlite_version(*)
7075
+  (0.5ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "schema_sha1"]]
7076
+  (0.1ms) SELECT sqlite_version(*)
7077
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
7078
+  (1.6ms) begin transaction
7079
+  (0.2ms) SAVEPOINT active_record_1
7080
+ User Create (0.9ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?) [["email", "test@nulogy.com"], ["created_at", "2020-05-06 17:51:45.739132"], ["updated_at", "2020-05-06 17:51:45.739132"]]
7081
+  (0.1ms) RELEASE SAVEPOINT active_record_1
7082
+  (0.6ms) rollback transaction
7083
+  (0.6ms) begin transaction
7084
+  (0.1ms) SAVEPOINT active_record_1
7085
+ User Create (0.8ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?) [["email", "test@nulogy.com"], ["created_at", "2020-05-06 17:51:47.589335"], ["updated_at", "2020-05-06 17:51:47.589335"]]
7086
+  (0.1ms) RELEASE SAVEPOINT active_record_1
7087
+  (0.6ms) rollback transaction
7088
+  (0.1ms) begin transaction
7089
+  (0.1ms) rollback transaction
7090
+  (0.3ms) begin transaction
7091
+  (0.6ms) SAVEPOINT active_record_1
7092
+ User Create (2.7ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?) [["email", "test@nulogy.com"], ["created_at", "2020-05-06 17:51:48.359834"], ["updated_at", "2020-05-06 17:51:48.359834"]]
7093
+  (0.2ms) RELEASE SAVEPOINT active_record_1
7094
+  (1.9ms) rollback transaction
7095
+  (0.1ms) begin transaction
7096
+  (0.1ms) SAVEPOINT active_record_1
7097
+ User Create (0.7ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?) [["email", "test@nulogy.com"], ["created_at", "2020-05-06 17:51:48.769807"], ["updated_at", "2020-05-06 17:51:48.769807"]]
7098
+  (0.1ms) RELEASE SAVEPOINT active_record_1
7099
+  (0.8ms) rollback transaction
7100
+  (0.5ms) begin transaction
7101
+  (0.1ms) SAVEPOINT active_record_1
7102
+ User Create (0.9ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?) [["email", "test@nulogy.com"], ["created_at", "2020-05-06 17:51:49.132484"], ["updated_at", "2020-05-06 17:51:49.132484"]]
7103
+  (0.1ms) RELEASE SAVEPOINT active_record_1
7104
+  (1.6ms) rollback transaction
7105
+  (0.2ms) begin transaction
7106
+  (0.1ms) SAVEPOINT active_record_1
7107
+ User Create (0.7ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?) [["email", "test@nulogy.com"], ["created_at", "2020-05-06 17:51:49.627123"], ["updated_at", "2020-05-06 17:51:49.627123"]]
7108
+  (0.1ms) RELEASE SAVEPOINT active_record_1
7109
+  (1.1ms) rollback transaction
7110
+  (0.1ms) begin transaction
7111
+  (0.1ms) SAVEPOINT active_record_1
7112
+ User Create (2.1ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?) [["email", "test@nulogy.com"], ["created_at", "2020-05-06 17:51:50.139846"], ["updated_at", "2020-05-06 17:51:50.139846"]]
7113
+  (0.1ms) RELEASE SAVEPOINT active_record_1
7114
+  (0.7ms) rollback transaction
7115
+  (0.1ms) begin transaction
7116
+  (0.1ms) SAVEPOINT active_record_1
7117
+ User Create (0.6ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?) [["email", "test@nulogy.com"], ["created_at", "2020-05-06 17:51:50.453542"], ["updated_at", "2020-05-06 17:51:50.453542"]]
7118
+  (0.1ms) RELEASE SAVEPOINT active_record_1
7119
+  (1.1ms) rollback transaction
7120
+  (0.1ms) begin transaction
7121
+  (0.1ms) rollback transaction
7122
+  (0.1ms) begin transaction
7123
+  (0.1ms) rollback transaction
7124
+  (0.1ms) begin transaction
7125
+  (0.1ms) rollback transaction
7126
+  (0.2ms) begin transaction
7127
+  (0.1ms) rollback transaction
7128
+  (0.3ms) begin transaction
7129
+  (0.1ms) rollback transaction
7130
+  (0.1ms) begin transaction
7131
+  (0.1ms) rollback transaction
7132
+  (0.3ms) begin transaction
7133
+  (0.2ms) rollback transaction
7134
+  (0.1ms) begin transaction
7135
+  (0.1ms) rollback transaction
7136
+  (0.1ms) begin transaction
7137
+  (0.2ms) rollback transaction
7138
+  (0.6ms) begin transaction
7139
+  (0.1ms) rollback transaction
7140
+  (0.1ms) begin transaction
7141
+  (0.2ms) rollback transaction
7142
+  (0.1ms) begin transaction
7143
+  (0.1ms) rollback transaction
7144
+  (0.1ms) begin transaction
7145
+  (0.1ms) rollback transaction
7146
+  (4.7ms) SELECT sqlite_version(*)
7147
+  (0.5ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "schema_sha1"]]
7148
+  (0.1ms) SELECT sqlite_version(*)
7149
+  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
7150
+  (0.3ms) begin transaction
7151
+  (0.1ms) rollback transaction
7152
+  (0.1ms) begin transaction
7153
+  (0.1ms) rollback transaction
7154
+  (0.1ms) begin transaction
7155
+  (0.1ms) rollback transaction
7156
+  (0.0ms) begin transaction
7157
+  (0.1ms) rollback transaction
7158
+  (0.1ms) begin transaction
7159
+  (0.1ms) rollback transaction
7160
+  (0.1ms) begin transaction
7161
+  (0.1ms) rollback transaction
7162
+  (0.1ms) begin transaction
7163
+  (0.1ms) rollback transaction
7164
+  (0.1ms) begin transaction
7165
+  (0.1ms) rollback transaction
7166
+  (0.1ms) begin transaction
7167
+  (0.0ms) rollback transaction
7168
+  (0.1ms) begin transaction
7169
+  (0.0ms) rollback transaction
7170
+  (0.1ms) begin transaction
7171
+  (0.3ms) SAVEPOINT active_record_1
7172
+ User Create (2.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?) [["email", "test@nulogy.com"], ["created_at", "2020-05-06 17:52:55.395364"], ["updated_at", "2020-05-06 17:52:55.395364"]]
7173
+  (0.1ms) RELEASE SAVEPOINT active_record_1
7174
+ Started GET "/api_endpoint" for 192.168.86.27 at 2020-05-06 13:53:04 -0400
7175
+ Processing by ApiController#api_endpoint as HTML
7176
+ Redirected to http://192.168.86.27:52541/nulogy_sso/login
7177
+ Filter chain halted as :authenticate_sso_user rendered or redirected
7178
+ Completed 302 Found in 126ms (ActiveRecord: 0.0ms | Allocations: 2327)
7179
+ Started GET "/nulogy_sso/login" for 192.168.86.27 at 2020-05-06 13:53:04 -0400
7180
+ Processing by NulogySSO::AuthenticationController#login as HTML
7181
+ Redirected to http://localhost:1080/authorize?audience=mock_audience&client_id=mock_client_id&redirect_uri=mock_login_uri%3Forigin%3Dhttp%253A%252F%252F192.168.86.27%253A52541%252Fapi_endpoint&response_type=code&scope=openid+email
7182
+ Completed 302 Found in 2ms (ActiveRecord: 0.0ms | Allocations: 514)
7183
+  (0.3ms) rollback transaction
7184
+  (0.2ms) begin transaction
7185
+  (0.1ms) SAVEPOINT active_record_1
7186
+ User Create (0.8ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?) [["email", "test@nulogy.com"], ["created_at", "2020-05-06 17:53:06.677034"], ["updated_at", "2020-05-06 17:53:06.677034"]]
7187
+  (0.2ms) RELEASE SAVEPOINT active_record_1
7188
+ Started GET "/api_endpoint" for 192.168.86.27 at 2020-05-06 13:53:07 -0400
7189
+ Processing by ApiController#api_endpoint as HTML
7190
+ Redirected to http://192.168.86.27:52541/nulogy_sso/login
7191
+ Filter chain halted as :authenticate_sso_user rendered or redirected
7192
+ Completed 302 Found in 2ms (ActiveRecord: 0.0ms | Allocations: 300)
7193
+ Started GET "/nulogy_sso/login" for 192.168.86.27 at 2020-05-06 13:53:07 -0400
7194
+ Processing by NulogySSO::AuthenticationController#login as HTML
7195
+ Redirected to http://localhost:1080/authorize?audience=mock_audience&client_id=mock_client_id&redirect_uri=mock_login_uri%3Forigin%3Dhttp%253A%252F%252F192.168.86.27%253A52541%252Fapi_endpoint&response_type=code&scope=openid+email
7196
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms | Allocations: 282)
7197
+  (0.5ms) rollback transaction
7198
+  (0.1ms) begin transaction
7199
+  (0.1ms) SAVEPOINT active_record_1
7200
+ User Create (0.6ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?) [["email", "test@nulogy.com"], ["created_at", "2020-05-06 17:53:08.614429"], ["updated_at", "2020-05-06 17:53:08.614429"]]
7201
+  (0.2ms) RELEASE SAVEPOINT active_record_1
7202
+ Started GET "/api_endpoint" for 192.168.86.27 at 2020-05-06 13:53:09 -0400
7203
+ Processing by ApiController#api_endpoint as HTML
7204
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? LIMIT ? [["email", "test@nulogy.com"], ["LIMIT", 1]]
7205
+ Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.4ms | Allocations: 811)
7206
+  (0.5ms) rollback transaction
7207
+  (0.1ms) begin transaction
7208
+  (0.3ms) SAVEPOINT active_record_1
7209
+ User Create (0.8ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?) [["email", "test@nulogy.com"], ["created_at", "2020-05-06 17:53:10.257374"], ["updated_at", "2020-05-06 17:53:10.257374"]]
7210
+  (0.2ms) RELEASE SAVEPOINT active_record_1
7211
+ Started GET "/hello_world" for 192.168.86.27 at 2020-05-06 13:53:10 -0400
7212
+ Processing by ApplicationController#hello_world as HTML
7213
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? LIMIT ? [["email", "test@nulogy.com"], ["LIMIT", 1]]
7214
+ Rendering text template
7215
+ Rendered text template (Duration: 0.0ms | Allocations: 3)
7216
+ Completed 200 OK in 22ms (Views: 19.4ms | ActiveRecord: 0.2ms | Allocations: 1722)
7217
+  (0.3ms) rollback transaction
7218
+  (0.1ms) begin transaction
7219
+  (0.1ms) SAVEPOINT active_record_1
7220
+ User Create (0.6ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?) [["email", "test@nulogy.com"], ["created_at", "2020-05-06 17:53:11.819909"], ["updated_at", "2020-05-06 17:53:11.819909"]]
7221
+  (0.1ms) RELEASE SAVEPOINT active_record_1
7222
+ Started GET "/hello_world" for 192.168.86.27 at 2020-05-06 13:53:12 -0400
7223
+ Processing by ApplicationController#hello_world as HTML
7224
+ Redirected to http://192.168.86.27:52541/nulogy_sso/login
7225
+ Filter chain halted as :authenticate_sso_user rendered or redirected
7226
+ Completed 302 Found in 5ms (ActiveRecord: 0.0ms | Allocations: 308)
7227
+ Started GET "/nulogy_sso/login" for 192.168.86.27 at 2020-05-06 13:53:12 -0400
7228
+ Processing by NulogySSO::AuthenticationController#login as HTML
7229
+ Redirected to http://localhost:1080/authorize?audience=mock_audience&client_id=mock_client_id&redirect_uri=mock_login_uri%3Forigin%3Dhttp%253A%252F%252F192.168.86.27%253A52541%252Fhello_world&response_type=code&scope=openid+email
7230
+ Completed 302 Found in 2ms (ActiveRecord: 0.0ms | Allocations: 287)
7231
+  (0.6ms) rollback transaction
7232
+  (0.1ms) begin transaction
7233
+  (1.1ms) SAVEPOINT active_record_1
7234
+ User Create (3.4ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?) [["email", "test@nulogy.com"], ["created_at", "2020-05-06 17:53:14.866893"], ["updated_at", "2020-05-06 17:53:14.866893"]]
7235
+  (0.1ms) RELEASE SAVEPOINT active_record_1
7236
+ Started GET "/hello_world" for 192.168.86.27 at 2020-05-06 13:53:15 -0400
7237
+ Processing by ApplicationController#hello_world as HTML
7238
+ Redirected to http://192.168.86.27:52541/nulogy_sso/login
7239
+ Filter chain halted as :authenticate_sso_user rendered or redirected
7240
+ Completed 302 Found in 6ms (ActiveRecord: 0.0ms | Allocations: 487)
7241
+ Started GET "/nulogy_sso/login" for 192.168.86.27 at 2020-05-06 13:53:16 -0400
7242
+ Processing by NulogySSO::AuthenticationController#login as HTML
7243
+ Redirected to http://localhost:1080/authorize?audience=mock_audience&client_id=mock_client_id&redirect_uri=mock_login_uri%3Forigin%3Dhttp%253A%252F%252F192.168.86.27%253A52541%252Fhello_world&response_type=code&scope=openid+email
7244
+ Completed 302 Found in 2ms (ActiveRecord: 0.0ms | Allocations: 456)
7245
+  (1.0ms) rollback transaction
7246
+  (0.4ms) begin transaction
7247
+  (0.1ms) SAVEPOINT active_record_1
7248
+ User Create (0.7ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?) [["email", "test@nulogy.com"], ["created_at", "2020-05-06 17:53:18.111883"], ["updated_at", "2020-05-06 17:53:18.111883"]]
7249
+  (0.2ms) RELEASE SAVEPOINT active_record_1
7250
+ Started GET "/hello_world" for 192.168.86.27 at 2020-05-06 13:53:18 -0400
7251
+ Processing by ApplicationController#hello_world as HTML
7252
+ Redirected to http://192.168.86.27:52541/nulogy_sso/login
7253
+ Filter chain halted as :authenticate_sso_user rendered or redirected
7254
+ Completed 302 Found in 3ms (ActiveRecord: 0.0ms | Allocations: 307)
7255
+ Started GET "/nulogy_sso/login" for 192.168.86.27 at 2020-05-06 13:53:18 -0400
7256
+ Processing by NulogySSO::AuthenticationController#login as HTML
7257
+ Redirected to http://localhost:1080/authorize?audience=mock_audience&client_id=mock_client_id&redirect_uri=mock_login_uri%3Forigin%3Dhttp%253A%252F%252F192.168.86.27%253A52541%252Fhello_world&response_type=code&scope=openid+email
7258
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms | Allocations: 280)
7259
+ Started GET "/nulogy_sso/verify_authentication_code?code=FAKE_CODE&origin=http%3A%2F%2F192.168.86.27%3A52541%2Fhello_world" for 192.168.86.27 at 2020-05-06 13:53:18 -0400
7260
+ Processing by NulogySSO::AuthenticationController#verify_authentication_code as HTML
7261
+ Parameters: {"code"=>"FAKE_CODE", "origin"=>"http://192.168.86.27:52541/hello_world"}
7262
+ Rendering text template
7263
+ Rendered text template (Duration: 0.1ms | Allocations: 1)
7264
+ Completed 200 OK in 144ms (Views: 2.0ms | ActiveRecord: 0.0ms | Allocations: 3515)
7265
+  (0.4ms) rollback transaction
7266
+  (0.1ms) begin transaction
7267
+  (0.1ms) SAVEPOINT active_record_1
7268
+ User Create (0.8ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?) [["email", "test@nulogy.com"], ["created_at", "2020-05-06 17:53:19.914221"], ["updated_at", "2020-05-06 17:53:19.914221"]]
7269
+  (0.1ms) RELEASE SAVEPOINT active_record_1
7270
+ Started GET "/hello_world" for 192.168.86.27 at 2020-05-06 13:53:19 -0400
7271
+ Processing by ApplicationController#hello_world as HTML
7272
+ Redirected to http://192.168.86.27:52541/nulogy_sso/login
7273
+ Filter chain halted as :authenticate_sso_user rendered or redirected
7274
+ Completed 302 Found in 8ms (ActiveRecord: 0.0ms | Allocations: 307)
7275
+ Started GET "/nulogy_sso/login" for 192.168.86.27 at 2020-05-06 13:53:20 -0400
7276
+ Processing by NulogySSO::AuthenticationController#login as HTML
7277
+ Redirected to http://localhost:1080/authorize?audience=mock_audience&client_id=mock_client_id&redirect_uri=mock_login_uri%3Forigin%3Dhttp%253A%252F%252F192.168.86.27%253A52541%252Fhello_world&response_type=code&scope=openid+email
7278
+ Completed 302 Found in 2ms (ActiveRecord: 0.0ms | Allocations: 280)
7279
+ Started GET "/nulogy_sso/verify_authentication_code?code=FAKE_CODE&origin=http%3A%2F%2F192.168.86.27%3A52541%2Fhello_world" for 192.168.86.27 at 2020-05-06 13:53:20 -0400
7280
+ Processing by NulogySSO::AuthenticationController#verify_authentication_code as HTML
7281
+ Parameters: {"code"=>"FAKE_CODE", "origin"=>"http://192.168.86.27:52541/hello_world"}
7282
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? LIMIT ? [["email", "test@nulogy.com"], ["LIMIT", 1]]
7283
+ Redirected to http://192.168.86.27:52541/hello_world
7284
+ Completed 302 Found in 78ms (ActiveRecord: 0.2ms | Allocations: 2640)
7285
+ Started GET "/hello_world" for 192.168.86.27 at 2020-05-06 13:53:20 -0400
7286
+ Processing by ApplicationController#hello_world as HTML
7287
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? LIMIT ? [["email", "test@nulogy.com"], ["LIMIT", 1]]
7288
+ Rendering text template
7289
+ Rendered text template (Duration: 0.0ms | Allocations: 1)
7290
+ Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.1ms | Allocations: 690)
7291
+  (0.5ms) rollback transaction
7292
+  (0.1ms) begin transaction
7293
+ Started GET "/hello_world" for 192.168.86.27 at 2020-05-06 13:53:21 -0400
7294
+ Processing by ApplicationController#hello_world as HTML
7295
+ Redirected to http://192.168.86.27:52541/nulogy_sso/login
7296
+ Filter chain halted as :authenticate_sso_user rendered or redirected
7297
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms | Allocations: 309)
7298
+ Started GET "/nulogy_sso/login" for 192.168.86.27 at 2020-05-06 13:53:21 -0400
7299
+ Processing by NulogySSO::AuthenticationController#login as HTML
7300
+ Redirected to http://localhost:1080/authorize?audience=mock_audience&client_id=mock_client_id&redirect_uri=mock_login_uri%3Forigin%3Dhttp%253A%252F%252F192.168.86.27%253A52541%252Fhello_world&response_type=code&scope=openid+email
7301
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms | Allocations: 285)
7302
+ Started GET "/nulogy_sso/verify_authentication_code?code=FAKE_CODE&origin=http%3A%2F%2F192.168.86.27%3A52541%2Fhello_world" for 192.168.86.27 at 2020-05-06 13:53:21 -0400
7303
+ Processing by NulogySSO::AuthenticationController#verify_authentication_code as HTML
7304
+ Parameters: {"code"=>"FAKE_CODE", "origin"=>"http://192.168.86.27:52541/hello_world"}
7305
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? LIMIT ? [["email", "test@nulogy.com"], ["LIMIT", 1]]
7306
+ Rendering text template
7307
+ Rendered text template (Duration: 0.1ms | Allocations: 1)
7308
+ Completed 200 OK in 43ms (Views: 1.1ms | ActiveRecord: 0.3ms | Allocations: 2528)
7309
+  (0.1ms) rollback transaction
7310
+  (0.1ms) begin transaction
7311
+  (0.2ms) rollback transaction
7312
+  (0.2ms) begin transaction
7313
+  (0.1ms) rollback transaction
7314
+  (0.1ms) begin transaction
7315
+  (0.0ms) rollback transaction
7316
+  (1.7ms) SELECT sqlite_version(*)
7317
+  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "schema_sha1"]]
7318
+  (0.1ms) SELECT sqlite_version(*)
7319
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
7320
+  (0.2ms) begin transaction
7321
+  (0.1ms) SAVEPOINT active_record_1
7322
+ User Create (0.5ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?) [["email", "test@nulogy.com"], ["created_at", "2020-05-06 17:53:31.368018"], ["updated_at", "2020-05-06 17:53:31.368018"]]
7323
+  (0.0ms) RELEASE SAVEPOINT active_record_1
7324
+ Started GET "/api_endpoint" for 192.168.86.27 at 2020-05-06 13:53:33 -0400
7325
+ Processing by ApiController#api_endpoint as HTML
7326
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? LIMIT ? [["email", "test@nulogy.com"], ["LIMIT", 1]]
7327
+ Completed 200 OK in 71ms (Views: 0.7ms | ActiveRecord: 0.3ms | Allocations: 2671)
7328
+  (0.6ms) rollback transaction
7329
+  (0.3ms) begin transaction
7330
+  (0.3ms) SAVEPOINT active_record_1
7331
+ User Create (3.9ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?) [["email", "test@nulogy.com"], ["created_at", "2020-05-06 17:53:34.887594"], ["updated_at", "2020-05-06 17:53:34.887594"]]
7332
+  (0.2ms) RELEASE SAVEPOINT active_record_1
7333
+ Started GET "/api_endpoint" for 192.168.86.27 at 2020-05-06 13:53:35 -0400
7334
+ Processing by ApiController#api_endpoint as HTML
7335
+ Redirected to http://192.168.86.27:52672/nulogy_sso/login
7336
+ Filter chain halted as :authenticate_sso_user rendered or redirected
7337
+ Completed 302 Found in 2ms (ActiveRecord: 0.0ms | Allocations: 500)
7338
+ Started GET "/nulogy_sso/login" for 192.168.86.27 at 2020-05-06 13:53:35 -0400
7339
+ Processing by NulogySSO::AuthenticationController#login as HTML
7340
+ Redirected to http://localhost:1080/authorize?audience=mock_audience&client_id=mock_client_id&redirect_uri=mock_login_uri%3Forigin%3Dhttp%253A%252F%252F192.168.86.27%253A52672%252Fapi_endpoint&response_type=code&scope=openid+email
7341
+ Completed 302 Found in 4ms (ActiveRecord: 0.0ms | Allocations: 514)
7342
+  (0.4ms) rollback transaction
7343
+  (0.2ms) begin transaction
7344
+  (0.1ms) SAVEPOINT active_record_1
7345
+ User Create (0.8ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?) [["email", "test@nulogy.com"], ["created_at", "2020-05-06 17:53:37.484387"], ["updated_at", "2020-05-06 17:53:37.484387"]]
7346
+  (0.1ms) RELEASE SAVEPOINT active_record_1
7347
+ Started GET "/api_endpoint" for 192.168.86.27 at 2020-05-06 13:53:38 -0400
7348
+ Processing by ApiController#api_endpoint as HTML
7349
+ Redirected to http://192.168.86.27:52672/nulogy_sso/login
7350
+ Filter chain halted as :authenticate_sso_user rendered or redirected
7351
+ Completed 302 Found in 2ms (ActiveRecord: 0.0ms | Allocations: 300)
7352
+ Started GET "/nulogy_sso/login" for 192.168.86.27 at 2020-05-06 13:53:38 -0400
7353
+ Processing by NulogySSO::AuthenticationController#login as HTML
7354
+ Redirected to http://localhost:1080/authorize?audience=mock_audience&client_id=mock_client_id&redirect_uri=mock_login_uri%3Forigin%3Dhttp%253A%252F%252F192.168.86.27%253A52672%252Fapi_endpoint&response_type=code&scope=openid+email
7355
+ Completed 302 Found in 2ms (ActiveRecord: 0.0ms | Allocations: 281)
7356
+  (0.4ms) rollback transaction
7357
+  (0.1ms) begin transaction
7358
+  (0.3ms) SAVEPOINT active_record_1
7359
+ User Create (1.6ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?) [["email", "test@nulogy.com"], ["created_at", "2020-05-06 17:53:39.888196"], ["updated_at", "2020-05-06 17:53:39.888196"]]
7360
+  (0.5ms) RELEASE SAVEPOINT active_record_1
7361
+ Started GET "/hello_world" for 192.168.86.27 at 2020-05-06 13:53:40 -0400
7362
+ Processing by ApplicationController#hello_world as HTML
7363
+ Redirected to http://192.168.86.27:52672/nulogy_sso/login
7364
+ Filter chain halted as :authenticate_sso_user rendered or redirected
7365
+ Completed 302 Found in 3ms (ActiveRecord: 0.0ms | Allocations: 535)
7366
+ Started GET "/nulogy_sso/login" for 192.168.86.27 at 2020-05-06 13:53:40 -0400
7367
+ Processing by NulogySSO::AuthenticationController#login as HTML
7368
+ Redirected to http://localhost:1080/authorize?audience=mock_audience&client_id=mock_client_id&redirect_uri=mock_login_uri%3Forigin%3Dhttp%253A%252F%252F192.168.86.27%253A52672%252Fhello_world&response_type=code&scope=openid+email
7369
+ Completed 302 Found in 2ms (ActiveRecord: 0.0ms | Allocations: 454)
7370
+  (1.2ms) rollback transaction
7371
+  (0.1ms) begin transaction
7372
+  (0.1ms) SAVEPOINT active_record_1
7373
+ User Create (0.8ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?) [["email", "test@nulogy.com"], ["created_at", "2020-05-06 17:53:41.958061"], ["updated_at", "2020-05-06 17:53:41.958061"]]
7374
+  (0.1ms) RELEASE SAVEPOINT active_record_1
7375
+ Started GET "/hello_world" for 192.168.86.27 at 2020-05-06 13:53:42 -0400
7376
+ Processing by ApplicationController#hello_world as HTML
7377
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? LIMIT ? [["email", "test@nulogy.com"], ["LIMIT", 1]]
7378
+ Rendering text template
7379
+ Rendered text template (Duration: 0.2ms | Allocations: 3)
7380
+ Completed 200 OK in 12ms (Views: 9.4ms | ActiveRecord: 0.3ms | Allocations: 1675)
7381
+  (0.4ms) rollback transaction
7382
+  (0.3ms) begin transaction
7383
+  (0.6ms) SAVEPOINT active_record_1
7384
+ User Create (0.8ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?) [["email", "test@nulogy.com"], ["created_at", "2020-05-06 17:53:43.629994"], ["updated_at", "2020-05-06 17:53:43.629994"]]
7385
+  (0.2ms) RELEASE SAVEPOINT active_record_1
7386
+ Started GET "/hello_world" for 192.168.86.27 at 2020-05-06 13:53:44 -0400
7387
+ Processing by ApplicationController#hello_world as HTML
7388
+ Redirected to http://192.168.86.27:52672/nulogy_sso/login
7389
+ Filter chain halted as :authenticate_sso_user rendered or redirected
7390
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms | Allocations: 307)
7391
+ Started GET "/nulogy_sso/login" for 192.168.86.27 at 2020-05-06 13:53:44 -0400
7392
+ Processing by NulogySSO::AuthenticationController#login as HTML
7393
+ Redirected to http://localhost:1080/authorize?audience=mock_audience&client_id=mock_client_id&redirect_uri=mock_login_uri%3Forigin%3Dhttp%253A%252F%252F192.168.86.27%253A52672%252Fhello_world&response_type=code&scope=openid+email
7394
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms | Allocations: 284)
7395
+  (0.6ms) rollback transaction
7396
+  (0.1ms) begin transaction
7397
+ Started GET "/hello_world" for 192.168.86.27 at 2020-05-06 13:53:45 -0400
7398
+ Processing by ApplicationController#hello_world as HTML
7399
+ Redirected to http://192.168.86.27:52672/nulogy_sso/login
7400
+ Filter chain halted as :authenticate_sso_user rendered or redirected
7401
+ Completed 302 Found in 6ms (ActiveRecord: 0.0ms | Allocations: 307)
7402
+ Started GET "/nulogy_sso/login" for 192.168.86.27 at 2020-05-06 13:53:45 -0400
7403
+ Processing by NulogySSO::AuthenticationController#login as HTML
7404
+ Redirected to http://localhost:1080/authorize?audience=mock_audience&client_id=mock_client_id&redirect_uri=mock_login_uri%3Forigin%3Dhttp%253A%252F%252F192.168.86.27%253A52672%252Fhello_world&response_type=code&scope=openid+email
7405
+ Completed 302 Found in 2ms (ActiveRecord: 0.0ms | Allocations: 281)
7406
+ Started GET "/nulogy_sso/verify_authentication_code?code=FAKE_CODE&origin=http%3A%2F%2F192.168.86.27%3A52672%2Fhello_world" for 192.168.86.27 at 2020-05-06 13:53:46 -0400
7407
+ Processing by NulogySSO::AuthenticationController#verify_authentication_code as HTML
7408
+ Parameters: {"code"=>"FAKE_CODE", "origin"=>"http://192.168.86.27:52672/hello_world"}
7409
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? LIMIT ? [["email", "test@nulogy.com"], ["LIMIT", 1]]
7410
+ Rendering text template
7411
+ Rendered text template (Duration: 0.0ms | Allocations: 1)
7412
+ Completed 200 OK in 103ms (Views: 1.1ms | ActiveRecord: 0.3ms | Allocations: 3840)
7413
+  (0.2ms) rollback transaction
7414
+  (0.2ms) begin transaction
7415
+  (0.1ms) SAVEPOINT active_record_1
7416
+ User Create (0.7ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?) [["email", "test@nulogy.com"], ["created_at", "2020-05-06 17:53:48.050236"], ["updated_at", "2020-05-06 17:53:48.050236"]]
7417
+  (0.1ms) RELEASE SAVEPOINT active_record_1
7418
+ Started GET "/hello_world" for 192.168.86.27 at 2020-05-06 13:53:48 -0400
7419
+ Processing by ApplicationController#hello_world as HTML
7420
+ Redirected to http://192.168.86.27:52672/nulogy_sso/login
7421
+ Filter chain halted as :authenticate_sso_user rendered or redirected
7422
+ Completed 302 Found in 2ms (ActiveRecord: 0.0ms | Allocations: 307)
7423
+ Started GET "/nulogy_sso/login" for 192.168.86.27 at 2020-05-06 13:53:48 -0400
7424
+ Processing by NulogySSO::AuthenticationController#login as HTML
7425
+ Redirected to http://localhost:1080/authorize?audience=mock_audience&client_id=mock_client_id&redirect_uri=mock_login_uri%3Forigin%3Dhttp%253A%252F%252F192.168.86.27%253A52672%252Fhello_world&response_type=code&scope=openid+email
7426
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms | Allocations: 281)
7427
+ Started GET "/nulogy_sso/verify_authentication_code?code=FAKE_CODE&origin=http%3A%2F%2F192.168.86.27%3A52672%2Fhello_world" for 192.168.86.27 at 2020-05-06 13:53:48 -0400
7428
+ Processing by NulogySSO::AuthenticationController#verify_authentication_code as HTML
7429
+ Parameters: {"code"=>"FAKE_CODE", "origin"=>"http://192.168.86.27:52672/hello_world"}
7430
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? LIMIT ? [["email", "test@nulogy.com"], ["LIMIT", 1]]
7431
+ Redirected to http://192.168.86.27:52672/hello_world
7432
+ Completed 302 Found in 69ms (ActiveRecord: 0.2ms | Allocations: 2639)
7433
+ Started GET "/hello_world" for 192.168.86.27 at 2020-05-06 13:53:48 -0400
7434
+ Processing by ApplicationController#hello_world as HTML
7435
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? LIMIT ? [["email", "test@nulogy.com"], ["LIMIT", 1]]
7436
+ Rendering text template
7437
+ Rendered text template (Duration: 0.0ms | Allocations: 1)
7438
+ Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.1ms | Allocations: 691)
7439
+  (0.4ms) rollback transaction
7440
+  (0.1ms) begin transaction
7441
+  (0.2ms) SAVEPOINT active_record_1
7442
+ User Create (0.8ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?) [["email", "test@nulogy.com"], ["created_at", "2020-05-06 17:53:49.723213"], ["updated_at", "2020-05-06 17:53:49.723213"]]
7443
+  (0.1ms) RELEASE SAVEPOINT active_record_1
7444
+ Started GET "/hello_world" for 192.168.86.27 at 2020-05-06 13:53:49 -0400
7445
+ Processing by ApplicationController#hello_world as HTML
7446
+ Redirected to http://192.168.86.27:52672/nulogy_sso/login
7447
+ Filter chain halted as :authenticate_sso_user rendered or redirected
7448
+ Completed 302 Found in 2ms (ActiveRecord: 0.0ms | Allocations: 307)
7449
+ Started GET "/nulogy_sso/login" for 192.168.86.27 at 2020-05-06 13:53:49 -0400
7450
+ Processing by NulogySSO::AuthenticationController#login as HTML
7451
+ Redirected to http://localhost:1080/authorize?audience=mock_audience&client_id=mock_client_id&redirect_uri=mock_login_uri%3Forigin%3Dhttp%253A%252F%252F192.168.86.27%253A52672%252Fhello_world&response_type=code&scope=openid+email
7452
+ Completed 302 Found in 2ms (ActiveRecord: 0.0ms | Allocations: 280)
7453
+ Started GET "/nulogy_sso/verify_authentication_code?code=FAKE_CODE&origin=http%3A%2F%2F192.168.86.27%3A52672%2Fhello_world" for 192.168.86.27 at 2020-05-06 13:53:49 -0400
7454
+ Processing by NulogySSO::AuthenticationController#verify_authentication_code as HTML
7455
+ Parameters: {"code"=>"FAKE_CODE", "origin"=>"http://192.168.86.27:52672/hello_world"}
7456
+ Rendering text template
7457
+ Rendered text template (Duration: 0.1ms | Allocations: 1)
7458
+ Completed 200 OK in 39ms (Views: 1.1ms | ActiveRecord: 0.0ms | Allocations: 2191)
7459
+  (0.6ms) rollback transaction
7460
+  (0.5ms) begin transaction
7461
+  (0.1ms) rollback transaction
7462
+  (0.1ms) begin transaction
7463
+  (0.2ms) rollback transaction
7464
+  (0.5ms) begin transaction
7465
+  (0.1ms) rollback transaction
7466
+  (0.0ms) begin transaction
7467
+  (0.1ms) rollback transaction
7468
+  (0.4ms) begin transaction
7469
+  (0.1ms) rollback transaction
7470
+  (0.1ms) begin transaction
7471
+  (0.1ms) rollback transaction
7472
+  (0.1ms) begin transaction
7473
+  (0.1ms) rollback transaction
7474
+  (0.1ms) begin transaction
7475
+  (0.4ms) rollback transaction
7476
+  (0.1ms) begin transaction
7477
+  (2.1ms) rollback transaction
7478
+  (0.1ms) begin transaction
7479
+  (0.1ms) rollback transaction
7480
+  (0.1ms) begin transaction
7481
+  (0.1ms) rollback transaction
7482
+  (0.1ms) begin transaction
7483
+  (0.1ms) rollback transaction
7484
+  (0.0ms) begin transaction
7485
+  (0.1ms) rollback transaction
data/spec/examples.txt CHANGED
@@ -1,24 +1,24 @@
1
1
  example_id | status | run_time |
2
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 |
3
+ ./spec/features/nulogy_sso/sso_login_spec.rb[1:1:1] | passed | 1.68 seconds |
4
+ ./spec/features/nulogy_sso/sso_login_spec.rb[1:1:2] | passed | 2.29 seconds |
5
+ ./spec/features/nulogy_sso/sso_login_spec.rb[1:1:3] | passed | 1.86 seconds |
6
+ ./spec/features/nulogy_sso/sso_login_spec.rb[1:2:1] | passed | 1.67 seconds |
7
+ ./spec/features/nulogy_sso/sso_login_spec.rb[1:2:2] | passed | 2.07 seconds |
8
+ ./spec/features/nulogy_sso/sso_login_spec.rb[1:2:3] | passed | 1.82 seconds |
9
+ ./spec/features/nulogy_sso/sso_login_spec.rb[1:3:1] | passed | 3.53 seconds |
10
+ ./spec/features/nulogy_sso/sso_login_spec.rb[1:3:2] | passed | 2.6 seconds |
11
+ ./spec/features/nulogy_sso/sso_login_spec.rb[1:3:3] | passed | 2.4 seconds |
12
+ ./spec/unit/services/nulogy_sso/authenticator_spec.rb[1:1:1] | passed | 0.00865 seconds |
13
+ ./spec/unit/services/nulogy_sso/authenticator_spec.rb[1:1:2:1] | passed | 0.01989 seconds |
14
+ ./spec/unit/services/nulogy_sso/authenticator_spec.rb[1:1:2:2] | passed | 0.03575 seconds |
15
+ ./spec/unit/services/nulogy_sso/authenticator_spec.rb[1:1:3:1] | passed | 0.01452 seconds |
16
+ ./spec/unit/services/nulogy_sso/authenticator_spec.rb[1:2:1] | passed | 0.02236 seconds |
17
+ ./spec/unit/services/nulogy_sso/authenticator_spec.rb[1:2:2] | passed | 0.0232 seconds |
18
+ ./spec/unit/services/nulogy_sso/authenticator_spec.rb[1:2:3] | passed | 0.00175 seconds |
19
+ ./spec/unit/services/nulogy_sso/authenticator_spec.rb[1:2:4] | passed | 0.01982 seconds |
20
+ ./spec/unit/services/nulogy_sso/cookie_token_store_spec.rb[1:1] | passed | 0.02685 seconds |
21
+ ./spec/unit/services/nulogy_sso/cookie_token_store_spec.rb[1:2] | passed | 0.00136 seconds |
22
+ ./spec/unit/services/nulogy_sso/cookie_token_store_spec.rb[1:3] | passed | 0.00171 seconds |
23
+ ./spec/unit/services/nulogy_sso/origin_redirector_spec.rb[1:1:1] | passed | 0.00151 seconds |
24
+ ./spec/unit/services/nulogy_sso/origin_redirector_spec.rb[1:1:2] | passed | 0.0059 seconds |
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.3
4
+ version: 2.2.0
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-17 00:00:00.000000000 Z
11
+ date: 2020-05-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: auth0
@@ -339,7 +339,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
339
339
  - !ruby/object:Gem::Version
340
340
  version: '0'
341
341
  requirements: []
342
- rubygems_version: 3.0.6
342
+ rubygems_version: 3.0.8
343
343
  signing_key:
344
344
  specification_version: 4
345
345
  summary: Rails Engine For Nulogy's Auth Integration