gds-sso 14.0.0 → 14.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7036817db86d0273dc3c3043b7c02eba7433cb83e4f4e56247adaa94c5bf2a2d
4
- data.tar.gz: 574ec4a52e3e22e9bf71418a4fc1b9d456f9a4b6481ac0336b7f77e7f18301b5
3
+ metadata.gz: 23a6e0c4d1ab3235317f3ebeb7751063cfb34651103e18f8566f1af14289f138
4
+ data.tar.gz: 98fdfb14f57717685360e7e870665325ad8e710fcf84abe236fbb29e4d7f5ebf
5
5
  SHA512:
6
- metadata.gz: 15a96eb588756d3cfbe852458857de8fd231d93c490b34bd814c71642d1f038325878be9aef1b7c47b3e49ea0b7927b693a2663c91fc689f9e8095d4ccdc04bb
7
- data.tar.gz: 8a7480215faa733cb3e318dc7914d32aa24234e6aceab00edbb5cbd8e51fe267dfb652631f8fd7bc8a7c525be6731ba71536430bc7d3cafc800118bedb379f47
6
+ metadata.gz: 6a4a79296c5d292ee1644bdfe026523231bd5ed3209e64819eac71587eb5a6f300626c08e4650837fd3ed22e60713df397e478c0ba88c978c5be8659b1739216
7
+ data.tar.gz: a5644c1bd476202949cf7e94a734e80fbf4761cac7e2a4e83d23f31cdede40e0838b7106c41f82d1fb49d67d6b325901fac528883c20425257050315664a2d60
@@ -20,7 +20,12 @@ module GDS
20
20
  @oauth_client ||= OAuth2::Client.new(
21
21
  GDS::SSO::Config.oauth_id,
22
22
  GDS::SSO::Config.oauth_secret,
23
- :site => GDS::SSO::Config.oauth_root_url
23
+ :site => GDS::SSO::Config.oauth_root_url,
24
+ :connection_opts => {
25
+ :headers => {
26
+ :user_agent => "gds-sso/#{GDS::SSO::VERSION} (#{ENV['GOVUK_APP_NAME']})"
27
+ }
28
+ }
24
29
  )
25
30
  end
26
31
 
@@ -1,5 +1,5 @@
1
1
  module GDS
2
2
  module SSO
3
- VERSION = "14.0.0"
3
+ VERSION = "14.1.0"
4
4
  end
5
5
  end
@@ -1,1578 +1,1578 @@
1
-  (8.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') 
2
-  (6.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
1
+  (6.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') 
2
+  (3.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
3
3
   (0.1ms) select sqlite_version(*)
4
-  (4.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
5
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "dummyapiuser@domain.com"]]
6
-  (0.1ms) begin transaction
7
- SQL (0.3ms) INSERT INTO "users" ("email", "uid", "name", "permissions") VALUES (?, ?, ?, ?) [["email", "dummyapiuser@domain.com"], ["uid", "3905"], ["name", "Dummy API user created by gds-sso"], ["permissions", "---\n- signin\n"]]
8
-  (5.3ms) commit transaction
9
-  (0.1ms) begin transaction
10
- SQL (0.5ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = ? [["permissions", "---\n- signin\n- extra_permission\n"], ["id", 1]]
11
-  (3.3ms) commit transaction
12
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "asd"]]
13
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "user@example.com"]]
14
-  (0.1ms) begin transaction
15
- SQL (0.5ms) INSERT INTO "users" ("uid", "email", "name", "permissions", "organisation_slug", "organisation_content_id", "disabled") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "asd"], ["email", "user@example.com"], ["name", "A Name"], ["permissions", "---\n- signin\n"], ["organisation_slug", "hmrc"], ["organisation_content_id", "67a2b78d-eee3-45b3-80e2-792e7f71cecc"], ["disabled", nil]]
16
-  (4.4ms) commit transaction
4
+  (3.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
17
5
  User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "asd"]]
18
-  (0.1ms) begin transaction
19
-  (0.1ms) commit transaction
20
- Started GET "/restricted" for 127.0.0.1 at 2018-12-17 11:56:28 +0000
6
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "user@example.com"]]
7
+  (0.1ms) begin transaction
8
+ SQL (0.2ms) INSERT INTO "users" ("uid", "email", "name", "permissions", "organisation_slug", "organisation_content_id", "disabled") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "asd"], ["email", "user@example.com"], ["name", "A Name"], ["permissions", "---\n- signin\n"], ["organisation_slug", "hmrc"], ["organisation_content_id", "67a2b78d-eee3-45b3-80e2-792e7f71cecc"], ["disabled", nil]]
9
+  (6.1ms) commit transaction
10
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "asd"]]
11
+  (0.1ms) begin transaction
12
+  (0.1ms) commit transaction
13
+ Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:19:54 +0000
21
14
  Processing by ExampleController#restricted as HTML
22
15
  Authenticating with gds_sso strategy
23
- Completed in 24ms (ActiveRecord: 0.0ms)
24
- Started GET "/auth/gds" for 127.0.0.1 at 2018-12-17 11:56:28 +0000
25
- Started GET "/auth/gds/callback?code=5c16bc7e567b325aef1232315f85f1c00c3cc199d1e64bf05ffb6828073a3cfa&state=880fbe4be04d9686465772ee7f6153ef270e757e147241d7" for 127.0.0.1 at 2018-12-17 11:57:11 +0000
16
+ Completed in 8ms (ActiveRecord: 0.0ms)
17
+ Started GET "/" for 127.0.0.1 at 2019-07-18 13:19:54 +0000
18
+ Processing by ExampleController#index as HTML
19
+ Rendered text template (0.0ms)
20
+ Completed 200 OK in 8ms (Views: 7.6ms | ActiveRecord: 0.0ms)
21
+ Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:19:55 +0000
22
+ Processing by ExampleController#restricted as HTML
23
+ Authenticating with gds_sso strategy
24
+ Completed in 0ms (ActiveRecord: 0.0ms)
25
+ Started GET "/auth/gds" for 127.0.0.1 at 2019-07-18 13:19:55 +0000
26
+ Started GET "/auth/gds/callback?code=8d7e5bdfd9a69d1b2ca7791874d376db4ba73d99388bd26d4095863911902802&state=b87daedd52b66dd90c1e9fba1f68f4c9e733457ea90cb7af" for 127.0.0.1 at 2019-07-18 13:20:40 +0000
26
27
  Processing by AuthenticationsController#callback as HTML
27
- Parameters: {"code"=>"5c16bc7e567b325aef1232315f85f1c00c3cc199d1e64bf05ffb6828073a3cfa", "state"=>"880fbe4be04d9686465772ee7f6153ef270e757e147241d7"}
28
+ Parameters: {"code"=>"8d7e5bdfd9a69d1b2ca7791874d376db4ba73d99388bd26d4095863911902802", "state"=>"b87daedd52b66dd90c1e9fba1f68f4c9e733457ea90cb7af"}
28
29
  Authenticating with gds_sso strategy
29
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
30
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "test@example-client.com"]]
31
-  (0.1ms) begin transaction
32
- SQL (0.5ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "integration-uid"], ["email", "test@example-client.com"], ["name", "Test User"], ["permissions", "---\n- signin\n"]]
33
-  (5.8ms) commit transaction
30
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
31
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "test@example-client.com"]]
34
32
   (0.1ms) begin transaction
35
- SQL (0.5ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "f"], ["id", 3]]
36
-  (3.6ms) commit transaction
33
+ SQL (0.3ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "integration-uid"], ["email", "test@example-client.com"], ["name", "Test User"], ["permissions", "---\n- signin\n"]]
34
+  (30.1ms) commit transaction
35
+  (0.1ms) begin transaction
36
+ SQL (0.3ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "f"], ["id", 2]]
37
+  (5.9ms) commit transaction
37
38
  Redirected to http://www.example-client.com/restricted
38
- Completed 302 Found in 21ms (ActiveRecord: 11.1ms)
39
- Started GET "/restricted" for 127.0.0.1 at 2018-12-17 11:57:11 +0000
39
+ Completed 302 Found in 43ms (ActiveRecord: 36.9ms)
40
+ Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:20:40 +0000
40
41
  Processing by ExampleController#restricted as HTML
41
- User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
42
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
42
43
  Rendered text template (0.0ms)
43
- Completed 200 OK in 27ms (Views: 21.3ms | ActiveRecord: 0.5ms)
44
- Started GET "/restricted" for 127.0.0.1 at 2018-12-17 11:57:11 +0000
44
+ Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
45
+ Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:20:40 +0000
45
46
  Processing by ExampleController#restricted as HTML
46
47
  Authenticating with gds_sso strategy
47
- Completed in 1ms (ActiveRecord: 0.0ms)
48
- Started GET "/auth/gds" for 127.0.0.1 at 2018-12-17 11:57:11 +0000
49
- Started GET "/auth/gds/callback?code=c2e56581ad3871c47203f710a6fa315f8ff55b6a124d7f69e617eac5dc7d9d40&state=650f065415a260568d2922e4765d3e88690202067cd3339f" for 127.0.0.1 at 2018-12-17 11:57:12 +0000
48
+ Completed in 0ms (ActiveRecord: 0.0ms)
49
+ Started GET "/auth/gds" for 127.0.0.1 at 2019-07-18 13:20:40 +0000
50
+ Started GET "/auth/gds/callback?code=ab6dcfcbd97d5ef13dd49c8e273ed75e940b4fdc9ab056b748dd0044582581b4&state=b66b3599d42e68ddc5b152dead114350292e0451510c8671" for 127.0.0.1 at 2019-07-18 13:20:40 +0000
50
51
  Processing by AuthenticationsController#callback as HTML
51
- Parameters: {"code"=>"c2e56581ad3871c47203f710a6fa315f8ff55b6a124d7f69e617eac5dc7d9d40", "state"=>"650f065415a260568d2922e4765d3e88690202067cd3339f"}
52
+ Parameters: {"code"=>"ab6dcfcbd97d5ef13dd49c8e273ed75e940b4fdc9ab056b748dd0044582581b4", "state"=>"b66b3599d42e68ddc5b152dead114350292e0451510c8671"}
52
53
  Authenticating with gds_sso strategy
53
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
54
-  (0.1ms) begin transaction
55
-  (0.1ms) commit transaction
56
-  (0.1ms) begin transaction
57
-  (0.2ms) commit transaction
54
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
55
+  (0.1ms) begin transaction
56
+  (0.1ms) commit transaction
57
+  (0.0ms) begin transaction
58
+  (0.1ms) commit transaction
58
59
  Redirected to http://www.example-client.com/restricted
59
- Completed 302 Found in 8ms (ActiveRecord: 0.8ms)
60
- Started GET "/restricted" for 127.0.0.1 at 2018-12-17 11:57:12 +0000
60
+ Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
61
+ Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:20:40 +0000
61
62
  Processing by ExampleController#restricted as HTML
62
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
63
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
63
64
  Rendered text template (0.0ms)
64
- Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.2ms)
65
- Started GET "/restricted" for 127.0.0.1 at 2018-12-17 11:57:12 +0000
65
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
66
+ Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:20:40 +0000
66
67
  Processing by ExampleController#restricted as HTML
67
68
  Authenticating with gds_sso strategy
68
69
  Completed in 0ms (ActiveRecord: 0.0ms)
69
- Started GET "/auth/gds" for 127.0.0.1 at 2018-12-17 11:57:12 +0000
70
- Started GET "/auth/gds/callback?code=2a9f5d43d6d3d0e5897070068b051e78802f87fbb3c385efb2576d954ada08cb&state=9556622ff86ad8f30466b8d4785c923c54d0e714b3402ff2" for 127.0.0.1 at 2018-12-17 11:57:12 +0000
70
+ Started GET "/auth/gds" for 127.0.0.1 at 2019-07-18 13:20:40 +0000
71
+ Started GET "/auth/gds/callback?code=5ebe1a25850e1b13ffe39d6f4f42d5e9404071ca07c03b8411b039c1f41a437c&state=9e0d0d1a401d8f68b76e12fee88df6e0f3a03abb71b09651" for 127.0.0.1 at 2019-07-18 13:20:40 +0000
71
72
  Processing by AuthenticationsController#callback as HTML
72
- Parameters: {"code"=>"2a9f5d43d6d3d0e5897070068b051e78802f87fbb3c385efb2576d954ada08cb", "state"=>"9556622ff86ad8f30466b8d4785c923c54d0e714b3402ff2"}
73
+ Parameters: {"code"=>"5ebe1a25850e1b13ffe39d6f4f42d5e9404071ca07c03b8411b039c1f41a437c", "state"=>"9e0d0d1a401d8f68b76e12fee88df6e0f3a03abb71b09651"}
73
74
  Authenticating with gds_sso strategy
74
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
75
-  (0.1ms) begin transaction
76
-  (0.1ms) commit transaction
77
-  (0.1ms) begin transaction
78
-  (0.1ms) commit transaction
75
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
76
+  (0.1ms) begin transaction
77
+  (0.0ms) commit transaction
78
+  (0.1ms) begin transaction
79
+  (0.1ms) commit transaction
79
80
  Redirected to http://www.example-client.com/restricted
80
- Completed 302 Found in 8ms (ActiveRecord: 0.7ms)
81
- Started GET "/restricted" for 127.0.0.1 at 2018-12-17 11:57:12 +0000
81
+ Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
82
+ Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:20:40 +0000
82
83
  Processing by ExampleController#restricted as HTML
83
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
84
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
84
85
  Rendered text template (0.0ms)
85
- Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.2ms)
86
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2018-12-17 11:57:12 +0000
86
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
87
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-07-18 13:20:40 +0000
87
88
  Processing by ExampleController#this_requires_signin_permission as HTML
88
89
  Authenticating with gds_sso strategy
89
90
  Completed in 0ms (ActiveRecord: 0.0ms)
90
- Started GET "/auth/gds" for 127.0.0.1 at 2018-12-17 11:57:12 +0000
91
- Started GET "/auth/gds/callback?code=bfef6f49cd139f096c2b5c6e25ea4c146f1097eba790739524f346bf92a50dfc&state=336a153e066e204e2640a70504d044c235db3a56e8d92f11" for 127.0.0.1 at 2018-12-17 11:57:12 +0000
91
+ Started GET "/auth/gds" for 127.0.0.1 at 2019-07-18 13:20:40 +0000
92
+ Started GET "/auth/gds/callback?code=0d79451222bd557300d6952c85ee1279b69115c513d8c27a809804062e95c2ce&state=8b3f70c4ee8757a986854cdf06e25ac2f1af95e689d99e69" for 127.0.0.1 at 2019-07-18 13:20:41 +0000
92
93
  Processing by AuthenticationsController#callback as HTML
93
- Parameters: {"code"=>"bfef6f49cd139f096c2b5c6e25ea4c146f1097eba790739524f346bf92a50dfc", "state"=>"336a153e066e204e2640a70504d044c235db3a56e8d92f11"}
94
+ Parameters: {"code"=>"0d79451222bd557300d6952c85ee1279b69115c513d8c27a809804062e95c2ce", "state"=>"8b3f70c4ee8757a986854cdf06e25ac2f1af95e689d99e69"}
94
95
  Authenticating with gds_sso strategy
95
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
96
-  (0.2ms) begin transaction
97
-  (0.1ms) commit transaction
98
-  (0.1ms) begin transaction
99
-  (0.1ms) commit transaction
96
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
97
+  (0.1ms) begin transaction
98
+  (0.1ms) commit transaction
99
+  (0.1ms) begin transaction
100
+  (0.1ms) commit transaction
100
101
  Redirected to http://www.example-client.com/this_requires_signin_permission
101
- Completed 302 Found in 8ms (ActiveRecord: 0.7ms)
102
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2018-12-17 11:57:12 +0000
102
+ Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
103
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-07-18 13:20:41 +0000
103
104
  Processing by ExampleController#this_requires_signin_permission as HTML
104
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
105
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
105
106
  Rendered text template (0.0ms)
106
- Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.2ms)
107
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2018-12-17 11:57:12 +0000
107
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
108
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-07-18 13:20:41 +0000
108
109
  Processing by ExampleController#this_requires_signin_permission as HTML
109
110
  Authenticating with gds_sso strategy
110
- Completed in 1ms (ActiveRecord: 0.0ms)
111
- Started GET "/auth/gds" for 127.0.0.1 at 2018-12-17 11:57:12 +0000
112
- Started GET "/auth/gds/callback?code=159af4e9004c9125b8a2039875ae4d19477f60a5c0d59a7c2fa5dbae9d8f9ddf&state=11be99e17fe4a19ec8d4486eae0bfeeb30a9396c5db37ff8" for 127.0.0.1 at 2018-12-17 11:57:12 +0000
111
+ Completed in 0ms (ActiveRecord: 0.0ms)
112
+ Started GET "/auth/gds" for 127.0.0.1 at 2019-07-18 13:20:41 +0000
113
+ Started GET "/auth/gds/callback?code=57ae25ed1ee0b62331844920110cd61ec92bd9c9bc826b03c730745e444a1335&state=dc06bae45b15ee9a126f23c3d01c25295a0b1f66bede43cf" for 127.0.0.1 at 2019-07-18 13:20:41 +0000
113
114
  Processing by AuthenticationsController#callback as HTML
114
- Parameters: {"code"=>"159af4e9004c9125b8a2039875ae4d19477f60a5c0d59a7c2fa5dbae9d8f9ddf", "state"=>"11be99e17fe4a19ec8d4486eae0bfeeb30a9396c5db37ff8"}
115
+ Parameters: {"code"=>"57ae25ed1ee0b62331844920110cd61ec92bd9c9bc826b03c730745e444a1335", "state"=>"dc06bae45b15ee9a126f23c3d01c25295a0b1f66bede43cf"}
115
116
  Authenticating with gds_sso strategy
116
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
117
-  (0.1ms) begin transaction
118
-  (0.1ms) commit transaction
119
-  (0.1ms) begin transaction
120
-  (0.1ms) commit transaction
117
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
118
+  (0.2ms) begin transaction
119
+  (0.0ms) commit transaction
120
+  (0.1ms) begin transaction
121
+  (0.1ms) commit transaction
121
122
  Redirected to http://www.example-client.com/this_requires_signin_permission
122
- Completed 302 Found in 7ms (ActiveRecord: 0.6ms)
123
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2018-12-17 11:57:13 +0000
123
+ Completed 302 Found in 4ms (ActiveRecord: 0.5ms)
124
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-07-18 13:20:41 +0000
124
125
  Processing by ExampleController#this_requires_signin_permission as HTML
125
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
126
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
126
127
  Rendered text template (0.0ms)
127
- Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms)
128
- Started GET "/" for 127.0.0.1 at 2018-12-17 11:57:13 +0000
129
- Processing by ExampleController#index as HTML
130
- Rendered text template (0.0ms)
131
- Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
132
- Started GET "/restricted" for 127.0.0.1 at 2018-12-17 11:57:13 +0000
128
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
129
+ Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:20:41 +0000
133
130
  Processing by ExampleController#restricted as HTML
134
131
  Authenticating with gds_sso strategy
135
132
  Completed in 0ms (ActiveRecord: 0.0ms)
136
- Started GET "/auth/gds" for 127.0.0.1 at 2018-12-17 11:57:13 +0000
137
- Started GET "/auth/gds/callback?code=fd8fc6f7f1a0b7ba4c6c903d39cbd6b8de85a9fc175d8beb49193076ad2c7e28&state=b902db2dc8b2438d8907e601712f7172d4f3cb2b11b89763" for 127.0.0.1 at 2018-12-17 11:57:13 +0000
133
+ Started GET "/auth/gds" for 127.0.0.1 at 2019-07-18 13:20:41 +0000
134
+ Started GET "/auth/gds/callback?code=784118b583090d76be49442132dcb408f1e9129c11b3089ca64dc12ed916541d&state=1846de528ec034693a26abe983d29e72c6c0105c5081efde" for 127.0.0.1 at 2019-07-18 13:20:41 +0000
138
135
  Processing by AuthenticationsController#callback as HTML
139
- Parameters: {"code"=>"fd8fc6f7f1a0b7ba4c6c903d39cbd6b8de85a9fc175d8beb49193076ad2c7e28", "state"=>"b902db2dc8b2438d8907e601712f7172d4f3cb2b11b89763"}
136
+ Parameters: {"code"=>"784118b583090d76be49442132dcb408f1e9129c11b3089ca64dc12ed916541d", "state"=>"1846de528ec034693a26abe983d29e72c6c0105c5081efde"}
140
137
  Authenticating with gds_sso strategy
141
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
142
-  (0.1ms) begin transaction
143
-  (0.1ms) commit transaction
144
-  (0.1ms) begin transaction
145
-  (0.1ms) commit transaction
138
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
139
+  (0.1ms) begin transaction
140
+  (0.1ms) commit transaction
141
+  (0.0ms) begin transaction
142
+  (0.0ms) commit transaction
146
143
  Redirected to http://www.example-client.com/restricted
147
- Completed 302 Found in 9ms (ActiveRecord: 0.8ms)
148
- Started GET "/restricted" for 127.0.0.1 at 2018-12-17 11:57:13 +0000
144
+ Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
145
+ Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:20:41 +0000
149
146
  Processing by ExampleController#restricted as HTML
150
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
147
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
151
148
  Rendered text template (0.0ms)
152
- Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.3ms)
153
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "test@example-client.com"]]
154
-  (0.1ms) begin transaction
155
- SQL (0.4ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 3]]
156
-  (5.8ms) commit transaction
157
- Started GET "/restricted" for 127.0.0.1 at 2018-12-17 11:57:13 +0000
149
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
150
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "test@example-client.com"]]
151
+  (0.1ms) begin transaction
152
+ SQL (0.2ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 2]]
153
+  (26.6ms) commit transaction
154
+ Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:20:41 +0000
158
155
  Processing by ExampleController#restricted as HTML
159
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
156
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
160
157
  Authenticating with gds_sso strategy
161
- Completed in 2ms (ActiveRecord: 0.2ms)
162
- Started GET "/auth/gds" for 127.0.0.1 at 2018-12-17 11:57:13 +0000
163
- Started GET "/auth/gds/callback?code=2ffc6435a36a6f25ab2e87f367553c1ab73f7f1c90d1b0f253ad61008facbab1&state=1f18bb5b259a473ae4fa1d62d20e266f44c479ae72c70b93" for 127.0.0.1 at 2018-12-17 11:57:13 +0000
158
+ Completed in 1ms (ActiveRecord: 0.1ms)
159
+ Started GET "/auth/gds" for 127.0.0.1 at 2019-07-18 13:20:41 +0000
160
+ Started GET "/auth/gds/callback?code=a189adc1df385a1a79f4de65e99268e5cebb68292ae3260303d9dadb75cfc267&state=6aa33b5023a58c9089a85e7644b9252d44a1d1908f2bf0d6" for 127.0.0.1 at 2019-07-18 13:20:41 +0000
164
161
  Processing by AuthenticationsController#callback as HTML
