gds-sso 16.0.1 → 16.0.2

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: 14cc3ecc61cecb2be99008673ba2852ce4a38385fc1721a420d9452eedcad495
4
- data.tar.gz: 629e3d7a45d9385ef258dffd115167e0ffa36a8a51d98309c5323a19ca3a772d
3
+ metadata.gz: 4104bc40db9904a03de0b700f1136b49282191e69bee00222844cb7cb2063bef
4
+ data.tar.gz: 7dc476f342219a188e0441ec8afacac71d7a80fa6797d09831d21538489a3bb9
5
5
  SHA512:
6
- metadata.gz: 3b8e46bb3acb7a9105001c7f8ec39f0914f60a89d9592df1f53c901b172bc575d584a7ff6019f6ebe4d7e8781029dcbdc5b71ecba0c8585e9697e4830ccdcf25
7
- data.tar.gz: e046ad091e5430b6ed6ba5011e5498723b943d7a7dfd1027cb346e15b7dbf14e3e083707aaa7646418c53530360fc755a2903b74bfc3662127ad553cbc446b1f
6
+ metadata.gz: 05b3c93e8a78e7d485ca1bb1464d22dc0c9e16a74b770c5b1b4f8f7abf656f5782edbaa8e63e3c92143df6c00bc14a26bf5b24fa56289e8f84fc1d5b25103132
7
+ data.tar.gz: 6d74861d444d1ee8021b7bb1cb4b8ec135fdba5c315b81c609438d593b5f6bf17f4756c0d1acb41a0338d0aedf624cdc07e07640bebceda9bab22002594d937f
data/lib/gds-sso.rb CHANGED
@@ -27,6 +27,8 @@ module GDS
27
27
  # TODO - check this one - Stolen from Devise because it looked sensible...
28
28
  config.before_eager_load(&:reload_routes!)
29
29
 
30
+ OmniAuth.config.allowed_request_methods = %i[post get]
31
+
30
32
  config.app_middleware.use ::OmniAuth::Builder do
31
33
  next if GDS::SSO::Config.api_only
32
34
 
@@ -1,5 +1,5 @@
1
1
  module GDS
2
2
  module SSO
3
- VERSION = "16.0.1".freeze
3
+ VERSION = "16.0.2".freeze
4
4
  end
5
5
  end
@@ -1,191 +1,190 @@
1
1
   (0.1ms) DROP TABLE IF EXISTS "users"
2
2
   (0.9ms) SELECT sqlite_version(*)
3
-  (7.4ms) CREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "uid" varchar NOT NULL, "email" varchar NOT NULL, "remotely_signed_out" boolean, "permissions" text, "organisation_slug" varchar, "organisation_content_id" varchar, "disabled" boolean DEFAULT 'f')
4
-  (6.6ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
5
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
3
+  (6.2ms) CREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "uid" varchar NOT NULL, "email" varchar NOT NULL, "remotely_signed_out" boolean, "permissions" text, "organisation_slug" varchar, "organisation_content_id" varchar, "disabled" boolean DEFAULT 'f')
4
+  (3.8ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
5
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
6
6
   (0.0ms) begin transaction
7
- ActiveRecord::InternalMetadata Create (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2021-06-10 10:30:26.783208"], ["updated_at", "2021-06-10 10:30:26.783208"]]
8
-  (6.3ms) commit transaction
9
-  (6.5ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
7
+ ActiveRecord::InternalMetadata Create (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2021-06-24 15:07:07.417855"], ["updated_at", "2021-06-24 15:07:07.417855"]]
8
+  (13.6ms) commit transaction
9
+  (14.2ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
10
10
  ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
11
11
   (0.0ms) begin transaction
12
12
   (0.0ms) commit transaction
13
13
   (0.0ms) begin transaction
14
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d37256"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
15
-  (6.9ms) commit transaction
14
+ User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d34140"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
15
+  (7.7ms) commit transaction
16
16
   (0.0ms) begin transaction
17
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d35608"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
18
-  (5.9ms) commit transaction
17
+ User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d33438"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
18
+  (4.9ms) commit transaction
19
19
  Processing by Api::UserController#update as HTML
20
- Parameters: {"uid"=>"a1s2d37256"}
21
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "a1s2d37256"], ["LIMIT", 1]]
20
+ Parameters: {"uid"=>"a1s2d34140"}
21
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "a1s2d34140"], ["LIMIT", 1]]
22
22
   (0.0ms) begin transaction
23
23
  User Update (0.2ms) UPDATE "users" SET "email" = ?, "name" = ?, "permissions" = ?, "organisation_slug" = ?, "organisation_content_id" = ? WHERE "users"."id" = ? [["email", "user@domain.com"], ["name", "Joshua Marshall"], ["permissions", "---\n- signin\n- new permission\n"], ["organisation_slug", "justice-league"], ["organisation_content_id", "aae1319e-5788-4677-998c-f1a53af528d0"], ["id", 1]]
24
-  (4.4ms) commit transaction
25
- Completed 200 OK in 7ms (ActiveRecord: 4.7ms)
24
+  (5.4ms) commit transaction
25
+ Completed 200 OK in 8ms (ActiveRecord: 5.7ms)
26
26
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
27
27
   (0.0ms) begin transaction
28
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d39156"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
29
-  (6.0ms) commit transaction
28
+ User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d35903"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
29
+  (4.6ms) commit transaction
30
30
   (0.0ms) begin transaction
31
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d31968"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
32
-  (5.9ms) commit transaction
31
+ User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d37660"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
32
+  (3.8ms) commit transaction
33
33
  Processing by Api::UserController#update as HTML
34
- Parameters: {"uid"=>"a1s2d39156"}
34
+ Parameters: {"uid"=>"a1s2d35903"}
35
35
  Rendering /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
36
36
  Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
37
37
  Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.1ms)
38
38
  Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
39
- Completed 403 Forbidden in 5ms (Views: 4.3ms | ActiveRecord: 0.0ms)
39
+ Completed 403 Forbidden in 4ms (Views: 4.2ms | ActiveRecord: 0.0ms)
40
40
   (0.0ms) begin transaction
41
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d31875"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
42
-  (6.3ms) commit transaction
41
+ User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d32580"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
42
+  (3.9ms) commit transaction
43
43
   (0.0ms) begin transaction
44
- User Create (0.1ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d3917"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
45
-  (6.2ms) commit transaction
44
+ User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d3720"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
45
+  (5.3ms) commit transaction
46
46
  Processing by Api::UserController#reauth as HTML
47
- Parameters: {"uid"=>"a1s2d31875"}
47
+ Parameters: {"uid"=>"a1s2d32580"}
48
48
  Rendering /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
49
49
  Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
50
50
  Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.1ms)
51
51
  Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
52
52
  Completed 403 Forbidden in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
53
53
   (0.0ms) begin transaction
54
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d38749"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
55
-  (4.5ms) commit transaction
54
+ User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d36052"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
55
+  (4.0ms) commit transaction
56
56
   (0.0ms) begin transaction
57
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d39755"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
58
-  (4.9ms) commit transaction
57
+ User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d38969"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
58
+  (3.8ms) commit transaction
59
59
  Processing by Api::UserController#reauth as HTML
60
- Parameters: {"uid"=>"a1s2d38749"}
61
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "a1s2d38749"], ["LIMIT", 1]]
60
+ Parameters: {"uid"=>"a1s2d36052"}
61
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "a1s2d36052"], ["LIMIT", 1]]
62
62
   (0.0ms) begin transaction
63
63
  User Update (0.1ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 7]]
64
-  (4.6ms) commit transaction
65
- Completed 200 OK in 6ms (ActiveRecord: 4.8ms)
64
+  (5.6ms) commit transaction
65
+ Completed 200 OK in 7ms (ActiveRecord: 5.8ms)
66
66
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 7], ["LIMIT", 1]]
67
67
   (0.0ms) begin transaction
68
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d35482"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
69
-  (6.4ms) commit transaction
68
+ User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d31908"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
69
+  (5.3ms) commit transaction
70
70
   (0.0ms) begin transaction
71
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d37236"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
72
-  (5.9ms) commit transaction
71
+ User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d33257"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
72
+  (3.8ms) commit transaction
73
73
  Processing by Api::UserController#reauth as HTML
74
74
  Parameters: {"uid"=>"nonexistent-user"}
75
75
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "nonexistent-user"], ["LIMIT", 1]]
76
76
  Completed 200 OK in 1ms (ActiveRecord: 0.1ms)
77
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "asd"], ["LIMIT", 1]]
78
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "user@example.com"], ["LIMIT", 1]]
77
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "dummyapiuser@domain.com"], ["LIMIT", 1]]
79
78
   (0.0ms) begin transaction
80
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions", "organisation_slug", "organisation_content_id", "disabled") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "A Name"], ["uid", "asd"], ["email", "user@example.com"], ["permissions", "---\n- signin\n"], ["organisation_slug", "hmrc"], ["organisation_content_id", "67a2b78d-eee3-45b3-80e2-792e7f71cecc"], ["disabled", nil]]
81
-  (5.8ms) commit transaction
82
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "asd"], ["LIMIT", 1]]
79
+ User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Dummy API user created by gds-sso"], ["uid", "9871"], ["email", "dummyapiuser@domain.com"], ["permissions", "---\n- signin\n"]]
80
+  (4.0ms) commit transaction
83
81
   (0.0ms) begin transaction
84
-  (0.0ms) commit transaction
85
- Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:27 +0000
82
+ User Update (0.1ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = ? [["permissions", "---\n- signin\n- extra_permission\n"], ["id", 11]]
83
+  (5.1ms) commit transaction
84
+ Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:08 +0000
86
85
  Processing by ExampleController#restricted as HTML
87
86
  Authenticating with gds_sso strategy
88
87
  Completed in 4ms (ActiveRecord: 0.0ms)
89
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2021-06-10 10:30:27 +0000
90
- Processing by ExampleController#this_requires_signin_permission as JSON
88
+ Started GET "/auth/gds" for 127.0.0.1 at 2021-06-24 15:07:08 +0000
89
+ Started GET "/auth/gds/callback?code=hS54I-syiSt6cTUJlW_JPmtwB3CHImteLUO8RpWSyLg&state=33bd83f95c9e0413080a3a48934234773209ea349da1dab0" for 127.0.0.1 at 2021-06-24 15:07:08 +0000
90
+ Processing by AuthenticationsController#callback as HTML
91
+ Parameters: {"code"=>"hS54I-syiSt6cTUJlW_JPmtwB3CHImteLUO8RpWSyLg", "state"=>"33bd83f95c9e0413080a3a48934234773209ea349da1dab0"}
92
+ Authenticating with gds_sso strategy
91
93
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
92
94
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "test@example-client.com"], ["LIMIT", 1]]
93
95
   (0.0ms) begin transaction
94
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions", "disabled") VALUES (?, ?, ?, ?, ?) [["name", "Test User"], ["uid", "integration-uid"], ["email", "test@example-client.com"], ["permissions", "---\n- signin\n"], ["disabled", nil]]
95
-  (7.4ms) commit transaction
96
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
97
-  (0.0ms) begin transaction
98
-  (0.0ms) commit transaction
99
- CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
100
-  (0.0ms) begin transaction
101
-  (0.0ms) commit transaction
102
- CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
103
-  (0.0ms) begin transaction
104
-  (0.0ms) commit transaction
96
+ User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Test User"], ["uid", "integration-uid"], ["email", "test@example-client.com"], ["permissions", "---\n- signin\n"]]
97
+  (8.8ms) commit transaction
105
98
   (0.0ms) begin transaction
106
99
  User Update (0.2ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "f"], ["id", 12]]
107
-  (6.1ms) commit transaction
100
+  (6.4ms) commit transaction
101
+ Redirected to http://www.example-client.com/restricted
102
+ Completed 302 Found in 19ms (ActiveRecord: 15.9ms)
103
+ Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:08 +0000
104
+ Processing by ExampleController#restricted as HTML
105
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
108
106
  Rendering text template
109
107
  Rendered text template (0.0ms)
110
- Completed 200 OK in 160ms (Views: 0.8ms | ActiveRecord: 14.4ms)
111
- Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:27 +0000
112
- Processing by ExampleController#restricted as JSON
113
- Completed in 109ms (ActiveRecord: 0.0ms)
114
- Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:27 +0000
115
- Processing by ExampleController#restricted as JSON
116
- Completed in 14ms (ActiveRecord: 0.0ms)
117
- Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:27 +0000
118
- Processing by ExampleController#restricted as JSON
108
+ Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.2ms)
109
+ Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:08 +0000
110
+ Processing by ExampleController#restricted as HTML
111
+ Authenticating with gds_sso strategy
112
+ Completed in 0ms (ActiveRecord: 0.0ms)
113
+ Started GET "/auth/gds" for 127.0.0.1 at 2021-06-24 15:07:08 +0000
114
+ Started GET "/auth/gds/callback?code=iI9yA-NJQE8Jeix0k9L51l1OUnBdo8ppBZxs2WuPoxI&state=374306e1b514a61e5d1b460852b53437b7290d8f83a0f560" for 127.0.0.1 at 2021-06-24 15:07:08 +0000
115
+ Processing by AuthenticationsController#callback as HTML
116
+ Parameters: {"code"=>"iI9yA-NJQE8Jeix0k9L51l1OUnBdo8ppBZxs2WuPoxI", "state"=>"374306e1b514a61e5d1b460852b53437b7290d8f83a0f560"}
117
+ Authenticating with gds_sso strategy
119
118
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
120
119
   (0.0ms) begin transaction
121
120
   (0.0ms) commit transaction
122
- CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
123
-  (0.0ms) begin transaction
124
-  (0.0ms) commit transaction
125
- CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
126
-  (0.0ms) begin transaction
127
-  (0.0ms) commit transaction
128
- CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
129
-  (0.0ms) begin transaction
130
-  (0.0ms) commit transaction
131
121
   (0.0ms) begin transaction
132
122
   (0.0ms) commit transaction
123
+ Redirected to http://www.example-client.com/restricted
124
+ Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
125
+ Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:08 +0000
126
+ Processing by ExampleController#restricted as HTML
127
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
133
128
  Rendering text template
134
129
  Rendered text template (0.0ms)
135
- Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 0.5ms)
136
- Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:27 +0000
130
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
131
+ Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:08 +0000
137
132
  Processing by ExampleController#restricted as HTML
138
133
  Authenticating with gds_sso strategy
139
134
  Completed in 0ms (ActiveRecord: 0.0ms)
140
- Started GET "/auth/gds" for 127.0.0.1 at 2021-06-10 10:30:27 +0000
141
- Started GET "/auth/gds/callback?code=jF_SQ2_ish9Qv0VB_UitUoug5h0ETt4bK4BWGKjfZyg&state=64e9bbffa3bd2370491170a2e47f9c854825df7f2663e0d4" for 127.0.0.1 at 2021-06-10 10:30:27 +0000
135
+ Started GET "/auth/gds" for 127.0.0.1 at 2021-06-24 15:07:08 +0000
136
+ Started GET "/auth/gds/callback?code=t3mrKoVAMS2rD6Ez3fjF2mfiY3f4sz9d3mGpR4g6pK8&state=84ffe1ce4530b34ac6db32e33d0f444f482424de90ed5d71" for 127.0.0.1 at 2021-06-24 15:07:08 +0000
142
137
  Processing by AuthenticationsController#callback as HTML
143
- Parameters: {"code"=>"jF_SQ2_ish9Qv0VB_UitUoug5h0ETt4bK4BWGKjfZyg", "state"=>"64e9bbffa3bd2370491170a2e47f9c854825df7f2663e0d4"}
138
+ Parameters: {"code"=>"t3mrKoVAMS2rD6Ez3fjF2mfiY3f4sz9d3mGpR4g6pK8", "state"=>"84ffe1ce4530b34ac6db32e33d0f444f482424de90ed5d71"}
144
139
  Authenticating with gds_sso strategy
145
140
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
146
141
   (0.0ms) begin transaction
147
- User Update (0.2ms) UPDATE "users" SET "disabled" = ? WHERE "users"."id" = ? [["disabled", "f"], ["id", 12]]
148
-  (8.5ms) commit transaction
149
-  (0.1ms) begin transaction
142
+  (0.0ms) commit transaction
143
+  (0.0ms) begin transaction
150
144
   (0.0ms) commit transaction
151
145
  Redirected to http://www.example-client.com/restricted
152
- Completed 302 Found in 12ms (ActiveRecord: 9.0ms)
153
- Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:27 +0000
146
+ Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
147
+ Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:08 +0000
154
148
  Processing by ExampleController#restricted as HTML
155
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
149
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
150
+ Rendering text template
151
+ Rendered text template (0.0ms)
152
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
153
+ Started GET "/" for 127.0.0.1 at 2021-06-24 15:07:08 +0000
154
+ Processing by ExampleController#index as HTML
156
155
  Rendering text template
157
156
  Rendered text template (0.0ms)
158
- Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
159
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2021-06-10 10:30:27 +0000
157
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
158
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2021-06-24 15:07:08 +0000
160
159
  Processing by ExampleController#this_requires_signin_permission as HTML
161
160
  Authenticating with gds_sso strategy
162
161
  Completed in 0ms (ActiveRecord: 0.0ms)
163
- Started GET "/auth/gds" for 127.0.0.1 at 2021-06-10 10:30:27 +0000
164
- Started GET "/auth/gds/callback?code=hBZaqSN91kBu98XpYDOwJ69NLFqKGc-4_TFRUBTd_mw&state=8806c639e9bcd12b516f12ec248955b3630bc755ec4b2d40" for 127.0.0.1 at 2021-06-10 10:30:28 +0000
162
+ Started GET "/auth/gds" for 127.0.0.1 at 2021-06-24 15:07:08 +0000
163
+ Started GET "/auth/gds/callback?code=GNWIz8UTM5Wo6E9H23HUX9wBoj7UAe0Qd2KEMhe-a98&state=e0c053a82f5f90b4f08ae9ae008e599bcd852d6fbf2e4859" for 127.0.0.1 at 2021-06-24 15:07:08 +0000
165
164
  Processing by AuthenticationsController#callback as HTML
166
- Parameters: {"code"=>"hBZaqSN91kBu98XpYDOwJ69NLFqKGc-4_TFRUBTd_mw", "state"=>"8806c639e9bcd12b516f12ec248955b3630bc755ec4b2d40"}
165
+ Parameters: {"code"=>"GNWIz8UTM5Wo6E9H23HUX9wBoj7UAe0Qd2KEMhe-a98", "state"=>"e0c053a82f5f90b4f08ae9ae008e599bcd852d6fbf2e4859"}
167
166
  Authenticating with gds_sso strategy
168
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
169
-  (0.1ms) begin transaction
170
-  (0.1ms) commit transaction
167
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
168
+  (0.0ms) begin transaction
169
+  (0.0ms) commit transaction
171
170
   (0.0ms) begin transaction
172
171
   (0.0ms) commit transaction
173
172
  Redirected to http://www.example-client.com/this_requires_signin_permission
174
- Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
175
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2021-06-10 10:30:28 +0000
173
+ Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
174
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2021-06-24 15:07:08 +0000
176
175
  Processing by ExampleController#this_requires_signin_permission as HTML
177
176
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
178
177
  Rendering text template
179
178
  Rendered text template (0.0ms)
180
- Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
181
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2021-06-10 10:30:28 +0000
179
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
180
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2021-06-24 15:07:08 +0000
182
181
  Processing by ExampleController#this_requires_signin_permission as HTML
183
182
  Authenticating with gds_sso strategy
184
183
  Completed in 0ms (ActiveRecord: 0.0ms)
185
- Started GET "/auth/gds" for 127.0.0.1 at 2021-06-10 10:30:28 +0000
186
- Started GET "/auth/gds/callback?code=bJv-HEe2eC9X_-jgPUxZASHtbrWzWomV1ODGqSwDZjw&state=60b1396bae1dba933a655d4c6b356d45a20ceea740c2030b" for 127.0.0.1 at 2021-06-10 10:30:28 +0000
184
+ Started GET "/auth/gds" for 127.0.0.1 at 2021-06-24 15:07:08 +0000
185
+ Started GET "/auth/gds/callback?code=r_-Abr5jDEQw134XvX4IP-eug0Ok3rDC4GOstivRfEI&state=5c6b6c6a4b470b38c4366bb9272e03b72c5355ff56e541d8" for 127.0.0.1 at 2021-06-24 15:07:08 +0000
187
186
  Processing by AuthenticationsController#callback as HTML
188
- Parameters: {"code"=>"bJv-HEe2eC9X_-jgPUxZASHtbrWzWomV1ODGqSwDZjw", "state"=>"60b1396bae1dba933a655d4c6b356d45a20ceea740c2030b"}
187
+ Parameters: {"code"=>"r_-Abr5jDEQw134XvX4IP-eug0Ok3rDC4GOstivRfEI", "state"=>"5c6b6c6a4b470b38c4366bb9272e03b72c5355ff56e541d8"}
189
188
  Authenticating with gds_sso strategy