165
- Parameters: {"code"=>"2ffc6435a36a6f25ab2e87f367553c1ab73f7f1c90d1b0f253ad61008facbab1", "state"=>"1f18bb5b259a473ae4fa1d62d20e266f44c479ae72c70b93"}
162
+ Parameters: {"code"=>"a189adc1df385a1a79f4de65e99268e5cebb68292ae3260303d9dadb75cfc267", "state"=>"6aa33b5023a58c9089a85e7644b9252d44a1d1908f2bf0d6"}
166
163
  Authenticating with gds_sso strategy
167
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
168
-  (0.1ms) begin transaction
169
-  (0.1ms) commit transaction
170
-  (0.1ms) begin transaction
171
- SQL (0.4ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "f"], ["id", 3]]
172
-  (6.4ms) commit transaction
164
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
165
+  (0.1ms) begin transaction
166
+  (0.0ms) commit transaction
167
+  (0.0ms) begin transaction
168
+ SQL (0.2ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "f"], ["id", 2]]
169
+  (85.9ms) commit transaction
173
170
  Redirected to http://www.example-client.com/restricted
174
- Completed 302 Found in 16ms (ActiveRecord: 7.4ms)
175
- Started GET "/restricted" for 127.0.0.1 at 2018-12-17 11:57:13 +0000
171
+ Completed 302 Found in 91ms (ActiveRecord: 86.4ms)
172
+ Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:20:41 +0000
176
173
  Processing by ExampleController#restricted as HTML
177
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
174
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
178
175
  Rendered text template (0.0ms)
179
- Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.3ms)
180
- Started GET "/restricted" for 127.0.0.1 at 2018-12-17 11:57:13 +0000
176
+ Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
177
+ Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:20:41 +0000
181
178
  Processing by ExampleController#restricted as HTML
182
179
  Authenticating with gds_sso strategy
183
- Completed in 1ms (ActiveRecord: 0.0ms)
184
- Started GET "/auth/gds" for 127.0.0.1 at 2018-12-17 11:57:13 +0000
185
- Started GET "/auth/gds/callback?code=2bf5952a934130ede8063814ca247d2226f51ad22d955167bad0ffdde83701ee&state=cda9f4d95c1c08b2eb8ffe723bbccdff2fa5fa67cae24db0" for 127.0.0.1 at 2018-12-17 11:57:14 +0000
180
+ Completed in 0ms (ActiveRecord: 0.0ms)
181
+ Started GET "/auth/gds" for 127.0.0.1 at 2019-07-18 13:20:41 +0000
182
+ Started GET "/auth/gds/callback?code=592bfd178a8308a0f8a705fd0f2b90e8b7f6fa1859d298c409edd939c67fc879&state=2b0daf05e92b8f209d308044afe46f9bd341310b25e2c142" for 127.0.0.1 at 2019-07-18 13:20:42 +0000
186
183
  Processing by AuthenticationsController#callback as HTML
187
- Parameters: {"code"=>"2bf5952a934130ede8063814ca247d2226f51ad22d955167bad0ffdde83701ee", "state"=>"cda9f4d95c1c08b2eb8ffe723bbccdff2fa5fa67cae24db0"}
184
+ Parameters: {"code"=>"592bfd178a8308a0f8a705fd0f2b90e8b7f6fa1859d298c409edd939c67fc879", "state"=>"2b0daf05e92b8f209d308044afe46f9bd341310b25e2c142"}
188
185
  Authenticating with gds_sso strategy
189
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
190
-  (0.1ms) begin transaction
191
-  (0.1ms) commit transaction
192
-  (0.1ms) begin transaction
193
-  (0.1ms) commit transaction
186
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
187
+  (0.1ms) begin transaction
188
+  (0.0ms) commit transaction
189
+  (0.0ms) begin transaction
190
+  (0.0ms) commit transaction
194
191
  Redirected to http://www.example-client.com/restricted
195
- Completed 302 Found in 8ms (ActiveRecord: 0.7ms)
196
- Started GET "/restricted" for 127.0.0.1 at 2018-12-17 11:57:14 +0000
192
+ Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
193
+ Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:20:42 +0000
197
194
  Processing by ExampleController#restricted as HTML
198
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
195
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
199
196
  Rendered text template (0.0ms)
200
- Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.3ms)
201
- Started GET "/restricted" for 127.0.0.1 at 2018-12-18 08:02:14 +0000
197
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
198
+ Started GET "/restricted" for 127.0.0.1 at 2019-07-19 09:25:42 +0000
202
199
  Processing by ExampleController#restricted as HTML
203
200
  Authenticating with gds_sso strategy
204
201
  Completed in 1ms (ActiveRecord: 0.0ms)
205
- Started GET "/auth/gds" for 127.0.0.1 at 2018-12-18 08:02:14 +0000
206
- Started GET "/auth/gds/callback?code=98ec63311f1d1320701fc05dd596b1f05c951cf4c6a9a61d0e3d62bb15de42eb&state=be4ed8825042cb77f19f00b1f106105e5acdcc463c06f019" for 127.0.0.1 at 2018-12-18 08:02:14 +0000
202
+ Started GET "/auth/gds" for 127.0.0.1 at 2019-07-19 09:25:42 +0000
203
+ Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:20:42 +0000
204
+ Processing by ExampleController#restricted as HTML
205
+ Authenticating with gds_sso strategy
206
+ Completed in 0ms (ActiveRecord: 0.0ms)
207
+ Started GET "/auth/gds" for 127.0.0.1 at 2019-07-18 13:20:42 +0000
208
+ Started GET "/auth/gds/callback?code=7111ec79675d5bb4bdb3ceb6f938c6a57123044030c297e2d51686e8a0c808d3&state=216200e7750683bffb550477564c990af5836c0899fd389e" for 127.0.0.1 at 2019-07-18 13:20:42 +0000
207
209
  Processing by AuthenticationsController#callback as HTML
208
- Parameters: {"code"=>"98ec63311f1d1320701fc05dd596b1f05c951cf4c6a9a61d0e3d62bb15de42eb", "state"=>"be4ed8825042cb77f19f00b1f106105e5acdcc463c06f019"}
210
+ Parameters: {"code"=>"7111ec79675d5bb4bdb3ceb6f938c6a57123044030c297e2d51686e8a0c808d3", "state"=>"216200e7750683bffb550477564c990af5836c0899fd389e"}
209
211
  Authenticating with gds_sso strategy
210
- User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
211
-  (0.1ms) begin transaction
212
-  (0.1ms) commit transaction
213
-  (0.1ms) begin transaction
214
-  (0.2ms) commit transaction
212
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
213
+  (0.1ms) begin transaction
214
+  (0.1ms) commit transaction
215
+  (0.0ms) begin transaction
216
+  (0.1ms) commit transaction
215
217
  Redirected to http://www.example-client.com/restricted
216
- Completed 302 Found in 8ms (ActiveRecord: 0.9ms)
217
- Started GET "/restricted" for 127.0.0.1 at 2018-12-18 08:02:14 +0000
218
+ Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
219
+ Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:20:42 +0000
218
220
  Processing by ExampleController#restricted as HTML
219
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
221
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
220
222
  Rendered text template (0.0ms)
221
- Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.3ms)
222
- Started GET "/restricted" for 127.0.0.1 at 2018-12-17 11:57:14 +0000
223
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
224
+ Started GET "/restricted" for 127.0.0.1 at 2019-07-19 09:15:42 +0000
225
+ Processing by ExampleController#restricted as HTML
226
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
227
+ Rendered text template (0.1ms)
228
+ Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
229
+ Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:20:42 +0000
223
230
  Processing by ExampleController#restricted as HTML
224
231
  Authenticating with gds_sso strategy
225
- Completed in 1ms (ActiveRecord: 0.0ms)
226
- Started GET "/auth/gds" for 127.0.0.1 at 2018-12-17 11:57:14 +0000
227
- Started GET "/auth/gds/callback?code=daa8018c617fd05a6eee99f41cd8e7f71daed2b1d5a006ad1a7ec84178a3ee46&state=c6036a21ae05f8b5596de6cf2b881241054c6e1ad2389c9d" for 127.0.0.1 at 2018-12-17 11:57:14 +0000
232
+ Completed in 0ms (ActiveRecord: 0.0ms)
233
+ Started GET "/auth/gds" for 127.0.0.1 at 2019-07-18 13:20:42 +0000
234
+ Started GET "/auth/gds/callback?code=f85feda8636fbaef2971fb12f5e4319c098feae537b7a0a24abefd4e35f2d624&state=3de3d1c0576fd8df13d4437203dc72d3dab7107fc87e1bb9" for 127.0.0.1 at 2019-07-18 13:20:42 +0000
228
235
  Processing by AuthenticationsController#callback as HTML
229
- Parameters: {"code"=>"daa8018c617fd05a6eee99f41cd8e7f71daed2b1d5a006ad1a7ec84178a3ee46", "state"=>"c6036a21ae05f8b5596de6cf2b881241054c6e1ad2389c9d"}
236
+ Parameters: {"code"=>"f85feda8636fbaef2971fb12f5e4319c098feae537b7a0a24abefd4e35f2d624", "state"=>"3de3d1c0576fd8df13d4437203dc72d3dab7107fc87e1bb9"}
230
237
  Authenticating with gds_sso strategy
231
- User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
232
-  (0.1ms) begin transaction
233
-  (0.1ms) commit transaction
238
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
234
239
   (0.1ms) begin transaction
235
-  (0.1ms) commit transaction
240
+  (0.0ms) commit transaction
241
+  (0.0ms) begin transaction
242
+  (0.0ms) commit transaction
236
243
  Redirected to http://www.example-client.com/restricted
237
- Completed 302 Found in 14ms (ActiveRecord: 0.8ms)
238
- Started GET "/restricted" for 127.0.0.1 at 2018-12-17 11:57:14 +0000
244
+ Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
245
+ Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:20:42 +0000
239
246
  Processing by ExampleController#restricted as HTML
240
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
247
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
241
248
  Rendered text template (0.0ms)
242
- Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.3ms)
243
- Started GET "/restricted" for 127.0.0.1 at 2018-12-18 08:02:14 +0000
249
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
250
+ Started GET "/restricted" for 127.0.0.1 at 2019-07-19 09:25:42 +0000
244
251
  Processing by ExampleController#restricted as HTML
245
252
  Authenticating with gds_sso strategy
246
253
  Completed in 1ms (ActiveRecord: 0.0ms)
247
- Started GET "/auth/gds" for 127.0.0.1 at 2018-12-18 08:02:14 +0000
248
- Started GET "/restricted" for 127.0.0.1 at 2018-12-17 11:57:14 +0000
249
- Processing by ExampleController#restricted as HTML
250
- Authenticating with gds_sso strategy
251
- Completed in 1ms (ActiveRecord: 0.0ms)
252
- Started GET "/auth/gds" for 127.0.0.1 at 2018-12-17 11:57:14 +0000
253
- Started GET "/auth/gds/callback?code=2ac7bc9cd0295e4afd4e0995fa5a96bfd2650a404841e14b3589efa5c75f36af&state=1cca2b49494fe16d3e61387db9dcc7af41504c4ddf75d69b" for 127.0.0.1 at 2018-12-17 11:57:15 +0000
254
+ Started GET "/auth/gds" for 127.0.0.1 at 2019-07-19 09:25:42 +0000
255
+ Started GET "/auth/gds/callback?code=e8d44a09bf41edf3e448713122ec214cf2718a2a0f0011a30753966bcb8daf74&state=35b5dd0527e23f7f94b4434871a1088b5582e022c39bcb4a" for 127.0.0.1 at 2019-07-19 09:25:42 +0000
254
256
  Processing by AuthenticationsController#callback as HTML
255
- Parameters: {"code"=>"2ac7bc9cd0295e4afd4e0995fa5a96bfd2650a404841e14b3589efa5c75f36af", "state"=>"1cca2b49494fe16d3e61387db9dcc7af41504c4ddf75d69b"}
257
+ Parameters: {"code"=>"e8d44a09bf41edf3e448713122ec214cf2718a2a0f0011a30753966bcb8daf74", "state"=>"35b5dd0527e23f7f94b4434871a1088b5582e022c39bcb4a"}
256
258
  Authenticating with gds_sso strategy
257
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
258
-  (0.2ms) begin transaction
259
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
260
+  (0.1ms) begin transaction
259
261
   (0.1ms) commit transaction
260
262
   (0.1ms) begin transaction
261
263
   (0.1ms) commit transaction
262
264
  Redirected to http://www.example-client.com/restricted
263
- Completed 302 Found in 9ms (ActiveRecord: 0.8ms)
264
- Started GET "/restricted" for 127.0.0.1 at 2018-12-17 11:57:15 +0000
265
+ Completed 302 Found in 5ms (ActiveRecord: 0.5ms)
266
+ Started GET "/restricted" for 127.0.0.1 at 2019-07-19 09:25:42 +0000
265
267
  Processing by ExampleController#restricted as HTML
266
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
268
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
267
269
  Rendered text template (0.0ms)
268
- Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.3ms)
269
- Started GET "/restricted" for 127.0.0.1 at 2018-12-18 07:52:15 +0000
270
- Processing by ExampleController#restricted as HTML
271
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
272
- Rendered text template (0.1ms)
273
- Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.3ms)
274
- Started GET "/restricted" for 127.0.0.1 at 2018-12-17 11:57:15 +0000
270
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
271
+ Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:20:42 +0000
275
272
  Processing by ExampleController#restricted as JSON
276
- User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
277
-  (0.1ms) begin transaction
278
- SQL (0.6ms) UPDATE "users" SET "disabled" = ? WHERE "users"."id" = ? [["disabled", nil], ["id", 3]]
279
-  (8.1ms) commit transaction
280
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
281
-  (0.3ms) begin transaction
282
-  (0.1ms) commit transaction
283
- CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
273
+ Completed in 14ms (ActiveRecord: 0.0ms)
274
+ Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:20:42 +0000
275
+ Processing by ExampleController#restricted as JSON
276
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
284
277
   (0.1ms) begin transaction
285
-  (0.1ms) commit transaction
278
+ SQL (0.2ms) UPDATE "users" SET "disabled" = ? WHERE "users"."id" = ? [["disabled", nil], ["id", 2]]
279
+  (5.4ms) commit transaction
280
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
281
+  (0.1ms) begin transaction
282
+  (0.0ms) commit transaction
286
283
  CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
287
284
   (0.1ms) begin transaction
288
-  (0.1ms) commit transaction
289
-  (0.1ms) begin transaction
290
-  (0.1ms) commit transaction
285
+  (0.0ms) commit transaction
286
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
287
+  (0.1ms) begin transaction
288
+  (0.0ms) commit transaction
289
+  (0.0ms) begin transaction
290
+  (0.0ms) commit transaction
291
291
  Rendered text template (0.0ms)
292
- Completed 200 OK in 148ms (Views: 0.5ms | ActiveRecord: 10.6ms)
293
- Started GET "/restricted" for 127.0.0.1 at 2018-12-17 11:57:15 +0000
294
- Processing by ExampleController#restricted as JSON
295
- Completed in 55ms (ActiveRecord: 0.0ms)
296
- Started GET "/restricted" for 127.0.0.1 at 2018-12-17 11:57:15 +0000
297
- Processing by ExampleController#restricted as JSON
298
- Completed in 32ms (ActiveRecord: 0.0ms)
299
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2018-12-17 11:57:15 +0000
292
+ Completed 200 OK in 65ms (Views: 0.3ms | ActiveRecord: 6.4ms)
293
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-07-18 13:20:42 +0000
300
294
  Processing by ExampleController#this_requires_signin_permission as JSON
301
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
302
-  (0.1ms) begin transaction
303
-  (0.1ms) commit transaction
304
- CACHE (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
305
-  (0.2ms) begin transaction
306
-  (0.1ms) commit transaction
295
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
296
+  (0.1ms) begin transaction
297
+  (0.0ms) commit transaction
307
298
  CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
308
-  (0.2ms) begin transaction
309
-  (0.1ms) commit transaction
299
+  (0.0ms) begin transaction
300
+  (0.0ms) commit transaction
310
301
  CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
311
302
   (0.1ms) begin transaction
312
-  (0.1ms) commit transaction
313
-  (0.1ms) begin transaction
314
-  (0.1ms) commit transaction
303
+  (0.0ms) commit transaction
304
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
305
+  (0.1ms) begin transaction
306
+  (0.0ms) commit transaction
307
+  (0.0ms) begin transaction
308
+  (0.0ms) commit transaction
315
309
  Rendered text template (0.0ms)
316
- Completed 200 OK in 157ms (Views: 0.5ms | ActiveRecord: 1.5ms)
317
- Started GET "/restricted" for 127.0.0.1 at 2018-12-17 11:57:15 +0000
318
- Processing by ExampleController#restricted as HTML
319
- Authenticating with gds_sso strategy
320
- Completed in 1ms (ActiveRecord: 0.0ms)
310
+ Completed 200 OK in 56ms (Views: 0.3ms | ActiveRecord: 0.7ms)
311
+ Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:20:42 +0000
312
+ Processing by ExampleController#restricted as JSON
313
+ Completed in 20ms (ActiveRecord: 0.0ms)
314
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "dummyapiuser@domain.com"]]
321
315
   (0.1ms) begin transaction
322
- SQL (0.4ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d36852"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
323
-  (7.7ms) commit transaction
316
+ SQL (0.3ms) INSERT INTO "users" ("email", "uid", "name", "permissions") VALUES (?, ?, ?, ?) [["email", "dummyapiuser@domain.com"], ["uid", "8602"], ["name", "Dummy API user created by gds-sso"], ["permissions", "---\n- signin\n"]]
317
+  (13.6ms) commit transaction
324
318
   (0.1ms) begin transaction
325
- SQL (0.4ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d3458"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
326
-  (5.4ms) commit transaction
319
+ SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = ? [["permissions", "---\n- signin\n- extra_permission\n"], ["id", 3]]
320
+  (4.7ms) commit transaction
321
+  (0.1ms) begin transaction
322
+ SQL (0.2ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d34463"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
323
+  (6.0ms) commit transaction
324
+  (0.0ms) begin transaction
325
+ SQL (0.2ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d38090"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
326
+  (5.0ms) commit transaction
327
327
  Processing by Api::UserController#update as HTML
328
- Parameters: {"uid"=>"a1s2d36852"}
328
+ Parameters: {"uid"=>"a1s2d34463"}
329
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "a1s2d34463"]]
330
+  (0.0ms) begin transaction
331
+ SQL (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", 4]]
332
+  (4.4ms) commit transaction
333
+ Completed 200 OK in 8ms (ActiveRecord: 4.8ms)
334
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]]
335
+  (0.0ms) begin transaction
336
+ SQL (0.2ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d39485"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
337
+  (4.8ms) commit transaction
338
+  (0.0ms) begin transaction
339
+ SQL (0.2ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d36642"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
340
+  (5.6ms) commit transaction
341
+ Processing by Api::UserController#update as HTML
342
+ Parameters: {"uid"=>"a1s2d39485"}
329
343
  Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
330
- Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.5ms)
344
+ Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
331
345
  Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
332
- Completed 403 Forbidden in 15ms (Views: 14.4ms | ActiveRecord: 0.0ms)
333
-  (0.2ms) begin transaction
334
- SQL (0.4ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d38337"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
335
-  (4.6ms) commit transaction
336
-  (0.1ms) begin transaction
337
- SQL (0.5ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d34466"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
338
-  (9.7ms) commit transaction
339
- Processing by Api::UserController#update as HTML
340
- Parameters: {"uid"=>"a1s2d38337"}
341
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "a1s2d38337"]]
342
-  (2.0ms) begin transaction
343
- SQL (0.5ms) 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", 6]]
344
-  (6.0ms) commit transaction
345
- Completed 200 OK in 15ms (ActiveRecord: 8.8ms)
346
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 6]]
347
-  (0.1ms) begin transaction
348
- SQL (0.7ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d3425"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
349
-  (5.0ms) commit transaction
350
-  (0.1ms) begin transaction
351
- SQL (0.4ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d39508"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
352
-  (3.5ms) commit transaction
346
+ Completed 403 Forbidden in 8ms (Views: 7.5ms | ActiveRecord: 0.0ms)
347
+  (0.0ms) begin transaction
348
+ SQL (0.2ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d3420"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
349
+  (4.2ms) commit transaction
350
+  (0.0ms) begin transaction
351
+ SQL (0.2ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d39997"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
352
+  (4.8ms) commit transaction
353
353
  Processing by Api::UserController#reauth as HTML
354
- Parameters: {"uid"=>"a1s2d3425"}
354
+ Parameters: {"uid"=>"a1s2d3420"}
355
355
  Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
356
- Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.4ms)
356
+ Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.3ms)
357
357
  Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
358
- Completed 403 Forbidden in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms)
359
-  (0.1ms) begin transaction
360
- SQL (0.5ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d35448"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
361
-  (4.7ms) commit transaction
362
-  (0.1ms) begin transaction
363
- SQL (0.6ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d35123"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
364
-  (5.3ms) commit transaction
365
- Processing by Api::UserController#reauth as HTML
366
- Parameters: {"uid"=>"a1s2d35448"}
367
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "a1s2d35448"]]
368
-  (0.1ms) begin transaction
369
- SQL (0.3ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 10]]
370
-  (4.5ms) commit transaction
371
- Completed 200 OK in 9ms (ActiveRecord: 5.1ms)
372
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 10]]
373
-  (0.1ms) begin transaction
374
- SQL (0.4ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d39462"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
375
-  (4.5ms) commit transaction
376
-  (0.1ms) begin transaction
377
- SQL (0.4ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d3712"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
378
-  (4.1ms) commit transaction
358
+ Completed 403 Forbidden in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
359
+  (0.0ms) begin transaction
360
+ SQL (0.2ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d35084"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
361
+  (3.4ms) commit transaction
362
+  (0.0ms) begin transaction
363
+ SQL (0.2ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d39027"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
364
+  (3.3ms) commit transaction
379
365
  Processing by Api::UserController#reauth as HTML
380
366
  Parameters: {"uid"=>"nonexistent-user"}
381
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "nonexistent-user"]]
382
- Completed 200 OK in 1ms (ActiveRecord: 0.2ms)
383
-  (0.3ms) DROP TABLE IF EXISTS "users"
384
-  (3.1ms) SELECT sqlite_version(*)
385
-  (6.7ms) 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')
386
-  (4.4ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
387
- ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
367
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "nonexistent-user"]]
368
+ Completed 200 OK in 1ms (ActiveRecord: 0.1ms)
369
+  (0.0ms) begin transaction
370
+ SQL (0.2ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d33305"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
371
+  (6.0ms) commit transaction
372
+  (0.0ms) begin transaction
373
+ SQL (0.2ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d39773"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
374
+  (6.5ms) commit transaction
375
+ Processing by Api::UserController#reauth as HTML
376
+ Parameters: {"uid"=>"a1s2d33305"}
377
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "a1s2d33305"]]
378
+  (0.0ms) begin transaction
379
+ SQL (0.2ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 12]]
380
+  (4.3ms) commit transaction
381
+ Completed 200 OK in 7ms (ActiveRecord: 4.7ms)
382
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 12]]
383
+  (0.1ms) DROP TABLE IF EXISTS "users"
384
+  (1.5ms) SELECT sqlite_version(*)
385
+  (49.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 'f')
386
+  (27.3ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
387
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
388
+  (0.1ms) begin transaction
389
+ ActiveRecord::InternalMetadata Create (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2019-07-18 13:20:52.152457"], ["updated_at", "2019-07-18 13:20:52.152457"]]
390
+  (26.7ms) commit transaction
391
+  (28.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
392
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
388
393
   (0.1ms) begin transaction
389
- ActiveRecord::InternalMetadata Create (0.5ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2018-12-17 11:57:28.845671"], ["updated_at", "2018-12-17 11:57:28.845671"]]
390
-  (4.6ms) commit transaction
391
-  (4.4ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
392
- ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
394
+  (0.1ms) commit transaction
395
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "asd"], ["LIMIT", 1]]
396
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "user@example.com"], ["LIMIT", 1]]
393
397
   (0.1ms) begin transaction
398
+ User Create (0.3ms) 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]]
399
+  (8.5ms) commit transaction
400
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "asd"], ["LIMIT", 1]]
401
+  (0.0ms) begin transaction
394
402
   (0.1ms) commit transaction
395
- Started GET "/" for 127.0.0.1 at 2018-12-17 11:57:29 +0000
396
- Processing by ExampleController#index as HTML
397
- Rendering text template
398
- Rendered text template (0.0ms)
399
- Completed 200 OK in 9ms (Views: 8.3ms | ActiveRecord: 0.0ms)
400
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2018-12-17 11:57:29 +0000
403
+  (0.0ms) begin transaction
404
+ User Create (0.3ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d36257"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
405
+  (4.8ms) commit transaction
406
+  (0.1ms) begin transaction
407
+ User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d35645"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
408
+  (5.9ms) commit transaction
409
+ Processing by Api::UserController#reauth as HTML
410
+ Parameters: {"uid"=>"a1s2d36257"}
411
+ Rendering /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
412
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
413
+ Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
414
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
415
+ Completed 403 Forbidden in 9ms (Views: 8.5ms | ActiveRecord: 0.0ms)
416
+  (0.1ms) begin transaction
417
+ User Create (0.3ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d3640"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
418
+  (5.8ms) commit transaction
419
+  (0.0ms) begin transaction
420
+ User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d34330"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
421
+  (5.8ms) commit transaction
422
+ Processing by Api::UserController#reauth as HTML
423
+ Parameters: {"uid"=>"a1s2d3640"}
424
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "a1s2d3640"], ["LIMIT", 1]]
425
+  (0.1ms) begin transaction
426
+ User Update (0.2ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 4]]
427
+  (6.2ms) commit transaction
428
+ Completed 200 OK in 9ms (ActiveRecord: 6.6ms)
429
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]]
430
+  (0.1ms) begin transaction
431
+ User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d38729"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
432
+  (17.6ms) commit transaction
433
+  (0.0ms) begin transaction
434
+ User Create (0.3ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d36711"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
435
+  (3.7ms) commit transaction
436
+ Processing by Api::UserController#reauth as HTML
437
+ Parameters: {"uid"=>"nonexistent-user"}
438
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "nonexistent-user"], ["LIMIT", 1]]
439
+ Completed 200 OK in 1ms (ActiveRecord: 0.1ms)
440
+  (0.1ms) begin transaction
441
+ User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d37027"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
442
+  (6.7ms) commit transaction
443
+  (0.0ms) begin transaction
444
+ User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d35089"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
445
+  (4.8ms) commit transaction
446
+ Processing by Api::UserController#update as HTML
447
+ Parameters: {"uid"=>"a1s2d37027"}
448
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "a1s2d37027"], ["LIMIT", 1]]
449
+  (0.1ms) begin transaction
450
+ 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", 8]]
451
+  (4.7ms) commit transaction
452
+ Completed 200 OK in 8ms (ActiveRecord: 5.1ms)
453
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 8], ["LIMIT", 1]]
454
+  (0.1ms) begin transaction
455
+ User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d38493"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
456
+  (5.4ms) commit transaction
457
+  (0.1ms) begin transaction
458
+ User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d32185"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
459
+  (10.4ms) commit transaction
460
+ Processing by Api::UserController#update as HTML
461
+ Parameters: {"uid"=>"a1s2d38493"}
462
+ Rendering /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
463
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
464
+ Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
465
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
466
+ Completed 403 Forbidden in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)
467
+ Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:20:52 +0000
468
+ Processing by ExampleController#restricted as HTML
469
+ Authenticating with gds_sso strategy
470
+ Completed in 5ms (ActiveRecord: 0.0ms)
471
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-07-18 13:20:53 +0000
401
472
  Processing by ExampleController#this_requires_signin_permission as HTML
402
473
  Authenticating with gds_sso strategy
403
- Completed in 10ms (ActiveRecord: 0.0ms)
404
- Started GET "/auth/gds" for 127.0.0.1 at 2018-12-17 11:57:29 +0000
405
- Started GET "/auth/gds/callback?code=c32df0e77f35f70e7b6ec0a4e6b8a2e19ba8ac99f4ee487ca3e10579178942f9&state=350eee1903c8692b588c653932f096224a98e6d9cebb4ad7" for 127.0.0.1 at 2018-12-17 11:57:30 +0000
474
+ Completed in 0ms (ActiveRecord: 0.0ms)
475
+ Started GET "/auth/gds" for 127.0.0.1 at 2019-07-18 13:20:53 +0000
476
+ Started GET "/auth/gds/callback?code=4d99a0f025395eeb7c62b53599529f2c19b1ff934bc3854207c3dd7ba5d9af8e&state=414f80cb8313cbe357b402e348704cc9804963994402ad00" for 127.0.0.1 at 2019-07-18 13:20:53 +0000
406
477
  Processing by AuthenticationsController#callback as HTML
407
- Parameters: {"code"=>"c32df0e77f35f70e7b6ec0a4e6b8a2e19ba8ac99f4ee487ca3e10579178942f9", "state"=>"350eee1903c8692b588c653932f096224a98e6d9cebb4ad7"}
478
+ Parameters: {"code"=>"4d99a0f025395eeb7c62b53599529f2c19b1ff934bc3854207c3dd7ba5d9af8e", "state"=>"414f80cb8313cbe357b402e348704cc9804963994402ad00"}
408
479
  Authenticating with gds_sso strategy
409
- User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
410
- User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "test@example-client.com"], ["LIMIT", 1]]
411
-  (0.2ms) begin transaction
412
- User Create (0.8ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Test User"], ["uid", "integration-uid"], ["email", "test@example-client.com"], ["permissions", "---\n- signin\n"]]
413
-  (7.1ms) commit transaction
480
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
481
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "test@example-client.com"], ["LIMIT", 1]]
414
482
   (0.1ms) begin transaction
415
- User Update (0.7ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "f"], ["id", 1]]
416
-  (3.6ms) commit transaction
483
+ User Create (0.3ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Test User"], ["uid", "integration-uid"], ["email", "test@example-client.com"], ["permissions", "---\n- signin\n"]]
484
+  (9.0ms) commit transaction
485
+  (0.0ms) begin transaction
486
+ User Update (0.2ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "f"], ["id", 12]]
487
+  (13.5ms) commit transaction
417
488
  Redirected to http://www.example-client.com/this_requires_signin_permission
418
- Completed 302 Found in 61ms (ActiveRecord: 15.9ms)
419
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2018-12-17 11:57:30 +0000
489
+ Completed 302 Found in 28ms (ActiveRecord: 23.4ms)
490
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-07-18 13:20:53 +0000
420
491
  Processing by ExampleController#this_requires_signin_permission as HTML
421
- User Load (0.6ms) 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]]
492
+ 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]]
422
493
  Rendering text template
423
494
  Rendered text template (0.0ms)
424
- Completed 200 OK in 5ms (Views: 0.7ms | ActiveRecord: 0.6ms)
425
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2018-12-17 11:57:30 +0000
495
+ Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.2ms)
496
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-07-18 13:20:53 +0000
426
497
  Processing by ExampleController#this_requires_signin_permission as HTML
427
498
  Authenticating with gds_sso strategy
428
- Completed in 1ms (ActiveRecord: 0.0ms)
429
- Started GET "/auth/gds" for 127.0.0.1 at 2018-12-17 11:57:30 +0000
430
- Started GET "/auth/gds/callback?code=396438fd926b8d609445524124b97320d14ce8fa96c09bf0cbde171216094117&state=921e97297d8617e325349e63fddc89806dc7df125497fcd1" for 127.0.0.1 at 2018-12-17 11:57:30 +0000
499
+ Completed in 0ms (ActiveRecord: 0.0ms)
500
+ Started GET "/auth/gds" for 127.0.0.1 at 2019-07-18 13:20:53 +0000
501
+ Started GET "/auth/gds/callback?code=10277d28085e87477266a3fa396866f1bde0193be130a09b01346b742c42799f&state=6416e65181e599096e87d30e8496161aec3a2ba5e8f5aa9a" for 127.0.0.1 at 2019-07-18 13:20:53 +0000
431
502
  Processing by AuthenticationsController#callback as HTML
432
- Parameters: {"code"=>"396438fd926b8d609445524124b97320d14ce8fa96c09bf0cbde171216094117", "state"=>"921e97297d8617e325349e63fddc89806dc7df125497fcd1"}
503
+ Parameters: {"code"=>"10277d28085e87477266a3fa396866f1bde0193be130a09b01346b742c42799f", "state"=>"6416e65181e599096e87d30e8496161aec3a2ba5e8f5aa9a"}
433
504
  Authenticating with gds_sso strategy
434
- User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
435
-  (10.3ms) begin transaction
436
-  (0.1ms) commit transaction
505
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
437
506
   (0.1ms) begin transaction
438
507
   (0.1ms) commit transaction
508
+  (0.0ms) begin transaction
509
+  (0.1ms) commit transaction
439
510
  Redirected to http://www.example-client.com/this_requires_signin_permission
440
- Completed 302 Found in 18ms (ActiveRecord: 11.1ms)
441
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2018-12-17 11:57:30 +0000
511
+ Completed 302 Found in 11ms (ActiveRecord: 0.4ms)
512
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-07-18 13:20:53 +0000
442
513
  Processing by ExampleController#this_requires_signin_permission as HTML
443
- User Load (0.4ms) 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]]
514
+ User Load (1.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]]
444
515
  Rendering text template
445
516
  Rendered text template (0.0ms)
446
- Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.4ms)
447
- Started GET "/restricted" for 127.0.0.1 at 2018-12-17 11:57:30 +0000
517
+ Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 1.2ms)
518
+ Started GET "/" for 127.0.0.1 at 2019-07-18 13:20:53 +0000
519
+ Processing by ExampleController#index as HTML
520
+ Rendering text template
521
+ Rendered text template (0.0ms)
522
+ Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
523
+ Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:20:53 +0000
448
524
  Processing by ExampleController#restricted as HTML
449
525
  Authenticating with gds_sso strategy
450
526
  Completed in 0ms (ActiveRecord: 0.0ms)
451
- Started GET "/auth/gds" for 127.0.0.1 at 2018-12-17 11:57:30 +0000
452
- Started GET "/auth/gds/callback?code=888638c5bc11c99b8980dc6ea90c6c3e768b44ad3612446547bb7377dab2a878&state=8a3105453b2377c8ae54b5ece3eec747e8abbe869f54e4cc" for 127.0.0.1 at 2018-12-17 11:57:30 +0000
527
+ Started GET "/auth/gds" for 127.0.0.1 at 2019-07-18 13:20:53 +0000
528
+ Started GET "/auth/gds/callback?code=8e727176b05c769d3ea2442ebd48d28733362aa2ffda67582cb058e19127e7f8&state=e32332b872012573cacb3137b7ed831a2327d41233e347be" for 127.0.0.1 at 2019-07-18 13:20:53 +0000
453
529
  Processing by AuthenticationsController#callback as HTML
454
- Parameters: {"code"=>"888638c5bc11c99b8980dc6ea90c6c3e768b44ad3612446547bb7377dab2a878", "state"=>"8a3105453b2377c8ae54b5ece3eec747e8abbe869f54e4cc"}
530
+ Parameters: {"code"=>"8e727176b05c769d3ea2442ebd48d28733362aa2ffda67582cb058e19127e7f8", "state"=>"e32332b872012573cacb3137b7ed831a2327d41233e347be"}
455
531
  Authenticating with gds_sso strategy
456
- User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
532
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
457
533
   (0.1ms) begin transaction
458
-  (0.1ms) commit transaction
534
+  (0.0ms) commit transaction
459
535
   (0.1ms) begin transaction
460
-  (0.1ms) commit transaction
536
+  (0.0ms) commit transaction
461
537
  Redirected to http://www.example-client.com/restricted
462
- Completed 302 Found in 8ms (ActiveRecord: 1.0ms)
463
- Started GET "/restricted" for 127.0.0.1 at 2018-12-17 11:57:31 +0000
538
+ Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
539
+ Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:20:53 +0000
464
540
  Processing by ExampleController#restricted as HTML
465
- User Load (0.5ms) 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]]
541
+ 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]]
466
542
  Rendering text template
467
543
  Rendered text template (0.0ms)
468
- Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.5ms)
469
- Started GET "/restricted" for 127.0.0.1 at 2018-12-17 11:57:31 +0000
544
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
545
+ Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:20:53 +0000
470
546
  Processing by ExampleController#restricted as HTML
471
547
  Authenticating with gds_sso strategy
472
548
  Completed in 0ms (ActiveRecord: 0.0ms)
473
- Started GET "/auth/gds" for 127.0.0.1 at 2018-12-17 11:57:31 +0000
474
- Started GET "/auth/gds/callback?code=f6b2f91ff76ad9646d843b7bbad8224205be7a1f88a7336dbac25762a7736602&state=e5a840c5a35498327123f823064df0bb752e31d47e000961" for 127.0.0.1 at 2018-12-17 11:57:31 +0000
549
+ Started GET "/auth/gds" for 127.0.0.1 at 2019-07-18 13:20:53 +0000
550
+ Started GET "/auth/gds/callback?code=04f62a225a67e39c611275b4161fec63c8516f0b093d7d597a9069760fb71b78&state=a864cb7069d1818eaf19f6af75e68bc3b4085ec64b08e035" for 127.0.0.1 at 2019-07-18 13:20:53 +0000
475
551
  Processing by AuthenticationsController#callback as HTML
476
- Parameters: {"code"=>"f6b2f91ff76ad9646d843b7bbad8224205be7a1f88a7336dbac25762a7736602", "state"=>"e5a840c5a35498327123f823064df0bb752e31d47e000961"}
552
+ Parameters: {"code"=>"04f62a225a67e39c611275b4161fec63c8516f0b093d7d597a9069760fb71b78", "state"=>"a864cb7069d1818eaf19f6af75e68bc3b4085ec64b08e035"}
477
553
  Authenticating with gds_sso strategy
478
- User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
554
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
479
555
   (0.1ms) begin transaction
480
-  (0.1ms) commit transaction
481
-  (0.1ms) begin transaction
482
-  (0.1ms) commit transaction
556
+  (0.0ms) commit transaction
557
+  (0.0ms) begin transaction
558
+  (0.0ms) commit transaction
483
559
  Redirected to http://www.example-client.com/restricted
484
- Completed 302 Found in 6ms (ActiveRecord: 0.8ms)
485
- Started GET "/restricted" for 127.0.0.1 at 2018-12-17 11:57:31 +0000
560
+ Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
561
+ Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:20:53 +0000
486
562
  Processing by ExampleController#restricted as HTML
487
- User Load (0.3ms) 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]]
563
+ 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]]
488
564
  Rendering text template
489
565
  Rendered text template (0.0ms)
490
- Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.3ms)
491
- Started GET "/restricted" for 127.0.0.1 at 2018-12-17 11:57:31 +0000
566
+ Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.1ms)
567
+ Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:20:53 +0000
492
568
  Processing by ExampleController#restricted as HTML
493
569
  Authenticating with gds_sso strategy
494
570
  Completed in 0ms (ActiveRecord: 0.0ms)
495
- Started GET "/auth/gds" for 127.0.0.1 at 2018-12-17 11:57:31 +0000
496
- Started GET "/auth/gds/callback?code=e0023b0137d66c9d55cae8bd3e6f1bdd477f10bf5320381209af527076f2ed80&state=d8c48ca1b73126a078d14a4cedcf66602338ad57ef77b4e2" for 127.0.0.1 at 2018-12-17 11:57:31 +0000
571
+ Started GET "/auth/gds" for 127.0.0.1 at 2019-07-18 13:20:53 +0000
572
+ Started GET "/auth/gds/callback?code=6d6fe48eeabc52238549d4fd542281a995719a985bff7e1060d759e2636a0d8f&state=21b3d7eb9d9b1520db878258b0e340fcf2f3bfcb445713bd" for 127.0.0.1 at 2019-07-18 13:20:53 +0000
497
573
  Processing by AuthenticationsController#callback as HTML
498
- Parameters: {"code"=>"e0023b0137d66c9d55cae8bd3e6f1bdd477f10bf5320381209af527076f2ed80", "state"=>"d8c48ca1b73126a078d14a4cedcf66602338ad57ef77b4e2"}
574
+ Parameters: {"code"=>"6d6fe48eeabc52238549d4fd542281a995719a985bff7e1060d759e2636a0d8f", "state"=>"21b3d7eb9d9b1520db878258b0e340fcf2f3bfcb445713bd"}
499
575
  Authenticating with gds_sso strategy
500
- User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
576
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
501
577
   (0.1ms) begin transaction
502
578
   (0.1ms) commit transaction
503
-  (0.1ms) begin transaction
579
+  (0.0ms) begin transaction
504
580
   (0.1ms) commit transaction
505
581
  Redirected to http://www.example-client.com/restricted
506
- Completed 302 Found in 7ms (ActiveRecord: 0.9ms)
507
- Started GET "/restricted" for 127.0.0.1 at 2018-12-17 11:57:31 +0000
582
+ Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
583
+ Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:20:53 +0000
508
584
  Processing by ExampleController#restricted as HTML
509
- User Load (0.6ms) 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]]
585
+ 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]]
510
586
  Rendering text template
511
587
  Rendered text template (0.0ms)
512
- Completed 200 OK in 5ms (Views: 0.8ms | ActiveRecord: 0.6ms)
513
- Started GET "/restricted" for 127.0.0.1 at 2018-12-17 11:57:31 +0000
588
+ Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
589
+ Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:20:53 +0000
514
590
  Processing by ExampleController#restricted as HTML
515
591
  Authenticating with gds_sso strategy
516
- Completed in 1ms (ActiveRecord: 0.0ms)
517
- Started GET "/auth/gds" for 127.0.0.1 at 2018-12-17 11:57:31 +0000
518
- Started GET "/auth/gds/callback?code=4cf54c5342875f66404251e047f8ffffaf3fca783af297737c30177cc85da73a&state=c715948e942b8ffdfe2a42f540eb5da37ef95c572beb452d" for 127.0.0.1 at 2018-12-17 11:57:31 +0000
592
+ Completed in 0ms (ActiveRecord: 0.0ms)
593
+ Started GET "/auth/gds" for 127.0.0.1 at 2019-07-18 13:20:53 +0000
594
+ Started GET "/auth/gds/callback?code=961e788c3fd77c67f60e1cd0334e3a17f3fc5bcb4aee1518eef1035313fee88b&state=b85eae7348ef182b5666eceb37ce0dfce2e55bcadab44e91" for 127.0.0.1 at 2019-07-18 13:20:54 +0000
519
595
  Processing by AuthenticationsController#callback as HTML
520
- Parameters: {"code"=>"4cf54c5342875f66404251e047f8ffffaf3fca783af297737c30177cc85da73a", "state"=>"c715948e942b8ffdfe2a42f540eb5da37ef95c572beb452d"}
596
+ Parameters: {"code"=>"961e788c3fd77c67f60e1cd0334e3a17f3fc5bcb4aee1518eef1035313fee88b", "state"=>"b85eae7348ef182b5666eceb37ce0dfce2e55bcadab44e91"}
521
597
  Authenticating with gds_sso strategy
522
- User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
598
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
523
599
   (0.1ms) begin transaction
524
600
   (0.1ms) commit transaction
525
-  (0.1ms) begin transaction
601
+  (0.0ms) begin transaction
526
602
   (0.1ms) commit transaction
527
603
  Redirected to http://www.example-client.com/restricted
528
- Completed 302 Found in 7ms (ActiveRecord: 0.9ms)
529
- Started GET "/restricted" for 127.0.0.1 at 2018-12-17 11:57:31 +0000
604
+ Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
605
+ Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:20:54 +0000
530
606
  Processing by ExampleController#restricted as HTML
531
- User Load (0.4ms) 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]]
607
+ 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]]
532
608
  Rendering text template
533
609
  Rendered text template (0.0ms)
534
- Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.4ms)
535
- Started GET "/restricted" for 127.0.0.1 at 2018-12-18 07:52:31 +0000
610
+ Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
611
+ Started GET "/restricted" for 127.0.0.1 at 2019-07-19 09:25:54 +0000
536
612
  Processing by ExampleController#restricted as HTML