190
189
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
191
190
   (0.0ms) begin transaction
@@ -194,25 +193,20 @@ Authenticating with gds_sso strategy
194
193
   (0.0ms) commit transaction
195
194
  Redirected to http://www.example-client.com/this_requires_signin_permission
196
195
  Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
197
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2021-06-10 10:30:28 +0000
196
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2021-06-24 15:07:08 +0000
198
197
  Processing by ExampleController#this_requires_signin_permission as HTML
199
198
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
200
199
  Rendering text template
201
200
  Rendered text template (0.0ms)
202
201
  Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
203
- Started GET "/" for 127.0.0.1 at 2021-06-10 10:30:28 +0000
204
- Processing by ExampleController#index as HTML
205
- Rendering text template
206
- Rendered text template (0.0ms)
207
- Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
208
- Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:28 +0000
202
+ Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:08 +0000
209
203
  Processing by ExampleController#restricted as HTML
210
204
  Authenticating with gds_sso strategy
211
205
  Completed in 0ms (ActiveRecord: 0.0ms)
212
- Started GET "/auth/gds" for 127.0.0.1 at 2021-06-10 10:30:28 +0000
213
- Started GET "/auth/gds/callback?code=gC8iRA497xK0TkQvEcg8DRlRD9k0w8qBkE9m_qpofSE&state=8e8a74a0073eca132ed33502b238a6cfae24a8240f26808e" for 127.0.0.1 at 2021-06-10 10:30:28 +0000
206
+ Started GET "/auth/gds" for 127.0.0.1 at 2021-06-24 15:07:08 +0000
207
+ Started GET "/auth/gds/callback?code=tlRtnbAQaNdUZKWz6OG5VD6z9maEtek2GTclYpGuMmA&state=764d2347a8f8844675c442c308185ab4ce9823c74aa4ff32" for 127.0.0.1 at 2021-06-24 15:07:08 +0000
214
208
  Processing by AuthenticationsController#callback as HTML
215
- Parameters: {"code"=>"gC8iRA497xK0TkQvEcg8DRlRD9k0w8qBkE9m_qpofSE", "state"=>"8e8a74a0073eca132ed33502b238a6cfae24a8240f26808e"}
209
+ Parameters: {"code"=>"tlRtnbAQaNdUZKWz6OG5VD6z9maEtek2GTclYpGuMmA", "state"=>"764d2347a8f8844675c442c308185ab4ce9823c74aa4ff32"}
216
210
  Authenticating with gds_sso strategy
217
211
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
218
212
   (0.0ms) begin transaction
@@ -220,43 +214,43 @@ Authenticating with gds_sso strategy
220
214
   (0.0ms) begin transaction
221
215
   (0.0ms) commit transaction
222
216
  Redirected to http://www.example-client.com/restricted
223
- Completed 302 Found in 2ms (ActiveRecord: 0.3ms)
224
- Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:28 +0000
217
+ Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
218
+ Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:08 +0000
225
219
  Processing by ExampleController#restricted as HTML
226
220
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
227
221
  Rendering text template
228
222
  Rendered text template (0.0ms)
229
223
  Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
230
- Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:28 +0000
224
+ Started GET "/restricted" for 127.0.0.1 at 2021-06-25 11:12:08 +0000
231
225
  Processing by ExampleController#restricted as HTML
232
226
  Authenticating with gds_sso strategy
233
227
  Completed in 0ms (ActiveRecord: 0.0ms)
234
- Started GET "/auth/gds" for 127.0.0.1 at 2021-06-10 10:30:28 +0000
235
- Started GET "/auth/gds/callback?code=uC1_m3BWNbgEgv_fIyd_J41XniD3TMhDsofeYTaPoEY&state=f5e56d641dd87dbbd91737828000e2a66ccc4d703d5a2286" for 127.0.0.1 at 2021-06-10 10:30:28 +0000
228
+ Started GET "/auth/gds" for 127.0.0.1 at 2021-06-25 11:12:08 +0000
229
+ Started GET "/auth/gds/callback?code=TX-Dit4R5ro4yCmL0bUfsLk616jpnnnUNsTdcabklwY&state=a1cb8699b7eb0d6de93b0caaba7f2ded57059c7abd1754d7" for 127.0.0.1 at 2021-06-25 11:12:08 +0000
236
230
  Processing by AuthenticationsController#callback as HTML
237
- Parameters: {"code"=>"uC1_m3BWNbgEgv_fIyd_J41XniD3TMhDsofeYTaPoEY", "state"=>"f5e56d641dd87dbbd91737828000e2a66ccc4d703d5a2286"}
231
+ Parameters: {"code"=>"TX-Dit4R5ro4yCmL0bUfsLk616jpnnnUNsTdcabklwY", "state"=>"a1cb8699b7eb0d6de93b0caaba7f2ded57059c7abd1754d7"}
238
232
  Authenticating with gds_sso strategy
239
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
233
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
240
234
   (0.0ms) begin transaction
241
-  (0.1ms) commit transaction
235
+  (0.0ms) commit transaction
242
236
   (0.0ms) begin transaction
243
237
   (0.0ms) commit transaction
244
238
  Redirected to http://www.example-client.com/restricted
245
- Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
246
- Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:28 +0000
239
+ Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
240
+ Started GET "/restricted" for 127.0.0.1 at 2021-06-25 11:12:08 +0000
247
241
  Processing by ExampleController#restricted as HTML
248
242
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
249
243
  Rendering text template
250
244
  Rendered text template (0.0ms)
251
- Completed 200 OK in 12ms (Views: 0.2ms | ActiveRecord: 0.1ms)
252
- Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:28 +0000
245
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
246
+ Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:08 +0000
253
247
  Processing by ExampleController#restricted as HTML
254
248
  Authenticating with gds_sso strategy
255
249
  Completed in 0ms (ActiveRecord: 0.0ms)
256
- Started GET "/auth/gds" for 127.0.0.1 at 2021-06-10 10:30:28 +0000
257
- Started GET "/auth/gds/callback?code=3ve19Uzmtbue5ui6zqJdR_9fqKnriB9lGa6z1E_MnZs&state=d2d227c0bcc729ea97f23dc39c5824e21ea96435635d9677" for 127.0.0.1 at 2021-06-10 10:30:28 +0000
250
+ Started GET "/auth/gds" for 127.0.0.1 at 2021-06-24 15:07:08 +0000
251
+ Started GET "/auth/gds/callback?code=Gqyv0uClLzMapeInmPjLluoM_UT6zW41Ya_KhtIDYic&state=5ff2ff6ae1a3056f5bec86e1a0c4ee8222fafd644f3c8563" for 127.0.0.1 at 2021-06-24 15:07:08 +0000
258
252
  Processing by AuthenticationsController#callback as HTML
259
- Parameters: {"code"=>"3ve19Uzmtbue5ui6zqJdR_9fqKnriB9lGa6z1E_MnZs", "state"=>"d2d227c0bcc729ea97f23dc39c5824e21ea96435635d9677"}
253
+ Parameters: {"code"=>"Gqyv0uClLzMapeInmPjLluoM_UT6zW41Ya_KhtIDYic", "state"=>"5ff2ff6ae1a3056f5bec86e1a0c4ee8222fafd644f3c8563"}
260
254
  Authenticating with gds_sso strategy
261
255
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
262
256
   (0.0ms) begin transaction
@@ -265,25 +259,25 @@ Authenticating with gds_sso strategy
265
259
   (0.0ms) commit transaction
266
260
  Redirected to http://www.example-client.com/restricted
267
261
  Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
268
- Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:28 +0000
262
+ Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:09 +0000
269
263
  Processing by ExampleController#restricted as HTML
270
264
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
271
265
  Rendering text template
272
266
  Rendered text template (0.0ms)
273
267
  Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
274
- Started GET "/restricted" for 127.0.0.1 at 2021-06-11 06:35:28 +0000
268
+ Started GET "/restricted" for 127.0.0.1 at 2021-06-25 11:12:09 +0000
275
269
  Processing by ExampleController#restricted as HTML
276
270
  Authenticating with gds_sso strategy
277
271
  Completed in 0ms (ActiveRecord: 0.0ms)
278
- Started GET "/auth/gds" for 127.0.0.1 at 2021-06-11 06:35:28 +0000
279
- Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:28 +0000
272
+ Started GET "/auth/gds" for 127.0.0.1 at 2021-06-25 11:12:09 +0000
273
+ Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:09 +0000
280
274
  Processing by ExampleController#restricted as HTML
281
275
  Authenticating with gds_sso strategy
282
276
  Completed in 0ms (ActiveRecord: 0.0ms)
283
- Started GET "/auth/gds" for 127.0.0.1 at 2021-06-10 10:30:28 +0000
284
- Started GET "/auth/gds/callback?code=gRDEB2jbqdAAGGZAxaQlVWcYPlKb7Fob4ZrpW0gZUfQ&state=5a06fcd6a2e53d43e2cf0530a073a1b80547bbf16f1eb58f" for 127.0.0.1 at 2021-06-10 10:30:28 +0000
277
+ Started GET "/auth/gds" for 127.0.0.1 at 2021-06-24 15:07:09 +0000
278
+ Started GET "/auth/gds/callback?code=yJtbB5CRnuDKnwe9XSLZaBCccckpGxEwQCM6OWw-eLk&state=815a41e2c550c84cfb667c409418f6eedfd0eb3690f93df1" for 127.0.0.1 at 2021-06-24 15:07:09 +0000
285
279
  Processing by AuthenticationsController#callback as HTML
286
- Parameters: {"code"=>"gRDEB2jbqdAAGGZAxaQlVWcYPlKb7Fob4ZrpW0gZUfQ", "state"=>"5a06fcd6a2e53d43e2cf0530a073a1b80547bbf16f1eb58f"}
280
+ Parameters: {"code"=>"yJtbB5CRnuDKnwe9XSLZaBCccckpGxEwQCM6OWw-eLk", "state"=>"815a41e2c550c84cfb667c409418f6eedfd0eb3690f93df1"}
287
281
  Authenticating with gds_sso strategy
288
282
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
289
283
   (0.0ms) begin transaction
@@ -292,390 +286,400 @@ Authenticating with gds_sso strategy
292
286
   (0.0ms) commit transaction
293
287
  Redirected to http://www.example-client.com/restricted
294
288
  Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
295
- Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:28 +0000
289
+ Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:09 +0000
296
290
  Processing by ExampleController#restricted as HTML
297
291
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
298
292
  Rendering text template
299
293
  Rendered text template (0.0ms)
300
294
  Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
301
- Started GET "/restricted" for 127.0.0.1 at 2021-06-11 06:25:28 +0000
295
+ Started GET "/restricted" for 127.0.0.1 at 2021-06-25 11:02:09 +0000
302
296
  Processing by ExampleController#restricted as HTML
303
297
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
304
298
  Rendering text template
305
299
  Rendered text template (0.0ms)
306
300
  Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
307
- Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:28 +0000
301
+ Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:09 +0000
308
302
  Processing by ExampleController#restricted as HTML
309
303
  Authenticating with gds_sso strategy
310
304
  Completed in 0ms (ActiveRecord: 0.0ms)
311
- Started GET "/auth/gds" for 127.0.0.1 at 2021-06-10 10:30:28 +0000
312
- Started GET "/auth/gds/callback?code=qb68Dd9gN_70qvVFw7-A1bKvXPzTbxW7H21AFDey_Mc&state=e4c792c21b21297cbea468219e5d3b97703230ae78d8e289" for 127.0.0.1 at 2021-06-10 10:30:28 +0000
305
+ Started GET "/auth/gds" for 127.0.0.1 at 2021-06-24 15:07:09 +0000
306
+ Started GET "/auth/gds/callback?code=fKA2Ed_HU0kWKA324oPPtDfr3Sh8AII2cxTTaxm_3Ok&state=cd50d65c7480e61ab422172c435cdce1372489ce8e46cb23" for 127.0.0.1 at 2021-06-24 15:07:09 +0000
313
307
  Processing by AuthenticationsController#callback as HTML
314
- Parameters: {"code"=>"qb68Dd9gN_70qvVFw7-A1bKvXPzTbxW7H21AFDey_Mc", "state"=>"e4c792c21b21297cbea468219e5d3b97703230ae78d8e289"}
308
+ Parameters: {"code"=>"fKA2Ed_HU0kWKA324oPPtDfr3Sh8AII2cxTTaxm_3Ok", "state"=>"cd50d65c7480e61ab422172c435cdce1372489ce8e46cb23"}
315
309
  Authenticating with gds_sso strategy
316
310
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
317
311
   (0.0ms) begin transaction
318
-  (0.1ms) commit transaction
312
+  (0.0ms) commit transaction
319
313
   (0.0ms) begin transaction
320
314
   (0.0ms) commit transaction
321
315
  Redirected to http://www.example-client.com/restricted
322
- Completed 302 Found in 2ms (ActiveRecord: 0.3ms)
323
- Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:28 +0000
316
+ Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
317
+ Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:09 +0000
324
318
  Processing by ExampleController#restricted as HTML
325
319
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
326
320
  Rendering text template
327
321
  Rendered text template (0.0ms)
328
322
  Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
329
- Started GET "/restricted" for 127.0.0.1 at 2021-06-11 06:35:28 +0000
323
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "test@example-client.com"], ["LIMIT", 1]]
324
+  (0.0ms) begin transaction
325
+ User Update (0.2ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 12]]
326
+  (5.7ms) commit transaction
327
+ Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:09 +0000
330
328
  Processing by ExampleController#restricted as HTML
329
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
331
330
  Authenticating with gds_sso strategy
332
- Completed in 0ms (ActiveRecord: 0.0ms)
333
- Started GET "/auth/gds" for 127.0.0.1 at 2021-06-11 06:35:28 +0000
334
- Started GET "/auth/gds/callback?code=1TVTeXCnPzzVBtZkj8vl2uioLmGV7FlVvsFnmAcwmwk&state=035bf0092b698f67501d896f38b3bef1e1627e63c1b4188e" for 127.0.0.1 at 2021-06-11 06:35:28 +0000
331
+ Completed in 1ms (ActiveRecord: 0.1ms)
332
+ Started GET "/auth/gds" for 127.0.0.1 at 2021-06-24 15:07:09 +0000
333
+ Started GET "/auth/gds/callback?code=NtUq4fRr1tLEey7AbWdRAZaxmWKwtrZBqo_o7_6d6m0&state=b099bae0a24fb8a0b53f057ab12b3c7c3828651b0b632c87" for 127.0.0.1 at 2021-06-24 15:07:09 +0000
335
334
  Processing by AuthenticationsController#callback as HTML
336
- Parameters: {"code"=>"1TVTeXCnPzzVBtZkj8vl2uioLmGV7FlVvsFnmAcwmwk", "state"=>"035bf0092b698f67501d896f38b3bef1e1627e63c1b4188e"}
335
+ Parameters: {"code"=>"NtUq4fRr1tLEey7AbWdRAZaxmWKwtrZBqo_o7_6d6m0", "state"=>"b099bae0a24fb8a0b53f057ab12b3c7c3828651b0b632c87"}
337
336
  Authenticating with gds_sso strategy
338
337
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
339
338
   (0.0ms) begin transaction
340
339
   (0.0ms) commit transaction
341
340
   (0.0ms) begin transaction
342
-  (0.0ms) commit transaction
341
+ User Update (0.2ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "f"], ["id", 12]]
342
+  (5.2ms) commit transaction
343
343
  Redirected to http://www.example-client.com/restricted
344
- Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
345
- Started GET "/restricted" for 127.0.0.1 at 2021-06-11 06:35:28 +0000
344
+ Completed 302 Found in 7ms (ActiveRecord: 5.6ms)
345
+ Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:09 +0000
346
346
  Processing by ExampleController#restricted as HTML
347
347
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
348
348
  Rendering text template
349
349
  Rendered text template (0.0ms)
350
350
  Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
351
- Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:28 +0000
351
+ Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:09 +0000
352
352
  Processing by ExampleController#restricted as HTML
353
353
  Authenticating with gds_sso strategy
354
354
  Completed in 0ms (ActiveRecord: 0.0ms)
355
- Started GET "/auth/gds" for 127.0.0.1 at 2021-06-10 10:30:28 +0000
356
- Started GET "/auth/gds/callback?code=7jIqjNEZcZB_myhQcBlUspxZz0naY5OkcFMkl4H-wDU&state=4d6498930ca82bc9ad804093f4683f0ce3f06bf3d85607c7" for 127.0.0.1 at 2021-06-10 10:30:28 +0000
357
- Processing by AuthenticationsController#callback as HTML
358
- Parameters: {"code"=>"7jIqjNEZcZB_myhQcBlUspxZz0naY5OkcFMkl4H-wDU", "state"=>"4d6498930ca82bc9ad804093f4683f0ce3f06bf3d85607c7"}
359
- Authenticating with gds_sso strategy
355
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2021-06-24 15:07:09 +0000
356
+ Processing by ExampleController#this_requires_signin_permission as JSON
357
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
358
+  (0.0ms) begin transaction
359
+ User Update (0.2ms) UPDATE "users" SET "disabled" = ? WHERE "users"."id" = ? [["disabled", nil], ["id", 12]]
360
+  (11.9ms) commit transaction
360
361
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
361
362
   (0.0ms) begin transaction
362
363
   (0.0ms) commit transaction
364
+ CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
365
+  (0.0ms) begin transaction
366
+  (0.0ms) commit transaction
367
+ CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
368
+  (0.0ms) begin transaction
369
+  (0.0ms) commit transaction
363
370
   (0.0ms) begin transaction
364
371
   (0.0ms) commit transaction
365
- Redirected to http://www.example-client.com/restricted
366
- Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
367
- Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:28 +0000
368
- Processing by ExampleController#restricted as HTML
369
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
370
372
  Rendering text template
371
373
  Rendered text template (0.0ms)
372
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
373
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "test@example-client.com"], ["LIMIT", 1]]
374
+ Completed 200 OK in 26ms (Views: 0.2ms | ActiveRecord: 12.5ms)
375
+ Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:09 +0000
376
+ Processing by ExampleController#restricted as JSON
377
+ Completed in 7ms (ActiveRecord: 0.0ms)
378
+ Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:09 +0000
379
+ Processing by ExampleController#restricted as JSON
380
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
374
381
   (0.0ms) begin transaction
375
- User Update (0.2ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 12]]
376
-  (7.2ms) commit transaction
377
- Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:28 +0000
378
- Processing by ExampleController#restricted as HTML
379
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
380
- Authenticating with gds_sso strategy
381
- Completed in 1ms (ActiveRecord: 0.1ms)
382
- Started GET "/auth/gds" for 127.0.0.1 at 2021-06-10 10:30:28 +0000
383
- Started GET "/auth/gds/callback?code=TmrgzvTZZPAjsCbcL5jsAObXc8KImNbvz9KHQUb6Yd0&state=998904e72a6470aa7952433aa79a7787971e50f69a08325e" for 127.0.0.1 at 2021-06-10 10:30:28 +0000
384
- Processing by AuthenticationsController#callback as HTML
385
- Parameters: {"code"=>"TmrgzvTZZPAjsCbcL5jsAObXc8KImNbvz9KHQUb6Yd0", "state"=>"998904e72a6470aa7952433aa79a7787971e50f69a08325e"}
386
- Authenticating with gds_sso strategy
387
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
388
-  (0.1ms) begin transaction
389
382
   (0.0ms) commit transaction
383
+ CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
390
384
   (0.0ms) begin transaction
391
- User Update (0.2ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "f"], ["id", 12]]
392
-  (4.8ms) commit transaction
393
- Redirected to http://www.example-client.com/restricted
394
- Completed 302 Found in 8ms (ActiveRecord: 5.3ms)
395
- Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:28 +0000
396
- Processing by ExampleController#restricted as HTML
397
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
385
+  (0.0ms) commit transaction
386
+ CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
387
+  (0.0ms) begin transaction
388
+  (0.0ms) commit transaction
389
+ CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
390
+  (0.0ms) begin transaction
391
+  (0.0ms) commit transaction
392
+  (0.0ms) begin transaction
393
+  (0.0ms) commit transaction
398
394
  Rendering text template
399
395
  Rendered text template (0.0ms)
400
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
401
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "dummyapiuser@domain.com"], ["LIMIT", 1]]
396
+ Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.4ms)
397
+ Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:09 +0000
398
+ Processing by ExampleController#restricted as JSON
399
+ Completed in 11ms (ActiveRecord: 0.0ms)
400
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "asd"], ["LIMIT", 1]]
401
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "user@example.com"], ["LIMIT", 1]]
402
402
   (0.0ms) begin transaction