537
- User Load (0.4ms) 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]]
538
- Rendering text template
539
- Rendered text template (0.0ms)
540
- Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.4ms)
541
- Started GET "/restricted" for 127.0.0.1 at 2018-12-17 11:57:32 +0000
613
+ Authenticating with gds_sso strategy
614
+ Completed in 1ms (ActiveRecord: 0.0ms)
615
+ Started GET "/auth/gds" for 127.0.0.1 at 2019-07-19 09:25:54 +0000
616
+ Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:20:54 +0000
542
617
  Processing by ExampleController#restricted as HTML
543
618
  Authenticating with gds_sso strategy
544
619
  Completed in 0ms (ActiveRecord: 0.0ms)
545
- Started GET "/auth/gds" for 127.0.0.1 at 2018-12-17 11:57:32 +0000
546
- Started GET "/auth/gds/callback?code=00de59170d7be42978f13c0b93aaf7bcf5d2716440af5954c7e68c427a5d2c34&state=842399de52e0fcd007936856619b5d881adacfc4ff89fd67" for 127.0.0.1 at 2018-12-17 11:57:32 +0000
620
+ Started GET "/auth/gds" for 127.0.0.1 at 2019-07-18 13:20:54 +0000
621
+ Started GET "/auth/gds/callback?code=f8cba4ccfab8ed122219b1ead2f141a0aec9934d7f3f7e8e5fc388d682798ef8&state=abe6cf832f1e39b4307067fd1548a80d42f2782f4d0bb4ea" for 127.0.0.1 at 2019-07-18 13:20:54 +0000
547
622
  Processing by AuthenticationsController#callback as HTML
548
- Parameters: {"code"=>"00de59170d7be42978f13c0b93aaf7bcf5d2716440af5954c7e68c427a5d2c34", "state"=>"842399de52e0fcd007936856619b5d881adacfc4ff89fd67"}
623
+ Parameters: {"code"=>"f8cba4ccfab8ed122219b1ead2f141a0aec9934d7f3f7e8e5fc388d682798ef8", "state"=>"abe6cf832f1e39b4307067fd1548a80d42f2782f4d0bb4ea"}
549
624
  Authenticating with gds_sso strategy
550
- User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
625
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
551
626
   (0.1ms) begin transaction
552
-  (0.1ms) commit transaction
553
-  (0.1ms) begin transaction
554
-  (0.1ms) commit transaction
627
+  (0.0ms) commit transaction
628
+  (0.0ms) begin transaction
629
+  (0.0ms) commit transaction
555
630
  Redirected to http://www.example-client.com/restricted
556
- Completed 302 Found in 7ms (ActiveRecord: 0.8ms)
557
- Started GET "/restricted" for 127.0.0.1 at 2018-12-17 11:57:32 +0000
631
+ Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
632
+ Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:20:54 +0000
558
633
  Processing by ExampleController#restricted as HTML
559
- User Load (0.4ms) 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]]
634
+ 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]]
560
635
  Rendering text template
561
636
  Rendered text template (0.0ms)
562
- Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.4ms)
563
- Started GET "/restricted" for 127.0.0.1 at 2018-12-18 08:02:32 +0000
637
+ Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.1ms)
638
+ Started GET "/restricted" for 127.0.0.1 at 2019-07-19 09:25:54 +0000
564
639
  Processing by ExampleController#restricted as HTML
565
640
  Authenticating with gds_sso strategy
566
641
  Completed in 1ms (ActiveRecord: 0.0ms)
567
- Started GET "/auth/gds" for 127.0.0.1 at 2018-12-18 08:02:32 +0000
568
- Started GET "/restricted" for 127.0.0.1 at 2018-12-17 11:57:32 +0000
569
- Processing by ExampleController#restricted as HTML
570
- Authenticating with gds_sso strategy
571
- Completed in 1ms (ActiveRecord: 0.0ms)
572
- Started GET "/auth/gds" for 127.0.0.1 at 2018-12-17 11:57:32 +0000
573
- Started GET "/auth/gds/callback?code=ff822bf8974d28af9167ffd74ed5e170aa013a14c04a47c0d55f81b07b193532&state=9ca9e8c8ef956880412883aa57fab84202424f090b655fd9" for 127.0.0.1 at 2018-12-17 11:57:32 +0000
642
+ Started GET "/auth/gds" for 127.0.0.1 at 2019-07-19 09:25:54 +0000
643
+ Started GET "/auth/gds/callback?code=0d58e769f806c8c5401d3b5d6e31ea9a290ef989c2439b99e9624c300c93a385&state=f611e196c22dfe8f4bf3751ab6ff6565a51ac35742596fb5" for 127.0.0.1 at 2019-07-19 09:25:54 +0000
574
644
  Processing by AuthenticationsController#callback as HTML
575
- Parameters: {"code"=>"ff822bf8974d28af9167ffd74ed5e170aa013a14c04a47c0d55f81b07b193532", "state"=>"9ca9e8c8ef956880412883aa57fab84202424f090b655fd9"}
645
+ Parameters: {"code"=>"0d58e769f806c8c5401d3b5d6e31ea9a290ef989c2439b99e9624c300c93a385", "state"=>"f611e196c22dfe8f4bf3751ab6ff6565a51ac35742596fb5"}
576
646
  Authenticating with gds_sso strategy
577
- User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
647
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
578
648
   (0.1ms) begin transaction
579
-  (0.1ms) commit transaction
649
+  (0.0ms) commit transaction
580
650
   (0.1ms) begin transaction
581
-  (0.1ms) commit transaction
651
+  (0.0ms) commit transaction
582
652
  Redirected to http://www.example-client.com/restricted
583
- Completed 302 Found in 7ms (ActiveRecord: 0.8ms)
584
- Started GET "/restricted" for 127.0.0.1 at 2018-12-17 11:57:32 +0000
653
+ Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
654
+ Started GET "/restricted" for 127.0.0.1 at 2019-07-19 09:25:54 +0000
585
655
  Processing by ExampleController#restricted as HTML
586
- User Load (0.4ms) 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]]
656
+ 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]]
587
657
  Rendering text template
588
658
  Rendered text template (0.0ms)
589
- Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.4ms)
590
- Started GET "/restricted" for 127.0.0.1 at 2018-12-18 08:02:32 +0000
659
+ Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
660
+ Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:20:54 +0000
591
661
  Processing by ExampleController#restricted as HTML
592
662
  Authenticating with gds_sso strategy
593
- Completed in 1ms (ActiveRecord: 0.0ms)
594
- Started GET "/auth/gds" for 127.0.0.1 at 2018-12-18 08:02:32 +0000
595
- Started GET "/auth/gds/callback?code=ccb18a0bcafbf99ea8f5039332ca046570e9b5072ec81a93d466a4d87fcdbbba&state=f03c4d01d321b241d74e3c136fe84b3c2871e53a20df134f" for 127.0.0.1 at 2018-12-18 08:02:32 +0000
663
+ Completed in 0ms (ActiveRecord: 0.0ms)
664
+ Started GET "/auth/gds" for 127.0.0.1 at 2019-07-18 13:20:54 +0000
665
+ Started GET "/auth/gds/callback?code=033889fd326c3f492e23791e3df0e59dfde9a3945ff01c882a271d7da8169b14&state=592865d4bb7d3cad9d12f44a426e52c8917aab6c6f1e825d" for 127.0.0.1 at 2019-07-18 13:20:54 +0000
596
666
  Processing by AuthenticationsController#callback as HTML
597
- Parameters: {"code"=>"ccb18a0bcafbf99ea8f5039332ca046570e9b5072ec81a93d466a4d87fcdbbba", "state"=>"f03c4d01d321b241d74e3c136fe84b3c2871e53a20df134f"}
667
+ Parameters: {"code"=>"033889fd326c3f492e23791e3df0e59dfde9a3945ff01c882a271d7da8169b14", "state"=>"592865d4bb7d3cad9d12f44a426e52c8917aab6c6f1e825d"}
598
668
  Authenticating with gds_sso strategy
599
- User Load (0.9ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
669
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
600
670
   (0.1ms) begin transaction
601
-  (0.1ms) commit transaction
671
+  (0.0ms) commit transaction
602
672
   (0.1ms) begin transaction
603
-  (0.1ms) commit transaction
673
+  (0.0ms) commit transaction
604
674
  Redirected to http://www.example-client.com/restricted
605
- Completed 302 Found in 8ms (ActiveRecord: 1.2ms)
606
- Started GET "/restricted" for 127.0.0.1 at 2018-12-18 08:02:32 +0000
675
+ Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
676
+ Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:20:54 +0000
677
+ Processing by ExampleController#restricted as HTML
678
+ 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]]
679
+ Rendering text template
680
+ Rendered text template (0.0ms)
681
+ Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
682
+ Started GET "/restricted" for 127.0.0.1 at 2019-07-19 09:15:54 +0000
607
683
  Processing by ExampleController#restricted as HTML
608
- User Load (0.4ms) 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]]
684
+ 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]]
609
685
  Rendering text template
610
686
  Rendered text template (0.0ms)
611
- Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.4ms)
612
- Started GET "/restricted" for 127.0.0.1 at 2018-12-17 11:57:32 +0000
687
+ Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms)
688
+ Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:20:54 +0000
613
689
  Processing by ExampleController#restricted as HTML
614
690
  Authenticating with gds_sso strategy
615
- Completed in 1ms (ActiveRecord: 0.0ms)
616
- Started GET "/auth/gds" for 127.0.0.1 at 2018-12-17 11:57:32 +0000
617
- Started GET "/auth/gds/callback?code=0bff4d10540bff7f988b47153854a70f3c9ae2657c044d9f877d5ba6c3b3f2b7&state=c672e3b537cefb9c8d39605484269d46af42b650c3966023" for 127.0.0.1 at 2018-12-17 11:57:33 +0000
691
+ Completed in 0ms (ActiveRecord: 0.0ms)
692
+ Started GET "/auth/gds" for 127.0.0.1 at 2019-07-18 13:20:54 +0000
693
+ Started GET "/auth/gds/callback?code=177c7471d786a86de94fa61842c0c5f09fa3bd8dc9f60e98c9afe931f93f70a3&state=4e5f22b896e5a47d8eba680cae5cfd4636998bfabb0f2d05" for 127.0.0.1 at 2019-07-18 13:20:54 +0000
618
694
  Processing by AuthenticationsController#callback as HTML
619
- Parameters: {"code"=>"0bff4d10540bff7f988b47153854a70f3c9ae2657c044d9f877d5ba6c3b3f2b7", "state"=>"c672e3b537cefb9c8d39605484269d46af42b650c3966023"}
695
+ Parameters: {"code"=>"177c7471d786a86de94fa61842c0c5f09fa3bd8dc9f60e98c9afe931f93f70a3", "state"=>"4e5f22b896e5a47d8eba680cae5cfd4636998bfabb0f2d05"}
620
696
  Authenticating with gds_sso strategy
621
- User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
622
-  (0.1ms) begin transaction
623
-  (0.1ms) commit transaction
697
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
624
698
   (0.1ms) begin transaction
699
+  (0.0ms) commit transaction
700
+  (0.0ms) begin transaction
625
701
   (0.1ms) commit transaction
626
702
  Redirected to http://www.example-client.com/restricted
627
- Completed 302 Found in 7ms (ActiveRecord: 0.8ms)
628
- Started GET "/restricted" for 127.0.0.1 at 2018-12-17 11:57:33 +0000
703
+ Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
704
+ Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:20:54 +0000
629
705
  Processing by ExampleController#restricted as HTML
630
- User Load (0.4ms) 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]]
706
+ 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]]
631
707
  Rendering text template
632
708
  Rendered text template (0.0ms)
633
- Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.4ms)
634
- User Load (0.7ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "test@example-client.com"], ["LIMIT", 1]]
635
-  (0.1ms) begin transaction
636
- User Update (0.5ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 1]]
637
-  (19.0ms) commit transaction
638
- Started GET "/restricted" for 127.0.0.1 at 2018-12-17 11:57:33 +0000
709
+ Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
710
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "test@example-client.com"], ["LIMIT", 1]]
711
+  (0.0ms) begin transaction
712
+ User Update (0.2ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 12]]
713
+  (11.5ms) commit transaction
714
+ Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:20:54 +0000
639
715
  Processing by ExampleController#restricted as HTML
640
- User Load (0.5ms) 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]]
716
+ 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]]
641
717
  Authenticating with gds_sso strategy
642
- Completed in 3ms (ActiveRecord: 0.5ms)
643
- Started GET "/auth/gds" for 127.0.0.1 at 2018-12-17 11:57:33 +0000
644
- Started GET "/auth/gds/callback?code=ac9337710fec84ee9ead47be05ebf33e319dc810870d77001f28859ead9facad&state=03aad3fe16494faac60145094682178374048346fc92e45b" for 127.0.0.1 at 2018-12-17 11:57:33 +0000
718
+ Completed in 1ms (ActiveRecord: 0.1ms)
719
+ Started GET "/auth/gds" for 127.0.0.1 at 2019-07-18 13:20:54 +0000
720
+ Started GET "/auth/gds/callback?code=9739c22dcd6a521d7c674ab4dc44e2d53ecec6969df37f6045c691d69c550654&state=8d931df02077d88fc2dc9cf6769cbaef4f2f4baa4b33018c" for 127.0.0.1 at 2019-07-18 13:20:55 +0000
645
721
  Processing by AuthenticationsController#callback as HTML
646
- Parameters: {"code"=>"ac9337710fec84ee9ead47be05ebf33e319dc810870d77001f28859ead9facad", "state"=>"03aad3fe16494faac60145094682178374048346fc92e45b"}
722
+ Parameters: {"code"=>"9739c22dcd6a521d7c674ab4dc44e2d53ecec6969df37f6045c691d69c550654", "state"=>"8d931df02077d88fc2dc9cf6769cbaef4f2f4baa4b33018c"}
647
723
  Authenticating with gds_sso strategy
648
- User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
649
-  (0.1ms) begin transaction
650
-  (0.1ms) commit transaction
724
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
651
725
   (0.1ms) begin transaction
652
- User Update (0.5ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "f"], ["id", 1]]
653
-  (6.0ms) commit transaction
726
+  (0.0ms) commit transaction
727
+  (0.0ms) begin transaction
728
+ User Update (0.2ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "f"], ["id", 12]]
729
+  (8.5ms) commit transaction
654
730
  Redirected to http://www.example-client.com/restricted
655
- Completed 302 Found in 14ms (ActiveRecord: 7.2ms)
656
- Started GET "/restricted" for 127.0.0.1 at 2018-12-17 11:57:33 +0000
731
+ Completed 302 Found in 13ms (ActiveRecord: 9.0ms)
732
+ Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:20:55 +0000
657
733
  Processing by ExampleController#restricted as HTML
658
- User Load (0.4ms) 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]]
734
+ 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]]
659
735
  Rendering text template
660
- Rendered text template (0.1ms)
661
- Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.4ms)
662
- Started GET "/restricted" for 127.0.0.1 at 2018-12-17 11:57:33 +0000
663
- Processing by ExampleController#restricted as HTML
664
- Authenticating with gds_sso strategy
665
- Completed in 1ms (ActiveRecord: 0.0ms)
666
- Started GET "/restricted" for 127.0.0.1 at 2018-12-17 11:57:33 +0000
736
+ Rendered text template (0.0ms)
737
+ Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
738
+ Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:20:55 +0000
667
739
  Processing by ExampleController#restricted as JSON
668
- Completed in 53ms (ActiveRecord: 0.0ms)
669
- Started GET "/restricted" for 127.0.0.1 at 2018-12-17 11:57:33 +0000
740
+ Completed in 31ms (ActiveRecord: 0.0ms)
741
+ Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:20:55 +0000
670
742
  Processing by ExampleController#restricted as JSON
671
- Completed in 27ms (ActiveRecord: 0.0ms)
672
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2018-12-17 11:57:33 +0000
673
- Processing by ExampleController#this_requires_signin_permission as JSON
674
- User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
743
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
675
744
   (0.1ms) begin transaction
676
- User Update (0.6ms) UPDATE "users" SET "disabled" = ? WHERE "users"."id" = ? [["disabled", nil], ["id", 1]]
677
-  (3.8ms) commit transaction
678
- User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
679
-  (0.3ms) begin transaction
680
-  (0.1ms) commit transaction
681
- CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
682
-  (0.2ms) begin transaction
683
-  (0.1ms) commit transaction
745
+ User Update (0.2ms) UPDATE "users" SET "disabled" = ? WHERE "users"."id" = ? [["disabled", nil], ["id", 12]]
746
+  (8.3ms) commit transaction
747
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
748
+  (0.1ms) begin transaction
749
+  (0.0ms) commit transaction
684
750
  CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
685
751
   (0.1ms) begin transaction
686
-  (0.1ms) commit transaction
752
+  (0.0ms) commit transaction
753
+ CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
687
754
   (0.1ms) begin transaction
688
-  (0.1ms) commit transaction
755
+  (0.0ms) commit transaction
756
+  (0.0ms) begin transaction
757
+  (0.0ms) commit transaction
689
758
  Rendering text template
690
759
  Rendered text template (0.0ms)
691
- Completed 200 OK in 148ms (Views: 0.7ms | ActiveRecord: 6.8ms)
692
- Started GET "/restricted" for 127.0.0.1 at 2018-12-17 11:57:34 +0000
760
+ Completed 200 OK in 104ms (Views: 0.4ms | ActiveRecord: 9.5ms)
761
+ Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:20:55 +0000
693
762
  Processing by ExampleController#restricted as JSON
694
- User Load (0.7ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
763
+ Completed in 14ms (ActiveRecord: 0.0ms)
764
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-07-18 13:20:55 +0000
765
+ Processing by ExampleController#this_requires_signin_permission as JSON
766
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
695
767
   (0.1ms) begin transaction
696
-  (0.1ms) commit transaction
768
+  (0.0ms) commit transaction
697
769
  CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
698
-  (0.7ms) begin transaction
699
-  (0.1ms) commit transaction
770
+  (0.1ms) begin transaction
771
+  (0.0ms) commit transaction
700
772
  CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
701
-  (0.2ms) begin transaction
702
-  (0.1ms) commit transaction
773
+  (0.0ms) begin transaction
774
+  (0.0ms) commit transaction
703
775
  CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
704
-  (0.2ms) begin transaction
705
-  (0.1ms) commit transaction
706
-  (0.2ms) begin transaction
776
+  (0.1ms) begin transaction
777
+  (0.0ms) commit transaction
778
+  (0.0ms) begin transaction
707
779
   (0.1ms) commit transaction
708
780
  Rendering text template
709
781
  Rendered text template (0.0ms)
710
- Completed 200 OK in 141ms (Views: 0.6ms | ActiveRecord: 2.7ms)
711
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "dummyapiuser@domain.com"], ["LIMIT", 1]]
712
-  (0.1ms) begin transaction
713
- User Create (1.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Dummy API user created by gds-sso"], ["uid", "1989"], ["email", "dummyapiuser@domain.com"], ["permissions", "---\n- signin\n"]]
714
-  (8.2ms) commit transaction
715
-  (0.1ms) begin transaction
716
- User Update (0.5ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = ? [["permissions", "---\n- signin\n- extra_permission\n"], ["id", 2]]
717
-  (4.2ms) commit transaction
718
-  (0.1ms) begin transaction
719
- User Create (0.6ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d31564"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
720
-  (5.9ms) commit transaction
721
-  (0.1ms) begin transaction
722
- User Create (0.5ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d3795"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
723
-  (4.9ms) commit transaction
724
- Processing by Api::UserController#update as HTML
725
- Parameters: {"uid"=>"a1s2d31564"}
726
- Rendering /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
727
- Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
728
- Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.5ms)
729
- Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
730
- Completed 403 Forbidden in 16ms (Views: 15.3ms | ActiveRecord: 0.0ms)
731
-  (0.2ms) begin transaction
732
- User Create (0.5ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d31050"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
733
-  (4.3ms) commit transaction
734
-  (0.1ms) begin transaction
735
- User Create (0.5ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d31340"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
736
-  (3.2ms) commit transaction
737
- Processing by Api::UserController#update as HTML
738
- Parameters: {"uid"=>"a1s2d31050"}
739
- User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "a1s2d31050"], ["LIMIT", 1]]
740
-  (0.1ms) begin transaction
741
- User Update (0.4ms) 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]]
742
-  (3.5ms) commit transaction
743
- Completed 200 OK in 10ms (ActiveRecord: 4.4ms)
744
- User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]]
745
-  (0.1ms) begin transaction
746
- User Create (0.5ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d37413"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
747
-  (3.5ms) commit transaction
748
-  (0.1ms) begin transaction
749
- User Create (0.5ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d39033"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
750
-  (4.0ms) commit transaction
751
- Processing by Api::UserController#reauth as HTML
752
- Parameters: {"uid"=>"nonexistent-user"}
753
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "nonexistent-user"], ["LIMIT", 1]]
754
- Completed 200 OK in 2ms (ActiveRecord: 0.2ms)
755
-  (0.1ms) begin transaction
756
- User Create (0.5ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d31963"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
757
-  (3.5ms) commit transaction
758
-  (0.1ms) begin transaction
759
- User Create (0.5ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d39621"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
760
-  (4.0ms) commit transaction
761
- Processing by Api::UserController#reauth as HTML
762
- Parameters: {"uid"=>"a1s2d31963"}
763
- Rendering /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
764
- Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
765
- Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.4ms)
766
- Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
767
- Completed 403 Forbidden in 3ms (Views: 1.7ms | ActiveRecord: 0.0ms)
768
-  (0.1ms) begin transaction
769
- User Create (1.3ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d31667"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
770
-  (4.7ms) commit transaction
771
-  (0.1ms) begin transaction
772
- User Create (0.5ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d38552"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
773
-  (5.6ms) commit transaction
774
- Processing by Api::UserController#reauth as HTML
775
- Parameters: {"uid"=>"a1s2d31667"}
776
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "a1s2d31667"], ["LIMIT", 1]]
777
-  (0.1ms) begin transaction
778
- User Update (0.4ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 11]]
779
-  (3.2ms) commit transaction
780
- Completed 200 OK in 8ms (ActiveRecord: 4.0ms)
781
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 11], ["LIMIT", 1]]
782
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "asd"], ["LIMIT", 1]]
783
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "user@example.com"], ["LIMIT", 1]]
782
+ Completed 200 OK in 65ms (Views: 0.4ms | ActiveRecord: 0.7ms)
783
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "dummyapiuser@domain.com"], ["LIMIT", 1]]
784
784
   (0.1ms) begin transaction