403
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Dummy API user created by gds-sso"], ["uid", "4960"], ["email", "dummyapiuser@domain.com"], ["permissions", "---\n- signin\n"]]
404
-  (6.5ms) commit transaction
403
+ User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions", "organisation_slug", "organisation_content_id", "disabled") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "A Name"], ["uid", "asd"], ["email", "user@example.com"], ["permissions", "---\n- signin\n"], ["organisation_slug", "hmrc"], ["organisation_content_id", "67a2b78d-eee3-45b3-80e2-792e7f71cecc"], ["disabled", nil]]
404
+  (4.2ms) commit transaction
405
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "asd"], ["LIMIT", 1]]
405
406
   (0.0ms) begin transaction
406
- User Update (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = ? [["permissions", "---\n- signin\n- extra_permission\n"], ["id", 13]]
407
-  (6.7ms) commit transaction
408
-  (1.0ms) SELECT sqlite_version(*)
407
+  (0.0ms) commit transaction
408
+  (1.1ms) SELECT sqlite_version(*)
409
409
   (0.0ms) SELECT sqlite_version(*)
410
410
   (0.1ms) DROP TABLE IF EXISTS "users"
411
-  (28.8ms) CREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "uid" varchar NOT NULL, "email" varchar NOT NULL, "remotely_signed_out" boolean, "permissions" text, "organisation_slug" varchar, "organisation_content_id" varchar, "disabled" boolean DEFAULT 0)
412
-  (50.9ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)
411
+  (21.5ms) CREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "uid" varchar NOT NULL, "email" varchar NOT NULL, "remotely_signed_out" boolean, "permissions" text, "organisation_slug" varchar, "organisation_content_id" varchar, "disabled" boolean DEFAULT 0)
412
+  (9.5ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)
413
413
  ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
414
414
  TRANSACTION (0.0ms) begin transaction
415
- ActiveRecord::InternalMetadata Create (0.1ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2021-06-10 10:30:36.659757"], ["updated_at", "2021-06-10 10:30:36.659757"]]
416
- TRANSACTION (9.6ms) commit transaction
417
-  (8.4ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
415
+ ActiveRecord::InternalMetadata Create (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2021-06-24 15:07:17.817637"], ["updated_at", "2021-06-24 15:07:17.817637"]]
416
+ TRANSACTION (4.0ms) commit transaction
417
+  (3.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
418
418
  ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
419
419
   (0.1ms) SELECT sqlite_version(*)
420
420
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "dummyapiuser@domain.com"], ["LIMIT", 1]]
421
421
  TRANSACTION (0.0ms) begin transaction
422
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Dummy API user created by gds-sso"], ["uid", "7088"], ["email", "dummyapiuser@domain.com"], ["permissions", "---\n- signin\n"]]
423
- TRANSACTION (9.3ms) commit transaction
422
+ User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Dummy API user created by gds-sso"], ["uid", "8757"], ["email", "dummyapiuser@domain.com"], ["permissions", "---\n- signin\n"]]
423
+ TRANSACTION (5.8ms) commit transaction
424
424
  TRANSACTION (0.0ms) begin transaction
425
- User Update (0.1ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = ? [["permissions", "---\n- signin\n- extra_permission\n"], ["id", 1]]
426
- TRANSACTION (9.2ms) commit transaction
427
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "asd"], ["LIMIT", 1]]
425
+ User Update (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = ? [["permissions", "---\n- signin\n- extra_permission\n"], ["id", 1]]
426
+ TRANSACTION (4.6ms) commit transaction
427
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "asd"], ["LIMIT", 1]]
428
428
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "user@example.com"], ["LIMIT", 1]]
429
429
  TRANSACTION (0.0ms) begin transaction
430
430
  User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions", "organisation_slug", "organisation_content_id", "disabled") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "A Name"], ["uid", "asd"], ["email", "user@example.com"], ["permissions", "---\n- signin\n"], ["organisation_slug", "hmrc"], ["organisation_content_id", "67a2b78d-eee3-45b3-80e2-792e7f71cecc"], ["disabled", nil]]
431
- TRANSACTION (9.1ms) commit transaction
431
+ TRANSACTION (3.8ms) commit transaction
432
432
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "asd"], ["LIMIT", 1]]
433
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2021-06-10 10:30:37 +0000
434
- Processing by ExampleController#this_requires_signin_permission as HTML
433
+ Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:18 +0000
434
+ Processing by ExampleController#restricted as HTML
435
435
  Authenticating with gds_sso strategy
436
436
  Completed in 11ms (ActiveRecord: 0.0ms | Allocations: 1328)
437
- Started GET "/auth/gds" for 127.0.0.1 at 2021-06-10 10:30:37 +0000
438
- Started GET "/auth/gds/callback?code=8aR534GBTpwECc08vQQVQOraAYfQvEjh5hTlJvvzzVg&state=2a301db727905da0fa36957fa3526f610c4973148bd80795" for 127.0.0.1 at 2021-06-10 10:30:37 +0000
437
+ Started GET "/" for 127.0.0.1 at 2021-06-24 15:07:18 +0000
438
+ Processing by ExampleController#index as HTML
439
+ Rendering text template
440
+ Rendered text template (Duration: 0.0ms | Allocations: 3)
441
+ Completed 200 OK in 2ms (Views: 2.2ms | ActiveRecord: 0.0ms | Allocations: 1295)
442
+ Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:18 +0000
443
+ Processing by ExampleController#restricted as HTML
444
+ Authenticating with gds_sso strategy
445
+ Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 140)
446
+ Started GET "/auth/gds" for 127.0.0.1 at 2021-06-24 15:07:18 +0000
447
+ Started GET "/auth/gds/callback?code=39AdRZzCXy86wvQ2csEN2uJvpEPwXEdV3tB6xITV6X8&state=7c4adf039ec5430052b3b96f70921e4524699771d44aa135" for 127.0.0.1 at 2021-06-24 15:07:18 +0000
439
448
  Processing by AuthenticationsController#callback as HTML
440
- Parameters: {"code"=>"8aR534GBTpwECc08vQQVQOraAYfQvEjh5hTlJvvzzVg", "state"=>"2a301db727905da0fa36957fa3526f610c4973148bd80795"}
449
+ Parameters: {"code"=>"39AdRZzCXy86wvQ2csEN2uJvpEPwXEdV3tB6xITV6X8", "state"=>"7c4adf039ec5430052b3b96f70921e4524699771d44aa135"}
441
450
  Authenticating with gds_sso strategy
442
451
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
443
452
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "test@example-client.com"], ["LIMIT", 1]]
444
- TRANSACTION (0.1ms) begin transaction
453
+ TRANSACTION (0.0ms) begin transaction
445
454
  User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Test User"], ["uid", "integration-uid"], ["email", "test@example-client.com"], ["permissions", "---\n- signin\n"]]
446
- TRANSACTION (5.3ms) commit transaction
455
+ TRANSACTION (4.5ms) commit transaction
447
456
  TRANSACTION (0.0ms) begin transaction
448
- User Update (0.2ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", 0], ["id", 3]]
449
- TRANSACTION (5.7ms) commit transaction
450
- Redirected to http://www.example-client.com/this_requires_signin_permission
451
- Completed 302 Found in 16ms (ActiveRecord: 11.7ms | Allocations: 1508)
452
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2021-06-10 10:30:37 +0000
453
- Processing by ExampleController#this_requires_signin_permission as HTML
454
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
457
+ User Update (0.1ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", 0], ["id", 3]]
458
+ TRANSACTION (5.2ms) commit transaction
459
+ Redirected to http://www.example-client.com/restricted
460
+ Completed 302 Found in 13ms (ActiveRecord: 10.3ms | Allocations: 1505)
461
+ Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:18 +0000
462
+ Processing by ExampleController#restricted as HTML
463
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
455
464
  Rendering text template
456
- Rendered text template (Duration: 0.0ms | Allocations: 3)
457
- Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.1ms | Allocations: 1878)
458
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2021-06-10 10:30:37 +0000
465
+ Rendered text template (Duration: 0.0ms | Allocations: 1)
466
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms | Allocations: 742)
467
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2021-06-24 15:07:18 +0000
459
468
  Processing by ExampleController#this_requires_signin_permission as HTML
460
469
  Authenticating with gds_sso strategy
461
470
  Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 138)
462
- Started GET "/auth/gds" for 127.0.0.1 at 2021-06-10 10:30:37 +0000
463
- Started GET "/auth/gds/callback?code=njujNdvEW_QtIIJp6N0t-MP3FIFDXXsbxayC14eOyrY&state=52764e9d78dea362e3351d0c7b2d1f3d0b71412765664451" for 127.0.0.1 at 2021-06-10 10:30:37 +0000
471
+ Started GET "/auth/gds" for 127.0.0.1 at 2021-06-24 15:07:18 +0000
472
+ Started GET "/auth/gds/callback?code=pNzHNSC1T5XozVikGQWhSATH5Pb1Kc8WpjEiIWxpANw&state=46e8ef44600a67a54dc7b346013613b0f1b3a57f50f9aec6" for 127.0.0.1 at 2021-06-24 15:07:18 +0000
464
473
  Processing by AuthenticationsController#callback as HTML
465
- Parameters: {"code"=>"njujNdvEW_QtIIJp6N0t-MP3FIFDXXsbxayC14eOyrY", "state"=>"52764e9d78dea362e3351d0c7b2d1f3d0b71412765664451"}
474
+ Parameters: {"code"=>"pNzHNSC1T5XozVikGQWhSATH5Pb1Kc8WpjEiIWxpANw", "state"=>"46e8ef44600a67a54dc7b346013613b0f1b3a57f50f9aec6"}
466
475
  Authenticating with gds_sso strategy
467
476
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
468
477
  Redirected to http://www.example-client.com/this_requires_signin_permission
469
478
  Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 954)
470
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2021-06-10 10:30:37 +0000
479
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2021-06-24 15:07:18 +0000
471
480
  Processing by ExampleController#this_requires_signin_permission as HTML
472
481
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
473
482
  Rendering text template
474
483
  Rendered text template (Duration: 0.0ms | Allocations: 1)
475
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 706)
476
- Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:37 +0000
477
- Processing by ExampleController#restricted as HTML
484
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 708)
485
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2021-06-24 15:07:18 +0000
486
+ Processing by ExampleController#this_requires_signin_permission as HTML
478
487
  Authenticating with gds_sso strategy
479
488
  Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 138)
480
- Started GET "/auth/gds" for 127.0.0.1 at 2021-06-10 10:30:37 +0000
481
- Started GET "/auth/gds/callback?code=R_lWFyGDxKwzvEKD9fBIkRij-9IEsqFaBVvIbG6xpiQ&state=cd3ed937eee9eeed0373b6ccc8c583b9ed6a029a55ae9277" for 127.0.0.1 at 2021-06-10 10:30:37 +0000
489
+ Started GET "/auth/gds" for 127.0.0.1 at 2021-06-24 15:07:18 +0000
490
+ Started GET "/auth/gds/callback?code=_HKrxwsuFfoFI-EFGPOoR-YluJPGHk5JAFUB3VJVF-k&state=409daeb35905cbe0a219109a8bc52eb5ceffdea03d5ef8dd" for 127.0.0.1 at 2021-06-24 15:07:18 +0000
482
491
  Processing by AuthenticationsController#callback as HTML
483
- Parameters: {"code"=>"R_lWFyGDxKwzvEKD9fBIkRij-9IEsqFaBVvIbG6xpiQ", "state"=>"cd3ed937eee9eeed0373b6ccc8c583b9ed6a029a55ae9277"}
492
+ Parameters: {"code"=>"_HKrxwsuFfoFI-EFGPOoR-YluJPGHk5JAFUB3VJVF-k", "state"=>"409daeb35905cbe0a219109a8bc52eb5ceffdea03d5ef8dd"}
484
493
  Authenticating with gds_sso strategy
485
494
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
486
- Redirected to http://www.example-client.com/restricted
487
- Completed 302 Found in 3ms (ActiveRecord: 0.1ms | Allocations: 954)
488
- Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:37 +0000
489
- Processing by ExampleController#restricted as HTML
495
+ Redirected to http://www.example-client.com/this_requires_signin_permission
496
+ Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 956)
497
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2021-06-24 15:07:18 +0000
498
+ Processing by ExampleController#this_requires_signin_permission as HTML
490
499
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
491
500
  Rendering text template
492
501
  Rendered text template (Duration: 0.0ms | Allocations: 1)
493
- Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms | Allocations: 706)
494
- Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:37 +0000
502
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 711)
503
+ Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:18 +0000
495
504
  Processing by ExampleController#restricted as HTML
496
505
  Authenticating with gds_sso strategy
497
506
  Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 138)
498
- Started GET "/auth/gds" for 127.0.0.1 at 2021-06-10 10:30:37 +0000
499
- Started GET "/auth/gds/callback?code=PborNNhaSRNUuYerUy8s7WwRY3cIwhIi0Zg23VsNbIU&state=d1673429b6d57b85fa608c5c09871e8d89c7a0554437c965" for 127.0.0.1 at 2021-06-10 10:30:37 +0000
507
+ Started GET "/auth/gds" for 127.0.0.1 at 2021-06-24 15:07:18 +0000
508
+ Started GET "/auth/gds/callback?code=mHs-lXzKmDFHB1SXCSJuXn7W9OVNcOsYIx_k2v3fot4&state=1fceb89873dc52d3ee983aa065b8015d1ec5427ca4f1b534" for 127.0.0.1 at 2021-06-24 15:07:18 +0000
500
509
  Processing by AuthenticationsController#callback as HTML
501
- Parameters: {"code"=>"PborNNhaSRNUuYerUy8s7WwRY3cIwhIi0Zg23VsNbIU", "state"=>"d1673429b6d57b85fa608c5c09871e8d89c7a0554437c965"}
510
+ Parameters: {"code"=>"mHs-lXzKmDFHB1SXCSJuXn7W9OVNcOsYIx_k2v3fot4", "state"=>"1fceb89873dc52d3ee983aa065b8015d1ec5427ca4f1b534"}
502
511
  Authenticating with gds_sso strategy
503
512
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
504
513
  Redirected to http://www.example-client.com/restricted
505
- Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 956)
506
- Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:37 +0000
514
+ Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 954)
515
+ Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:18 +0000
507
516
  Processing by ExampleController#restricted as HTML
508
517
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
509
518
  Rendering text template
510
519
  Rendered text template (Duration: 0.0ms | Allocations: 1)
511
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 709)
512
- Started GET "/" for 127.0.0.1 at 2021-06-10 10:30:37 +0000
513
- Processing by ExampleController#index as HTML
514
- Rendering text template
515
- Rendered text template (Duration: 0.0ms | Allocations: 1)
516
- Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms | Allocations: 152)
517
- Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:37 +0000
520
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 712)
521
+ Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:18 +0000
518
522
  Processing by ExampleController#restricted as HTML
519
523
  Authenticating with gds_sso strategy
520
524
  Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 138)
521
- Started GET "/auth/gds" for 127.0.0.1 at 2021-06-10 10:30:37 +0000
522
- Started GET "/auth/gds/callback?code=FHrVL9iV6eGb8332lllh76sJXT7cNReWGA8qkqTZyZ0&state=8035d255a78ecf5a32692ffc4cb852f79a5fddeca4f8b7ef" for 127.0.0.1 at 2021-06-10 10:30:37 +0000
525
+ Started GET "/auth/gds" for 127.0.0.1 at 2021-06-24 15:07:18 +0000
526
+ Started GET "/auth/gds/callback?code=qGB_SkFJJy4j6W9IgVMlC1mUE77LKceIgTi380YIVL4&state=8d35f367cd0356ae3ccef692df23e1ca21b955512c64ede6" for 127.0.0.1 at 2021-06-24 15:07:18 +0000
523
527
  Processing by AuthenticationsController#callback as HTML
524
- Parameters: {"code"=>"FHrVL9iV6eGb8332lllh76sJXT7cNReWGA8qkqTZyZ0", "state"=>"8035d255a78ecf5a32692ffc4cb852f79a5fddeca4f8b7ef"}
528
+ Parameters: {"code"=>"qGB_SkFJJy4j6W9IgVMlC1mUE77LKceIgTi380YIVL4", "state"=>"8d35f367cd0356ae3ccef692df23e1ca21b955512c64ede6"}
525
529
  Authenticating with gds_sso strategy
526
530
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
527
531
  Redirected to http://www.example-client.com/restricted
528
532
  Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 954)
529
- Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:37 +0000
533
+ Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:18 +0000
530
534
  Processing by ExampleController#restricted as HTML
531
535
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
532
536
  Rendering text template
533
537
  Rendered text template (Duration: 0.0ms | Allocations: 1)
534
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 706)
535
- Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:37 +0000
538
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 712)
539
+ Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:18 +0000
536
540
  Processing by ExampleController#restricted as HTML
537
541
  Authenticating with gds_sso strategy
538
542
  Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 138)
539
- Started GET "/auth/gds" for 127.0.0.1 at 2021-06-10 10:30:37 +0000
540
- Started GET "/auth/gds/callback?code=GEupc4D0RXd_-ZQvHcBcs_AWacINgDIxzncJTFvaaKk&state=8217b0c23f865c15f35eb2fafcb3e2c0b5d27eca876c9aee" for 127.0.0.1 at 2021-06-10 10:30:37 +0000
543
+ Started GET "/auth/gds" for 127.0.0.1 at 2021-06-24 15:07:18 +0000
544
+ Started GET "/auth/gds/callback?code=l46JFUPUTn9KVOA0npfn8WGyqd98OtcoJa45dGcsyco&state=e415c039785d1bb4e4d30ff012814293de4b1263c6179356" for 127.0.0.1 at 2021-06-24 15:07:18 +0000
541
545
  Processing by AuthenticationsController#callback as HTML
542
- Parameters: {"code"=>"GEupc4D0RXd_-ZQvHcBcs_AWacINgDIxzncJTFvaaKk", "state"=>"8217b0c23f865c15f35eb2fafcb3e2c0b5d27eca876c9aee"}
546
+ Parameters: {"code"=>"l46JFUPUTn9KVOA0npfn8WGyqd98OtcoJa45dGcsyco", "state"=>"e415c039785d1bb4e4d30ff012814293de4b1263c6179356"}
543
547
  Authenticating with gds_sso strategy
544
548
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
545
549
  Redirected to http://www.example-client.com/restricted
546
- Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 954)
547
- Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:37 +0000
550
+ Completed 302 Found in 12ms (ActiveRecord: 0.1ms | Allocations: 954)
551
+ Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:18 +0000
548
552
  Processing by ExampleController#restricted as HTML
549
553
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
550
554
  Rendering text template
551
555
  Rendered text template (Duration: 0.0ms | Allocations: 1)
552
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 706)
553
- Started GET "/restricted" for 127.0.0.1 at 2021-06-11 06:35:37 +0000
554
- Processing by ExampleController#restricted as HTML
555
- Authenticating with gds_sso strategy
556
- Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 518)
557
- Started GET "/auth/gds" for 127.0.0.1 at 2021-06-11 06:35:37 +0000
558
- Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:37 +0000
556
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 715)
557
+ Started GET "/restricted" for 127.0.0.1 at 2021-06-25 11:12:18 +0000
559
558
  Processing by ExampleController#restricted as HTML
560
559
  Authenticating with gds_sso strategy
561
- Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 138)
562
- Started GET "/auth/gds" for 127.0.0.1 at 2021-06-10 10:30:37 +0000
563
- Started GET "/auth/gds/callback?code=26YRM7zzQjcd0kbFCB34Qg5plBP-RGwxGG9Zt48uiys&state=33d6934dbb642702761f59ccd86b80468fc8122d93a77c3e" for 127.0.0.1 at 2021-06-10 10:30:37 +0000
560
+ Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 524)
561
+ Started GET "/auth/gds" for 127.0.0.1 at 2021-06-25 11:12:18 +0000
562
+ Started GET "/auth/gds/callback?code=SxZ-tTP80KGWJkoBBt1_xI42jpfkq_Tp0UU-ruzJPiU&state=a1c8b4d7a2a25e7563d7a2fbbd3f8688a6d271a15ff7898c" for 127.0.0.1 at 2021-06-25 11:12:18 +0000
564
563
  Processing by AuthenticationsController#callback as HTML
565
- Parameters: {"code"=>"26YRM7zzQjcd0kbFCB34Qg5plBP-RGwxGG9Zt48uiys", "state"=>"33d6934dbb642702761f59ccd86b80468fc8122d93a77c3e"}
564
+ Parameters: {"code"=>"SxZ-tTP80KGWJkoBBt1_xI42jpfkq_Tp0UU-ruzJPiU", "state"=>"a1c8b4d7a2a25e7563d7a2fbbd3f8688a6d271a15ff7898c"}
566
565
  Authenticating with gds_sso strategy