785
- User Create (0.5ms) 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]]
786
-  (4.4ms) commit transaction
787
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "asd"], ["LIMIT", 1]]
785
+ User Create (0.3ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Dummy API user created by gds-sso"], ["uid", "6750"], ["email", "dummyapiuser@domain.com"], ["permissions", "---\n- signin\n"]]
786
+  (22.1ms) commit transaction
788
787
   (0.1ms) begin transaction
789
-  (0.1ms) commit transaction
790
-  (6.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') 
791
-  (5.3ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
788
+ User Update (0.3ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = ? [["permissions", "---\n- signin\n- extra_permission\n"], ["id", 13]]
789
+  (11.7ms) commit transaction
790
+  (16.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') 
791
+  (17.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
792
792
   (0.1ms) select sqlite_version(*)
793
-  (4.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
794
-  (0.1ms) begin transaction
795
- SQL (0.3ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d35477"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
796
-  (6.4ms) commit transaction
797
-  (0.1ms) begin transaction
798
- SQL (0.3ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d38491"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
799
-  (3.7ms) commit transaction
800
- Processing by Api::UserController#update as HTML
801
- Parameters: {"uid"=>"a1s2d35477"}
802
- Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
803
- Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.5ms)
804
- Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
805
- Completed 403 Forbidden in 19ms (Views: 18.4ms | ActiveRecord: 0.0ms)
793
+  (8.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
794
+ Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:21:01 +0000
795
+ Processing by ExampleController#restricted as HTML
796
+ Authenticating with gds_sso strategy
797
+ Completed in 8ms (ActiveRecord: 0.0ms)
798
+ Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:21:01 +0000
799
+ Processing by ExampleController#restricted as JSON
800
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
801
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "test@example-client.com"]]
806
802
   (0.1ms) begin transaction
807
- SQL (0.5ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d3838"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
808
-  (5.5ms) commit transaction
809
-  (0.2ms) begin transaction
810
- SQL (0.5ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d35461"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
811
-  (4.0ms) commit transaction
812
- Processing by Api::UserController#update as HTML
813
- Parameters: {"uid"=>"a1s2d3838"}
814
- User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "a1s2d3838"]]
815
-  (0.1ms) begin transaction
816
- SQL (0.5ms) 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]]
817
-  (4.5ms) commit transaction
818
- Completed 200 OK in 23ms (ActiveRecord: 5.5ms)
819
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
803
+ SQL (0.2ms) INSERT INTO "users" ("uid", "email", "name", "permissions", "disabled") VALUES (?, ?, ?, ?, ?) [["uid", "integration-uid"], ["email", "test@example-client.com"], ["name", "Test User"], ["permissions", "---\n- signin\n"], ["disabled", nil]]
804
+  (8.7ms) commit transaction
805
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
806
+  (0.0ms) begin transaction
807
+  (0.1ms) commit transaction
808
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
820
809
   (0.1ms) begin transaction
821
- SQL (0.4ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d33818"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
822
-  (4.9ms) commit transaction
810
+  (0.1ms) commit transaction
811
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
823
812
   (0.1ms) begin transaction
824
- SQL (0.4ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d36731"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
825
-  (3.7ms) commit transaction
826
- Processing by Api::UserController#reauth as HTML
827
- Parameters: {"uid"=>"nonexistent-user"}
828
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "nonexistent-user"]]
829
- Completed 200 OK in 2ms (ActiveRecord: 0.2ms)
813
+  (0.1ms) commit transaction
814
+  (0.0ms) begin transaction
815
+ SQL (0.2ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "f"], ["id", 1]]
816
+  (7.4ms) commit transaction
817
+ Rendered text template (0.0ms)
818
+ Completed 200 OK in 117ms (Views: 9.2ms | ActiveRecord: 19.5ms)
819
+ Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:21:02 +0000
820
+ Processing by ExampleController#restricted as JSON
821
+ Completed in 18ms (ActiveRecord: 0.0ms)
822
+ Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:21:02 +0000
823
+ Processing by ExampleController#restricted as JSON
824
+ Completed in 23ms (ActiveRecord: 0.0ms)
825
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-07-18 13:21:02 +0000
826
+ Processing by ExampleController#this_requires_signin_permission as JSON
827
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
830
828
   (0.1ms) begin transaction
831
- SQL (0.4ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d33467"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
832
-  (3.9ms) commit transaction
833
-  (0.1ms) begin transaction
834
- SQL (0.4ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d32804"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
835
-  (3.5ms) commit transaction
836
- Processing by Api::UserController#reauth as HTML
837
- Parameters: {"uid"=>"a1s2d33467"}
838
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "a1s2d33467"]]
829
+  (0.0ms) commit transaction
830
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
839
831
   (0.1ms) begin transaction
840
- SQL (0.4ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 7]]
841
-  (4.4ms) commit transaction
842
- Completed 200 OK in 9ms (ActiveRecord: 5.2ms)
843
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 7]]
832
+  (0.1ms) commit transaction
833
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
834
+  (0.1ms) begin transaction
835
+  (0.0ms) commit transaction
836
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
844
837
   (0.1ms) begin transaction
845
- SQL (0.4ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d33865"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
846
-  (4.5ms) commit transaction
847
-  (0.2ms) begin transaction
848
- SQL (0.4ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d39681"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
849
-  (5.5ms) commit transaction
850
- Processing by Api::UserController#reauth as HTML
851
- Parameters: {"uid"=>"a1s2d33865"}
852
- Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
853
- Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.5ms)
854
- Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
855
- Completed 403 Forbidden in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms)
856
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2018-12-17 11:57:50 +0000
838
+  (0.0ms) commit transaction
839
+  (0.0ms) begin transaction
840
+  (0.0ms) commit transaction
841
+ Rendered text template (0.0ms)
842
+ Completed 200 OK in 61ms (Views: 0.3ms | ActiveRecord: 0.8ms)
843
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-07-18 13:21:02 +0000
857
844
  Processing by ExampleController#this_requires_signin_permission as HTML
858
845
  Authenticating with gds_sso strategy
859
- Completed in 19ms (ActiveRecord: 0.0ms)
860
- Started GET "/auth/gds" for 127.0.0.1 at 2018-12-17 11:57:50 +0000
861
- Started GET "/auth/gds/callback?code=ec35c74ebefe0cb2c8a43cf083a492e974ffb26adb14c63f43e35fab9c2cc2ee&state=1e6e54162e7cae7c61953cbc8483045585d7c127f5199637" for 127.0.0.1 at 2018-12-17 11:57:50 +0000
846
+ Completed in 0ms (ActiveRecord: 0.0ms)
847
+ Started GET "/auth/gds" for 127.0.0.1 at 2019-07-18 13:21:02 +0000
848
+ Started GET "/auth/gds/callback?code=1daaa6e4ddb8e1ba1e3a4850f9adf705ba0ece145fd701d64212a91116513d1b&state=6d99f207fdba5c429ecac0411f28357a529cfaf8438e5f38" for 127.0.0.1 at 2019-07-18 13:21:02 +0000
862
849
  Processing by AuthenticationsController#callback as HTML
863
- Parameters: {"code"=>"ec35c74ebefe0cb2c8a43cf083a492e974ffb26adb14c63f43e35fab9c2cc2ee", "state"=>"1e6e54162e7cae7c61953cbc8483045585d7c127f5199637"}
850
+ Parameters: {"code"=>"1daaa6e4ddb8e1ba1e3a4850f9adf705ba0ece145fd701d64212a91116513d1b", "state"=>"6d99f207fdba5c429ecac0411f28357a529cfaf8438e5f38"}
864
851
  Authenticating with gds_sso strategy
865
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
866
- User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "test@example-client.com"]]
867
-  (0.1ms) begin transaction
868
- SQL (0.4ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "integration-uid"], ["email", "test@example-client.com"], ["name", "Test User"], ["permissions", "---\n- signin\n"]]
869
-  (4.4ms) commit transaction
852
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
870
853
   (0.1ms) begin transaction
871
- SQL (0.4ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "f"], ["id", 11]]
872
-  (3.7ms) commit transaction
854
+ SQL (0.2ms) UPDATE "users" SET "disabled" = ? WHERE "users"."id" = ? [["disabled", "f"], ["id", 1]]
855
+  (230.3ms) commit transaction
856
+  (0.1ms) begin transaction
857
+  (0.1ms) commit transaction
873
858
  Redirected to http://www.example-client.com/this_requires_signin_permission
874
- Completed 302 Found in 19ms (ActiveRecord: 9.8ms)
875
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2018-12-17 11:57:50 +0000
859
+ Completed 302 Found in 239ms (ActiveRecord: 230.9ms)
860
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-07-18 13:21:02 +0000
876
861
  Processing by ExampleController#this_requires_signin_permission as HTML
877
- User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
862
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
878
863
  Rendered text template (0.0ms)
879
- Completed 200 OK in 10ms (Views: 7.5ms | ActiveRecord: 0.4ms)
880
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2018-12-17 11:57:50 +0000
864
+ Completed 200 OK in 4ms (Views: 1.1ms | ActiveRecord: 0.2ms)
865
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-07-18 13:21:02 +0000
881
866
  Processing by ExampleController#this_requires_signin_permission as HTML
882
867
  Authenticating with gds_sso strategy
883
868
  Completed in 0ms (ActiveRecord: 0.0ms)
884
- Started GET "/auth/gds" for 127.0.0.1 at 2018-12-17 11:57:50 +0000
885
- Started GET "/auth/gds/callback?code=3797c7915f584a046e7a7eb8fd22cd49afa7291acd69216c4e6757c59c6ffab8&state=d3900aa72a456ce62aef7b93545b23c101db6046f004c1a2" for 127.0.0.1 at 2018-12-17 11:57:50 +0000
869
+ Started GET "/auth/gds" for 127.0.0.1 at 2019-07-18 13:21:02 +0000
870
+ Started GET "/auth/gds/callback?code=f3dc4ed45f29632531def7e6e461779aa7b5342082a6bea66742afe965891368&state=befad7a29a90b5052d3c7eadb14484e06befb9c9a2b67b78" for 127.0.0.1 at 2019-07-18 13:21:02 +0000
886
871
  Processing by AuthenticationsController#callback as HTML
887
- Parameters: {"code"=>"3797c7915f584a046e7a7eb8fd22cd49afa7291acd69216c4e6757c59c6ffab8", "state"=>"d3900aa72a456ce62aef7b93545b23c101db6046f004c1a2"}
872
+ Parameters: {"code"=>"f3dc4ed45f29632531def7e6e461779aa7b5342082a6bea66742afe965891368", "state"=>"befad7a29a90b5052d3c7eadb14484e06befb9c9a2b67b78"}
888
873
  Authenticating with gds_sso strategy
889
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
890
-  (0.2ms) begin transaction
891
-  (0.1ms) commit transaction
874
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
892
875
   (0.1ms) begin transaction
893
-  (0.1ms) commit transaction
876
+  (0.0ms) commit transaction
877
+  (0.0ms) begin transaction
878
+  (0.0ms) commit transaction
894
879
  Redirected to http://www.example-client.com/this_requires_signin_permission
895
- Completed 302 Found in 7ms (ActiveRecord: 0.7ms)
896
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2018-12-17 11:57:51 +0000
880
+ Completed 302 Found in 12ms (ActiveRecord: 0.3ms)
881
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-07-18 13:21:02 +0000
897
882
  Processing by ExampleController#this_requires_signin_permission as HTML
898
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
883
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
884
+ Rendered text template (0.0ms)
885
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
886
+ Started GET "/" for 127.0.0.1 at 2019-07-18 13:21:02 +0000
887
+ Processing by ExampleController#index as HTML
899
888
  Rendered text template (0.0ms)
900
- Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.2ms)
901
- Started GET "/restricted" for 127.0.0.1 at 2018-12-17 11:57:51 +0000
889
+ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
890
+ Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:21:02 +0000
902
891
  Processing by ExampleController#restricted as HTML
903
892
  Authenticating with gds_sso strategy
904
- Completed in 1ms (ActiveRecord: 0.0ms)
905
- Started GET "/auth/gds" for 127.0.0.1 at 2018-12-17 11:57:51 +0000
906
- Started GET "/auth/gds/callback?code=95736180868cb9ad5943840033182bf44de41a0d59258ca61ffd821cd01b2007&state=77e2e89c91664026f42e02a369378ff309de85cd179bf9fb" for 127.0.0.1 at 2018-12-17 11:57:51 +0000
893
+ Completed in 0ms (ActiveRecord: 0.0ms)
894
+ Started GET "/auth/gds" for 127.0.0.1 at 2019-07-18 13:21:02 +0000
895
+ Started GET "/auth/gds/callback?code=0b7d079852d1063eda103321e446a2299bb2def8012143144dba23fef1483fb6&state=22d5557abacab9156fae901544db5c501520d43178ca5244" for 127.0.0.1 at 2019-07-18 13:21:03 +0000
907
896
  Processing by AuthenticationsController#callback as HTML
908
- Parameters: {"code"=>"95736180868cb9ad5943840033182bf44de41a0d59258ca61ffd821cd01b2007", "state"=>"77e2e89c91664026f42e02a369378ff309de85cd179bf9fb"}
897
+ Parameters: {"code"=>"0b7d079852d1063eda103321e446a2299bb2def8012143144dba23fef1483fb6", "state"=>"22d5557abacab9156fae901544db5c501520d43178ca5244"}
909
898
  Authenticating with gds_sso strategy
910
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
911
-  (0.1ms) begin transaction
912
-  (0.2ms) commit transaction
899
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
913
900
   (0.1ms) begin transaction
901
+  (0.0ms) commit transaction
902
+  (0.0ms) begin transaction
914
903
   (0.1ms) commit transaction
915
904
  Redirected to http://www.example-client.com/restricted
916
- Completed 302 Found in 7ms (ActiveRecord: 0.7ms)
917
- Started GET "/restricted" for 127.0.0.1 at 2018-12-17 11:57:51 +0000
905
+ Completed 302 Found in 5ms (ActiveRecord: 0.4ms)
906
+ Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:21:03 +0000
918
907
  Processing by ExampleController#restricted as HTML
919
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
908
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
920
909
  Rendered text template (0.0ms)
921
- Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.3ms)
922
- Started GET "/restricted" for 127.0.0.1 at 2018-12-17 11:57:51 +0000
910
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.2ms)
911
+ Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:21:03 +0000
923
912
  Processing by ExampleController#restricted as HTML
924
913
  Authenticating with gds_sso strategy
925
914
  Completed in 0ms (ActiveRecord: 0.0ms)
926
- Started GET "/auth/gds" for 127.0.0.1 at 2018-12-17 11:57:51 +0000
927
- Started GET "/auth/gds/callback?code=e72c8f7ce94304401220f627156d37c31fb372742ac5979879ad4576a726b170&state=99b78d2c9a75f1effd75d7a0d2494bf58e612f0eb19e554f" for 127.0.0.1 at 2018-12-17 11:57:51 +0000
915
+ Started GET "/auth/gds" for 127.0.0.1 at 2019-07-18 13:21:03 +0000
916
+ Started GET "/auth/gds/callback?code=778fa4ffa39bc19f98fc8fa44bea55ce1f46bdccd288d0af7a9608ace8861453&state=606c5c48e2b4b512443fa69e2f3541dd8b8f4ca5f5c5ee27" for 127.0.0.1 at 2019-07-18 13:21:03 +0000
928
917
  Processing by AuthenticationsController#callback as HTML
929
- Parameters: {"code"=>"e72c8f7ce94304401220f627156d37c31fb372742ac5979879ad4576a726b170", "state"=>"99b78d2c9a75f1effd75d7a0d2494bf58e612f0eb19e554f"}
918
+ Parameters: {"code"=>"778fa4ffa39bc19f98fc8fa44bea55ce1f46bdccd288d0af7a9608ace8861453", "state"=>"606c5c48e2b4b512443fa69e2f3541dd8b8f4ca5f5c5ee27"}
930
919
  Authenticating with gds_sso strategy
931
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
920
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
932
921
   (0.1ms) begin transaction
933
922
   (0.1ms) commit transaction
934
923
   (0.1ms) begin transaction
935
924
   (0.1ms) commit transaction
936
925
  Redirected to http://www.example-client.com/restricted
937
- Completed 302 Found in 7ms (ActiveRecord: 0.7ms)
938
- Started GET "/restricted" for 127.0.0.1 at 2018-12-17 11:57:51 +0000
926
+ Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
927
+ Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:21:03 +0000
939
928
  Processing by ExampleController#restricted as HTML
940
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
929
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
941
930
  Rendered text template (0.0ms)
942
- Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.2ms)
943
- Started GET "/restricted" for 127.0.0.1 at 2018-12-17 11:57:51 +0000
931
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
932
+ Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:21:03 +0000
944
933
  Processing by ExampleController#restricted as HTML
945
934
  Authenticating with gds_sso strategy
946
935
  Completed in 0ms (ActiveRecord: 0.0ms)
947
- Started GET "/auth/gds" for 127.0.0.1 at 2018-12-17 11:57:51 +0000
948
- Started GET "/auth/gds/callback?code=9316dc3d368fec2e32af9a6bc7d5e33be1814d281cd5c3f7a22a3cda2b8ca0f4&state=991adc69bbccb60d78a5e954f3cf210a1986f10291caba96" for 127.0.0.1 at 2018-12-17 11:57:51 +0000
936
+ Started GET "/auth/gds" for 127.0.0.1 at 2019-07-18 13:21:03 +0000
937
+ Started GET "/auth/gds/callback?code=35f23863dd1a412d95cb71da1451af1e528b9527c8216c893b4e6c2be7532239&state=aa036e24b08ed799ca53f0627410ac37d037ee8f9122096c" for 127.0.0.1 at 2019-07-18 13:21:03 +0000
949
938
  Processing by AuthenticationsController#callback as HTML
950
- Parameters: {"code"=>"9316dc3d368fec2e32af9a6bc7d5e33be1814d281cd5c3f7a22a3cda2b8ca0f4", "state"=>"991adc69bbccb60d78a5e954f3cf210a1986f10291caba96"}
939
+ Parameters: {"code"=>"35f23863dd1a412d95cb71da1451af1e528b9527c8216c893b4e6c2be7532239", "state"=>"aa036e24b08ed799ca53f0627410ac37d037ee8f9122096c"}
951
940
  Authenticating with gds_sso strategy
952
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
941
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
953
942
   (0.1ms) begin transaction
954
943
   (0.1ms) commit transaction
955
944
   (0.1ms) begin transaction
956
945
   (0.1ms) commit transaction
957
946
  Redirected to http://www.example-client.com/restricted
958
- Completed 302 Found in 8ms (ActiveRecord: 0.7ms)
959
- Started GET "/restricted" for 127.0.0.1 at 2018-12-17 11:57:51 +0000
947
+ Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
948
+ Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:21:03 +0000
960
949
  Processing by ExampleController#restricted as HTML
961
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
962
- Rendered text template (0.0ms)
963
- Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.3ms)
964
- Started GET "/" for 127.0.0.1 at 2018-12-17 11:57:52 +0000
965
- Processing by ExampleController#index as HTML
950
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
966
951
  Rendered text template (0.0ms)
967
- Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
968
- Started GET "/restricted" for 127.0.0.1 at 2018-12-17 11:57:52 +0000
952
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
953
+ Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:21:03 +0000
969
954
  Processing by ExampleController#restricted as HTML
970
955
  Authenticating with gds_sso strategy
971
- Completed in 1ms (ActiveRecord: 0.0ms)
972
- Started GET "/auth/gds" for 127.0.0.1 at 2018-12-17 11:57:52 +0000
973
- Started GET "/auth/gds/callback?code=a570911d800e072254a1184405eb0ddd2e9d35058f4b59310b796010f147c9c3&state=e4edfaed5c3b2d335c053849760824eed62f435dbb3b5133" for 127.0.0.1 at 2018-12-17 11:57:52 +0000
956
+ Completed in 0ms (ActiveRecord: 0.0ms)
957
+ Started GET "/auth/gds" for 127.0.0.1 at 2019-07-18 13:21:03 +0000
958
+ Started GET "/auth/gds/callback?code=7f9c2f521fdf21d3cbf7ed90b0f9bf724ac72ebfeb61c75ddb04b7916cf44764&state=e66ff4e95bf1b7cbf7543cd58a1e2105278afe1c2fc2f4b3" for 127.0.0.1 at 2019-07-18 13:21:03 +0000
974
959
  Processing by AuthenticationsController#callback as HTML
975
- Parameters: {"code"=>"a570911d800e072254a1184405eb0ddd2e9d35058f4b59310b796010f147c9c3", "state"=>"e4edfaed5c3b2d335c053849760824eed62f435dbb3b5133"}
960
+ Parameters: {"code"=>"7f9c2f521fdf21d3cbf7ed90b0f9bf724ac72ebfeb61c75ddb04b7916cf44764", "state"=>"e66ff4e95bf1b7cbf7543cd58a1e2105278afe1c2fc2f4b3"}
976
961
  Authenticating with gds_sso strategy
977
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
962
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
978
963
   (0.1ms) begin transaction
979
964
   (0.1ms) commit transaction
980
965
   (0.1ms) begin transaction
981
966
   (0.1ms) commit transaction
982
967
  Redirected to http://www.example-client.com/restricted
983
- Completed 302 Found in 7ms (ActiveRecord: 0.7ms)
984
- Started GET "/restricted" for 127.0.0.1 at 2018-12-17 11:57:52 +0000
968
+ Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
969
+ Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:21:03 +0000
985
970
  Processing by ExampleController#restricted as HTML
986
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
971
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
987
972
  Rendered text template (0.0ms)
988
- Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms)
989
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "test@example-client.com"]]
990
-  (0.1ms) begin transaction
991
- SQL (0.4ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 11]]
992
-  (6.8ms) commit transaction
993
- Started GET "/restricted" for 127.0.0.1 at 2018-12-17 11:57:52 +0000
994
- Processing by ExampleController#restricted as HTML
995
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
996
- Authenticating with gds_sso strategy
997
- Completed in 2ms (ActiveRecord: 0.3ms)
998
- Started GET "/auth/gds" for 127.0.0.1 at 2018-12-17 11:57:52 +0000
999
- Started GET "/auth/gds/callback?code=f13187952eb6228721ed981497b51b8e1732d03a2e924cf07e243eb48c4aabb1&state=24e9e27c97c29626ee8ac71b3d9045902a9d3069b490338d" for 127.0.0.1 at 2018-12-17 11:57:52 +0000
973
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
974
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "test@example-client.com"]]
975
+  (0.0ms) begin transaction
976
+ SQL (0.2ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 1]]
977
+  (7.2ms) commit transaction
978
+ Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:21:03 +0000
979
+ Processing by ExampleController#restricted as HTML
980
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
981
+ Authenticating with gds_sso strategy
982
+ Completed in 1ms (ActiveRecord: 0.1ms)
983
+ Started GET "/auth/gds" for 127.0.0.1 at 2019-07-18 13:21:03 +0000
984
+ Started GET "/auth/gds/callback?code=44670b319d1ebb0cd8cd0ae781761411fce7ef026401886e8dd7fc44dcc2259a&state=20ccd7838bf03ce30b723e41e9198ac1acb5069f35d7c52b" for 127.0.0.1 at 2019-07-18 13:21:03 +0000
1000
985
  Processing by AuthenticationsController#callback as HTML