567
566
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
568
567
  Redirected to http://www.example-client.com/restricted
569
- Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 956)
570
- Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:37 +0000
568
+ Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 1166)
569
+ Started GET "/restricted" for 127.0.0.1 at 2021-06-25 11:12:18 +0000
571
570
  Processing by ExampleController#restricted as HTML
572
571
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
573
572
  Rendering text template
574
573
  Rendered text template (Duration: 0.0ms | Allocations: 1)
575
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 709)
576
- Started GET "/restricted" for 127.0.0.1 at 2021-06-11 06:35:37 +0000
574
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 947)
575
+ Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:18 +0000
577
576
  Processing by ExampleController#restricted as HTML
578
577
  Authenticating with gds_sso strategy
579
- Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 518)
580
- Started GET "/auth/gds" for 127.0.0.1 at 2021-06-11 06:35:37 +0000
581
- Started GET "/auth/gds/callback?code=OHoMOzgG_1ekae5Oc96Q4EITaWT5V28fOEfB9Qn5m6M&state=c889f0ffdca95a0e97849411c4930fbada920f7520b5884e" for 127.0.0.1 at 2021-06-11 06:35:37 +0000
578
+ Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 138)
579
+ Started GET "/auth/gds" for 127.0.0.1 at 2021-06-24 15:07:18 +0000
580
+ Started GET "/auth/gds/callback?code=9tZhB8q-sHj4s08XFIn3q-ZACshjd_9GnxL-H52KS6E&state=15434d9a957c9d030fdc5917d2446f85e9f189bea4b0fd00" for 127.0.0.1 at 2021-06-24 15:07:18 +0000
582
581
  Processing by AuthenticationsController#callback as HTML
583
- Parameters: {"code"=>"OHoMOzgG_1ekae5Oc96Q4EITaWT5V28fOEfB9Qn5m6M", "state"=>"c889f0ffdca95a0e97849411c4930fbada920f7520b5884e"}
582
+ Parameters: {"code"=>"9tZhB8q-sHj4s08XFIn3q-ZACshjd_9GnxL-H52KS6E", "state"=>"15434d9a957c9d030fdc5917d2446f85e9f189bea4b0fd00"}
584
583
  Authenticating with gds_sso strategy
585
584
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
586
585
  Redirected to http://www.example-client.com/restricted
587
- Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 1164)
588
- Started GET "/restricted" for 127.0.0.1 at 2021-06-11 06:35:37 +0000
586
+ Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 954)
587
+ Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:18 +0000
589
588
  Processing by ExampleController#restricted as HTML
590
589
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
591
590
  Rendering text template
592
591
  Rendered text template (Duration: 0.0ms | Allocations: 1)
593
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 941)
594
- Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:37 +0000
592
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 712)
593
+ Started GET "/restricted" for 127.0.0.1 at 2021-06-25 11:12:18 +0000
594
+ Processing by ExampleController#restricted as HTML
595
+ Authenticating with gds_sso strategy
596
+ Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 524)
597
+ Started GET "/auth/gds" for 127.0.0.1 at 2021-06-25 11:12:18 +0000
598
+ Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:18 +0000
595
599
  Processing by ExampleController#restricted as HTML
596
600
  Authenticating with gds_sso strategy
597
601
  Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 138)
598
- Started GET "/auth/gds" for 127.0.0.1 at 2021-06-10 10:30:37 +0000
599
- Started GET "/auth/gds/callback?code=DgwvLsSm6JNEkhI3QaYJvus-fqXa_xLHg-msjnm1_DU&state=61420a59a7dd7ea72f630d5c175e4cdf7d8417b681f761f0" for 127.0.0.1 at 2021-06-10 10:30:37 +0000
602
+ Started GET "/auth/gds" for 127.0.0.1 at 2021-06-24 15:07:18 +0000
603
+ Started GET "/auth/gds/callback?code=YU6PMQzhZarCYt9tRe-8sXk3Q3Yv7oJIaRG9USCiX4c&state=9acc47d76439cc66fed03928f992f7dbafdf8898eba15334" for 127.0.0.1 at 2021-06-24 15:07:18 +0000
600
604
  Processing by AuthenticationsController#callback as HTML
601
- Parameters: {"code"=>"DgwvLsSm6JNEkhI3QaYJvus-fqXa_xLHg-msjnm1_DU", "state"=>"61420a59a7dd7ea72f630d5c175e4cdf7d8417b681f761f0"}
605
+ Parameters: {"code"=>"YU6PMQzhZarCYt9tRe-8sXk3Q3Yv7oJIaRG9USCiX4c", "state"=>"9acc47d76439cc66fed03928f992f7dbafdf8898eba15334"}
602
606
  Authenticating with gds_sso strategy
603
607
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
604
608
  Redirected to http://www.example-client.com/restricted
605
609
  Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 954)
606
- Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:37 +0000
610
+ Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:19 +0000
607
611
  Processing by ExampleController#restricted as HTML
608
612
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
609
613
  Rendering text template
610
614
  Rendered text template (Duration: 0.0ms | Allocations: 1)
611
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 706)
612
- Started GET "/restricted" for 127.0.0.1 at 2021-06-11 06:25:37 +0000
615
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 712)
616
+ Started GET "/restricted" for 127.0.0.1 at 2021-06-25 11:02:19 +0000
613
617
  Processing by ExampleController#restricted as HTML
614
618
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
615
619
  Rendering text template
616
620
  Rendered text template (Duration: 0.0ms | Allocations: 1)
617
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 939)
618
- Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:37 +0000
621
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 945)
622
+ Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:19 +0000
619
623
  Processing by ExampleController#restricted as HTML
620
624
  Authenticating with gds_sso strategy
621
625
  Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 138)
622
- Started GET "/auth/gds" for 127.0.0.1 at 2021-06-10 10:30:37 +0000
623
- Started GET "/auth/gds/callback?code=__kXQJGvRY9iQIu49JUFdYG90m-gJrkxwDyKSbXtgig&state=969fa8f7610fc1c1bbc12dbe8d5cc052bbcb8906a447844f" for 127.0.0.1 at 2021-06-10 10:30:37 +0000
626
+ Started GET "/auth/gds" for 127.0.0.1 at 2021-06-24 15:07:19 +0000
627
+ Started GET "/auth/gds/callback?code=XlCeG0-vhjY847bzPqxjnmxw_cPVPIltwvDtysehTfQ&state=ef0633f755ced30ca91ff947401b0b0a7817719961569994" for 127.0.0.1 at 2021-06-24 15:07:19 +0000
624
628
  Processing by AuthenticationsController#callback as HTML
625
- Parameters: {"code"=>"__kXQJGvRY9iQIu49JUFdYG90m-gJrkxwDyKSbXtgig", "state"=>"969fa8f7610fc1c1bbc12dbe8d5cc052bbcb8906a447844f"}
629
+ Parameters: {"code"=>"XlCeG0-vhjY847bzPqxjnmxw_cPVPIltwvDtysehTfQ", "state"=>"ef0633f755ced30ca91ff947401b0b0a7817719961569994"}
626
630
  Authenticating with gds_sso strategy
627
631
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
628
632
  Redirected to http://www.example-client.com/restricted
629
- Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 954)
630
- Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:37 +0000
633
+ Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 956)
634
+ Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:19 +0000
631
635
  Processing by ExampleController#restricted as HTML
632
636
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
633
637
  Rendering text template
634
638
  Rendered text template (Duration: 0.0ms | Allocations: 1)
635
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 706)
639
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 714)
636
640
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "test@example-client.com"], ["LIMIT", 1]]
637
641
  TRANSACTION (0.0ms) begin transaction
638
- User Update (0.1ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", 1], ["id", 3]]
639
- TRANSACTION (8.9ms) commit transaction
640
- Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:37 +0000
642
+ User Update (0.2ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", 1], ["id", 3]]
643
+ TRANSACTION (3.5ms) commit transaction
644
+ Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:19 +0000
641
645
  Processing by ExampleController#restricted as HTML
642
646
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
643
647
  Authenticating with gds_sso strategy
644
- Completed in 1ms (ActiveRecord: 0.1ms | Allocations: 576)
645
- Started GET "/auth/gds" for 127.0.0.1 at 2021-06-10 10:30:37 +0000
646
- Started GET "/auth/gds/callback?code=uGWMkfVa7tpjif3i7Vb-SG_QOQEDOltYmvMJyy5S0do&state=59efd52753bc877dd6bab1fef36cd9ba67b1083422363baa" for 127.0.0.1 at 2021-06-10 10:30:38 +0000
648
+ Completed in 1ms (ActiveRecord: 0.1ms | Allocations: 582)
649
+ Started GET "/auth/gds" for 127.0.0.1 at 2021-06-24 15:07:19 +0000
650
+ Started GET "/auth/gds/callback?code=h8HMJubRbRZ_7IaVfXioZ2NnDsXe2Fonu7M6VVRtQZA&state=412aed4624fa25935ed5f4e4cf613bed99d86ff9558353fc" for 127.0.0.1 at 2021-06-24 15:07:19 +0000
647
651
  Processing by AuthenticationsController#callback as HTML
648
- Parameters: {"code"=>"uGWMkfVa7tpjif3i7Vb-SG_QOQEDOltYmvMJyy5S0do", "state"=>"59efd52753bc877dd6bab1fef36cd9ba67b1083422363baa"}
652
+ Parameters: {"code"=>"h8HMJubRbRZ_7IaVfXioZ2NnDsXe2Fonu7M6VVRtQZA", "state"=>"412aed4624fa25935ed5f4e4cf613bed99d86ff9558353fc"}
649
653
  Authenticating with gds_sso strategy
650
654
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
651
655
  TRANSACTION (0.0ms) begin transaction
652
656
  User Update (0.2ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", 0], ["id", 3]]
653
- TRANSACTION (8.2ms) commit transaction
657
+ TRANSACTION (4.4ms) commit transaction
654
658
  Redirected to http://www.example-client.com/restricted
655
- Completed 302 Found in 13ms (ActiveRecord: 8.5ms | Allocations: 1164)
656
- Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:38 +0000
659
+ Completed 302 Found in 7ms (ActiveRecord: 4.7ms | Allocations: 1162)
660
+ Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:19 +0000
657
661
  Processing by ExampleController#restricted as HTML
658
662
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
659
663
  Rendering text template
660
664
  Rendered text template (Duration: 0.0ms | Allocations: 1)
661
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 706)
662
- Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:38 +0000
665
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 710)
666
+ Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:19 +0000
667
+ Processing by ExampleController#restricted as JSON
668
+ Completed in 12ms (ActiveRecord: 0.0ms | Allocations: 2196)
669
+ Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:19 +0000
663
670
  Processing by ExampleController#restricted as JSON
664
- Completed in 9ms (ActiveRecord: 0.0ms | Allocations: 2304)
665
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2021-06-10 10:30:38 +0000
666
- Processing by ExampleController#this_requires_signin_permission as JSON
667
671
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
668
672
  TRANSACTION (0.0ms) begin transaction
669
- User Update (0.1ms) UPDATE "users" SET "disabled" = ? WHERE "users"."id" = ? [["disabled", nil], ["id", 3]]
670
- TRANSACTION (8.7ms) commit transaction
673
+ User Update (0.2ms) UPDATE "users" SET "disabled" = ? WHERE "users"."id" = ? [["disabled", nil], ["id", 3]]
674
+ TRANSACTION (3.8ms) commit transaction
671
675
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
672
676
  CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
673
677
  CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
674
678
  Rendering text template
675
679
  Rendered text template (Duration: 0.0ms | Allocations: 1)
676
- Completed 200 OK in 14ms (Views: 0.2ms | ActiveRecord: 9.1ms | Allocations: 3566)
677
- Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:38 +0000
678
- Processing by ExampleController#restricted as JSON
680
+ Completed 200 OK in 10ms (Views: 0.2ms | ActiveRecord: 4.2ms | Allocations: 3566)
681
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2021-06-24 15:07:19 +0000
682
+ Processing by ExampleController#this_requires_signin_permission as JSON
679
683
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
680
684
  CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
681
685
  CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
@@ -683,114 +687,113 @@ Processing by ExampleController#restricted as JSON
683
687
  Rendering text template
684
688
  Rendered text template (Duration: 0.0ms | Allocations: 1)
685
689
  Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 3267)
686
- Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:38 +0000
690
+ Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:19 +0000
687
691
  Processing by ExampleController#restricted as JSON
688
- Completed in 14ms (ActiveRecord: 0.0ms | Allocations: 1804)
689
- Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:38 +0000
690
- Processing by ExampleController#restricted as HTML
691
- Authenticating with gds_sso strategy
692
- Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 140)
693
- TRANSACTION (0.1ms) begin transaction
694
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d38852"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
695
- TRANSACTION (6.0ms) commit transaction
692
+ Completed in 7ms (ActiveRecord: 0.0ms | Allocations: 1912)
696
693
  TRANSACTION (0.0ms) begin transaction
697
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d39597"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
698
- TRANSACTION (8.1ms) commit transaction
699
- Processing by Api::UserController#update as HTML
700
- Parameters: {"uid"=>"a1s2d38852"}
694
+ User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d31638"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
695
+ TRANSACTION (3.6ms) commit transaction
696
+ TRANSACTION (0.0ms) begin transaction
697
+ User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d33347"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
698
+ TRANSACTION (4.6ms) commit transaction
699
+ Processing by Api::UserController#reauth as HTML
700
+ Parameters: {"uid"=>"nonexistent-user"}
701
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "nonexistent-user"], ["LIMIT", 1]]
702
+ Completed 200 OK in 1ms (ActiveRecord: 0.1ms | Allocations: 545)
703
+ TRANSACTION (0.0ms) begin transaction
704
+ User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d35732"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
705
+ TRANSACTION (3.8ms) commit transaction
706
+ TRANSACTION (0.0ms) begin transaction
707
+ User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d37370"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
708
+ TRANSACTION (4.9ms) commit transaction
709
+ Processing by Api::UserController#reauth as HTML
710
+ Parameters: {"uid"=>"a1s2d35732"}
711
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "a1s2d35732"], ["LIMIT", 1]]
712
+ TRANSACTION (0.0ms) begin transaction
713
+ User Update (0.1ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", 1], ["id", 6]]
714
+ TRANSACTION (3.2ms) commit transaction
715
+ Completed 200 OK in 5ms (ActiveRecord: 3.5ms | Allocations: 888)
716
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]]
717
+ TRANSACTION (0.0ms) begin transaction
718
+ User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d36063"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
719
+ TRANSACTION (5.0ms) commit transaction
720
+ TRANSACTION (0.0ms) begin transaction
721
+ User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d37559"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
722
+ TRANSACTION (3.7ms) commit transaction
723
+ Processing by Api::UserController#reauth as HTML
724
+ Parameters: {"uid"=>"a1s2d36063"}
701
725
  Rendering layout /var/lib/jenkins/workspace/gds-sso_master/app/views/layouts/unauthorised.html.erb
702
726
  Rendering /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
703
727
  Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
704
728
  Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (Duration: 0.5ms | Allocations: 262)
705
729
  Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
706
- Rendered layout /var/lib/jenkins/workspace/gds-sso_master/app/views/layouts/unauthorised.html.erb (Duration: 0.7ms | Allocations: 356)
707
- Completed 403 Forbidden in 3ms (Views: 2.8ms | ActiveRecord: 0.0ms | Allocations: 1638)
730
+ Rendered layout /var/lib/jenkins/workspace/gds-sso_master/app/views/layouts/unauthorised.html.erb (Duration: 0.6ms | Allocations: 356)
731
+ Completed 403 Forbidden in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms | Allocations: 1595)
708
732
  TRANSACTION (0.0ms) begin transaction
709
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d33216"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
710
- TRANSACTION (9.0ms) commit transaction
733
+ User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d31534"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
734
+ TRANSACTION (4.6ms) commit transaction
711
735
  TRANSACTION (0.0ms) begin transaction
712
- User Create (0.1ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d39884"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
713
- TRANSACTION (7.3ms) commit transaction
736
+ User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d31632"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
737
+ TRANSACTION (4.0ms) commit transaction
714
738
  Processing by Api::UserController#update as HTML
715
- Parameters: {"uid"=>"a1s2d33216"}
716
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "a1s2d33216"], ["LIMIT", 1]]
739
+ Parameters: {"uid"=>"a1s2d31534"}
740
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "a1s2d31534"], ["LIMIT", 1]]
717
741
  TRANSACTION (0.0ms) begin transaction
718
- User Update (0.1ms) UPDATE "users" SET "name" = ?, "email" = ?, "permissions" = ?, "organisation_slug" = ?, "organisation_content_id" = ? WHERE "users"."id" = ? [["name", "Joshua Marshall"], ["email", "user@domain.com"], ["permissions", "---\n- signin\n- new permission\n"], ["organisation_slug", "justice-league"], ["organisation_content_id", "aae1319e-5788-4677-998c-f1a53af528d0"], ["id", 6]]
719
- TRANSACTION (6.3ms) commit transaction
720
- Completed 200 OK in 9ms (ActiveRecord: 6.6ms | Allocations: 1232)
721
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]]
722
- TRANSACTION (0.0ms) begin transaction
723
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d37543"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
724
- TRANSACTION (8.4ms) commit transaction
742
+ User Update (0.2ms) UPDATE "users" SET "name" = ?, "email" = ?, "permissions" = ?, "organisation_slug" = ?, "organisation_content_id" = ? WHERE "users"."id" = ? [["name", "Joshua Marshall"], ["email", "user@domain.com"], ["permissions", "---\n- signin\n- new permission\n"], ["organisation_slug", "justice-league"], ["organisation_content_id", "aae1319e-5788-4677-998c-f1a53af528d0"], ["id", 10]]
743
+ TRANSACTION (4.7ms) commit transaction
744
+ Completed 200 OK in 7ms (ActiveRecord: 5.0ms | Allocations: 1230)
745
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 10], ["LIMIT", 1]]
725
746
  TRANSACTION (0.0ms) begin transaction
726
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d32346"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
727
- TRANSACTION (21.4ms) commit transaction
728
- Processing by Api::UserController#reauth as HTML
729
- Parameters: {"uid"=>"a1s2d37543"}
747
+ User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d38627"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
748
+ TRANSACTION (3.8ms) commit transaction
749
+ TRANSACTION (0.3ms) begin transaction
750
+ User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d366"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
751
+ TRANSACTION (4.7ms) commit transaction
752
+ Processing by Api::UserController#update as HTML
753
+ Parameters: {"uid"=>"a1s2d38627"}
730
754
  Rendering layout /var/lib/jenkins/workspace/gds-sso_master/app/views/layouts/unauthorised.html.erb
731
755
  Rendering /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
732
756
  Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
733
757
  Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (Duration: 0.1ms | Allocations: 55)
734
758
  Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
735
759
  Rendered layout /var/lib/jenkins/workspace/gds-sso_master/app/views/layouts/unauthorised.html.erb (Duration: 0.2ms | Allocations: 146)
736
- Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms | Allocations: 527)
737
- TRANSACTION (0.0ms) begin transaction
738
- User Create (0.1ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d39492"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
739
- TRANSACTION (6.0ms) commit transaction
740
- TRANSACTION (0.0ms) begin transaction
741
- User Create (0.1ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d32633"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
742
- TRANSACTION (6.0ms) commit transaction
743
- Processing by Api::UserController#reauth as HTML
744
- Parameters: {"uid"=>"nonexistent-user"}
745
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "nonexistent-user"], ["LIMIT", 1]]
746
- Completed 200 OK in 1ms (ActiveRecord: 0.1ms | Allocations: 500)
747
- TRANSACTION (0.0ms) begin transaction
748
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d3674"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
749
- TRANSACTION (6.9ms) commit transaction
750
- TRANSACTION (0.0ms) begin transaction
751
- User Create (0.1ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d38302"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
752
- TRANSACTION (5.9ms) commit transaction
753
- Processing by Api::UserController#reauth as HTML
754
- Parameters: {"uid"=>"a1s2d3674"}
755
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "a1s2d3674"], ["LIMIT", 1]]
756
- TRANSACTION (0.1ms) begin transaction
757
- User Update (0.1ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", 1], ["id", 12]]
758
- TRANSACTION (9.4ms) commit transaction
759
- Completed 200 OK in 11ms (ActiveRecord: 9.7ms | Allocations: 889)
760
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 12], ["LIMIT", 1]]
760
+ Completed 403 Forbidden in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms | Allocations: 528)
761
761
   (0.1ms) DROP TABLE IF EXISTS "users"
762
762
   (0.9ms) SELECT sqlite_version(*)
763
-  (27.6ms) CREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "uid" varchar NOT NULL, "email" varchar NOT NULL, "remotely_signed_out" boolean, "permissions" text, "organisation_slug" varchar, "organisation_content_id" varchar, "disabled" boolean DEFAULT 'f')
764
-  (9.6ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
763
+  (9.2ms) CREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "uid" varchar NOT NULL, "email" varchar NOT NULL, "remotely_signed_out" boolean, "permissions" text, "organisation_slug" varchar, "organisation_content_id" varchar, "disabled" boolean DEFAULT 'f')
764
+  (4.5ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
765
765
  ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
766
766
   (0.0ms) begin transaction
767
- ActiveRecord::InternalMetadata Create (0.1ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2021-06-10 10:30:42.481738"], ["updated_at", "2021-06-10 10:30:42.481738"]]
768
-  (9.2ms) commit transaction
769
-  (9.0ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
767
+ ActiveRecord::InternalMetadata Create (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2021-06-24 15:07:23.703952"], ["updated_at", "2021-06-24 15:07:23.703952"]]
768
+  (4.5ms) commit transaction
769
+  (3.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
770
770
  ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
771
771
   (0.0ms) begin transaction
772
772
   (0.0ms) commit transaction
773
773
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "dummyapiuser@domain.com"], ["LIMIT", 1]]
774
774
   (0.0ms) begin transaction
775
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Dummy API user created by gds-sso"], ["uid", "9405"], ["email", "dummyapiuser@domain.com"], ["permissions", "---\n- signin\n"]]
776
-  (20.6ms) commit transaction
775
+ User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Dummy API user created by gds-sso"], ["uid", "1713"], ["email", "dummyapiuser@domain.com"], ["permissions", "---\n- signin\n"]]
776
+  (4.9ms) commit transaction
777
777
   (0.0ms) begin transaction
778
778
  User Update (0.1ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = ? [["permissions", "---\n- signin\n- extra_permission\n"], ["id", 1]]
779
-  (11.1ms) commit transaction
780
- Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:43 +0000
779
+  (3.8ms) commit transaction
780
+ Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:24 +0000
781
781
  Processing by ExampleController#restricted as HTML
782
782
  Authenticating with gds_sso strategy
783
783
  Completed in 4ms (ActiveRecord: 0.0ms)
784
- Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:43 +0000
784
+ Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:24 +0000
785
785
  Processing by ExampleController#restricted as JSON
786
786
  Completed in 15ms (ActiveRecord: 0.0ms)
787
- Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:43 +0000
787
+ Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:24 +0000
788
788
  Processing by ExampleController#restricted as JSON
789
+ Completed in 6ms (ActiveRecord: 0.0ms)
790
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2021-06-24 15:07:24 +0000
791
+ Processing by ExampleController#this_requires_signin_permission as JSON
789
792
  User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
790
793
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "test@example-client.com"], ["LIMIT", 1]]
791
794
   (0.0ms) begin transaction
792
795
  User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions", "disabled") VALUES (?, ?, ?, ?, ?) [["name", "Test User"], ["uid", "integration-uid"], ["email", "test@example-client.com"], ["permissions", "---\n- signin\n"], ["disabled", nil]]
793
-  (13.3ms) commit transaction
796
+  (4.4ms) commit transaction
794
797
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
795
798
   (0.0ms) begin transaction
796
799
   (0.0ms) commit transaction
@@ -802,15 +805,12 @@ Processing by ExampleController#restricted as JSON
802
805
   (0.0ms) commit transaction
803
806
   (0.0ms) begin transaction
804
807
  User Update (0.1ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "f"], ["id", 2]]
805
-  (10.1ms) commit transaction
808
+  (3.5ms) commit transaction
806
809
  Rendering text template
807
810
  Rendered text template (0.0ms)
808
- Completed 200 OK in 32ms (Views: 1.8ms | ActiveRecord: 24.2ms)
809
- Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:43 +0000
811
+ Completed 200 OK in 17ms (Views: 1.9ms | ActiveRecord: 8.7ms)
812
+ Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:24 +0000
810
813
  Processing by ExampleController#restricted as JSON
811
- Completed in 9ms (ActiveRecord: 0.0ms)
812
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2021-06-10 10:30:43 +0000
813
- Processing by ExampleController#this_requires_signin_permission as JSON
814
814
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
815
815
   (0.0ms) begin transaction
816
816
   (0.0ms) commit transaction
@@ -828,42 +828,37 @@ Processing by ExampleController#this_requires_signin_permission as JSON
828
828
  Rendering text template
829
829
  Rendered text template (0.0ms)
830
830
  Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.4ms)
831
- Started GET "/" for 127.0.0.1 at 2021-06-10 10:30:43 +0000
832
- Processing by ExampleController#index as HTML
833
- Rendering text template
834
- Rendered text template (0.0ms)
835
- Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
836
- Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:43 +0000
831
+ Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:24 +0000
837
832
  Processing by ExampleController#restricted as HTML
838
833
  Authenticating with gds_sso strategy
839
834
  Completed in 0ms (ActiveRecord: 0.0ms)
840
- Started GET "/auth/gds" for 127.0.0.1 at 2021-06-10 10:30:43 +0000
841
- Started GET "/auth/gds/callback?code=QK_d2eOlo_pM4cbz_wZJw_H5UKIqelwZiSfIyTvr1uU&state=fb29a403224aeeca35f99fa768696083e9322cc33ebadeaa" for 127.0.0.1 at 2021-06-10 10:30:43 +0000
835
+ Started GET "/auth/gds" for 127.0.0.1 at 2021-06-24 15:07:24 +0000
836
+ Started GET "/auth/gds/callback?code=hWxTwmxDoE_djU24rcIQcLtp4pHI346HfrcrPGV3sX0&state=90fb5ee9023a6d52162c420629fff5987b7e6c68040a042a" for 127.0.0.1 at 2021-06-24 15:07:24 +0000
842
837
  Processing by AuthenticationsController#callback as HTML
843
- Parameters: {"code"=>"QK_d2eOlo_pM4cbz_wZJw_H5UKIqelwZiSfIyTvr1uU", "state"=>"fb29a403224aeeca35f99fa768696083e9322cc33ebadeaa"}
838
+ Parameters: {"code"=>"hWxTwmxDoE_djU24rcIQcLtp4pHI346HfrcrPGV3sX0", "state"=>"90fb5ee9023a6d52162c420629fff5987b7e6c68040a042a"}
844
839
  Authenticating with gds_sso strategy
845
840
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
846
841
   (0.0ms) begin transaction
847
842
  User Update (0.2ms) UPDATE "users" SET "disabled" = ? WHERE "users"."id" = ? [["disabled", "f"], ["id", 2]]
848
-  (13.7ms) commit transaction
843
+  (3.8ms) commit transaction
849
844
   (0.0ms) begin transaction
850
845
   (0.0ms) commit transaction
851
846
  Redirected to http://www.example-client.com/restricted
852
- Completed 302 Found in 16ms (ActiveRecord: 14.1ms)
853
- Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:43 +0000
847
+ Completed 302 Found in 6ms (ActiveRecord: 4.2ms)
848
+ Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:24 +0000
854
849
  Processing by ExampleController#restricted as HTML
855
850
  User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
856
851
  Rendering text template
857
852
  Rendered text template (0.0ms)
858
853
  Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
859
- Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:43 +0000
854
+ Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:24 +0000
860
855
  Processing by ExampleController#restricted as HTML
861
856
  Authenticating with gds_sso strategy
862
857
  Completed in 0ms (ActiveRecord: 0.0ms)
863
- Started GET "/auth/gds" for 127.0.0.1 at 2021-06-10 10:30:43 +0000
864
- Started GET "/auth/gds/callback?code=DNF6vhrLSyxmhK7Pqh84b__wcEFAucetYCG1Z7BCEzU&state=6736e66f5a569591dfadb8f730c9d5e77588072e8a22d858" for 127.0.0.1 at 2021-06-10 10:30:43 +0000
858
+ Started GET "/auth/gds" for 127.0.0.1 at 2021-06-24 15:07:24 +0000
859
+ Started GET "/auth/gds/callback?code=Y_W5wcdikisLMb3KJi-cZKxPViQvhiU9zxivtcQtJz0&state=7155300e1f22cb9a4bda1aad508df56dcc9d70ed6533f2b2" for 127.0.0.1 at 2021-06-24 15:07:24 +0000
865
860
  Processing by AuthenticationsController#callback as HTML
866
- Parameters: {"code"=>"DNF6vhrLSyxmhK7Pqh84b__wcEFAucetYCG1Z7BCEzU", "state"=>"6736e66f5a569591dfadb8f730c9d5e77588072e8a22d858"}
861
+ Parameters: {"code"=>"Y_W5wcdikisLMb3KJi-cZKxPViQvhiU9zxivtcQtJz0", "state"=>"7155300e1f22cb9a4bda1aad508df56dcc9d70ed6533f2b2"}
867
862
  Authenticating with gds_sso strategy
868
863
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
869
864
   (0.0ms) begin transaction
@@ -872,42 +867,42 @@ Authenticating with gds_sso strategy
872
867
   (0.0ms) commit transaction
873
868
  Redirected to http://www.example-client.com/restricted
874
869
  Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
875
- Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:43 +0000
870
+ Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:24 +0000
876
871
  Processing by ExampleController#restricted as HTML
877
872
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
878
873
  Rendering text template
879
874
  Rendered text template (0.0ms)
880
875
  Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
881
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2021-06-10 10:30:43 +0000
882
- Processing by ExampleController#this_requires_signin_permission as HTML
876
+ Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:24 +0000
877
+ Processing by ExampleController#restricted as HTML
883
878
  Authenticating with gds_sso strategy
884
879
  Completed in 0ms (ActiveRecord: 0.0ms)
885
- Started GET "/auth/gds" for 127.0.0.1 at 2021-06-10 10:30:43 +0000
886
- Started GET "/auth/gds/callback?code=sUN3qAGjbsnPLRVYmvhXzGzY_0BuvJinA1NUsJla_a4&state=e7a5cb0c448ddabdd11e7018842cc3aaf3a38ea09d279f5c" for 127.0.0.1 at 2021-06-10 10:30:43 +0000
880
+ Started GET "/auth/gds" for 127.0.0.1 at 2021-06-24 15:07:24 +0000
881
+ Started GET "/auth/gds/callback?code=vAKhnOOH8Dwyw4GnbhMxPrYkcJwQZA6DA3lV4-bOzoc&state=6438221c90801a88449946169b173bbf29332fa50c7d0d6d" for 127.0.0.1 at 2021-06-24 15:07:24 +0000
887
882
  Processing by AuthenticationsController#callback as HTML
888
- Parameters: {"code"=>"sUN3qAGjbsnPLRVYmvhXzGzY_0BuvJinA1NUsJla_a4", "state"=>"e7a5cb0c448ddabdd11e7018842cc3aaf3a38ea09d279f5c"}
883
+ Parameters: {"code"=>"vAKhnOOH8Dwyw4GnbhMxPrYkcJwQZA6DA3lV4-bOzoc", "state"=>"6438221c90801a88449946169b173bbf29332fa50c7d0d6d"}
889
884
  Authenticating with gds_sso strategy
890
885
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
891
886
   (0.1ms) begin transaction
892
887
   (0.0ms) commit transaction
893
888
   (0.0ms) begin transaction
894
-  (0.1ms) commit transaction
895
- Redirected to http://www.example-client.com/this_requires_signin_permission
896
- Completed 302 Found in 2ms (ActiveRecord: 0.3ms)
897
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2021-06-10 10:30:43 +0000
898
- Processing by ExampleController#this_requires_signin_permission as HTML
889
+  (0.0ms) commit transaction
890
+ Redirected to http://www.example-client.com/restricted
891
+ Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
892
+ Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:24 +0000
893
+ Processing by ExampleController#restricted as HTML
899
894
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
900
895
  Rendering text template
901
896
  Rendered text template (0.0ms)
902
897
  Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
903
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2021-06-10 10:30:43 +0000
898
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2021-06-24 15:07:24 +0000
904
899
  Processing by ExampleController#this_requires_signin_permission as HTML
905
900
  Authenticating with gds_sso strategy
906
901
  Completed in 0ms (ActiveRecord: 0.0ms)
907
- Started GET "/auth/gds" for 127.0.0.1 at 2021-06-10 10:30:43 +0000
908
- Started GET "/auth/gds/callback?code=5kU3CGbve2-NyI3okYOhxKSZ8Ty12I4iIQEAEuyrhKk&state=ffd8d6b733e6e65e6fe20758eb7f41b4f2979f38459d1108" for 127.0.0.1 at 2021-06-10 10:30:43 +0000
902
+ Started GET "/auth/gds" for 127.0.0.1 at 2021-06-24 15:07:24 +0000
903
+ Started GET "/auth/gds/callback?code=OCvHEdwFmufCIFsECICIsYvEiD-LMle3SqFyjmEyUUU&state=aca01b34e1d0e4a05b4275c3e7bdc47ad3dd000cba702f5e" for 127.0.0.1 at 2021-06-24 15:07:24 +0000
909
904
  Processing by AuthenticationsController#callback as HTML
910
- Parameters: {"code"=>"5kU3CGbve2-NyI3okYOhxKSZ8Ty12I4iIQEAEuyrhKk", "state"=>"ffd8d6b733e6e65e6fe20758eb7f41b4f2979f38459d1108"}
905
+ Parameters: {"code"=>"OCvHEdwFmufCIFsECICIsYvEiD-LMle3SqFyjmEyUUU", "state"=>"aca01b34e1d0e4a05b4275c3e7bdc47ad3dd000cba702f5e"}
911
906
  Authenticating with gds_sso strategy
912
907
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
913
908
   (0.0ms) begin transaction
@@ -916,64 +911,75 @@ Authenticating with gds_sso strategy
916
911
   (0.0ms) commit transaction
917
912
  Redirected to http://www.example-client.com/this_requires_signin_permission
918
913
  Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
919
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2021-06-10 10:30:43 +0000
914
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2021-06-24 15:07:24 +0000
920
915
  Processing by ExampleController#this_requires_signin_permission as HTML
921
916
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
922
917
  Rendering text template
923
918
  Rendered text template (0.0ms)
924
919
  Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
925
- Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:43 +0000
926
- Processing by ExampleController#restricted as HTML
920
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2021-06-24 15:07:24 +0000
921
+ Processing by ExampleController#this_requires_signin_permission as HTML
927
922
  Authenticating with gds_sso strategy
928
923
  Completed in 0ms (ActiveRecord: 0.0ms)
929
- Started GET "/auth/gds" for 127.0.0.1 at 2021-06-10 10:30:43 +0000
930
- Started GET "/auth/gds/callback?code=s4taQ0QYYulHdoABDFTTPoGD540UFcOIuzULMycjL_c&state=ce7ce9282452e95a51819276ce69fedbe08f026bc0ce5803" for 127.0.0.1 at 2021-06-10 10:30:43 +0000
924
+ Started GET "/auth/gds" for 127.0.0.1 at 2021-06-24 15:07:24 +0000
925
+ Started GET "/auth/gds/callback?code=qyW_SKHyBKlyQrvPpeqtBA8H4Ci7-9odQJmlmVO8_Lw&state=17e8db4fcff60179dd8e66fc4e132aad1a2d020f4f62f9e4" for 127.0.0.1 at 2021-06-24 15:07:24 +0000
931
926
  Processing by AuthenticationsController#callback as HTML
932
- Parameters: {"code"=>"s4taQ0QYYulHdoABDFTTPoGD540UFcOIuzULMycjL_c", "state"=>"ce7ce9282452e95a51819276ce69fedbe08f026bc0ce5803"}
927
+ Parameters: {"code"=>"qyW_SKHyBKlyQrvPpeqtBA8H4Ci7-9odQJmlmVO8_Lw", "state"=>"17e8db4fcff60179dd8e66fc4e132aad1a2d020f4f62f9e4"}
933
928
  Authenticating with gds_sso strategy
934
929
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
935
-  (0.1ms) begin transaction
930
+  (0.0ms) begin transaction
936
931
   (0.0ms) commit transaction
937
932
   (0.0ms) begin transaction
938
933
   (0.0ms) commit transaction
939
- Redirected to http://www.example-client.com/restricted
934
+ Redirected to http://www.example-client.com/this_requires_signin_permission
940
935
  Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
941
- Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:43 +0000
942
- Processing by ExampleController#restricted as HTML
936
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2021-06-24 15:07:24 +0000
937
+ Processing by ExampleController#this_requires_signin_permission as HTML
943
938
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
944
939
  Rendering text template
945
940
  Rendered text template (0.0ms)
946
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
947
- Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:43 +0000
941
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.1ms)
942
+ Started GET "/" for 127.0.0.1 at 2021-06-24 15:07:24 +0000
943
+ Processing by ExampleController#index as HTML
944
+ Rendering text template
945
+ Rendered text template (0.0ms)
946
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
947
+ Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:24 +0000
948
948
  Processing by ExampleController#restricted as HTML
949
949
  Authenticating with gds_sso strategy
950
950
  Completed in 0ms (ActiveRecord: 0.0ms)
951
- Started GET "/auth/gds" for 127.0.0.1 at 2021-06-10 10:30:43 +0000
952
- Started GET "/auth/gds/callback?code=Doo_CwRG4YPycpbdoaB_chDCoDbb2r1f946OX5Gqndw&state=68ff82c7edebdd9d4fed3221168bc3ddac7c8d91f2b89929" for 127.0.0.1 at 2021-06-10 10:30:43 +0000
951
+ Started GET "/auth/gds" for 127.0.0.1 at 2021-06-24 15:07:24 +0000
952
+ Started GET "/auth/gds/callback?code=9W-zNi15XsVJmlLsShwUwuFlKP0MbywfukAKq6bYcT8&state=842f72102fffa4441281ddcc43546a6bcab66462c7b83ede" for 127.0.0.1 at 2021-06-24 15:07:24 +0000
953
953
  Processing by AuthenticationsController#callback as HTML
954
- Parameters: {"code"=>"Doo_CwRG4YPycpbdoaB_chDCoDbb2r1f946OX5Gqndw", "state"=>"68ff82c7edebdd9d4fed3221168bc3ddac7c8d91f2b89929"}
954
+ Parameters: {"code"=>"9W-zNi15XsVJmlLsShwUwuFlKP0MbywfukAKq6bYcT8", "state"=>"842f72102fffa4441281ddcc43546a6bcab66462c7b83ede"}
955
955
  Authenticating with gds_sso strategy
956
956
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
957
-  (0.1ms) begin transaction
957
+  (0.0ms) begin transaction
958
958
   (0.0ms) commit transaction
959
959
   (0.0ms) begin transaction
960
960
   (0.0ms) commit transaction
961
961
  Redirected to http://www.example-client.com/restricted
962
962
  Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
963
- Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:43 +0000
963
+ Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:24 +0000
964
+ Processing by ExampleController#restricted as HTML
965
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
966
+ Rendering text template
967
+ Rendered text template (0.0ms)
968
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
969
+ Started GET "/restricted" for 127.0.0.1 at 2021-06-25 11:02:24 +0000
964
970
  Processing by ExampleController#restricted as HTML
965
971
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
966
972
  Rendering text template
967
973
  Rendered text template (0.0ms)
968
974
  Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
969
- Started GET "/restricted" for 127.0.0.1 at 2021-06-11 06:35:43 +0000
975
+ Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:24 +0000
970
976
  Processing by ExampleController#restricted as HTML
971
977
  Authenticating with gds_sso strategy
972
978
  Completed in 0ms (ActiveRecord: 0.0ms)
973
- Started GET "/auth/gds" for 127.0.0.1 at 2021-06-11 06:35:43 +0000
974
- Started GET "/auth/gds/callback?code=kxARoNzri-TDJlarm1ALNYW4uJFEoBsniUiDwZN6z-E&state=05bb7f251aaec94c33a25e6d1b851aa5769d568d98f79d99" for 127.0.0.1 at 2021-06-11 06:35:43 +0000
979
+ Started GET "/auth/gds" for 127.0.0.1 at 2021-06-24 15:07:24 +0000
980
+ Started GET "/auth/gds/callback?code=5qrbYbf05gTD0xNEA2c14YT17KZWWznYMSSYcjy8NHY&state=8d93c84eacd1c79d540c926cc2dffb2bc980449c9b0641b1" for 127.0.0.1 at 2021-06-24 15:07:24 +0000
975
981
  Processing by AuthenticationsController#callback as HTML
976
- Parameters: {"code"=>"kxARoNzri-TDJlarm1ALNYW4uJFEoBsniUiDwZN6z-E", "state"=>"05bb7f251aaec94c33a25e6d1b851aa5769d568d98f79d99"}
982
+ Parameters: {"code"=>"5qrbYbf05gTD0xNEA2c14YT17KZWWznYMSSYcjy8NHY", "state"=>"8d93c84eacd1c79d540c926cc2dffb2bc980449c9b0641b1"}
977
983
  Authenticating with gds_sso strategy