1001
- Parameters: {"code"=>"f13187952eb6228721ed981497b51b8e1732d03a2e924cf07e243eb48c4aabb1", "state"=>"24e9e27c97c29626ee8ac71b3d9045902a9d3069b490338d"}
986
+ Parameters: {"code"=>"44670b319d1ebb0cd8cd0ae781761411fce7ef026401886e8dd7fc44dcc2259a", "state"=>"20ccd7838bf03ce30b723e41e9198ac1acb5069f35d7c52b"}
1002
987
  Authenticating with gds_sso strategy
1003
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
988
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
1004
989
   (0.1ms) begin transaction
1005
990
   (0.1ms) commit transaction
1006
-  (0.1ms) begin transaction
1007
- SQL (0.4ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "f"], ["id", 11]]
1008
-  (4.9ms) commit transaction
991
+  (0.0ms) begin transaction
992
+ SQL (0.2ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "f"], ["id", 1]]
993
+  (6.1ms) commit transaction
1009
994
  Redirected to http://www.example-client.com/restricted
1010
- Completed 302 Found in 13ms (ActiveRecord: 5.8ms)
1011
- Started GET "/restricted" for 127.0.0.1 at 2018-12-17 11:57:52 +0000
995
+ Completed 302 Found in 11ms (ActiveRecord: 6.6ms)
996
+ Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:21:03 +0000
1012
997
  Processing by ExampleController#restricted as HTML
1013
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
998
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
1014
999
  Rendered text template (0.0ms)
1015
- Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.3ms)
1016
- Started GET "/restricted" for 127.0.0.1 at 2018-12-17 11:57:52 +0000
1000
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
1001
+ Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:21:03 +0000
1017
1002
  Processing by ExampleController#restricted as HTML
1018
1003
  Authenticating with gds_sso strategy
1019
1004
  Completed in 0ms (ActiveRecord: 0.0ms)
1020
- Started GET "/auth/gds" for 127.0.0.1 at 2018-12-17 11:57:52 +0000
1021
- Started GET "/auth/gds/callback?code=d125f591ab9076719712098298b83ea8778dba4cc93206c6a87b347b44066bea&state=85863db122a242dfd48ee6952e18b92f2efc702278403a89" for 127.0.0.1 at 2018-12-17 11:57:52 +0000
1005
+ Started GET "/auth/gds" for 127.0.0.1 at 2019-07-18 13:21:03 +0000
1006
+ Started GET "/auth/gds/callback?code=ca9ab11b8b92f43b6e5f1dce2301a9e16567570a2940233328864f4cb1f7b25d&state=3ff8ad1937d33c1582b2a1bdd03e14039aef65ac0f1098fb" for 127.0.0.1 at 2019-07-18 13:21:04 +0000
1022
1007
  Processing by AuthenticationsController#callback as HTML
1023
- Parameters: {"code"=>"d125f591ab9076719712098298b83ea8778dba4cc93206c6a87b347b44066bea", "state"=>"85863db122a242dfd48ee6952e18b92f2efc702278403a89"}
1008
+ Parameters: {"code"=>"ca9ab11b8b92f43b6e5f1dce2301a9e16567570a2940233328864f4cb1f7b25d", "state"=>"3ff8ad1937d33c1582b2a1bdd03e14039aef65ac0f1098fb"}
1024
1009
  Authenticating with gds_sso strategy
1025
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
1010
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
1026
1011
   (0.1ms) begin transaction
1027
1012
   (0.1ms) commit transaction
1028
-  (0.1ms) begin transaction
1013
+  (0.0ms) begin transaction
1029
1014
   (0.1ms) commit transaction
1030
1015
  Redirected to http://www.example-client.com/restricted
1031
- Completed 302 Found in 7ms (ActiveRecord: 0.7ms)
1032
- Started GET "/restricted" for 127.0.0.1 at 2018-12-17 11:57:53 +0000
1016
+ Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
1017
+ Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:21:04 +0000
1033
1018
  Processing by ExampleController#restricted as HTML
1034
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
1019
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
1035
1020
  Rendered text template (0.0ms)
1036
- Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.2ms)
1037
- Started GET "/restricted" for 127.0.0.1 at 2018-12-18 08:02:53 +0000
1021
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
1022
+ Started GET "/restricted" for 127.0.0.1 at 2019-07-19 09:26:04 +0000
1038
1023
  Processing by ExampleController#restricted as HTML
1039
1024
  Authenticating with gds_sso strategy
1040
- Completed in 1ms (ActiveRecord: 0.0ms)
1041
- Started GET "/auth/gds" for 127.0.0.1 at 2018-12-18 08:02:53 +0000
1042
- Started GET "/restricted" for 127.0.0.1 at 2018-12-17 11:57:53 +0000
1025
+ Completed in 0ms (ActiveRecord: 0.0ms)
1026
+ Started GET "/auth/gds" for 127.0.0.1 at 2019-07-19 09:26:04 +0000
1027
+ Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:21:04 +0000
1043
1028
  Processing by ExampleController#restricted as HTML
1044
1029
  Authenticating with gds_sso strategy
1045
1030
  Completed in 0ms (ActiveRecord: 0.0ms)
1046
- Started GET "/auth/gds" for 127.0.0.1 at 2018-12-17 11:57:53 +0000
1047
- Started GET "/auth/gds/callback?code=867704b4c36c94b44f0a189ab60121334428a3ea6dfdf9f1498397f4c214b76e&state=787ced8eea19c94fbcfa10ecfbf099ba96f37d17daf85b73" for 127.0.0.1 at 2018-12-17 11:57:53 +0000
1031
+ Started GET "/auth/gds" for 127.0.0.1 at 2019-07-18 13:21:04 +0000
1032
+ Started GET "/auth/gds/callback?code=c468ef9e0a871405ff2b64e8acbdff9690a9051820ea10b2ed13feb438e429f2&state=3a591136efea0c7b669201693f33bf0663da4126469201b7" for 127.0.0.1 at 2019-07-18 13:21:04 +0000
1048
1033
  Processing by AuthenticationsController#callback as HTML
1049
- Parameters: {"code"=>"867704b4c36c94b44f0a189ab60121334428a3ea6dfdf9f1498397f4c214b76e", "state"=>"787ced8eea19c94fbcfa10ecfbf099ba96f37d17daf85b73"}
1034
+ Parameters: {"code"=>"c468ef9e0a871405ff2b64e8acbdff9690a9051820ea10b2ed13feb438e429f2", "state"=>"3a591136efea0c7b669201693f33bf0663da4126469201b7"}
1050
1035
  Authenticating with gds_sso strategy
1051
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
1036
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
1052
1037
   (0.1ms) begin transaction
1053
1038
   (0.1ms) commit transaction
1054
-  (0.1ms) begin transaction
1039
+  (0.0ms) begin transaction
1055
1040
   (0.1ms) commit transaction
1056
1041
  Redirected to http://www.example-client.com/restricted
1057
- Completed 302 Found in 7ms (ActiveRecord: 0.7ms)
1058
- Started GET "/restricted" for 127.0.0.1 at 2018-12-17 11:57:53 +0000
1059
- Processing by ExampleController#restricted as HTML
1060
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
1061
- Rendered text template (0.0ms)
1062
- Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms)
1063
- Started GET "/restricted" for 127.0.0.1 at 2018-12-18 07:52:53 +0000
1042
+ Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
1043
+ Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:21:04 +0000
1064
1044
  Processing by ExampleController#restricted as HTML
1065
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
1045
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
1066
1046
  Rendered text template (0.0ms)
1067
- Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms)
1068
- Started GET "/restricted" for 127.0.0.1 at 2018-12-17 11:57:53 +0000
1047
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
1048
+ Started GET "/restricted" for 127.0.0.1 at 2019-07-19 09:26:04 +0000
1069
1049
  Processing by ExampleController#restricted as HTML
1070
1050
  Authenticating with gds_sso strategy
1071
- Completed in 1ms (ActiveRecord: 0.0ms)
1072
- Started GET "/auth/gds" for 127.0.0.1 at 2018-12-17 11:57:53 +0000
1073
- Started GET "/auth/gds/callback?code=d0d9b7e6b9c5cdeb9cd0c56fa8913a2140954c8b401750a569f36faa3d3079f3&state=db9500998f351a3a757daffc35bd12a549bfd3d700879025" for 127.0.0.1 at 2018-12-17 11:57:53 +0000
1051
+ Completed in 0ms (ActiveRecord: 0.0ms)
1052
+ Started GET "/auth/gds" for 127.0.0.1 at 2019-07-19 09:26:04 +0000
1053
+ Started GET "/auth/gds/callback?code=123f389651ae560e448f138d7002516de5fb3ca397c7d2205def37e5f9f4f05d&state=cfb2545536fac5275b1f0f43fa8d40b2f7c5b53b8033cb31" for 127.0.0.1 at 2019-07-19 09:26:04 +0000
1074
1054
  Processing by AuthenticationsController#callback as HTML
1075
- Parameters: {"code"=>"d0d9b7e6b9c5cdeb9cd0c56fa8913a2140954c8b401750a569f36faa3d3079f3", "state"=>"db9500998f351a3a757daffc35bd12a549bfd3d700879025"}
1055
+ Parameters: {"code"=>"123f389651ae560e448f138d7002516de5fb3ca397c7d2205def37e5f9f4f05d", "state"=>"cfb2545536fac5275b1f0f43fa8d40b2f7c5b53b8033cb31"}
1076
1056
  Authenticating with gds_sso strategy
1077
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
1078
-  (0.1ms) begin transaction
1079
-  (0.1ms) commit transaction
1080
-  (0.1ms) begin transaction
1081
-  (0.1ms) commit transaction
1057
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
1058
+  (0.1ms) begin transaction
1059
+  (0.1ms) commit transaction
1060
+  (0.1ms) begin transaction
1061
+  (0.1ms) commit transaction
1082
1062
  Redirected to http://www.example-client.com/restricted
1083
- Completed 302 Found in 5ms (ActiveRecord: 0.6ms)
1084
- Started GET "/restricted" for 127.0.0.1 at 2018-12-17 11:57:53 +0000
1063
+ Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
1064
+ Started GET "/restricted" for 127.0.0.1 at 2019-07-19 09:26:04 +0000
1085
1065
  Processing by ExampleController#restricted as HTML
1086
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
1066
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
1087
1067
  Rendered text template (0.0ms)
1088
- Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
1089
- Started GET "/restricted" for 127.0.0.1 at 2018-12-18 08:02:53 +0000
1068
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
1069
+ Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:21:04 +0000
1090
1070
  Processing by ExampleController#restricted as HTML
1091
1071
  Authenticating with gds_sso strategy
1092
- Completed in 1ms (ActiveRecord: 0.0ms)
1093
- Started GET "/auth/gds" for 127.0.0.1 at 2018-12-18 08:02:53 +0000
1094
- Started GET "/auth/gds/callback?code=799cd6b510f4c2f7f319170c0c9be5898aad7530a4f2a5f6ead5ed242ad98294&state=0a20322216cf660570a492710e303e1396d6d80ec4d20ca0" for 127.0.0.1 at 2018-12-18 08:02:53 +0000
1072
+ Completed in 0ms (ActiveRecord: 0.0ms)
1073
+ Started GET "/auth/gds" for 127.0.0.1 at 2019-07-18 13:21:04 +0000
1074
+ Started GET "/auth/gds/callback?code=4ac7194730fb09acb958ec1985c175a6bdbd3e9236fe205d96057be051bb002b&state=d793a4ad36a964917485aa085ea20c7ef615485eac049e88" for 127.0.0.1 at 2019-07-18 13:21:04 +0000
1095
1075
  Processing by AuthenticationsController#callback as HTML
1096
- Parameters: {"code"=>"799cd6b510f4c2f7f319170c0c9be5898aad7530a4f2a5f6ead5ed242ad98294", "state"=>"0a20322216cf660570a492710e303e1396d6d80ec4d20ca0"}
1076
+ Parameters: {"code"=>"4ac7194730fb09acb958ec1985c175a6bdbd3e9236fe205d96057be051bb002b", "state"=>"d793a4ad36a964917485aa085ea20c7ef615485eac049e88"}
1097
1077
  Authenticating with gds_sso strategy
1098
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
1099
-  (0.1ms) begin transaction
1100
-  (0.1ms) commit transaction
1101
-  (0.1ms) begin transaction
1102
-  (0.1ms) commit transaction
1078
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
1079
+  (0.1ms) begin transaction
1080
+  (0.2ms) commit transaction
1081
+  (0.0ms) begin transaction
1082
+  (0.0ms) commit transaction
1103
1083
  Redirected to http://www.example-client.com/restricted
1104
- Completed 302 Found in 7ms (ActiveRecord: 0.8ms)
1105
- Started GET "/restricted" for 127.0.0.1 at 2018-12-18 08:02:53 +0000
1084
+ Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
1085
+ Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:21:04 +0000
1106
1086
  Processing by ExampleController#restricted as HTML
1107
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
1087
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
1108
1088
  Rendered text template (0.0ms)
1109
- Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.3ms)
1110
- Started GET "/restricted" for 127.0.0.1 at 2018-12-17 11:57:53 +0000
1111
- Processing by ExampleController#restricted as JSON
1112
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
1113
-  (0.1ms) begin transaction
1114
- SQL (0.4ms) UPDATE "users" SET "disabled" = ? WHERE "users"."id" = ? [["disabled", nil], ["id", 11]]
1115
-  (13.4ms) commit transaction
1116
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
1117
-  (0.2ms) begin transaction
1118
-  (0.1ms) commit transaction
1119
- CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
1120
-  (0.1ms) begin transaction
1121
-  (0.1ms) commit transaction
1122
- CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
1123
-  (0.1ms) begin transaction
1124
-  (0.1ms) commit transaction
1125
-  (0.1ms) begin transaction
1126
-  (0.1ms) commit transaction
1089
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
1090
+ Started GET "/restricted" for 127.0.0.1 at 2019-07-19 09:16:04 +0000
1091
+ Processing by ExampleController#restricted as HTML
1092
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
1127
1093
  Rendered text template (0.0ms)
1128
- Completed 200 OK in 151ms (Views: 0.4ms | ActiveRecord: 15.5ms)
1129
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2018-12-17 11:57:54 +0000
1130
- Processing by ExampleController#this_requires_signin_permission as JSON
1131
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
1132
-  (0.2ms) begin transaction
1133
-  (0.1ms) commit transaction
1134
- CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
1135
-  (0.1ms) begin transaction
1136
-  (0.1ms) commit transaction
1137
- CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
1094
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
1095
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "asd"]]
1096
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "user@example.com"]]
1138
1097
   (0.1ms) begin transaction
1139
-  (0.1ms) commit transaction
1140
- CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
1141
-  (0.1ms) begin transaction
1142
-  (0.1ms) commit transaction
1098
+ SQL (0.2ms) INSERT INTO "users" ("uid", "email", "name", "permissions", "organisation_slug", "organisation_content_id", "disabled") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "asd"], ["email", "user@example.com"], ["name", "A Name"], ["permissions", "---\n- signin\n"], ["organisation_slug", "hmrc"], ["organisation_content_id", "67a2b78d-eee3-45b3-80e2-792e7f71cecc"], ["disabled", nil]]
1099
+  (23.3ms) commit transaction
1100
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "asd"]]
1101
+  (0.0ms) begin transaction
1102
+  (0.0ms) commit transaction
1103
+  (0.0ms) begin transaction
1104
+ SQL (0.2ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d3383"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
1105
+  (97.6ms) commit transaction
1143
1106
   (0.1ms) begin transaction
1144
-  (0.1ms) commit transaction
1145
- Rendered text template (0.0ms)
1146
- Completed 200 OK in 138ms (Views: 0.4ms | ActiveRecord: 1.5ms)
1147
- Started GET "/restricted" for 127.0.0.1 at 2018-12-17 11:57:54 +0000
1148
- Processing by ExampleController#restricted as JSON
1149
- Completed in 45ms (ActiveRecord: 0.0ms)
1150
- Started GET "/restricted" for 127.0.0.1 at 2018-12-17 11:57:54 +0000
1151
- Processing by ExampleController#restricted as JSON
1152
- Completed in 26ms (ActiveRecord: 0.0ms)
1153
- Started GET "/restricted" for 127.0.0.1 at 2018-12-17 11:57:54 +0000
1154
- Processing by ExampleController#restricted as HTML
1155
- Authenticating with gds_sso strategy
1156
- Completed in 0ms (ActiveRecord: 0.0ms)
1157
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "asd"]]
1158
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "user@example.com"]]
1107
+ SQL (0.2ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d34711"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1108
+  (16.5ms) commit transaction
1109
+ Processing by Api::UserController#reauth as HTML
1110
+ Parameters: {"uid"=>"a1s2d3383"}
1111
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
1112
+ Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
1113
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
1114
+ Completed 403 Forbidden in 7ms (Views: 7.0ms | ActiveRecord: 0.0ms)
1115
+  (0.1ms) begin transaction
1116
+ SQL (0.2ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d33429"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
1117
+  (42.8ms) commit transaction
1159
1118
   (0.1ms) begin transaction
1160
- SQL (0.5ms) INSERT INTO "users" ("uid", "email", "name", "permissions", "organisation_slug", "organisation_content_id", "disabled") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "asd"], ["email", "user@example.com"], ["name", "A Name"], ["permissions", "---\n- signin\n"], ["organisation_slug", "hmrc"], ["organisation_content_id", "67a2b78d-eee3-45b3-80e2-792e7f71cecc"], ["disabled", nil]]
1161
-  (6.7ms) commit transaction
1162
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "asd"]]
1119
+ SQL (0.2ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d37175"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1120
+  (6.1ms) commit transaction
1121
+ Processing by Api::UserController#reauth as HTML
1122
+ Parameters: {"uid"=>"a1s2d33429"}
1123
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "a1s2d33429"]]
1124
+  (0.0ms) begin transaction
1125
+ SQL (0.2ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 5]]
1126
+  (5.7ms) commit transaction
1127
+ Completed 200 OK in 8ms (ActiveRecord: 6.0ms)
1128
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]]
1129
+  (0.0ms) begin transaction
1130
+ SQL (0.2ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d38152"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
1131
+  (4.4ms) commit transaction
1132
+  (0.0ms) begin transaction
1133
+ SQL (0.2ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d34363"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1134
+  (5.1ms) commit transaction
1135
+ Processing by Api::UserController#reauth as HTML
1136
+ Parameters: {"uid"=>"nonexistent-user"}
1137
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "nonexistent-user"]]
1138
+ Completed 200 OK in 1ms (ActiveRecord: 0.1ms)
1139
+  (0.0ms) begin transaction
1140
+ SQL (0.2ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d35000"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
1141
+  (3.8ms) commit transaction
1142
+  (0.0ms) begin transaction
1143
+ SQL (0.2ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d35750"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1144
+  (3.6ms) commit transaction
1145
+ Processing by Api::UserController#update as HTML
1146
+ Parameters: {"uid"=>"a1s2d35000"}
1147
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
1148
+ Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.3ms)
1149
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
1150
+ Completed 403 Forbidden in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
1151
+  (0.0ms) begin transaction
1152
+ SQL (0.2ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d3182"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
1153
+  (6.0ms) commit transaction
1154
+  (0.0ms) begin transaction
1155
+ SQL (0.2ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d31071"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1156
+  (4.7ms) commit transaction
1157
+ Processing by Api::UserController#update as HTML
1158
+ Parameters: {"uid"=>"a1s2d3182"}
1159
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "a1s2d3182"]]
1163
1160
   (0.1ms) begin transaction
1164
-  (0.1ms) commit transaction
1161
+ SQL (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", 11]]
1162
+  (4.9ms) commit transaction
1163
+ Completed 200 OK in 8ms (ActiveRecord: 5.3ms)
1164
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 11]]
1165
1165
  User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "dummyapiuser@domain.com"]]
1166
-  (0.1ms) begin transaction
1167
- SQL (0.5ms) INSERT INTO "users" ("email", "uid", "name", "permissions") VALUES (?, ?, ?, ?) [["email", "dummyapiuser@domain.com"], ["uid", "7967"], ["name", "Dummy API user created by gds-sso"], ["permissions", "---\n- signin\n"]]
1168
-  (5.2ms) commit transaction
1166
+  (0.0ms) begin transaction
1167
+ SQL (0.2ms) INSERT INTO "users" ("email", "uid", "name", "permissions") VALUES (?, ?, ?, ?) [["email", "dummyapiuser@domain.com"], ["uid", "2932"], ["name", "Dummy API user created by gds-sso"], ["permissions", "---\n- signin\n"]]
1168
+  (4.2ms) commit transaction
1169
1169
   (0.1ms) begin transaction