978
984
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
979
985
   (0.0ms) begin transaction
@@ -982,20 +988,20 @@ Authenticating with gds_sso strategy
982
988
   (0.0ms) commit transaction
983
989
  Redirected to http://www.example-client.com/restricted
984
990
  Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
985
- Started GET "/restricted" for 127.0.0.1 at 2021-06-11 06:35:43 +0000
991
+ Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:24 +0000
986
992
  Processing by ExampleController#restricted as HTML
987
993
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
988
994
  Rendering text template
989
995
  Rendered text template (0.0ms)
990
996
  Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
991
- Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:43 +0000
997
+ Started GET "/restricted" for 127.0.0.1 at 2021-06-25 11:12:24 +0000
992
998
  Processing by ExampleController#restricted as HTML
993
999
  Authenticating with gds_sso strategy
994
1000
  Completed in 0ms (ActiveRecord: 0.0ms)
995
- Started GET "/auth/gds" for 127.0.0.1 at 2021-06-10 10:30:43 +0000
996
- Started GET "/auth/gds/callback?code=5MGEnx70vmT8_CMUizzk3AZ9AJGM9mEEx7VtK3pf4T8&state=70cbead71a278aa73e9ec38cb377623b57d8fd41ac17cc9f" for 127.0.0.1 at 2021-06-10 10:30:43 +0000
1001
+ Started GET "/auth/gds" for 127.0.0.1 at 2021-06-25 11:12:24 +0000
1002
+ Started GET "/auth/gds/callback?code=gHY0BRQJ7nr4ZwkkMp6Y9wENUu_wvURlMVfkXai4cCc&state=6b77f7008a8ef067f37e20aa6a05d8139334146feacdb6b3" for 127.0.0.1 at 2021-06-25 11:12:24 +0000
997
1003
  Processing by AuthenticationsController#callback as HTML
998
- Parameters: {"code"=>"5MGEnx70vmT8_CMUizzk3AZ9AJGM9mEEx7VtK3pf4T8", "state"=>"70cbead71a278aa73e9ec38cb377623b57d8fd41ac17cc9f"}
1004
+ Parameters: {"code"=>"gHY0BRQJ7nr4ZwkkMp6Y9wENUu_wvURlMVfkXai4cCc", "state"=>"6b77f7008a8ef067f37e20aa6a05d8139334146feacdb6b3"}
999
1005
  Authenticating with gds_sso strategy
1000
1006
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1001
1007
   (0.0ms) begin transaction
@@ -1003,27 +1009,21 @@ Authenticating with gds_sso strategy
1003
1009
   (0.0ms) begin transaction
1004
1010
   (0.0ms) commit transaction
1005
1011
  Redirected to http://www.example-client.com/restricted
1006
- Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
1007
- Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:43 +0000
1012
+ Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
1013
+ Started GET "/restricted" for 127.0.0.1 at 2021-06-25 11:12:24 +0000
1008
1014
  Processing by ExampleController#restricted as HTML
1009
1015
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
1010
1016
  Rendering text template
1011
1017
  Rendered text template (0.0ms)
1012
1018
  Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
1013
- Started GET "/restricted" for 127.0.0.1 at 2021-06-11 06:25:43 +0000
1014
- Processing by ExampleController#restricted as HTML
1015
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
1016
- Rendering text template
1017
- Rendered text template (0.0ms)
1018
- Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.1ms)
1019
- Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:43 +0000
1019
+ Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:24 +0000
1020
1020
  Processing by ExampleController#restricted as HTML
1021
1021
  Authenticating with gds_sso strategy
1022
1022
  Completed in 0ms (ActiveRecord: 0.0ms)
1023
- Started GET "/auth/gds" for 127.0.0.1 at 2021-06-10 10:30:43 +0000
1024
- Started GET "/auth/gds/callback?code=epw4QdEergGgmxUoejRDP5VD4iQoe9pH6NivI2gpWeQ&state=3bb357fbc74b0a4e1b759b1d88194bcee5cb3786c75f1c06" for 127.0.0.1 at 2021-06-10 10:30:43 +0000
1023
+ Started GET "/auth/gds" for 127.0.0.1 at 2021-06-24 15:07:24 +0000
1024
+ Started GET "/auth/gds/callback?code=1jtx162txkXxvNszRSoKVJ6wJCNo5f1RLY9yc7OBvic&state=026e1ebf304b918674c035245c7c88fd74914d443d86b370" for 127.0.0.1 at 2021-06-24 15:07:24 +0000
1025
1025
  Processing by AuthenticationsController#callback as HTML
1026
- Parameters: {"code"=>"epw4QdEergGgmxUoejRDP5VD4iQoe9pH6NivI2gpWeQ", "state"=>"3bb357fbc74b0a4e1b759b1d88194bcee5cb3786c75f1c06"}
1026
+ Parameters: {"code"=>"1jtx162txkXxvNszRSoKVJ6wJCNo5f1RLY9yc7OBvic", "state"=>"026e1ebf304b918674c035245c7c88fd74914d443d86b370"}
1027
1027
  Authenticating with gds_sso strategy
1028
1028
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1029
1029
   (0.0ms) begin transaction
@@ -1032,25 +1032,25 @@ Authenticating with gds_sso strategy
1032
1032
   (0.0ms) commit transaction
1033
1033
  Redirected to http://www.example-client.com/restricted
1034
1034
  Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
1035
- Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:43 +0000
1035
+ Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:24 +0000
1036
1036
  Processing by ExampleController#restricted as HTML
1037
1037
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
1038
1038
  Rendering text template
1039
1039
  Rendered text template (0.0ms)
1040
1040
  Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
1041
- Started GET "/restricted" for 127.0.0.1 at 2021-06-11 06:35:43 +0000
1041
+ Started GET "/restricted" for 127.0.0.1 at 2021-06-25 11:12:24 +0000
1042
1042
  Processing by ExampleController#restricted as HTML
1043
1043
  Authenticating with gds_sso strategy
1044
1044
  Completed in 0ms (ActiveRecord: 0.0ms)
1045
- Started GET "/auth/gds" for 127.0.0.1 at 2021-06-11 06:35:43 +0000
1046
- Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:43 +0000
1045
+ Started GET "/auth/gds" for 127.0.0.1 at 2021-06-25 11:12:24 +0000
1046
+ Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:24 +0000
1047
1047
  Processing by ExampleController#restricted as HTML
1048
1048
  Authenticating with gds_sso strategy
1049
1049
  Completed in 0ms (ActiveRecord: 0.0ms)
1050
- Started GET "/auth/gds" for 127.0.0.1 at 2021-06-10 10:30:43 +0000
1051
- Started GET "/auth/gds/callback?code=_2JU42Ywty2c9KR_7TA8dvwOPm6F6GiTKPh5fI65qCE&state=1c665e9802ad618373ba4f0b78002fac4075fb35097832f8" for 127.0.0.1 at 2021-06-10 10:30:43 +0000
1050
+ Started GET "/auth/gds" for 127.0.0.1 at 2021-06-24 15:07:24 +0000
1051
+ Started GET "/auth/gds/callback?code=qaq9OG5s1KEvIEUn9ZSp8hpqDPb_Kol_0Acdpyp_Ojk&state=aa64d0840148cb00c7b492760684d589fbafd42380353883" for 127.0.0.1 at 2021-06-24 15:07:24 +0000
1052
1052
  Processing by AuthenticationsController#callback as HTML
1053
- Parameters: {"code"=>"_2JU42Ywty2c9KR_7TA8dvwOPm6F6GiTKPh5fI65qCE", "state"=>"1c665e9802ad618373ba4f0b78002fac4075fb35097832f8"}
1053
+ Parameters: {"code"=>"qaq9OG5s1KEvIEUn9ZSp8hpqDPb_Kol_0Acdpyp_Ojk", "state"=>"aa64d0840148cb00c7b492760684d589fbafd42380353883"}
1054
1054
  Authenticating with gds_sso strategy
1055
1055
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1056
1056
   (0.0ms) begin transaction
@@ -1059,379 +1059,454 @@ Authenticating with gds_sso strategy
1059
1059
   (0.0ms) commit transaction
1060
1060
  Redirected to http://www.example-client.com/restricted
1061
1061
  Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
1062
- Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:43 +0000
1062
+ Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:24 +0000
1063
1063
  Processing by ExampleController#restricted as HTML
1064
1064
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
1065
1065
  Rendering text template
1066
1066
  Rendered text template (0.0ms)
1067
1067
  Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
1068
1068
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "test@example-client.com"], ["LIMIT", 1]]
1069
-  (0.0ms) begin transaction
1070
- User Update (0.1ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 2]]
1071
-  (14.8ms) commit transaction
1072
- Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:43 +0000
1069
+  (0.1ms) begin transaction
1070
+ User Update (0.2ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 2]]
1071
+  (5.4ms) commit transaction
1072
+ Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:24 +0000
1073
1073
  Processing by ExampleController#restricted as HTML
1074
1074
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
1075
1075
  Authenticating with gds_sso strategy
1076
1076
  Completed in 1ms (ActiveRecord: 0.1ms)
1077
- Started GET "/auth/gds" for 127.0.0.1 at 2021-06-10 10:30:43 +0000
1078
- Started GET "/auth/gds/callback?code=0WoPdbd1Jba2Dfu2D9e2jWUVDJfuEf5ZtN_Mg6YfFg4&state=19df4417ee75a80d363d099c4321a9d6cda190738bebfd86" for 127.0.0.1 at 2021-06-10 10:30:43 +0000
1077
+ Started GET "/auth/gds" for 127.0.0.1 at 2021-06-24 15:07:24 +0000
1078
+ Started GET "/auth/gds/callback?code=gxtRcuvGynL28MfTKFhQtg9x0GhEzWUpEl1h79ckzwM&state=2634aebddf5ceb5a9ebf1926932dce412a9f592c0420a838" for 127.0.0.1 at 2021-06-24 15:07:25 +0000
1079
1079
  Processing by AuthenticationsController#callback as HTML
1080
- Parameters: {"code"=>"0WoPdbd1Jba2Dfu2D9e2jWUVDJfuEf5ZtN_Mg6YfFg4", "state"=>"19df4417ee75a80d363d099c4321a9d6cda190738bebfd86"}
1080
+ Parameters: {"code"=>"gxtRcuvGynL28MfTKFhQtg9x0GhEzWUpEl1h79ckzwM", "state"=>"2634aebddf5ceb5a9ebf1926932dce412a9f592c0420a838"}
1081
1081
  Authenticating with gds_sso strategy
1082
1082
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1083
1083
   (0.0ms) begin transaction
1084
1084
   (0.0ms) commit transaction
1085
1085
   (0.0ms) begin transaction
1086
1086
  User Update (0.2ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "f"], ["id", 2]]
1087
-  (7.2ms) commit transaction
1087
+  (3.5ms) commit transaction
1088
1088
  Redirected to http://www.example-client.com/restricted
1089
- Completed 302 Found in 10ms (ActiveRecord: 7.5ms)
1090
- Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:43 +0000
1089
+ Completed 302 Found in 6ms (ActiveRecord: 3.8ms)
1090
+ Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:25 +0000
1091
1091
  Processing by ExampleController#restricted as HTML
1092
1092
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
1093
1093
  Rendering text template
1094
1094
  Rendered text template (0.0ms)
1095
1095
  Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
1096
1096
   (0.0ms) begin transaction
1097
- User Create (0.1ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d39364"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
1098
-  (7.5ms) commit transaction
1097
+ User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d31715"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
1098
+  (3.8ms) commit transaction
1099
+  (0.0ms) begin transaction
1100
+ User Create (0.1ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d32759"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1101
+  (3.2ms) commit transaction
1102
+ Processing by Api::UserController#update as HTML
1103
+ Parameters: {"uid"=>"a1s2d31715"}
1104
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "a1s2d31715"], ["LIMIT", 1]]
1105
+  (0.0ms) begin transaction
1106
+ User Update (0.1ms) UPDATE "users" SET "email" = ?, "name" = ?, "permissions" = ?, "organisation_slug" = ?, "organisation_content_id" = ? WHERE "users"."id" = ? [["email", "user@domain.com"], ["name", "Joshua Marshall"], ["permissions", "---\n- signin\n- new permission\n"], ["organisation_slug", "justice-league"], ["organisation_content_id", "aae1319e-5788-4677-998c-f1a53af528d0"], ["id", 3]]
1107
+  (3.5ms) commit transaction
1108
+ Completed 200 OK in 5ms (ActiveRecord: 3.7ms)
1109
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]]
1110
+  (0.0ms) begin transaction
1111
+ User Create (0.1ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d31207"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
1112
+  (4.6ms) commit transaction
1099
1113
   (0.0ms) begin transaction
1100
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d39409"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1101
-  (4.3ms) commit transaction
1114
+ User Create (0.1ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d33452"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1115
+  (4.1ms) commit transaction
1102
1116
  Processing by Api::UserController#update as HTML
1103
- Parameters: {"uid"=>"a1s2d39364"}
1117
+ Parameters: {"uid"=>"a1s2d31207"}
1104
1118
  Rendering /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
1105
1119
  Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
1106
1120
  Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
1107
1121
  Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
1108
- Completed 403 Forbidden in 4ms (Views: 3.1ms | ActiveRecord: 0.0ms)
1122
+ Completed 403 Forbidden in 3ms (Views: 2.9ms | ActiveRecord: 0.0ms)
1109
1123
   (0.0ms) begin transaction
1110
- User Create (0.1ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d38528"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
1111
-  (4.7ms) commit transaction
1124
+ User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d3971"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
1125
+  (3.5ms) commit transaction
1112
1126
   (0.0ms) begin transaction
1113
- User Create (0.1ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d39891"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1114
-  (5.7ms) commit transaction
1115
- Processing by Api::UserController#update as HTML
1116
- Parameters: {"uid"=>"a1s2d38528"}
1117
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "a1s2d38528"], ["LIMIT", 1]]
1118
-  (0.1ms) begin transaction
1119
- User Update (0.2ms) UPDATE "users" SET "email" = ?, "name" = ?, "permissions" = ?, "organisation_slug" = ?, "organisation_content_id" = ? WHERE "users"."id" = ? [["email", "user@domain.com"], ["name", "Joshua Marshall"], ["permissions", "---\n- signin\n- new permission\n"], ["organisation_slug", "justice-league"], ["organisation_content_id", "aae1319e-5788-4677-998c-f1a53af528d0"], ["id", 5]]
1120
-  (5.6ms) commit transaction
1121
- Completed 200 OK in 8ms (ActiveRecord: 5.9ms)
1122
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]]
1127
+ User Create (0.1ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d37077"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1128
+  (4.6ms) commit transaction
1129
+ Processing by Api::UserController#reauth as HTML
1130
+ Parameters: {"uid"=>"a1s2d3971"}
1131
+ Rendering /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
1132
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
1133
+ Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.1ms)
1134
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
1135
+ Completed 403 Forbidden in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
1123
1136
   (0.0ms) begin transaction
1124
- User Create (0.1ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d31137"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
1125
-  (6.0ms) commit transaction
1137
+ User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d36487"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
1138
+  (3.7ms) commit transaction
1126
1139
   (0.0ms) begin transaction
1127
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d36378"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1128
-  (4.5ms) commit transaction
1140
+ User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d35006"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1141
+  (4.8ms) commit transaction
1129
1142
  Processing by Api::UserController#reauth as HTML
1130
- Parameters: {"uid"=>"a1s2d31137"}
1131
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "a1s2d31137"], ["LIMIT", 1]]
1143
+ Parameters: {"uid"=>"a1s2d36487"}
1144
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "a1s2d36487"], ["LIMIT", 1]]
1132
1145
   (0.0ms) begin transaction
1133
- User Update (0.1ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 7]]
1134
-  (4.5ms) commit transaction
1135
- Completed 200 OK in 6ms (ActiveRecord: 4.8ms)
1136
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 7], ["LIMIT", 1]]
1137
-  (0.0ms) begin transaction
1138
- User Create (0.1ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d39459"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
1139
-  (4.6ms) commit transaction
1146
+ User Update (0.1ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 9]]
1147
+  (4.2ms) commit transaction
1148
+ Completed 200 OK in 6ms (ActiveRecord: 4.5ms)
1149
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 9], ["LIMIT", 1]]
1140
1150
   (0.0ms) begin transaction
1141
- User Create (0.1ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d34705"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1151
+ User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d34693"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
1142
1152
   (4.5ms) commit transaction
1153
+  (0.0ms) begin transaction
1154
+ User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d35551"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1155
+  (3.8ms) commit transaction
1143
1156
  Processing by Api::UserController#reauth as HTML
1144
1157
  Parameters: {"uid"=>"nonexistent-user"}
1145
1158
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "nonexistent-user"], ["LIMIT", 1]]
1146
1159
  Completed 200 OK in 1ms (ActiveRecord: 0.1ms)
1147
-  (0.0ms) begin transaction
1148
- User Create (0.1ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d39237"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
1149
-  (8.1ms) commit transaction
1150
-  (0.0ms) begin transaction
1151
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d31577"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1152
-  (8.2ms) commit transaction
1153
- Processing by Api::UserController#reauth as HTML
1154
- Parameters: {"uid"=>"a1s2d39237"}
1155
- Rendering /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
1156
- Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
1157
- Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.1ms)
1158
- Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
1159
- Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
1160
1160
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "asd"], ["LIMIT", 1]]
1161
1161
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "user@example.com"], ["LIMIT", 1]]
1162
1162
   (0.0ms) begin transaction
1163
- User Create (0.1ms) INSERT INTO "users" ("name", "uid", "email", "permissions", "organisation_slug", "organisation_content_id", "disabled") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "A Name"], ["uid", "asd"], ["email", "user@example.com"], ["permissions", "---\n- signin\n"], ["organisation_slug", "hmrc"], ["organisation_content_id", "67a2b78d-eee3-45b3-80e2-792e7f71cecc"], ["disabled", nil]]
1164
-  (7.9ms) commit transaction
1163
+ User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions", "organisation_slug", "organisation_content_id", "disabled") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "A Name"], ["uid", "asd"], ["email", "user@example.com"], ["permissions", "---\n- signin\n"], ["organisation_slug", "hmrc"], ["organisation_content_id", "67a2b78d-eee3-45b3-80e2-792e7f71cecc"], ["disabled", nil]]
1164
+  (4.1ms) commit transaction
1165
1165
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "asd"], ["LIMIT", 1]]
1166
1166
   (0.0ms) begin transaction
1167
1167
   (0.0ms) commit transaction
1168
-  (1.0ms) SELECT sqlite_version(*)
1168
+  (1.1ms) SELECT sqlite_version(*)
1169
1169
   (0.0ms) SELECT sqlite_version(*)
1170
1170
   (0.1ms) DROP TABLE IF EXISTS "users"
1171
-  (53.5ms) CREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "uid" varchar NOT NULL, "email" varchar NOT NULL, "remotely_signed_out" boolean, "permissions" text, "organisation_slug" varchar, "organisation_content_id" varchar, "disabled" boolean DEFAULT 0)
1172
-  (5.9ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)
1171
+  (4.3ms) CREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "uid" varchar NOT NULL, "email" varchar NOT NULL, "remotely_signed_out" boolean, "permissions" text, "organisation_slug" varchar, "organisation_content_id" varchar, "disabled" boolean DEFAULT 0)
1172
+  (4.1ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)
1173
1173
  ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
1174
1174
  TRANSACTION (0.0ms) begin transaction
1175
- ActiveRecord::InternalMetadata Create (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2021-06-10 10:30:49.080981"], ["updated_at", "2021-06-10 10:30:49.080981"]]
1176
- TRANSACTION (13.4ms) commit transaction
1177
-  (6.3ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
1175
+ ActiveRecord::InternalMetadata Create (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2021-06-24 15:07:30.849958"], ["updated_at", "2021-06-24 15:07:30.849958"]]
1176
+ TRANSACTION (5.0ms) commit transaction
1177
+  (5.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
1178
1178
  ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
1179
1179
   (0.1ms) SELECT sqlite_version(*)
1180
+ TRANSACTION (0.0ms) begin transaction
1181
+ User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d3530"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
1182
+ TRANSACTION (3.7ms) commit transaction
1183
+ TRANSACTION (0.0ms) begin transaction
1184
+ User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d35614"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1185
+ TRANSACTION (3.4ms) commit transaction
1186
+ Processing by Api::UserController#update as HTML
1187
+ Parameters: {"uid"=>"a1s2d3530"}
1188
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "a1s2d3530"], ["LIMIT", 1]]
1189
+ TRANSACTION (0.0ms) begin transaction
1190
+ User Update (0.2ms) UPDATE "users" SET "name" = ?, "email" = ?, "permissions" = ?, "organisation_slug" = ?, "organisation_content_id" = ? WHERE "users"."id" = ? [["name", "Joshua Marshall"], ["email", "user@domain.com"], ["permissions", "---\n- signin\n- new permission\n"], ["organisation_slug", "justice-league"], ["organisation_content_id", "aae1319e-5788-4677-998c-f1a53af528d0"], ["id", 1]]
1191
+ TRANSACTION (6.0ms) commit transaction
1192
+ Completed 200 OK in 10ms (ActiveRecord: 6.3ms | Allocations: 2297)
1193
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
1194
+ TRANSACTION (0.0ms) begin transaction
1195
+ User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d33643"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
1196
+ TRANSACTION (5.3ms) commit transaction
1197
+ TRANSACTION (0.0ms) begin transaction
1198
+ User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d34586"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1199
+ TRANSACTION (5.8ms) commit transaction
1200
+ Processing by Api::UserController#update as HTML
1201
+ Parameters: {"uid"=>"a1s2d33643"}
1202
+ Rendering layout /var/lib/jenkins/workspace/gds-sso_master/app/views/layouts/unauthorised.html.erb
1203
+ Rendering /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
1204
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
1205
+ Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (Duration: 0.5ms | Allocations: 191)
1206
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
1207
+ Rendered layout /var/lib/jenkins/workspace/gds-sso_master/app/views/layouts/unauthorised.html.erb (Duration: 0.6ms | Allocations: 271)
1208
+ Completed 403 Forbidden in 4ms (Views: 3.9ms | ActiveRecord: 0.0ms | Allocations: 2025)
1209
+ TRANSACTION (0.0ms) begin transaction
1210
+ User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d31870"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
1211
+ TRANSACTION (4.6ms) commit transaction
1212
+ TRANSACTION (0.0ms) begin transaction
1213
+ User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d36535"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1214
+ TRANSACTION (7.0ms) commit transaction
1215
+ Processing by Api::UserController#reauth as HTML
1216
+ Parameters: {"uid"=>"a1s2d31870"}
1217
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "a1s2d31870"], ["LIMIT", 1]]
1218
+ TRANSACTION (0.0ms) begin transaction
1219
+ User Update (0.1ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", 1], ["id", 5]]
1220
+ TRANSACTION (5.8ms) commit transaction
1221
+ Completed 200 OK in 7ms (ActiveRecord: 6.1ms | Allocations: 858)
1222
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]]
1223
+ TRANSACTION (0.0ms) begin transaction
1224
+ User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d32503"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
1225
+ TRANSACTION (5.6ms) commit transaction
1226
+ TRANSACTION (0.0ms) begin transaction
1227
+ User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d35140"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1228
+ TRANSACTION (6.5ms) commit transaction
1229
+ Processing by Api::UserController#reauth as HTML
1230
+ Parameters: {"uid"=>"nonexistent-user"}
1231
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "nonexistent-user"], ["LIMIT", 1]]
1232
+ Completed 200 OK in 1ms (ActiveRecord: 0.1ms | Allocations: 500)
1233
+ TRANSACTION (0.0ms) begin transaction
1234
+ User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d33825"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
1235
+ TRANSACTION (7.7ms) commit transaction
1236
+ TRANSACTION (0.0ms) begin transaction
1237
+ User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d37402"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1238
+ TRANSACTION (5.2ms) commit transaction
1239
+ Processing by Api::UserController#reauth as HTML
1240
+ Parameters: {"uid"=>"a1s2d33825"}
1241
+ Rendering layout /var/lib/jenkins/workspace/gds-sso_master/app/views/layouts/unauthorised.html.erb
1242
+ Rendering /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
1243
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
1244
+ Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (Duration: 0.1ms | Allocations: 45)
1245
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
1246
+ Rendered layout /var/lib/jenkins/workspace/gds-sso_master/app/views/layouts/unauthorised.html.erb (Duration: 0.2ms | Allocations: 119)
1247
+ Completed 403 Forbidden in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms | Allocations: 515)
1180
1248
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "asd"], ["LIMIT", 1]]
1181
1249
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "user@example.com"], ["LIMIT", 1]]
1182
1250
  TRANSACTION (0.0ms) begin transaction
1183
1251
  User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions", "organisation_slug", "organisation_content_id", "disabled") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "A Name"], ["uid", "asd"], ["email", "user@example.com"], ["permissions", "---\n- signin\n"], ["organisation_slug", "hmrc"], ["organisation_content_id", "67a2b78d-eee3-45b3-80e2-792e7f71cecc"], ["disabled", nil]]
1184
- TRANSACTION (7.2ms) commit transaction
1252
+ TRANSACTION (6.7ms) commit transaction
1185
1253
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "asd"], ["LIMIT", 1]]
1186
- Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:49 +0000
1254
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "dummyapiuser@domain.com"], ["LIMIT", 1]]
1255
+ TRANSACTION (0.0ms) begin transaction
1256
+ User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Dummy API user created by gds-sso"], ["uid", "3876"], ["email", "dummyapiuser@domain.com"], ["permissions", "---\n- signin\n"]]
1257
+ TRANSACTION (4.9ms) commit transaction
1258
+ TRANSACTION (0.0ms) begin transaction
1259
+ User Update (0.1ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = ? [["permissions", "---\n- signin\n- extra_permission\n"], ["id", 12]]
1260
+ TRANSACTION (3.9ms) commit transaction
1261
+ Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:31 +0000
1187
1262
  Processing by ExampleController#restricted as HTML
1188
1263
  Authenticating with gds_sso strategy
1189
- Completed in 7ms (ActiveRecord: 0.0ms | Allocations: 1044)
1190
- Started GET "/" for 127.0.0.1 at 2021-06-10 10:30:49 +0000
1191
- Processing by ExampleController#index as HTML
1192
- Rendering text template
1193
- Rendered text template (Duration: 0.0ms | Allocations: 3)
1194
- Completed 200 OK in 2ms (Views: 2.1ms | ActiveRecord: 0.0ms | Allocations: 1010)
1195
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2021-06-10 10:30:49 +0000
1196
- Processing by ExampleController#this_requires_signin_permission as HTML
1197
- Authenticating with gds_sso strategy
1198
- Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 127)
1199
- Started GET "/auth/gds" for 127.0.0.1 at 2021-06-10 10:30:49 +0000
1200
- Started GET "/auth/gds/callback?code=poY3NLTz67iH--VeVJOSPJs4tEJdf7lS8kHjO-WLzSk&state=9d453f5f56a0b1416ead5010b8c1867c1169bad85ff6429f" for 127.0.0.1 at 2021-06-10 10:30:49 +0000
1264
+ Completed in 5ms (ActiveRecord: 0.0ms | Allocations: 181)
1265
+ Started GET "/auth/gds" for 127.0.0.1 at 2021-06-24 15:07:31 +0000
1266
+ Started GET "/auth/gds/callback?code=H3ulL6DIpvs4a8qHSQ7b6USCNwj811b6ACDBHzBL41I&state=36c26d450a67135f3ea2f5b594ff71cb8dcdb10a1be14b9a" for 127.0.0.1 at 2021-06-24 15:07:31 +0000
1201
1267
  Processing by AuthenticationsController#callback as HTML
1202
- Parameters: {"code"=>"poY3NLTz67iH--VeVJOSPJs4tEJdf7lS8kHjO-WLzSk", "state"=>"9d453f5f56a0b1416ead5010b8c1867c1169bad85ff6429f"}
1268
+ Parameters: {"code"=>"H3ulL6DIpvs4a8qHSQ7b6USCNwj811b6ACDBHzBL41I", "state"=>"36c26d450a67135f3ea2f5b594ff71cb8dcdb10a1be14b9a"}
1203
1269
  Authenticating with gds_sso strategy
1204
1270
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1205
1271
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "test@example-client.com"], ["LIMIT", 1]]
1206
1272
  TRANSACTION (0.1ms) begin transaction
1207
1273
  User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Test User"], ["uid", "integration-uid"], ["email", "test@example-client.com"], ["permissions", "---\n- signin\n"]]
1208
- TRANSACTION (4.7ms) commit transaction
1209
- TRANSACTION (0.0ms) begin transaction
1210
- User Update (0.1ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", 0], ["id", 2]]
1211
- TRANSACTION (4.3ms) commit transaction
1212
- Redirected to http://www.example-client.com/this_requires_signin_permission
1213
- Completed 302 Found in 13ms (ActiveRecord: 9.5ms | Allocations: 1375)
1214
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2021-06-10 10:30:49 +0000
1215
- Processing by ExampleController#this_requires_signin_permission as HTML
1216
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
1274
+ TRANSACTION (4.8ms) commit transaction
1275
+ TRANSACTION (0.1ms) begin transaction
1276
+ User Update (0.1ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", 0], ["id", 13]]
1277
+ TRANSACTION (3.8ms) commit transaction
1278
+ Redirected to http://www.example-client.com/restricted
1279
+ Completed 302 Found in 13ms (ActiveRecord: 9.3ms | Allocations: 1345)
1280
+ Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:31 +0000
1281
+ Processing by ExampleController#restricted as HTML
1282
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
1217
1283
  Rendering text template
1218
1284
  Rendered text template (Duration: 0.0ms | Allocations: 1)
1219
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 671)
1220
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2021-06-10 10:30:49 +0000
1221
- Processing by ExampleController#this_requires_signin_permission as HTML
1285
+ Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.2ms | Allocations: 885)
1286
+ Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:31 +0000
1287
+ Processing by ExampleController#restricted as HTML
1222
1288
  Authenticating with gds_sso strategy
1223
1289
  Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 125)
1224
- Started GET "/auth/gds" for 127.0.0.1 at 2021-06-10 10:30:49 +0000
1225
- Started GET "/auth/gds/callback?code=Zdj9h1Ccr1q1cC9vWr-u_SZm2seKWX3yHYF5AuzHS_w&state=8bbabbddebb4195509444f8ae34f0d386ec6fc40cdaa4eab" for 127.0.0.1 at 2021-06-10 10:30:49 +0000
1290
+ Started GET "/auth/gds" for 127.0.0.1 at 2021-06-24 15:07:31 +0000
1291
+ Started GET "/auth/gds/callback?code=_-munggz2tEqszBQeRRLlD4odBPpL0_pr5_4zLPd4P4&state=aed4a33d172c3f9d74acc4c774d0c7d82c552ca76ceb970a" for 127.0.0.1 at 2021-06-24 15:07:31 +0000
1226
1292
  Processing by AuthenticationsController#callback as HTML
1227
- Parameters: {"code"=>"Zdj9h1Ccr1q1cC9vWr-u_SZm2seKWX3yHYF5AuzHS_w", "state"=>"8bbabbddebb4195509444f8ae34f0d386ec6fc40cdaa4eab"}
1293
+ Parameters: {"code"=>"_-munggz2tEqszBQeRRLlD4odBPpL0_pr5_4zLPd4P4", "state"=>"aed4a33d172c3f9d74acc4c774d0c7d82c552ca76ceb970a"}
1228
1294
  Authenticating with gds_sso strategy
1229
1295
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1230
- Redirected to http://www.example-client.com/this_requires_signin_permission
1231
- Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 851)
1232
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2021-06-10 10:30:49 +0000
1233
- Processing by ExampleController#this_requires_signin_permission as HTML
1296
+ Redirected to http://www.example-client.com/restricted
1297
+ Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 852)
1298
+ Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:31 +0000
1299
+ Processing by ExampleController#restricted as HTML
1234
1300
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
1235
1301
  Rendering text template
1236
1302
  Rendered text template (Duration: 0.0ms | Allocations: 1)
1237
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 644)
1238
- Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:49 +0000
1303
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 650)
1304
+ Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:31 +0000
1239
1305
  Processing by ExampleController#restricted as HTML
1240
1306
  Authenticating with gds_sso strategy
1241
1307
  Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 125)
1242
- Started GET "/auth/gds" for 127.0.0.1 at 2021-06-10 10:30:49 +0000
1243
- Started GET "/auth/gds/callback?code=_Z7DZyL_PQotnyAvO9L6yokfndLFW4N2UVq28MvqoPE&state=f3cfb828d6260e7a9c0ef84756421f8ff7bf9db03fc7b10e" for 127.0.0.1 at 2021-06-10 10:30:49 +0000
1308
+ Started GET "/auth/gds" for 127.0.0.1 at 2021-06-24 15:07:31 +0000
1309
+ Started GET "/auth/gds/callback?code=oSUuWgUiI2PDM9GosDc3BFgTNvyBSJ0UhqrKxHG90F0&state=2d7c119c3cbd9aa502c7008b3d4ef45f0ff82dbf94fc6d06" for 127.0.0.1 at 2021-06-24 15:07:31 +0000
1244
1310
  Processing by AuthenticationsController#callback as HTML
1245
- Parameters: {"code"=>"_Z7DZyL_PQotnyAvO9L6yokfndLFW4N2UVq28MvqoPE", "state"=>"f3cfb828d6260e7a9c0ef84756421f8ff7bf9db03fc7b10e"}
1311
+ Parameters: {"code"=>"oSUuWgUiI2PDM9GosDc3BFgTNvyBSJ0UhqrKxHG90F0", "state"=>"2d7c119c3cbd9aa502c7008b3d4ef45f0ff82dbf94fc6d06"}
1246
1312
  Authenticating with gds_sso strategy
1247
1313
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1248
1314
  Redirected to http://www.example-client.com/restricted
1249
1315
  Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 851)
1250
- Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:49 +0000
1316
+ Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:31 +0000
1251
1317
  Processing by ExampleController#restricted as HTML
1252
1318
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
1253
1319
  Rendering text template
1254
1320
  Rendered text template (Duration: 0.0ms | Allocations: 1)
1255
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 644)
1256
- Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:49 +0000
1257
- Processing by ExampleController#restricted as HTML
1321
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 650)
1322
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2021-06-24 15:07:31 +0000
1323
+ Processing by ExampleController#this_requires_signin_permission as HTML
1258
1324
  Authenticating with gds_sso strategy
1259
1325
  Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 125)
1260
- Started GET "/auth/gds" for 127.0.0.1 at 2021-06-10 10:30:49 +0000
1261
- Started GET "/auth/gds/callback?code=Kw1tXFSJYPgcyo0zaPOkkpLv8x7Mo_oCJ3wW-jyJdbs&state=a8c915ef91aab15a499f8c8f87ab6d6a3ce2763e376381da" for 127.0.0.1 at 2021-06-10 10:30:49 +0000
1326
+ Started GET "/auth/gds" for 127.0.0.1 at 2021-06-24 15:07:31 +0000
1327
+ Started GET "/auth/gds/callback?code=c1jh92ZR-QwykvJSTBx6_xATju7tA6ZZXHxTA6_5iDU&state=31304cea18a2e793e923d31bf633af241927d585fd3120fc" for 127.0.0.1 at 2021-06-24 15:07:31 +0000
1262
1328
  Processing by AuthenticationsController#callback as HTML
1263
- Parameters: {"code"=>"Kw1tXFSJYPgcyo0zaPOkkpLv8x7Mo_oCJ3wW-jyJdbs", "state"=>"a8c915ef91aab15a499f8c8f87ab6d6a3ce2763e376381da"}
1329
+ Parameters: {"code"=>"c1jh92ZR-QwykvJSTBx6_xATju7tA6ZZXHxTA6_5iDU", "state"=>"31304cea18a2e793e923d31bf633af241927d585fd3120fc"}
1264
1330
  Authenticating with gds_sso strategy
1265
1331
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1266
- Redirected to http://www.example-client.com/restricted
1332
+ Redirected to http://www.example-client.com/this_requires_signin_permission
1267
1333
  Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 851)
1268
- Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:49 +0000
1269
- Processing by ExampleController#restricted as HTML
1334
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2021-06-24 15:07:31 +0000
1335
+ Processing by ExampleController#this_requires_signin_permission as HTML
1270
1336
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
1271
1337
  Rendering text template
1272
1338
  Rendered text template (Duration: 0.0ms | Allocations: 1)
1273
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 644)
1274
- Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:49 +0000
1275
- Processing by ExampleController#restricted as HTML
1339
+ Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms | Allocations: 646)
1340
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2021-06-24 15:07:31 +0000
1341
+ Processing by ExampleController#this_requires_signin_permission as HTML
1276
1342
  Authenticating with gds_sso strategy
1277
1343
  Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 125)
1278
- Started GET "/auth/gds" for 127.0.0.1 at 2021-06-10 10:30:49 +0000
1279
- Started GET "/auth/gds/callback?code=GERF15kDluQa2dp5XeTqf_7H4GgZWzyvS-tPoTFCYiw&state=95648fed8f1442abd58dece4ab1fb85681df97f135c47681" for 127.0.0.1 at 2021-06-10 10:30:49 +0000
1344
+ Started GET "/auth/gds" for 127.0.0.1 at 2021-06-24 15:07:31 +0000
1345
+ Started GET "/auth/gds/callback?code=th8RxP-9fFwNb9A9hfGZhtJVqVhxFNK6-S99ZXjJ4M0&state=89536b063709885277307f72d7fba99eda015065b1316a4b" for 127.0.0.1 at 2021-06-24 15:07:31 +0000
1280
1346
  Processing by AuthenticationsController#callback as HTML
1281
- Parameters: {"code"=>"GERF15kDluQa2dp5XeTqf_7H4GgZWzyvS-tPoTFCYiw", "state"=>"95648fed8f1442abd58dece4ab1fb85681df97f135c47681"}
1347
+ Parameters: {"code"=>"th8RxP-9fFwNb9A9hfGZhtJVqVhxFNK6-S99ZXjJ4M0", "state"=>"89536b063709885277307f72d7fba99eda015065b1316a4b"}
1282
1348
  Authenticating with gds_sso strategy
1283
1349
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1284
- Redirected to http://www.example-client.com/restricted
1285
- Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 852)
1286
- Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:49 +0000
1287
- Processing by ExampleController#restricted as HTML
1350
+ Redirected to http://www.example-client.com/this_requires_signin_permission
1351
+ Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 851)
1352
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2021-06-24 15:07:31 +0000
1353
+ Processing by ExampleController#this_requires_signin_permission as HTML
1288
1354
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
1289
1355
  Rendering text template
1290
1356
  Rendered text template (Duration: 0.0ms | Allocations: 1)
1291
1357
  Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 646)
1292
- Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:49 +0000
1358
+ Started GET "/" for 127.0.0.1 at 2021-06-24 15:07:31 +0000
1359
+ Processing by ExampleController#index as HTML
1360
+ Rendering text template
1361
+ Rendered text template (Duration: 0.0ms | Allocations: 1)
1362
+ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms | Allocations: 135)
1363
+ Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:31 +0000
1293
1364
  Processing by ExampleController#restricted as HTML
1294
1365
  Authenticating with gds_sso strategy
1295
1366
  Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 125)
1296
- Started GET "/auth/gds" for 127.0.0.1 at 2021-06-10 10:30:50 +0000
1297
- Started GET "/auth/gds/callback?code=SS7ZRwlXI033cU2y2tasB5ERe6f4enwfkLT2nBJSQ_k&state=978a61f7ffe7e72506de4a0bf2ec41f7c67701de4ebb1a8c" for 127.0.0.1 at 2021-06-10 10:30:50 +0000
1367
+ Started GET "/auth/gds" for 127.0.0.1 at 2021-06-24 15:07:31 +0000
1368
+ Started GET "/auth/gds/callback?code=0SD9RgIWHFOHL81wpALmUHgqFntw99JxNIYKtoYfJ9w&state=71b5b1dc595f38ece7e73ad545442a1e5d868936cfc5b871" for 127.0.0.1 at 2021-06-24 15:07:32 +0000
1298
1369
  Processing by AuthenticationsController#callback as HTML
1299
- Parameters: {"code"=>"SS7ZRwlXI033cU2y2tasB5ERe6f4enwfkLT2nBJSQ_k", "state"=>"978a61f7ffe7e72506de4a0bf2ec41f7c67701de4ebb1a8c"}
1370
+ Parameters: {"code"=>"0SD9RgIWHFOHL81wpALmUHgqFntw99JxNIYKtoYfJ9w", "state"=>"71b5b1dc595f38ece7e73ad545442a1e5d868936cfc5b871"}
1300
1371
  Authenticating with gds_sso strategy
1301
1372
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1302
1373
  Redirected to http://www.example-client.com/restricted
1303
- Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 851)
1304
- Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:50 +0000
1374
+ Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 852)
1375
+ Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:32 +0000
1305
1376
  Processing by ExampleController#restricted as HTML
1306
1377
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
1307
1378
  Rendering text template
1308
1379
  Rendered text template (Duration: 0.0ms | Allocations: 1)