1170
- SQL (0.5ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = ? [["permissions", "---\n- signin\n- extra_permission\n"], ["id", 13]]
1171
-  (3.9ms) commit transaction
1172
-  (0.4ms) DROP TABLE IF EXISTS "users"
1173
-  (2.5ms) SELECT sqlite_version(*)
1174
-  (12.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 'f')
1175
-  (5.6ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1176
- ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
1177
-  (0.2ms) begin transaction
1178
- ActiveRecord::InternalMetadata Create (0.7ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2018-12-17 11:58:02.580580"], ["updated_at", "2018-12-17 11:58:02.580580"]]
1179
-  (4.8ms) commit transaction
1180
-  (5.3ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
1181
- ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
1182
-  (0.1ms) begin transaction
1183
-  (0.1ms) commit transaction
1170
+ SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = ? [["permissions", "---\n- signin\n- extra_permission\n"], ["id", 13]]
1171
+  (5.3ms) commit transaction
1172
+  (0.1ms) DROP TABLE IF EXISTS "users"
1173
+  (1.1ms) SELECT sqlite_version(*)
1174
+  (36.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 'f')
1175
+  (12.6ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1176
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
1177
+  (0.1ms) begin transaction
1178
+ ActiveRecord::InternalMetadata Create (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2019-07-18 13:21:11.010130"], ["updated_at", "2019-07-18 13:21:11.010130"]]
1179
+  (8.6ms) commit transaction
1180
+  (9.6ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
1181
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
1182
+  (0.0ms) begin transaction
1183
+  (0.0ms) commit transaction
1184
1184
  User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "dummyapiuser@domain.com"], ["LIMIT", 1]]
1185
1185
   (0.1ms) begin transaction
1186
- User Create (0.3ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Dummy API user created by gds-sso"], ["uid", "5428"], ["email", "dummyapiuser@domain.com"], ["permissions", "---\n- signin\n"]]
1187
-  (3.8ms) commit transaction
1186
+ User Create (0.3ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Dummy API user created by gds-sso"], ["uid", "5487"], ["email", "dummyapiuser@domain.com"], ["permissions", "---\n- signin\n"]]
1187
+  (29.9ms) commit transaction
1188
1188
   (0.1ms) begin transaction
1189
1189
  User Update (0.3ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = ? [["permissions", "---\n- signin\n- extra_permission\n"], ["id", 1]]
1190
-  (4.2ms) commit transaction
1191
- Started GET "/restricted" for 127.0.0.1 at 2018-12-17 11:58:03 +0000
1190
+  (3.6ms) commit transaction
1191
+ Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:21:11 +0000
1192
1192
  Processing by ExampleController#restricted as HTML
1193
1193
  Authenticating with gds_sso strategy
1194
- Completed in 10ms (ActiveRecord: 0.0ms)
1195
- Started GET "/restricted" for 127.0.0.1 at 2018-12-17 11:58:03 +0000
1196
- Processing by ExampleController#restricted as JSON
1197
- Completed in 51ms (ActiveRecord: 0.0ms)
1198
- Started GET "/restricted" for 127.0.0.1 at 2018-12-17 11:58:03 +0000
1199
- Processing by ExampleController#restricted as JSON
1200
- User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1201
- User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "test@example-client.com"], ["LIMIT", 1]]
1194
+ Completed in 5ms (ActiveRecord: 0.0ms)
1195
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-07-18 13:21:11 +0000
1196
+ Processing by ExampleController#this_requires_signin_permission as JSON
1197
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1198
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "test@example-client.com"], ["LIMIT", 1]]
1202
1199
   (0.1ms) begin transaction
1203
- User Create (0.6ms) 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]]
1204
-  (4.8ms) commit transaction
1205
- User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1200
+ User Create (0.3ms) 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]]
1201
+  (27.3ms) commit transaction
1202
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1206
1203
   (0.1ms) begin transaction
1207
-  (0.1ms) commit transaction
1204
+  (0.0ms) commit transaction
1208
1205
  CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1209
1206
   (0.1ms) begin transaction
1210
-  (0.1ms) commit transaction
1207
+  (0.0ms) commit transaction
1211
1208
  CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1212
1209
   (0.1ms) begin transaction
1213
1210
   (0.1ms) commit transaction
1214
-  (0.1ms) begin transaction
1215
- User Update (0.8ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "f"], ["id", 2]]
1216
-  (3.7ms) commit transaction
1211
+  (0.0ms) begin transaction
1212
+ User Update (0.3ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "f"], ["id", 2]]
1213
+  (5.7ms) commit transaction
1217
1214
  Rendering text template
1218
1215
  Rendered text template (0.0ms)
1219
- Completed 200 OK in 150ms (Views: 5.4ms | ActiveRecord: 12.1ms)
1220
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2018-12-17 11:58:03 +0000
1221
- Processing by ExampleController#this_requires_signin_permission as JSON
1222
- User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1216
+ Completed 200 OK in 118ms (Views: 2.9ms | ActiveRecord: 34.5ms)
1217
+ Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:21:11 +0000
1218
+ Processing by ExampleController#restricted as JSON
1219
+ Completed in 21ms (ActiveRecord: 0.0ms)
1220
+ Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:21:11 +0000
1221
+ Processing by ExampleController#restricted as JSON
1222
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1223
1223
   (0.1ms) begin transaction
1224
-  (0.1ms) commit transaction
1224
+  (0.0ms) commit transaction
1225
1225
  CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1226
1226
   (0.1ms) begin transaction
1227
1227
   (0.1ms) commit transaction
1228
1228
  CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1229
1229
   (0.1ms) begin transaction
1230
-  (0.2ms) commit transaction
1231
- CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1232
-  (0.1ms) begin transaction
1233
1230
   (0.1ms) commit transaction
1231
+ CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1234
1232
   (0.1ms) begin transaction
1235
1233
   (0.1ms) commit transaction
1234
+  (0.0ms) begin transaction
1235
+  (0.0ms) commit transaction
1236
1236
  Rendering text template
1237
1237
  Rendered text template (0.0ms)
1238
- Completed 200 OK in 128ms (Views: 0.5ms | ActiveRecord: 1.7ms)
1239
- Started GET "/restricted" for 127.0.0.1 at 2018-12-17 11:58:04 +0000
1238
+ Completed 200 OK in 57ms (Views: 0.3ms | ActiveRecord: 0.9ms)
1239
+ Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:21:11 +0000
1240
1240
  Processing by ExampleController#restricted as JSON
1241
- Completed in 32ms (ActiveRecord: 0.0ms)
1242
- Started GET "/" for 127.0.0.1 at 2018-12-17 11:58:04 +0000
1243
- Processing by ExampleController#index as HTML
1244
- Rendering text template
1245
- Rendered text template (0.0ms)
1246
- Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
1247
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2018-12-17 11:58:04 +0000
1241
+ Completed in 13ms (ActiveRecord: 0.0ms)
1242
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-07-18 13:21:11 +0000
1248
1243
  Processing by ExampleController#this_requires_signin_permission as HTML
1249
1244
  Authenticating with gds_sso strategy
1250
1245
  Completed in 0ms (ActiveRecord: 0.0ms)
1251
- Started GET "/auth/gds" for 127.0.0.1 at 2018-12-17 11:58:04 +0000
1252
- Started GET "/auth/gds/callback?code=d7ea5f8b0da7fc8ad9fde4d0d11a740925477b4147c9f3c8a6d8681ced196898&state=0cf580678da3643f907df92e81f8b582234719066ade43da" for 127.0.0.1 at 2018-12-17 11:58:04 +0000
1246
+ Started GET "/auth/gds" for 127.0.0.1 at 2019-07-18 13:21:11 +0000
1247
+ Started GET "/auth/gds/callback?code=1c652196e3fd2e07d670c10b591c11e68ee2f7d4f0529de3c1c1819d95e26275&state=3f6cbcf6a6fb7035413cc42d9ce14f3c2c68ea0ed6a46b93" for 127.0.0.1 at 2019-07-18 13:21:12 +0000
1253
1248
  Processing by AuthenticationsController#callback as HTML
1254
- Parameters: {"code"=>"d7ea5f8b0da7fc8ad9fde4d0d11a740925477b4147c9f3c8a6d8681ced196898", "state"=>"0cf580678da3643f907df92e81f8b582234719066ade43da"}
1249
+ Parameters: {"code"=>"1c652196e3fd2e07d670c10b591c11e68ee2f7d4f0529de3c1c1819d95e26275", "state"=>"3f6cbcf6a6fb7035413cc42d9ce14f3c2c68ea0ed6a46b93"}
1255
1250
  Authenticating with gds_sso strategy
1256
- User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1257
-  (0.1ms) begin transaction
1258
- User Update (1.4ms) UPDATE "users" SET "disabled" = ? WHERE "users"."id" = ? [["disabled", "f"], ["id", 2]]
1259
-  (6.4ms) commit transaction
1251
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1260
1252
   (0.1ms) begin transaction
1261
-  (0.1ms) commit transaction
1253
+ User Update (0.2ms) UPDATE "users" SET "disabled" = ? WHERE "users"."id" = ? [["disabled", "f"], ["id", 2]]
1254
+  (7.7ms) commit transaction
1255
+  (0.0ms) begin transaction
1256
+  (0.0ms) commit transaction
1262
1257
  Redirected to http://www.example-client.com/this_requires_signin_permission
1263
- Completed 302 Found in 15ms (ActiveRecord: 8.5ms)
1264
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2018-12-17 11:58:04 +0000
1258
+ Completed 302 Found in 14ms (ActiveRecord: 8.3ms)
1259
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-07-18 13:21:12 +0000
1265
1260
  Processing by ExampleController#this_requires_signin_permission as HTML
1266
- User Load (0.4ms) 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]]
1261
+ 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]]
1267
1262
  Rendering text template
1268
1263
  Rendered text template (0.0ms)
1269
- Completed 200 OK in 4ms (Views: 0.5ms | ActiveRecord: 0.4ms)
1270
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2018-12-17 11:58:04 +0000
1264
+ Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.2ms)
1265
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-07-18 13:21:12 +0000
1271
1266
  Processing by ExampleController#this_requires_signin_permission as HTML
1272
1267
  Authenticating with gds_sso strategy
1273
1268
  Completed in 0ms (ActiveRecord: 0.0ms)
1274
- Started GET "/auth/gds" for 127.0.0.1 at 2018-12-17 11:58:04 +0000
1275
- Started GET "/auth/gds/callback?code=a1f9a5114dbae6122402e042369f0aec89c3c28ea2691831f4e1c5bc90749b4c&state=b79596cf89733b80667dd5881b1f6229dde5f38b251b0518" for 127.0.0.1 at 2018-12-17 11:58:04 +0000
1269
+ Started GET "/auth/gds" for 127.0.0.1 at 2019-07-18 13:21:12 +0000
1270
+ Started GET "/auth/gds/callback?code=00ed07545cfae12634fdbaf344c518cbcba85a287d0a350bbf5039b054bc5a85&state=f1f30b81904350f34aa12754e6fa1dae8f9c2e475a768921" for 127.0.0.1 at 2019-07-18 13:21:12 +0000
1276
1271
  Processing by AuthenticationsController#callback as HTML
1277
- Parameters: {"code"=>"a1f9a5114dbae6122402e042369f0aec89c3c28ea2691831f4e1c5bc90749b4c", "state"=>"b79596cf89733b80667dd5881b1f6229dde5f38b251b0518"}
1272
+ Parameters: {"code"=>"00ed07545cfae12634fdbaf344c518cbcba85a287d0a350bbf5039b054bc5a85", "state"=>"f1f30b81904350f34aa12754e6fa1dae8f9c2e475a768921"}
1278
1273
  Authenticating with gds_sso strategy
1279
- User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1280
-  (0.1ms) begin transaction
1281
-  (0.1ms) commit transaction
1274
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1282
1275
   (0.1ms) begin transaction
1283
-  (0.1ms) commit transaction
1276
+  (0.0ms) commit transaction
1277
+  (0.0ms) begin transaction
1278
+  (0.6ms) commit transaction
1284
1279
  Redirected to http://www.example-client.com/this_requires_signin_permission
1285
- Completed 302 Found in 15ms (ActiveRecord: 0.9ms)
1286
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2018-12-17 11:58:04 +0000
1280
+ Completed 302 Found in 5ms (ActiveRecord: 0.9ms)
1281
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-07-18 13:21:12 +0000
1287
1282
  Processing by ExampleController#this_requires_signin_permission as HTML
1288
- User Load (0.5ms) 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]]
1283
+ 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]]
1289
1284
  Rendering text template
1290
1285
  Rendered text template (0.0ms)
1291
- Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.5ms)
1292
- Started GET "/restricted" for 127.0.0.1 at 2018-12-17 11:58:04 +0000
1286
+ Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
1287
+ Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:21:12 +0000
1293
1288
  Processing by ExampleController#restricted as HTML
1294
1289
  Authenticating with gds_sso strategy
1295
- Completed in 0ms (ActiveRecord: 0.0ms)
1296
- Started GET "/auth/gds" for 127.0.0.1 at 2018-12-17 11:58:04 +0000
1297
- Started GET "/auth/gds/callback?code=403cb7b7ba32a8732a0004d087d32917cb918ee91722033f1797271df2896f47&state=5cf8297e19b963989029258e42f7c96cfe1ba15a77930850" for 127.0.0.1 at 2018-12-17 11:58:05 +0000
1290
+ Completed in 1ms (ActiveRecord: 0.0ms)
1291
+ Started GET "/auth/gds" for 127.0.0.1 at 2019-07-18 13:21:12 +0000
1292
+ Started GET "/auth/gds/callback?code=d45f34db17f4015d83d02d4e0264acd92caa226cd529f4905262cfbf66ec8f92&state=36f281e3ef0106d5f67206be1172c4b714bf691cb10dfcb1" for 127.0.0.1 at 2019-07-18 13:21:12 +0000
1298
1293
  Processing by AuthenticationsController#callback as HTML
1299
- Parameters: {"code"=>"403cb7b7ba32a8732a0004d087d32917cb918ee91722033f1797271df2896f47", "state"=>"5cf8297e19b963989029258e42f7c96cfe1ba15a77930850"}
1294
+ Parameters: {"code"=>"d45f34db17f4015d83d02d4e0264acd92caa226cd529f4905262cfbf66ec8f92", "state"=>"36f281e3ef0106d5f67206be1172c4b714bf691cb10dfcb1"}
1300
1295
  Authenticating with gds_sso strategy
1301
- User Load (0.7ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1296
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1302
1297
   (0.1ms) begin transaction
1303
1298
   (0.1ms) commit transaction
1304
1299
   (0.1ms) begin transaction
1305
1300
   (0.1ms) commit transaction
1306
1301
  Redirected to http://www.example-client.com/restricted
1307
- Completed 302 Found in 9ms (ActiveRecord: 1.1ms)
1308
- Started GET "/restricted" for 127.0.0.1 at 2018-12-17 11:58:05 +0000
1302
+ Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
1303
+ Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:21:12 +0000
1309
1304
  Processing by ExampleController#restricted as HTML
1310
- User Load (0.6ms) 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]]
1305
+ 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]]
1311
1306
  Rendering text template
1312
1307
  Rendered text template (0.0ms)
1313
- Completed 200 OK in 4ms (Views: 0.6ms | ActiveRecord: 0.6ms)
1314
- Started GET "/restricted" for 127.0.0.1 at 2018-12-17 11:58:05 +0000
1308
+ Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
1309
+ Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:21:12 +0000
1315
1310
  Processing by ExampleController#restricted as HTML
1316
1311
  Authenticating with gds_sso strategy
1317
- Completed in 1ms (ActiveRecord: 0.0ms)
1318
- Started GET "/auth/gds" for 127.0.0.1 at 2018-12-17 11:58:05 +0000
1319
- Started GET "/auth/gds/callback?code=c48fd758f5061d4e82482c719046dc5a14c7838af8f3d348375d1cd854ba7124&state=092ff1e850766774edd599ecb1165f16da1d5f9bfeeb96d9" for 127.0.0.1 at 2018-12-17 11:58:05 +0000
1312
+ Completed in 0ms (ActiveRecord: 0.0ms)
1313
+ Started GET "/auth/gds" for 127.0.0.1 at 2019-07-18 13:21:12 +0000
1314
+ Started GET "/auth/gds/callback?code=de1c4c98610ac5c5e8523e18dd18d6199183557964ec16d3ce338731621afb97&state=15321cc1de3dbb08f06bd9ab6f3cf84f804ac256387c412a" for 127.0.0.1 at 2019-07-18 13:21:12 +0000
1320
1315
  Processing by AuthenticationsController#callback as HTML
1321
- Parameters: {"code"=>"c48fd758f5061d4e82482c719046dc5a14c7838af8f3d348375d1cd854ba7124", "state"=>"092ff1e850766774edd599ecb1165f16da1d5f9bfeeb96d9"}
1316
+ Parameters: {"code"=>"de1c4c98610ac5c5e8523e18dd18d6199183557964ec16d3ce338731621afb97", "state"=>"15321cc1de3dbb08f06bd9ab6f3cf84f804ac256387c412a"}
1322
1317
  Authenticating with gds_sso strategy
1323
- User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1324
-  (0.1ms) begin transaction
1325
-  (0.5ms) commit transaction
1326
-  (0.1ms) begin transaction
1318
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1319
+  (0.3ms) begin transaction
1327
1320
   (0.1ms) commit transaction
1321
+  (0.0ms) begin transaction
1322
+  (0.0ms) commit transaction
1328
1323
  Redirected to http://www.example-client.com/restricted
1329
- Completed 302 Found in 11ms (ActiveRecord: 1.3ms)
1330
- Started GET "/restricted" for 127.0.0.1 at 2018-12-17 11:58:05 +0000
1324
+ Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
1325
+ Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:21:12 +0000
1331
1326
  Processing by ExampleController#restricted as HTML
1332
- User Load (0.5ms) 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]]
1327
+ 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]]
1333
1328
  Rendering text template
1334
1329
  Rendered text template (0.0ms)
1335
- Completed 200 OK in 4ms (Views: 0.5ms | ActiveRecord: 0.5ms)
1336
- Started GET "/restricted" for 127.0.0.1 at 2018-12-17 11:58:05 +0000
1330
+ Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
1331
+ Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:21:12 +0000
1337
1332
  Processing by ExampleController#restricted as HTML
1338
1333
  Authenticating with gds_sso strategy
1339
1334
  Completed in 0ms (ActiveRecord: 0.0ms)
1340
- Started GET "/auth/gds" for 127.0.0.1 at 2018-12-17 11:58:05 +0000
1341
- Started GET "/auth/gds/callback?code=815b8682bac858fdba6c6482387f92b6974a76a762a0668d9538bc91a70b7827&state=b38c37ef72112d0f85da86c24bdb3c1a2ced938d0f0f0ae8" for 127.0.0.1 at 2018-12-17 11:58:05 +0000
1335
+ Started GET "/auth/gds" for 127.0.0.1 at 2019-07-18 13:21:12 +0000
1336
+ Started GET "/auth/gds/callback?code=73f9218a5c277c82e6c1089d1cd294c1d7446a9e2874b8c156dedb7d23d8eb97&state=817531a2b884783998ada9141caec466e9a0477435819513" for 127.0.0.1 at 2019-07-18 13:21:12 +0000
1342
1337
  Processing by AuthenticationsController#callback as HTML
1343
- Parameters: {"code"=>"815b8682bac858fdba6c6482387f92b6974a76a762a0668d9538bc91a70b7827", "state"=>"b38c37ef72112d0f85da86c24bdb3c1a2ced938d0f0f0ae8"}
1338
+ Parameters: {"code"=>"73f9218a5c277c82e6c1089d1cd294c1d7446a9e2874b8c156dedb7d23d8eb97", "state"=>"817531a2b884783998ada9141caec466e9a0477435819513"}
1344
1339
  Authenticating with gds_sso strategy
1345
- User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1340
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1346
1341
   (0.1ms) begin transaction
1347
1342
   (0.1ms) commit transaction
1348
1343
   (0.1ms) begin transaction
1349
-  (0.1ms) commit transaction
1344
+  (0.0ms) commit transaction
1350
1345
  Redirected to http://www.example-client.com/restricted
1351
- Completed 302 Found in 6ms (ActiveRecord: 0.8ms)
1352
- Started GET "/restricted" for 127.0.0.1 at 2018-12-17 11:58:05 +0000
1346
+ Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
1347
+ Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:21:12 +0000
1353
1348
  Processing by ExampleController#restricted as HTML
1354
- User Load (0.4ms) 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]]
1349
+ User Load (0.5ms) 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]]
1350
+ Rendering text template
1351
+ Rendered text template (0.0ms)
1352
+ Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.5ms)
1353
+ Started GET "/" for 127.0.0.1 at 2019-07-18 13:21:12 +0000
1354
+ Processing by ExampleController#index as HTML
1355
1355
  Rendering text template
1356
1356
  Rendered text template (0.0ms)
1357
- Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.4ms)
1358
- Started GET "/restricted" for 127.0.0.1 at 2018-12-17 11:58:05 +0000
1357
+ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1358
+ Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:21:12 +0000
1359
1359
  Processing by ExampleController#restricted as HTML
1360
1360
  Authenticating with gds_sso strategy
1361
- Completed in 0ms (ActiveRecord: 0.0ms)
1362
- Started GET "/auth/gds" for 127.0.0.1 at 2018-12-17 11:58:05 +0000
1363
- Started GET "/auth/gds/callback?code=b34d9b33ee98f6e17bdaa8b7b23046e699d9b35800f9ef5b50870097cb4198d6&state=ba26103d1d61abb5ec5134c928635cb7380feee0ee271d52" for 127.0.0.1 at 2018-12-17 11:58:06 +0000
1361
+ Completed in 1ms (ActiveRecord: 0.0ms)
1362
+ Started GET "/auth/gds" for 127.0.0.1 at 2019-07-18 13:21:12 +0000
1363
+ Started GET "/auth/gds/callback?code=0736760cebe296a160898ed52b3443a379fb986b53667d2caa95e137f979536c&state=78082f113110abfee6a9b8e7828776c8949866c0945efc54" for 127.0.0.1 at 2019-07-18 13:21:13 +0000
1364
1364
  Processing by AuthenticationsController#callback as HTML
1365
- Parameters: {"code"=>"b34d9b33ee98f6e17bdaa8b7b23046e699d9b35800f9ef5b50870097cb4198d6", "state"=>"ba26103d1d61abb5ec5134c928635cb7380feee0ee271d52"}
1365
+ Parameters: {"code"=>"0736760cebe296a160898ed52b3443a379fb986b53667d2caa95e137f979536c", "state"=>"78082f113110abfee6a9b8e7828776c8949866c0945efc54"}
1366
1366
  Authenticating with gds_sso strategy
1367
- User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1368
-  (0.2ms) begin transaction
1369
-  (0.1ms) commit transaction
1367
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1370
1368
   (0.1ms) begin transaction
1371
1369
   (0.1ms) commit transaction
1370
+  (0.1ms) begin transaction
1371
+  (0.0ms) commit transaction
1372
1372
  Redirected to http://www.example-client.com/restricted
1373
- Completed 302 Found in 16ms (ActiveRecord: 1.0ms)
1374
- Started GET "/restricted" for 127.0.0.1 at 2018-12-17 11:58:06 +0000
1373
+ Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
1374
+ Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:21:13 +0000
1375
1375
  Processing by ExampleController#restricted as HTML
1376
- User Load (0.4ms) 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]]
1376
+ 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]]
1377
1377
  Rendering text template