1309
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 645)
1310
- Started GET "/restricted" for 127.0.0.1 at 2021-06-11 06:25:50 +0000
1380
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 653)
1381
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "test@example-client.com"], ["LIMIT", 1]]
1382
+ TRANSACTION (0.1ms) begin transaction
1383
+ User Update (0.2ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", 1], ["id", 13]]
1384
+ TRANSACTION (6.2ms) commit transaction
1385
+ Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:32 +0000
1311
1386
  Processing by ExampleController#restricted as HTML
1312
1387
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
1313
- Rendering text template
1314
- Rendered text template (Duration: 0.0ms | Allocations: 1)
1315
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 877)
1316
- Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:50 +0000
1317
- Processing by ExampleController#restricted as HTML
1318
1388
  Authenticating with gds_sso strategy
1319
- Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 125)
1320
- Started GET "/auth/gds" for 127.0.0.1 at 2021-06-10 10:30:50 +0000
1321
- Started GET "/auth/gds/callback?code=b-a6dkrt1fgeJE5Ejz0_jhGRMv-bXOok8ZfCGq1Zcz4&state=d83dd2370fc717c28d666a5646b07c2246b6f1eaff641be5" for 127.0.0.1 at 2021-06-10 10:30:50 +0000
1389
+ Completed in 1ms (ActiveRecord: 0.1ms | Allocations: 533)
1390
+ Started GET "/auth/gds" for 127.0.0.1 at 2021-06-24 15:07:32 +0000
1391
+ Started GET "/auth/gds/callback?code=vsOVC9zQHdiXBStBQZs9yMNFqkszo5vCm4oIv5M2y_g&state=1ee691d4263f97799b12fe9f9b6916ae6e7acc5f01adec35" for 127.0.0.1 at 2021-06-24 15:07:32 +0000
1322
1392
  Processing by AuthenticationsController#callback as HTML
1323
- Parameters: {"code"=>"b-a6dkrt1fgeJE5Ejz0_jhGRMv-bXOok8ZfCGq1Zcz4", "state"=>"d83dd2370fc717c28d666a5646b07c2246b6f1eaff641be5"}
1393
+ Parameters: {"code"=>"vsOVC9zQHdiXBStBQZs9yMNFqkszo5vCm4oIv5M2y_g", "state"=>"1ee691d4263f97799b12fe9f9b6916ae6e7acc5f01adec35"}
1324
1394
  Authenticating with gds_sso strategy
1325
1395
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1396
+ TRANSACTION (0.0ms) begin transaction
1397
+ User Update (0.2ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", 0], ["id", 13]]
1398
+ TRANSACTION (6.4ms) commit transaction
1326
1399
  Redirected to http://www.example-client.com/restricted
1327
- Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 851)
1328
- Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:50 +0000
1400
+ Completed 302 Found in 9ms (ActiveRecord: 6.7ms | Allocations: 1042)
1401
+ Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:32 +0000
1329
1402
  Processing by ExampleController#restricted as HTML
1330
1403
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
1331
1404
  Rendering text template
1332
1405
  Rendered text template (Duration: 0.0ms | Allocations: 1)
1333
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 644)
1334
- Started GET "/restricted" for 127.0.0.1 at 2021-06-11 06:35:50 +0000
1406
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 648)
1407
+ Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:32 +0000
1335
1408
  Processing by ExampleController#restricted as HTML
1336
1409
  Authenticating with gds_sso strategy
1337
- Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 496)
1338
- Started GET "/auth/gds" for 127.0.0.1 at 2021-06-11 06:35:50 +0000
1339
- Started GET "/auth/gds/callback?code=vdoTkyc_Xkm-CGB4jUm4z4lmRaOaiiljYd4ZzRQL3bU&state=7fc532132e5776ef16749310626079a6bb451bfc4b81a289" for 127.0.0.1 at 2021-06-11 06:35:50 +0000
1410
+ Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 125)
1411
+ Started GET "/auth/gds" for 127.0.0.1 at 2021-06-24 15:07:32 +0000
1412
+ Started GET "/auth/gds/callback?code=tb1Jc8hBpHl8zC5tPevOz6mObQ6Ra16KzI2LaCq-0co&state=a837bda58de3d5cfb2f379076aeb15201c9e8e6a4afb9ab2" for 127.0.0.1 at 2021-06-24 15:07:32 +0000
1340
1413
  Processing by AuthenticationsController#callback as HTML
1341
- Parameters: {"code"=>"vdoTkyc_Xkm-CGB4jUm4z4lmRaOaiiljYd4ZzRQL3bU", "state"=>"7fc532132e5776ef16749310626079a6bb451bfc4b81a289"}
1414
+ Parameters: {"code"=>"tb1Jc8hBpHl8zC5tPevOz6mObQ6Ra16KzI2LaCq-0co", "state"=>"a837bda58de3d5cfb2f379076aeb15201c9e8e6a4afb9ab2"}
1342
1415
  Authenticating with gds_sso strategy
1343
1416
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1344
1417
  Redirected to http://www.example-client.com/restricted
1345
- Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 1061)
1346
- Started GET "/restricted" for 127.0.0.1 at 2021-06-11 06:35:50 +0000
1418
+ Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 851)
1419
+ Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:32 +0000
1347
1420
  Processing by ExampleController#restricted as HTML
1348
1421
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
1349
1422
  Rendering text template
1350
1423
  Rendered text template (Duration: 0.0ms | Allocations: 1)
1351
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 879)
1352
- Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:50 +0000
1424
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 650)
1425
+ Started GET "/restricted" for 127.0.0.1 at 2021-06-25 11:12:32 +0000
1426
+ Processing by ExampleController#restricted as HTML
1427
+ Authenticating with gds_sso strategy
1428
+ Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 502)
1429
+ Started GET "/auth/gds" for 127.0.0.1 at 2021-06-25 11:12:32 +0000
1430
+ Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:32 +0000
1353
1431
  Processing by ExampleController#restricted as HTML
1354
1432
  Authenticating with gds_sso strategy
1355
1433
  Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 125)
1356
- Started GET "/auth/gds" for 127.0.0.1 at 2021-06-10 10:30:50 +0000
1357
- Started GET "/auth/gds/callback?code=EWxMYyyrCCr9d0lvtWvLgmnFQoi20_HTDsZ-R_UEteA&state=a0f70e3e74e22c22374faa25973314489a40bbc9b9e3b2c5" for 127.0.0.1 at 2021-06-10 10:30:50 +0000
1434
+ Started GET "/auth/gds" for 127.0.0.1 at 2021-06-24 15:07:32 +0000
1435
+ Started GET "/auth/gds/callback?code=DiOM8PH5_KYgNnhd_CymxRS8SpL50mRfnHcKFVwqhGI&state=8984adcdd4743a1e6d53b65667090f491fddd3c60f624580" for 127.0.0.1 at 2021-06-24 15:07:32 +0000
1358
1436
  Processing by AuthenticationsController#callback as HTML
1359
- Parameters: {"code"=>"EWxMYyyrCCr9d0lvtWvLgmnFQoi20_HTDsZ-R_UEteA", "state"=>"a0f70e3e74e22c22374faa25973314489a40bbc9b9e3b2c5"}
1437
+ Parameters: {"code"=>"DiOM8PH5_KYgNnhd_CymxRS8SpL50mRfnHcKFVwqhGI", "state"=>"8984adcdd4743a1e6d53b65667090f491fddd3c60f624580"}
1360
1438
  Authenticating with gds_sso strategy
1361
1439
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1362
1440
  Redirected to http://www.example-client.com/restricted
1363
- Completed 302 Found in 5ms (ActiveRecord: 0.1ms | Allocations: 852)
1364
- Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:50 +0000
1441
+ Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 851)
1442
+ Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:32 +0000
1365
1443
  Processing by ExampleController#restricted as HTML
1366
1444
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
1367
1445
  Rendering text template
1368
1446
  Rendered text template (Duration: 0.0ms | Allocations: 1)
1369
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 646)
1370
- Started GET "/restricted" for 127.0.0.1 at 2021-06-11 06:35:50 +0000
1371
- Processing by ExampleController#restricted as HTML
1372
- Authenticating with gds_sso strategy
1373
- Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 496)
1374
- Started GET "/auth/gds" for 127.0.0.1 at 2021-06-11 06:35:50 +0000
1375
- Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:50 +0000
1447
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 650)
1448
+ Started GET "/restricted" for 127.0.0.1 at 2021-06-25 11:12:32 +0000
1376
1449
  Processing by ExampleController#restricted as HTML
1377
1450
  Authenticating with gds_sso strategy
1378
- Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 125)
1379
- Started GET "/auth/gds" for 127.0.0.1 at 2021-06-10 10:30:50 +0000
1380
- Started GET "/auth/gds/callback?code=CQeMtdfpnAsZytncHbONqt5KLBtB8U8UrXKcGzjQz1c&state=ba8ed7ba8835953a6de1b33d768647894a66fac64ec91a94" for 127.0.0.1 at 2021-06-10 10:30:50 +0000
1451
+ Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 502)
1452
+ Started GET "/auth/gds" for 127.0.0.1 at 2021-06-25 11:12:32 +0000
1453
+ Started GET "/auth/gds/callback?code=wf9Pa6-U1vVEF33RGodocnw11Ry7ZjJUqmyrirOfR-4&state=5f4d895e567b40f60e92a63294436fe41451ead621086b7d" for 127.0.0.1 at 2021-06-25 11:12:32 +0000
1381
1454
  Processing by AuthenticationsController#callback as HTML
1382
- Parameters: {"code"=>"CQeMtdfpnAsZytncHbONqt5KLBtB8U8UrXKcGzjQz1c", "state"=>"ba8ed7ba8835953a6de1b33d768647894a66fac64ec91a94"}
1455
+ Parameters: {"code"=>"wf9Pa6-U1vVEF33RGodocnw11Ry7ZjJUqmyrirOfR-4", "state"=>"5f4d895e567b40f60e92a63294436fe41451ead621086b7d"}
1383
1456
  Authenticating with gds_sso strategy
1384
1457
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1385
1458
  Redirected to http://www.example-client.com/restricted
1386
- Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 851)
1387
- Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:50 +0000
1459
+ Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 1061)
1460
+ Started GET "/restricted" for 127.0.0.1 at 2021-06-25 11:12:32 +0000
1388
1461
  Processing by ExampleController#restricted as HTML
1389
1462
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
1390
1463
  Rendering text template
1391
1464
  Rendered text template (Duration: 0.0ms | Allocations: 1)
1392
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 644)
1393
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "test@example-client.com"], ["LIMIT", 1]]
1394
- TRANSACTION (0.0ms) begin transaction
1395
- User Update (0.1ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", 1], ["id", 2]]
1396
- TRANSACTION (5.3ms) commit transaction
1397
- Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:50 +0000
1465
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 885)
1466
+ Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:32 +0000
1398
1467
  Processing by ExampleController#restricted as HTML
1399
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
1400
1468
  Authenticating with gds_sso strategy
1401
- Completed in 1ms (ActiveRecord: 0.1ms | Allocations: 527)
1402
- Started GET "/auth/gds" for 127.0.0.1 at 2021-06-10 10:30:50 +0000
1403
- Started GET "/auth/gds/callback?code=JlyYyrWR1NDMYPUNDxrSRZlBXfqjY3bqPpgtiHzTuMw&state=28eb94d6b9576677d4983efd3181a2aa99ae4d89f4bdc974" for 127.0.0.1 at 2021-06-10 10:30:50 +0000
1469
+ Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 125)
1470
+ Started GET "/auth/gds" for 127.0.0.1 at 2021-06-24 15:07:32 +0000
1471
+ Started GET "/auth/gds/callback?code=aIBIEplBjLcfe3xY9PNl4uL46j1_1bMUBvg1Rb9Xs8o&state=0a814b33b5833491162d1a331034faf7784f14ca261ebe1a" for 127.0.0.1 at 2021-06-24 15:07:32 +0000
1404
1472
  Processing by AuthenticationsController#callback as HTML
1405
- Parameters: {"code"=>"JlyYyrWR1NDMYPUNDxrSRZlBXfqjY3bqPpgtiHzTuMw", "state"=>"28eb94d6b9576677d4983efd3181a2aa99ae4d89f4bdc974"}
1473
+ Parameters: {"code"=>"aIBIEplBjLcfe3xY9PNl4uL46j1_1bMUBvg1Rb9Xs8o", "state"=>"0a814b33b5833491162d1a331034faf7784f14ca261ebe1a"}
1406
1474
  Authenticating with gds_sso strategy
1407
1475
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1408
- TRANSACTION (0.0ms) begin transaction
1409
- User Update (0.1ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", 0], ["id", 2]]
1410
- TRANSACTION (6.0ms) commit transaction
1411
1476
  Redirected to http://www.example-client.com/restricted
1412
- Completed 302 Found in 8ms (ActiveRecord: 6.3ms | Allocations: 1042)
1413
- Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:50 +0000
1477
+ Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 853)
1478
+ Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:32 +0000
1479
+ Processing by ExampleController#restricted as HTML
1480
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
1481
+ Rendering text template
1482
+ Rendered text template (Duration: 0.0ms | Allocations: 1)
1483
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 652)
1484
+ Started GET "/restricted" for 127.0.0.1 at 2021-06-25 11:02:32 +0000
1414
1485
  Processing by ExampleController#restricted as HTML
1415
1486
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
1416
1487
  Rendering text template
1417
1488
  Rendered text template (Duration: 0.0ms | Allocations: 1)
1418
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 643)
1419
- Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:50 +0000
1489
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 883)
1490
+ Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:32 +0000
1491
+ Processing by ExampleController#restricted as HTML
1492
+ Authenticating with gds_sso strategy
1493
+ Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 127)
1494
+ Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:32 +0000
1420
1495
  Processing by ExampleController#restricted as JSON
1421
- Completed in 12ms (ActiveRecord: 0.0ms | Allocations: 2025)
1422
- Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:50 +0000
1496
+ Completed in 15ms (ActiveRecord: 0.0ms | Allocations: 2027)
1497
+ Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:32 +0000
1423
1498
  Processing by ExampleController#restricted as JSON
1424
1499
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1425
1500
  TRANSACTION (0.1ms) begin transaction
1426
- User Update (0.1ms) UPDATE "users" SET "disabled" = ? WHERE "users"."id" = ? [["disabled", nil], ["id", 2]]
1427
- TRANSACTION (5.0ms) commit transaction
1501
+ User Update (0.2ms) UPDATE "users" SET "disabled" = ? WHERE "users"."id" = ? [["disabled", nil], ["id", 13]]
1502
+ TRANSACTION (4.8ms) commit transaction
1428
1503
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1429
1504
  CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1430
1505
  CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1431
1506
  Rendering text template
1432
1507
  Rendered text template (Duration: 0.0ms | Allocations: 1)
1433
- Completed 200 OK in 11ms (Views: 0.2ms | ActiveRecord: 5.4ms | Allocations: 3196)
1434
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2021-06-10 10:30:50 +0000
1508
+ Completed 200 OK in 12ms (Views: 0.3ms | ActiveRecord: 5.3ms | Allocations: 3196)
1509
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2021-06-24 15:07:32 +0000
1435
1510
  Processing by ExampleController#this_requires_signin_permission as JSON
1436
1511
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1437
1512
  CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
@@ -1440,81 +1515,6 @@ Processing by ExampleController#this_requires_signin_permission as JSON
1440
1515
  Rendering text template
1441
1516
  Rendered text template (Duration: 0.0ms | Allocations: 1)
1442
1517
  Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 2921)
1443
- Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:50 +0000
1518
+ Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:32 +0000
1444
1519
  Processing by ExampleController#restricted as JSON
1445
- Completed in 7ms (ActiveRecord: 0.0ms | Allocations: 1815)
1446
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "dummyapiuser@domain.com"], ["LIMIT", 1]]
1447
- TRANSACTION (0.1ms) begin transaction
1448
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Dummy API user created by gds-sso"], ["uid", "152"], ["email", "dummyapiuser@domain.com"], ["permissions", "---\n- signin\n"]]
1449
- TRANSACTION (5.3ms) commit transaction
1450
- TRANSACTION (0.0ms) begin transaction
1451
- User Update (0.1ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = ? [["permissions", "---\n- signin\n- extra_permission\n"], ["id", 3]]
1452
- TRANSACTION (20.8ms) commit transaction
1453
- TRANSACTION (0.0ms) begin transaction
1454
- User Create (0.1ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d36151"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
1455
- TRANSACTION (6.3ms) commit transaction
1456
- TRANSACTION (0.0ms) begin transaction
1457
- User Create (0.1ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d34951"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1458
- TRANSACTION (4.6ms) commit transaction
1459
- Processing by Api::UserController#update as HTML
1460
- Parameters: {"uid"=>"a1s2d36151"}
1461
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "a1s2d36151"], ["LIMIT", 1]]
1462
- TRANSACTION (0.0ms) begin transaction
1463
- User Update (0.1ms) UPDATE "users" SET "name" = ?, "email" = ?, "permissions" = ?, "organisation_slug" = ?, "organisation_content_id" = ? WHERE "users"."id" = ? [["name", "Joshua Marshall"], ["email", "user@domain.com"], ["permissions", "---\n- signin\n- new permission\n"], ["organisation_slug", "justice-league"], ["organisation_content_id", "aae1319e-5788-4677-998c-f1a53af528d0"], ["id", 4]]
1464
- TRANSACTION (6.7ms) commit transaction
1465
- Completed 200 OK in 9ms (ActiveRecord: 7.0ms | Allocations: 1219)
1466
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]]
1467
- TRANSACTION (0.0ms) begin transaction
1468
- User Create (0.1ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d32720"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
1469
- TRANSACTION (6.9ms) commit transaction
1470
- TRANSACTION (0.0ms) begin transaction
1471
- User Create (0.1ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d36670"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1472
- TRANSACTION (6.0ms) commit transaction
1473
- Processing by Api::UserController#update as HTML
1474
- Parameters: {"uid"=>"a1s2d32720"}
1475
- Rendering layout /var/lib/jenkins/workspace/gds-sso_master/app/views/layouts/unauthorised.html.erb
1476
- Rendering /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
1477
- Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
1478
- Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (Duration: 0.5ms | Allocations: 191)
1479
- Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
1480
- Rendered layout /var/lib/jenkins/workspace/gds-sso_master/app/views/layouts/unauthorised.html.erb (Duration: 0.6ms | Allocations: 267)
1481
- Completed 403 Forbidden in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms | Allocations: 1359)
1482
- TRANSACTION (0.1ms) begin transaction
1483
- User Create (0.1ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d35740"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
1484
- TRANSACTION (6.2ms) commit transaction
1485
- TRANSACTION (0.1ms) begin transaction
1486
- User Create (0.1ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d32301"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1487
- TRANSACTION (6.8ms) commit transaction
1488
- Processing by Api::UserController#reauth as HTML
1489
- Parameters: {"uid"=>"a1s2d35740"}
1490
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "a1s2d35740"], ["LIMIT", 1]]
1491
- TRANSACTION (0.0ms) begin transaction
1492
- User Update (0.1ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", 1], ["id", 8]]
1493
- TRANSACTION (7.8ms) commit transaction
1494
- Completed 200 OK in 9ms (ActiveRecord: 8.0ms | Allocations: 849)
1495
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 8], ["LIMIT", 1]]
1496
- TRANSACTION (0.0ms) begin transaction
1497
- User Create (0.1ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d37995"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
1498
- TRANSACTION (5.4ms) commit transaction
1499
- TRANSACTION (0.0ms) begin transaction
1500
- User Create (0.1ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d31590"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1501
- TRANSACTION (6.2ms) commit transaction
1502
- Processing by Api::UserController#reauth as HTML
1503
- Parameters: {"uid"=>"a1s2d37995"}
1504
- Rendering layout /var/lib/jenkins/workspace/gds-sso_master/app/views/layouts/unauthorised.html.erb
1505
- Rendering /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
1506
- Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
1507
- Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (Duration: 0.1ms | Allocations: 45)
1508
- Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
1509
- Rendered layout /var/lib/jenkins/workspace/gds-sso_master/app/views/layouts/unauthorised.html.erb (Duration: 0.2ms | Allocations: 119)
1510
- Completed 403 Forbidden in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms | Allocations: 515)
1511
- TRANSACTION (0.0ms) begin transaction
1512
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d353"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
1513
- TRANSACTION (6.1ms) commit transaction
1514
- TRANSACTION (0.1ms) begin transaction
1515
- User Create (0.1ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d38660"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1516
- TRANSACTION (6.3ms) commit transaction
1517
- Processing by Api::UserController#reauth as HTML
1518
- Parameters: {"uid"=>"nonexistent-user"}
1519
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "nonexistent-user"], ["LIMIT", 1]]
1520
- Completed 200 OK in 3ms (ActiveRecord: 0.1ms | Allocations: 501)
1520
+ Completed in 9ms (ActiveRecord: 0.0ms | Allocations: 1815)