1378
1378
  Rendered text template (0.0ms)
1379
- Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.4ms)
1380
- Started GET "/restricted" for 127.0.0.1 at 2018-12-18 07:53:06 +0000
1381
- Processing by ExampleController#restricted as HTML
1382
- User Load (0.4ms) 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]]
1383
- Rendering text template
1384
- Rendered text template (0.0ms)
1385
- Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.4ms)
1386
- Started GET "/restricted" for 127.0.0.1 at 2018-12-17 11:58:06 +0000
1387
- Processing by ExampleController#restricted as HTML
1388
- Authenticating with gds_sso strategy
1389
- Completed in 0ms (ActiveRecord: 0.0ms)
1390
- Started GET "/auth/gds" for 127.0.0.1 at 2018-12-17 11:58:06 +0000
1391
- Started GET "/auth/gds/callback?code=3b1bfbca8fc3aa59826be968f577301d496cb0c8619bdf1e6285dc932b1349d2&state=123028ddf4ab42eee05846d0ca006220f5232f425512ba01" for 127.0.0.1 at 2018-12-17 11:58:06 +0000
1379
+ Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
1380
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "test@example-client.com"], ["LIMIT", 1]]
1381
+  (0.0ms) begin transaction
1382
+ User Update (0.3ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 2]]
1383
+  (23.3ms) commit transaction
1384
+ Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:21:13 +0000
1385
+ Processing by ExampleController#restricted as HTML
1386
+ 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]]
1387
+ Authenticating with gds_sso strategy
1388
+ Completed in 2ms (ActiveRecord: 0.1ms)
1389
+ Started GET "/auth/gds" for 127.0.0.1 at 2019-07-18 13:21:13 +0000
1390
+ Started GET "/auth/gds/callback?code=ac26589187f9ac0428e902f57452753eb5d6b222074118e6d31a27c18c11cec7&state=ebd42d309327d20d6a7c090000695de68355b8c3798c79a1" for 127.0.0.1 at 2019-07-18 13:21:13 +0000
1392
1391
  Processing by AuthenticationsController#callback as HTML
1393
- Parameters: {"code"=>"3b1bfbca8fc3aa59826be968f577301d496cb0c8619bdf1e6285dc932b1349d2", "state"=>"123028ddf4ab42eee05846d0ca006220f5232f425512ba01"}
1392
+ Parameters: {"code"=>"ac26589187f9ac0428e902f57452753eb5d6b222074118e6d31a27c18c11cec7", "state"=>"ebd42d309327d20d6a7c090000695de68355b8c3798c79a1"}
1394
1393
  Authenticating with gds_sso strategy
1395
- User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1394
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1396
1395
   (0.1ms) begin transaction
1397
-  (0.1ms) commit transaction
1396
+  (0.0ms) commit transaction
1398
1397
   (0.1ms) begin transaction
1399
-  (0.1ms) commit transaction
1398
+ User Update (0.2ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "f"], ["id", 2]]
1399
+  (6.6ms) commit transaction
1400
1400
  Redirected to http://www.example-client.com/restricted
1401
- Completed 302 Found in 7ms (ActiveRecord: 0.9ms)
1402
- Started GET "/restricted" for 127.0.0.1 at 2018-12-17 11:58:06 +0000
1401
+ Completed 302 Found in 11ms (ActiveRecord: 7.2ms)
1402
+ Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:21:13 +0000
1403
1403
  Processing by ExampleController#restricted as HTML
1404
- User Load (0.4ms) 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]]
1404
+ 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]]
1405
1405
  Rendering text template
1406
1406
  Rendered text template (0.0ms)
1407
- Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.4ms)
1408
- Started GET "/restricted" for 127.0.0.1 at 2018-12-18 08:03:06 +0000
1409
- Processing by ExampleController#restricted as HTML
1410
- Authenticating with gds_sso strategy
1411
- Completed in 1ms (ActiveRecord: 0.0ms)
1412
- Started GET "/auth/gds" for 127.0.0.1 at 2018-12-18 08:03:06 +0000
1413
- Started GET "/restricted" for 127.0.0.1 at 2018-12-17 11:58:06 +0000
1407
+ Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
1408
+ Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:21:13 +0000
1414
1409
  Processing by ExampleController#restricted as HTML
1415
1410
  Authenticating with gds_sso strategy
1416
1411
  Completed in 0ms (ActiveRecord: 0.0ms)
1417
- Started GET "/auth/gds" for 127.0.0.1 at 2018-12-17 11:58:06 +0000
1418
- Started GET "/auth/gds/callback?code=1cd79e129b200730f6003444e65644ef79f033fed5c16b20dd89158faf32bf18&state=c87496827f458600db2e6b52da346055090f749103f4619a" for 127.0.0.1 at 2018-12-17 11:58:07 +0000
1412
+ Started GET "/auth/gds" for 127.0.0.1 at 2019-07-18 13:21:13 +0000
1413
+ Started GET "/auth/gds/callback?code=5088af1026f8add98b778a9b381770a98485dcab1f32fb74ad7685cc5f479efb&state=aaba9dfc79a91a6512a5b2d551ec285ef98ccdd4e3414af9" for 127.0.0.1 at 2019-07-18 13:21:13 +0000
1419
1414
  Processing by AuthenticationsController#callback as HTML
1420
- Parameters: {"code"=>"1cd79e129b200730f6003444e65644ef79f033fed5c16b20dd89158faf32bf18", "state"=>"c87496827f458600db2e6b52da346055090f749103f4619a"}
1415
+ Parameters: {"code"=>"5088af1026f8add98b778a9b381770a98485dcab1f32fb74ad7685cc5f479efb", "state"=>"aaba9dfc79a91a6512a5b2d551ec285ef98ccdd4e3414af9"}
1421
1416
  Authenticating with gds_sso strategy
1422
- User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1417
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1423
1418
   (0.1ms) begin transaction
1424
1419
   (0.1ms) commit transaction
1425
-  (0.1ms) begin transaction
1420
+  (0.0ms) begin transaction
1426
1421
   (0.1ms) commit transaction
1427
1422
  Redirected to http://www.example-client.com/restricted
1428
- Completed 302 Found in 7ms (ActiveRecord: 0.9ms)
1429
- Started GET "/restricted" for 127.0.0.1 at 2018-12-17 11:58:07 +0000
1423
+ Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
1424
+ Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:21:13 +0000
1430
1425
  Processing by ExampleController#restricted as HTML
1431
- User Load (0.5ms) 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]]
1426
+ 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]]
1427
+ Rendering text template
1428
+ Rendered text template (0.0ms)
1429
+ Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
1430
+ Started GET "/restricted" for 127.0.0.1 at 2019-07-19 09:16:13 +0000
1431
+ Processing by ExampleController#restricted as HTML
1432
+ 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]]
1432
1433
  Rendering text template
1433
1434
  Rendered text template (0.0ms)
1434
- Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.5ms)
1435
- Started GET "/restricted" for 127.0.0.1 at 2018-12-18 08:03:07 +0000
1435
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
1436
+ Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:21:13 +0000
1436
1437
  Processing by ExampleController#restricted as HTML
1437
1438
  Authenticating with gds_sso strategy
1438
- Completed in 1ms (ActiveRecord: 0.0ms)
1439
- Started GET "/auth/gds" for 127.0.0.1 at 2018-12-18 08:03:07 +0000
1440
- Started GET "/auth/gds/callback?code=c82a65323b75bb4c40f909dd501805b98e4ec5dbc18c2dca59927ad94cfab785&state=07b3c1178a18735faec05c054a1c2a5fc2fa87de5da3105c" for 127.0.0.1 at 2018-12-18 08:03:07 +0000
1439
+ Completed in 0ms (ActiveRecord: 0.0ms)
1440
+ Started GET "/auth/gds" for 127.0.0.1 at 2019-07-18 13:21:13 +0000
1441
+ Started GET "/auth/gds/callback?code=08efbfb868aea0b2f650fd8a52e0113d491ebfa63993acc7567f7c8039de9708&state=737848c59b116b0b11a9e39543f9c2798ff95bf69b32bdb3" for 127.0.0.1 at 2019-07-18 13:21:13 +0000
1441
1442
  Processing by AuthenticationsController#callback as HTML
1442
- Parameters: {"code"=>"c82a65323b75bb4c40f909dd501805b98e4ec5dbc18c2dca59927ad94cfab785", "state"=>"07b3c1178a18735faec05c054a1c2a5fc2fa87de5da3105c"}
1443
+ Parameters: {"code"=>"08efbfb868aea0b2f650fd8a52e0113d491ebfa63993acc7567f7c8039de9708", "state"=>"737848c59b116b0b11a9e39543f9c2798ff95bf69b32bdb3"}
1443
1444
  Authenticating with gds_sso strategy
1444
- User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1445
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1445
1446
   (0.1ms) begin transaction
1446
1447
   (0.1ms) commit transaction
1447
-  (0.1ms) begin transaction
1448
+  (0.0ms) begin transaction
1448
1449
   (0.1ms) commit transaction
1449
1450
  Redirected to http://www.example-client.com/restricted
1450
- Completed 302 Found in 7ms (ActiveRecord: 0.9ms)
1451
- Started GET "/restricted" for 127.0.0.1 at 2018-12-18 08:03:07 +0000
1451
+ Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
1452
+ Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:21:13 +0000
1452
1453
  Processing by ExampleController#restricted as HTML
1453
- User Load (0.5ms) 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]]
1454
+ 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]]
1454
1455
  Rendering text template
1455
- Rendered text template (0.1ms)
1456
- Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.5ms)
1457
- Started GET "/restricted" for 127.0.0.1 at 2018-12-17 11:58:07 +0000
1456
+ Rendered text template (0.0ms)
1457
+ Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
1458
+ Started GET "/restricted" for 127.0.0.1 at 2019-07-19 09:26:13 +0000
1458
1459
  Processing by ExampleController#restricted as HTML
1459
1460
  Authenticating with gds_sso strategy
1460
1461
  Completed in 1ms (ActiveRecord: 0.0ms)
1461
- Started GET "/auth/gds" for 127.0.0.1 at 2018-12-17 11:58:07 +0000
1462
- Started GET "/auth/gds/callback?code=5a8f4e990f2fafbdad1ba3cea1b6fc1edd4773ca963a9bb6974aee69f1223d5d&state=d521a095ae5346d4883e763980829f3e83a408a5e2a07240" for 127.0.0.1 at 2018-12-17 11:58:07 +0000
1462
+ Started GET "/auth/gds" for 127.0.0.1 at 2019-07-19 09:26:13 +0000
1463
+ Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:21:13 +0000
1464
+ Processing by ExampleController#restricted as HTML
1465
+ Authenticating with gds_sso strategy
1466
+ Completed in 0ms (ActiveRecord: 0.0ms)
1467
+ Started GET "/auth/gds" for 127.0.0.1 at 2019-07-18 13:21:13 +0000
1468
+ Started GET "/auth/gds/callback?code=346e6610d3bd127c60884a627f5df4025440fa0ae34367478f89ddf855c35156&state=ba0eb84bdb6bf08968e06ee1a7be9961b38950688a9226aa" for 127.0.0.1 at 2019-07-18 13:21:14 +0000
1463
1469
  Processing by AuthenticationsController#callback as HTML
1464
- Parameters: {"code"=>"5a8f4e990f2fafbdad1ba3cea1b6fc1edd4773ca963a9bb6974aee69f1223d5d", "state"=>"d521a095ae5346d4883e763980829f3e83a408a5e2a07240"}
1470
+ Parameters: {"code"=>"346e6610d3bd127c60884a627f5df4025440fa0ae34367478f89ddf855c35156", "state"=>"ba0eb84bdb6bf08968e06ee1a7be9961b38950688a9226aa"}
1465
1471
  Authenticating with gds_sso strategy
1466
- User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1467
-  (0.2ms) begin transaction
1468
-  (0.1ms) commit transaction
1472
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1469
1473
   (0.1ms) begin transaction
1470
-  (0.1ms) commit transaction
1474
+  (0.2ms) commit transaction
1475
+  (0.0ms) begin transaction
1476
+  (0.0ms) commit transaction
1471
1477
  Redirected to http://www.example-client.com/restricted
1472
- Completed 302 Found in 7ms (ActiveRecord: 0.9ms)
1473
- Started GET "/restricted" for 127.0.0.1 at 2018-12-17 11:58:07 +0000
1478
+ Completed 302 Found in 4ms (ActiveRecord: 0.5ms)
1479
+ Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:21:14 +0000
1474
1480
  Processing by ExampleController#restricted as HTML
1475
- User Load (0.4ms) 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]]
1481
+ 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]]
1476
1482
  Rendering text template
1477
1483
  Rendered text template (0.0ms)
1478
- Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.4ms)
1479
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "test@example-client.com"], ["LIMIT", 1]]
1480
-  (0.1ms) begin transaction
1481
- User Update (0.7ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 2]]
1482
-  (10.7ms) commit transaction
1483
- Started GET "/restricted" for 127.0.0.1 at 2018-12-17 11:58:07 +0000
1484
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
1485
+ Started GET "/restricted" for 127.0.0.1 at 2019-07-19 09:26:14 +0000
1484
1486
  Processing by ExampleController#restricted as HTML
1485
- User Load (0.4ms) 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]]
1486
1487
  Authenticating with gds_sso strategy
1487
- Completed in 3ms (ActiveRecord: 0.4ms)
1488
- Started GET "/auth/gds" for 127.0.0.1 at 2018-12-17 11:58:07 +0000
1489
- Started GET "/auth/gds/callback?code=9dc9f966275cb3ec18ff06442c35b2967182a8201ceb5cd363438091bf2238fb&state=ec0052f912b995cf4240335fa3ce83cca6f816c420205946" for 127.0.0.1 at 2018-12-17 11:58:07 +0000
1488
+ Completed in 0ms (ActiveRecord: 0.0ms)
1489
+ Started GET "/auth/gds" for 127.0.0.1 at 2019-07-19 09:26:14 +0000
1490
+ Started GET "/auth/gds/callback?code=cff627a10180703e255cb6ecfacd0aa7e462acfb22a58da89ee2701ac2ed9d4b&state=bb672dd6503e0cd758355d1169a4e9d98b72266d4b8ebf48" for 127.0.0.1 at 2019-07-19 09:26:14 +0000
1490
1491
  Processing by AuthenticationsController#callback as HTML
1491
- Parameters: {"code"=>"9dc9f966275cb3ec18ff06442c35b2967182a8201ceb5cd363438091bf2238fb", "state"=>"ec0052f912b995cf4240335fa3ce83cca6f816c420205946"}
1492
+ Parameters: {"code"=>"cff627a10180703e255cb6ecfacd0aa7e462acfb22a58da89ee2701ac2ed9d4b", "state"=>"bb672dd6503e0cd758355d1169a4e9d98b72266d4b8ebf48"}
1492
1493
  Authenticating with gds_sso strategy
1493
- User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1494
-  (0.1ms) begin transaction
1495
-  (0.1ms) commit transaction
1496
-  (0.2ms) begin transaction
1497
- User Update (0.5ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "f"], ["id", 2]]
1498
-  (5.0ms) commit transaction
1494
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1495
+  (0.0ms) begin transaction
1496
+  (0.0ms) commit transaction
1497
+  (0.0ms) begin transaction
1498
+  (0.0ms) commit transaction
1499
1499
  Redirected to http://www.example-client.com/restricted
1500
- Completed 302 Found in 13ms (ActiveRecord: 6.4ms)
1501
- Started GET "/restricted" for 127.0.0.1 at 2018-12-17 11:58:07 +0000
1500
+ Completed 302 Found in 5ms (ActiveRecord: 0.3ms)
1501
+ Started GET "/restricted" for 127.0.0.1 at 2019-07-19 09:26:14 +0000
1502
1502
  Processing by ExampleController#restricted as HTML
1503
- User Load (0.5ms) 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]]
1503
+ 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]]
1504
1504
  Rendering text template
1505
1505
  Rendered text template (0.0ms)
1506
- Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.5ms)
1507
-  (0.1ms) begin transaction
1508
- User Create (0.6ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d33715"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
1509
-  (4.7ms) commit transaction
1510
-  (0.1ms) begin transaction
1511
- User Create (0.6ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d36880"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1512
-  (5.6ms) commit transaction
1506
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
1507
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "asd"], ["LIMIT", 1]]
1508
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "user@example.com"], ["LIMIT", 1]]
1509
+  (0.0ms) begin transaction
1510
+ User Create (0.3ms) 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]]
1511
+  (9.2ms) commit transaction
1512
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "asd"], ["LIMIT", 1]]
1513
+  (0.0ms) begin transaction
1514
+  (0.0ms) commit transaction
1515
+  (0.0ms) begin transaction
1516
+ User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d35134"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
1517
+  (7.4ms) commit transaction
1518
+  (0.0ms) begin transaction
1519
+ User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d36507"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1520
+  (3.6ms) commit transaction
1513
1521
  Processing by Api::UserController#reauth as HTML
1514
1522
  Parameters: {"uid"=>"nonexistent-user"}
1515
- User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "nonexistent-user"], ["LIMIT", 1]]
1516
- Completed 200 OK in 4ms (ActiveRecord: 0.6ms)
1517
-  (0.1ms) begin transaction
1518
- User Create (0.5ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d39689"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
1519
-  (4.0ms) commit transaction
1520
-  (0.1ms) begin transaction
1521
- User Create (0.5ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d35476"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1522
-  (3.5ms) commit transaction
1523
- Processing by Api::UserController#reauth as HTML
1524
- Parameters: {"uid"=>"a1s2d39689"}
1525
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "a1s2d39689"], ["LIMIT", 1]]
1526
-  (0.2ms) begin transaction
1527
- User Update (0.5ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 5]]
1528
-  (4.7ms) commit transaction
1529
- Completed 200 OK in 11ms (ActiveRecord: 5.7ms)
1530
- User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]]
1531
-  (0.1ms) begin transaction
1532
- User Create (0.5ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d39496"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
1533
-  (3.8ms) commit transaction
1534
-  (0.1ms) begin transaction
1535
- User Create (0.6ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d31416"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1536
-  (4.2ms) commit transaction
1523
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "nonexistent-user"], ["LIMIT", 1]]
1524
+ Completed 200 OK in 1ms (ActiveRecord: 0.1ms)
1525
+  (0.0ms) begin transaction
1526
+ User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d34120"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
1527
+  (3.7ms) commit transaction
1528
+  (0.0ms) begin transaction
1529
+ User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d3562"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1530
+  (4.4ms) commit transaction
1537
1531
  Processing by Api::UserController#reauth as HTML
1538
- Parameters: {"uid"=>"a1s2d39496"}
1532
+ Parameters: {"uid"=>"a1s2d34120"}
1539
1533
  Rendering /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
1540
1534
  Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
1541
- Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.5ms)
1535
+ Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
1542
1536
  Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
1543
- Completed 403 Forbidden in 18ms (Views: 17.6ms | ActiveRecord: 0.0ms)
1544
-  (0.1ms) begin transaction
1545
- User Create (0.8ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d35239"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
1546
-  (4.1ms) commit transaction
1537
+ Completed 403 Forbidden in 7ms (Views: 7.0ms | ActiveRecord: 0.0ms)
1547
1538
   (0.1ms) begin transaction
1548
- User Create (0.7ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d38889"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1549
-  (3.8ms) commit transaction
1539
+ User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d38855"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
1540
+  (3.9ms) commit transaction
1541
+  (0.0ms) begin transaction
1542
+ User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d37123"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1543
+  (4.4ms) commit transaction
1544
+ Processing by Api::UserController#reauth as HTML
1545
+ Parameters: {"uid"=>"a1s2d38855"}
1546
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "a1s2d38855"], ["LIMIT", 1]]
1547
+  (0.0ms) begin transaction
1548
+ User Update (0.2ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 8]]
1549
+  (4.5ms) commit transaction
1550
+ Completed 200 OK in 7ms (ActiveRecord: 4.9ms)
1551
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 8], ["LIMIT", 1]]
1552
+  (0.0ms) begin transaction
1553
+ User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d39348"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
1554
+  (4.8ms) commit transaction
1555
+  (0.0ms) begin transaction
1556
+ User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d31812"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1557
+  (3.9ms) commit transaction
1558
+ Processing by Api::UserController#update as HTML
1559
+ Parameters: {"uid"=>"a1s2d39348"}
1560
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "a1s2d39348"], ["LIMIT", 1]]
1561
+  (0.0ms) begin transaction
1562
+ 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", 10]]
1563
+  (5.0ms) commit transaction
1564
+ Completed 200 OK in 8ms (ActiveRecord: 5.3ms)
1565
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 10], ["LIMIT", 1]]
1566
+  (0.0ms) begin transaction
1567
+ User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d3818"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
1568
+  (4.9ms) commit transaction
1569
+  (0.0ms) begin transaction
1570
+ User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d36663"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1571
+  (4.6ms) commit transaction
1550
1572
  Processing by Api::UserController#update as HTML
1551
- Parameters: {"uid"=>"a1s2d35239"}
1573
+ Parameters: {"uid"=>"a1s2d3818"}
1552
1574
  Rendering /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
1553
1575
  Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
1554
- Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.5ms)
1576
+ Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
1555
1577
  Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
1556
- Completed 403 Forbidden in 3ms (Views: 1.7ms | ActiveRecord: 0.0ms)
1557
-  (0.1ms) begin transaction
1558
- User Create (0.6ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d37671"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
1559
-  (4.0ms) commit transaction
1560
-  (0.1ms) begin transaction
1561
- User Create (0.5ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d372"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1562
-  (4.7ms) commit transaction
1563
- Processing by Api::UserController#update as HTML
1564
- Parameters: {"uid"=>"a1s2d37671"}
1565
- User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "a1s2d37671"], ["LIMIT", 1]]
1566
-  (0.1ms) begin transaction
1567
- User Update (0.6ms) 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", 11]]
1568
-  (3.9ms) commit transaction
1569
- Completed 200 OK in 11ms (ActiveRecord: 5.0ms)
1570
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 11], ["LIMIT", 1]]
1571
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "asd"], ["LIMIT", 1]]
1572
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "user@example.com"], ["LIMIT", 1]]
1573
-  (0.2ms) begin transaction
1574
- User Create (0.8ms) 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]]
1575
-  (5.3ms) commit transaction
1576
- User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "asd"], ["LIMIT", 1]]
1577
-  (0.2ms) begin transaction
1578
-  (0.1ms) commit transaction
1578
+ Completed 403 Forbidden in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)