gds-sso 13.2.1 → 13.3.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,1470 +1,1470 @@
1
-  (7.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') 
2
-  (7.0ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
1
+  (8.0ms) 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.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
3
3
   (0.1ms) select sqlite_version(*)
4
-  (4.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
5
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-06 08:53:58 +0000
6
- Processing by ExampleController#this_requires_signin_permission as HTML
7
- Authenticating with gds_sso strategy
8
- Completed in 7ms (ActiveRecord: 0.0ms)
9
- Started GET "/auth/gds" for 127.0.0.1 at 2017-12-06 08:53:58 +0000
10
- Started GET "/auth/gds/callback?code=721756f3f38c8e7498458de57756d5325b49b0cce80193d6d826e77584ac26d7&state=264150b26af237a707ad2deaf3e795ace5f3fd22bf790aac" for 127.0.0.1 at 2017-12-06 08:54:09 +0000
11
- Processing by AuthenticationsController#callback as HTML
12
- Parameters: {"code"=>"721756f3f38c8e7498458de57756d5325b49b0cce80193d6d826e77584ac26d7", "state"=>"264150b26af237a707ad2deaf3e795ace5f3fd22bf790aac"}
13
- Authenticating with gds_sso strategy
14
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
4
+  (4.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
5
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-08 09:16:24 +0000
6
+ Processing by ExampleController#this_requires_signin_permission as JSON
7
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
15
8
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "test@example-client.com"]]
16
9
   (0.1ms) begin transaction
17
- SQL (0.2ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "integration-uid"], ["email", "test@example-client.com"], ["name", "Test User"], ["permissions", "---\n- signin\n"]]
18
-  (8.7ms) commit transaction
19
-  (0.1ms) begin transaction
20
- SQL (0.2ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "f"], ["id", 1]]
21
-  (4.1ms) commit transaction
22
- Redirected to http://www.example-client.com/this_requires_signin_permission
23
- Completed 302 Found in 35ms (ActiveRecord: 14.0ms)
24
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-06 08:54:10 +0000
25
- Processing by ExampleController#this_requires_signin_permission as HTML
26
- 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"]]
10
+ 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]]
11
+  (7.0ms) commit transaction
12
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
13
+  (0.1ms) begin transaction
14
+  (0.0ms) commit transaction
15
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
16
+  (0.0ms) begin transaction
17
+  (0.0ms) commit transaction
18
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
19
+  (0.0ms) begin transaction
20
+  (0.0ms) commit transaction
21
+  (0.0ms) begin transaction
22
+ SQL (0.2ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "f"], ["id", 1]]
23
+  (5.4ms) commit transaction
27
24
  Rendered text template (0.0ms)
28
- Completed 200 OK in 7ms (Views: 3.9ms | ActiveRecord: 0.2ms)
29
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-06 08:54:10 +0000
30
- Processing by ExampleController#this_requires_signin_permission as HTML
31
- Authenticating with gds_sso strategy
32
- Completed in 0ms (ActiveRecord: 0.0ms)
33
- Started GET "/auth/gds" for 127.0.0.1 at 2017-12-06 08:54:10 +0000
34
- Started GET "/auth/gds/callback?code=4a10bb215984b2245f5df8a06c762731df35b803f5ff632f948e32a9f7594803&state=49b42c5b01c7b7e1743b05d10989ac472a3b86deeadc99ed" for 127.0.0.1 at 2017-12-06 08:54:10 +0000
35
- Processing by AuthenticationsController#callback as HTML
36
- Parameters: {"code"=>"4a10bb215984b2245f5df8a06c762731df35b803f5ff632f948e32a9f7594803", "state"=>"49b42c5b01c7b7e1743b05d10989ac472a3b86deeadc99ed"}
37
- Authenticating with gds_sso strategy
25
+ Completed 200 OK in 305ms (Views: 4.0ms | ActiveRecord: 13.9ms)
26
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:16:25 +0000
27
+ Processing by ExampleController#restricted as JSON
28
+ Completed in 19ms (ActiveRecord: 0.0ms)
29
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:16:25 +0000
30
+ Processing by ExampleController#restricted as JSON
38
31
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
39
32
   (0.1ms) begin transaction
40
33
   (0.1ms) commit transaction
34
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
35
+  (0.0ms) begin transaction
36
+  (0.0ms) commit transaction
37
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
41
38
   (0.0ms) begin transaction
42
39
   (0.0ms) commit transaction
43
- Redirected to http://www.example-client.com/this_requires_signin_permission
44
- Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
45
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-06 08:54:10 +0000
46
- Processing by ExampleController#this_requires_signin_permission as HTML
47
- 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"]]
48
- Rendered text template (0.0ms)
49
- Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
50
- Started GET "/" for 127.0.0.1 at 2017-12-06 08:54:10 +0000
51
- Processing by ExampleController#index as HTML
40
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
41
+  (0.1ms) begin transaction
42
+  (0.0ms) commit transaction
43
+  (0.0ms) begin transaction
44
+  (0.1ms) commit transaction
52
45
  Rendered text template (0.0ms)
53
- Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
54
- Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:10 +0000
46
+ Completed 200 OK in 59ms (Views: 0.3ms | ActiveRecord: 0.7ms)
47
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:16:25 +0000
48
+ Processing by ExampleController#restricted as JSON
49
+ Completed in 20ms (ActiveRecord: 0.0ms)
50
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:16:25 +0000
55
51
  Processing by ExampleController#restricted as HTML
56
52
  Authenticating with gds_sso strategy
57
53
  Completed in 0ms (ActiveRecord: 0.0ms)
58
- Started GET "/auth/gds" for 127.0.0.1 at 2017-12-06 08:54:10 +0000
59
- Started GET "/auth/gds/callback?code=d8b2265fd7d9d8b4ba176829b0db0fae83abc55798718a04e2553050880b8c1f&state=510a4f2b61f3fd88e18f2349820200a2ab0e6be059e34615" for 127.0.0.1 at 2017-12-06 08:54:10 +0000
54
+ Started GET "/auth/gds" for 127.0.0.1 at 2017-12-08 09:16:25 +0000
55
+ Started GET "/auth/gds/callback?code=d92f84011a50094b7aed7bd36bb2dc487a6d8d8d005cc75a11943725807db0da&state=f6c8c683cebd89d812d85a1c930e391a9aab133f146668e7" for 127.0.0.1 at 2017-12-08 09:16:34 +0000
60
56
  Processing by AuthenticationsController#callback as HTML
61
- Parameters: {"code"=>"d8b2265fd7d9d8b4ba176829b0db0fae83abc55798718a04e2553050880b8c1f", "state"=>"510a4f2b61f3fd88e18f2349820200a2ab0e6be059e34615"}
57
+ Parameters: {"code"=>"d92f84011a50094b7aed7bd36bb2dc487a6d8d8d005cc75a11943725807db0da", "state"=>"f6c8c683cebd89d812d85a1c930e391a9aab133f146668e7"}
62
58
  Authenticating with gds_sso strategy
63
59
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
64
60
   (0.1ms) begin transaction
65
-  (0.1ms) commit transaction
66
-  (0.0ms) begin transaction
67
-  (0.0ms) commit transaction
61
+ SQL (0.2ms) UPDATE "users" SET "disabled" = ? WHERE "users"."id" = ? [["disabled", "f"], ["id", 1]]
62
+  (14.5ms) commit transaction
63
+  (0.0ms) begin transaction
64
+  (0.0ms) commit transaction
68
65
  Redirected to http://www.example-client.com/restricted
69
- Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
70
- Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:10 +0000
66
+ Completed 302 Found in 19ms (ActiveRecord: 15.0ms)
67
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:16:34 +0000
71
68
  Processing by ExampleController#restricted as HTML
72
- 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"]]
69
+ 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"]]
73
70
  Rendered text template (0.0ms)
74
- Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.1ms)
75
- Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:10 +0000
71
+ Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.2ms)
72
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:16:34 +0000
76
73
  Processing by ExampleController#restricted as HTML
77
74
  Authenticating with gds_sso strategy
78
75
  Completed in 0ms (ActiveRecord: 0.0ms)
79
- Started GET "/auth/gds" for 127.0.0.1 at 2017-12-06 08:54:10 +0000
80
- Started GET "/auth/gds/callback?code=31358df0314fd6abe4c11b375f8dc8176ee048c609ad9ea8e39e781a2a5b1e53&state=f35d5e8dd98e9964e47537a221009ca613701504a098b7fa" for 127.0.0.1 at 2017-12-06 08:54:10 +0000
76
+ Started GET "/auth/gds" for 127.0.0.1 at 2017-12-08 09:16:34 +0000
77
+ Started GET "/auth/gds/callback?code=af47fb9789619f5fc4bcffc8416a23b28e4f54616c0101453774849c36d0c8d6&state=c0bccfcfa703158f83a203f637344f9db2dde880e71eb7f9" for 127.0.0.1 at 2017-12-08 09:16:35 +0000
81
78
  Processing by AuthenticationsController#callback as HTML
82
- Parameters: {"code"=>"31358df0314fd6abe4c11b375f8dc8176ee048c609ad9ea8e39e781a2a5b1e53", "state"=>"f35d5e8dd98e9964e47537a221009ca613701504a098b7fa"}
79
+ Parameters: {"code"=>"af47fb9789619f5fc4bcffc8416a23b28e4f54616c0101453774849c36d0c8d6", "state"=>"c0bccfcfa703158f83a203f637344f9db2dde880e71eb7f9"}
83
80
  Authenticating with gds_sso strategy
84
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
85
-  (0.1ms) begin transaction
86
-  (0.0ms) commit transaction
87
-  (0.0ms) begin transaction
88
-  (0.1ms) commit transaction
81
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
82
+  (0.1ms) begin transaction
83
+  (0.0ms) commit transaction
84
+  (0.0ms) begin transaction
85
+  (0.0ms) commit transaction
89
86
  Redirected to http://www.example-client.com/restricted
90
- Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
91
- Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:10 +0000
87
+ Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
88
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:16:35 +0000
92
89
  Processing by ExampleController#restricted as HTML
93
- 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"]]
90
+ 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"]]
94
91
  Rendered text template (0.0ms)
95
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
96
- Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:10 +0000
92
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
93
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:16:35 +0000
97
94
  Processing by ExampleController#restricted as HTML
98
95
  Authenticating with gds_sso strategy
99
96
  Completed in 0ms (ActiveRecord: 0.0ms)
100
- Started GET "/auth/gds" for 127.0.0.1 at 2017-12-06 08:54:10 +0000
101
- Started GET "/auth/gds/callback?code=550067b00ffb9e1a6b9d911f284d3bdef88d77af4e251583ac77f7e8055df18f&state=ee40f08334263ea65f340a8212b664beb085756fe07fc1ca" for 127.0.0.1 at 2017-12-06 08:54:10 +0000
97
+ Started GET "/auth/gds" for 127.0.0.1 at 2017-12-08 09:16:35 +0000
98
+ Started GET "/auth/gds/callback?code=78cb632dba24cdf695bf02e022bfda3f65682e9c5ebcd4c7c4328553a77eb64b&state=7371ad93aa4aa519139e15f9ed044f29aa8e83de479e2013" for 127.0.0.1 at 2017-12-08 09:16:35 +0000
102
99
  Processing by AuthenticationsController#callback as HTML
103
- Parameters: {"code"=>"550067b00ffb9e1a6b9d911f284d3bdef88d77af4e251583ac77f7e8055df18f", "state"=>"ee40f08334263ea65f340a8212b664beb085756fe07fc1ca"}
100
+ Parameters: {"code"=>"78cb632dba24cdf695bf02e022bfda3f65682e9c5ebcd4c7c4328553a77eb64b", "state"=>"7371ad93aa4aa519139e15f9ed044f29aa8e83de479e2013"}
104
101
  Authenticating with gds_sso strategy
105
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
106
-  (0.1ms) begin transaction
107
-  (0.0ms) commit transaction
108
-  (0.0ms) begin transaction
109
-  (0.0ms) commit transaction
102
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
103
+  (0.1ms) begin transaction
104
+  (0.0ms) commit transaction
105
+  (0.0ms) begin transaction
106
+  (0.1ms) commit transaction
110
107
  Redirected to http://www.example-client.com/restricted
111
108
  Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
112
- Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:10 +0000
109
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:16:35 +0000
113
110
  Processing by ExampleController#restricted as HTML
114
- 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"]]
111
+ 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"]]
115
112
  Rendered text template (0.0ms)
116
113
  Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
117
- Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:10 +0000
118
- Processing by ExampleController#restricted as HTML
114
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-08 09:16:35 +0000
115
+ Processing by ExampleController#this_requires_signin_permission as HTML
119
116
  Authenticating with gds_sso strategy
120
117
  Completed in 0ms (ActiveRecord: 0.0ms)
121
- Started GET "/auth/gds" for 127.0.0.1 at 2017-12-06 08:54:10 +0000
122
- Started GET "/auth/gds/callback?code=51cdc6a0ee6ed2f89835ab06e2b9f850183c82530df664ec7a7b8b85387c9911&state=684974f779b894f3b27636cc0b3179513163efcd7a7b7ad6" for 127.0.0.1 at 2017-12-06 08:54:11 +0000
118
+ Started GET "/auth/gds" for 127.0.0.1 at 2017-12-08 09:16:35 +0000
119
+ Started GET "/auth/gds/callback?code=f3ad2550047bcd71f432a75c3869242cc365dddc0619d99fdaf096d62c22a309&state=aa253c92054a27a7cade43eea0c68465c648def1d4c66039" for 127.0.0.1 at 2017-12-08 09:16:35 +0000
123
120
  Processing by AuthenticationsController#callback as HTML
124
- Parameters: {"code"=>"51cdc6a0ee6ed2f89835ab06e2b9f850183c82530df664ec7a7b8b85387c9911", "state"=>"684974f779b894f3b27636cc0b3179513163efcd7a7b7ad6"}
121
+ Parameters: {"code"=>"f3ad2550047bcd71f432a75c3869242cc365dddc0619d99fdaf096d62c22a309", "state"=>"aa253c92054a27a7cade43eea0c68465c648def1d4c66039"}
125
122
  Authenticating with gds_sso strategy
126
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
127
-  (0.1ms) begin transaction
128
-  (0.0ms) commit transaction
129
-  (0.0ms) begin transaction
130
-  (0.0ms) commit transaction
131
- Redirected to http://www.example-client.com/restricted
123
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
124
+  (0.1ms) begin transaction
125
+  (0.0ms) commit transaction
126
+  (0.0ms) begin transaction
127
+  (0.0ms) commit transaction
128
+ Redirected to http://www.example-client.com/this_requires_signin_permission
132
129
  Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
133
- Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:11 +0000
134
- Processing by ExampleController#restricted as HTML
135
- 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"]]
136
- Rendered text template (0.0ms)
137
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
138
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "test@example-client.com"]]
139
-  (0.1ms) begin transaction
140
- SQL (0.1ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 1]]
141
-  (6.9ms) commit transaction
142
- Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:11 +0000
143
- Processing by ExampleController#restricted as HTML
130
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-08 09:16:35 +0000
131
+ Processing by ExampleController#this_requires_signin_permission as HTML
144
132
  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"]]
133
+ Rendered text template (0.0ms)
134
+ Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
135
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-08 09:16:35 +0000
136
+ Processing by ExampleController#this_requires_signin_permission as HTML
145
137
  Authenticating with gds_sso strategy
146
- Completed in 1ms (ActiveRecord: 0.1ms)
147
- Started GET "/auth/gds" for 127.0.0.1 at 2017-12-06 08:54:11 +0000
148
- Started GET "/auth/gds/callback?code=888d942c910e74448a72f7d3a9e2ae037e3dfe95766c351efcee909b566b257d&state=6e0395c6ae28179f9e0929a84edab7e5af3200f37b0a81c6" for 127.0.0.1 at 2017-12-06 08:54:11 +0000
138
+ Completed in 0ms (ActiveRecord: 0.0ms)
139
+ Started GET "/auth/gds" for 127.0.0.1 at 2017-12-08 09:16:35 +0000
140
+ Started GET "/auth/gds/callback?code=f01dd1d5ac1fe419835f1697ce79b98eb358155d22085876aaf1a8d63f8a0436&state=d6aad2ea181e08b726c78d9ad6856ef343f9c746f2325c0d" for 127.0.0.1 at 2017-12-08 09:16:35 +0000
149
141
  Processing by AuthenticationsController#callback as HTML
150
- Parameters: {"code"=>"888d942c910e74448a72f7d3a9e2ae037e3dfe95766c351efcee909b566b257d", "state"=>"6e0395c6ae28179f9e0929a84edab7e5af3200f37b0a81c6"}
142
+ Parameters: {"code"=>"f01dd1d5ac1fe419835f1697ce79b98eb358155d22085876aaf1a8d63f8a0436", "state"=>"d6aad2ea181e08b726c78d9ad6856ef343f9c746f2325c0d"}
151
143
  Authenticating with gds_sso strategy
152
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
153
-  (0.1ms) begin transaction
154
-  (0.1ms) commit transaction
144
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
155
145
   (0.1ms) begin transaction
156
- SQL (0.2ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "f"], ["id", 1]]
157
-  (5.8ms) commit transaction
158
- Redirected to http://www.example-client.com/restricted
159
- Completed 302 Found in 12ms (ActiveRecord: 6.4ms)
160
- Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:11 +0000
161
- Processing by ExampleController#restricted as HTML
162
- 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"]]
146
+  (0.0ms) commit transaction
147
+  (0.0ms) begin transaction
148
+  (0.0ms) commit transaction
149
+ Redirected to http://www.example-client.com/this_requires_signin_permission
150
+ Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
151
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-08 09:16:35 +0000
152
+ Processing by ExampleController#this_requires_signin_permission as HTML
153
+ 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"]]
163
154
  Rendered text template (0.0ms)
164
155
  Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
165
- Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:11 +0000
156
+ Started GET "/" for 127.0.0.1 at 2017-12-08 09:16:35 +0000
157
+ Processing by ExampleController#index as HTML
158
+ Rendered text template (0.0ms)
159
+ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
160
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:16:35 +0000
166
161
  Processing by ExampleController#restricted as HTML
167
162
  Authenticating with gds_sso strategy
168
163
  Completed in 0ms (ActiveRecord: 0.0ms)
169
- Started GET "/auth/gds" for 127.0.0.1 at 2017-12-06 08:54:11 +0000
170
- Started GET "/auth/gds/callback?code=2c54b8a7af9d95aea6a6551f7e95b3424a6d3ec30dfe74322ccc910943c2fcd2&state=90d77d7d99a79ef46b4d2cb36d44990abe571cf277492c1f" for 127.0.0.1 at 2017-12-06 08:54:11 +0000
164
+ Started GET "/auth/gds" for 127.0.0.1 at 2017-12-08 09:16:35 +0000
165
+ Started GET "/auth/gds/callback?code=c691d9611ba30187c803f3d2f761a2e0b841967309cbb1f5a3964e933606293d&state=91c1b1597d8c03818dc1fb949c23da49e990b81f3fe4462b" for 127.0.0.1 at 2017-12-08 09:16:35 +0000
171
166
  Processing by AuthenticationsController#callback as HTML
172
- Parameters: {"code"=>"2c54b8a7af9d95aea6a6551f7e95b3424a6d3ec30dfe74322ccc910943c2fcd2", "state"=>"90d77d7d99a79ef46b4d2cb36d44990abe571cf277492c1f"}
167
+ Parameters: {"code"=>"c691d9611ba30187c803f3d2f761a2e0b841967309cbb1f5a3964e933606293d", "state"=>"91c1b1597d8c03818dc1fb949c23da49e990b81f3fe4462b"}
173
168
  Authenticating with gds_sso strategy
174
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
175
-  (0.1ms) begin transaction
176
-  (0.0ms) commit transaction
177
-  (0.0ms) begin transaction
178
-  (0.0ms) commit transaction
169
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
170
+  (0.1ms) begin transaction
171
+  (0.0ms) commit transaction
172
+  (0.0ms) begin transaction
173
+  (0.0ms) commit transaction
179
174
  Redirected to http://www.example-client.com/restricted
180
175
  Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
181
- Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:11 +0000
176
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:16:35 +0000
182
177
  Processing by ExampleController#restricted as HTML
183
- 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
+ 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"]]
184
179
  Rendered text template (0.0ms)
185
180
  Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
186
- Started GET "/restricted" for 127.0.0.1 at 2017-12-07 04:59:11 +0000
181
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-09 05:21:35 +0000
187
182
  Processing by ExampleController#restricted as HTML
188
183
  Authenticating with gds_sso strategy
189
- Completed in 1ms (ActiveRecord: 0.0ms)
190
- Started GET "/auth/gds" for 127.0.0.1 at 2017-12-07 04:59:11 +0000
191
- Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:11 +0000
184
+ Completed in 0ms (ActiveRecord: 0.0ms)
185
+ Started GET "/auth/gds" for 127.0.0.1 at 2017-12-09 05:21:35 +0000
186
+ Started GET "/auth/gds/callback?code=05aeadc5aa44d6406fc554a6343d9872bbeae0feea9d34ed1df59d17aa1d512d&state=682f93024676f2802e2975bfb17885410678cf7c1ce42674" for 127.0.0.1 at 2017-12-09 05:21:35 +0000
187
+ Processing by AuthenticationsController#callback as HTML
188
+ Parameters: {"code"=>"05aeadc5aa44d6406fc554a6343d9872bbeae0feea9d34ed1df59d17aa1d512d", "state"=>"682f93024676f2802e2975bfb17885410678cf7c1ce42674"}
189
+ Authenticating with gds_sso strategy
190
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
191
+  (0.0ms) begin transaction
192
+  (0.0ms) commit transaction
193
+  (0.0ms) begin transaction
194
+  (0.1ms) commit transaction
195
+ Redirected to http://www.example-client.com/restricted
196
+ Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
197
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-09 05:21:35 +0000
198
+ Processing by ExampleController#restricted as HTML
199
+ 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"]]
200
+ Rendered text template (0.0ms)
201
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
202
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:16:35 +0000
192
203
  Processing by ExampleController#restricted as HTML
193
204
  Authenticating with gds_sso strategy
194
205
  Completed in 0ms (ActiveRecord: 0.0ms)
195
- Started GET "/auth/gds" for 127.0.0.1 at 2017-12-06 08:54:11 +0000
196
- Started GET "/auth/gds/callback?code=9521ee92403df39f9dd55ba3ef113eb5b604634d30a8dba2c04d2fbd673b03a7&state=7ab0d897f04eb98819888768b29808dc5b067fc4ad534d3e" for 127.0.0.1 at 2017-12-06 08:54:12 +0000
206
+ Started GET "/auth/gds" for 127.0.0.1 at 2017-12-08 09:16:35 +0000
207
+ Started GET "/auth/gds/callback?code=1a6cfec97fe11e2461a71ee8bdbf57aea3765d824dd4652fa8357e958b885ec4&state=6f5d43549f09de07fa0c7bfa6d61f40398e8f4cb21674d78" for 127.0.0.1 at 2017-12-08 09:16:36 +0000
197
208
  Processing by AuthenticationsController#callback as HTML
198
- Parameters: {"code"=>"9521ee92403df39f9dd55ba3ef113eb5b604634d30a8dba2c04d2fbd673b03a7", "state"=>"7ab0d897f04eb98819888768b29808dc5b067fc4ad534d3e"}
209
+ Parameters: {"code"=>"1a6cfec97fe11e2461a71ee8bdbf57aea3765d824dd4652fa8357e958b885ec4", "state"=>"6f5d43549f09de07fa0c7bfa6d61f40398e8f4cb21674d78"}
199
210
  Authenticating with gds_sso strategy
200
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
201
-  (0.1ms) begin transaction
202
-  (0.1ms) commit transaction
203
-  (0.1ms) begin transaction
204
-  (0.1ms) commit transaction
211
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
212
+  (0.1ms) begin transaction
213
+  (0.1ms) commit transaction
214
+  (0.0ms) begin transaction
215
+  (0.1ms) commit transaction
205
216
  Redirected to http://www.example-client.com/restricted
206
- Completed 302 Found in 6ms (ActiveRecord: 0.5ms)
207
- Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:12 +0000
217
+ Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
218
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:16:36 +0000
208
219
  Processing by ExampleController#restricted as HTML
209
- 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
+ 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"]]
210
221
  Rendered text template (0.0ms)
211
222
  Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
212
- Started GET "/restricted" for 127.0.0.1 at 2017-12-07 04:59:12 +0000
223
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-09 05:11:36 +0000
224
+ Processing by ExampleController#restricted as HTML
225
+ 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"]]
226
+ Rendered text template (0.0ms)
227
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
228
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:16:36 +0000
213
229
  Processing by ExampleController#restricted as HTML
214
230
  Authenticating with gds_sso strategy
215
231
  Completed in 0ms (ActiveRecord: 0.0ms)
216
- Started GET "/auth/gds" for 127.0.0.1 at 2017-12-07 04:59:12 +0000
217
- Started GET "/auth/gds/callback?code=3b749a0b2bced98683dc2cfbe553085d4bd4c4f840883dba3dde80f414543009&state=08cb36caed6426f7238b42ecb773e7a246df92ba51e839d1" for 127.0.0.1 at 2017-12-07 04:59:12 +0000
232
+ Started GET "/auth/gds" for 127.0.0.1 at 2017-12-08 09:16:36 +0000
233
+ Started GET "/auth/gds/callback?code=d27c2026d4977688b3481a6299783fbb7e5f5dfe7fa10530c6af91d59200deaf&state=bf5cebd4bda79ef168638e74ba840749c0a3e34e5a08ec17" for 127.0.0.1 at 2017-12-08 09:16:36 +0000
218
234
  Processing by AuthenticationsController#callback as HTML
219
- Parameters: {"code"=>"3b749a0b2bced98683dc2cfbe553085d4bd4c4f840883dba3dde80f414543009", "state"=>"08cb36caed6426f7238b42ecb773e7a246df92ba51e839d1"}
235
+ Parameters: {"code"=>"d27c2026d4977688b3481a6299783fbb7e5f5dfe7fa10530c6af91d59200deaf", "state"=>"bf5cebd4bda79ef168638e74ba840749c0a3e34e5a08ec17"}
220
236
  Authenticating with gds_sso strategy
221
237
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
222
238
   (0.1ms) begin transaction
223
239
   (0.1ms) commit transaction
224
-  (0.1ms) begin transaction
240
+  (0.0ms) begin transaction
225
241
   (0.1ms) commit transaction
226
242
  Redirected to http://www.example-client.com/restricted
227
243
  Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
228
- Started GET "/restricted" for 127.0.0.1 at 2017-12-07 04:59:12 +0000
244
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:16:36 +0000
229
245
  Processing by ExampleController#restricted as HTML
230
246
  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"]]
231
247
  Rendered text template (0.0ms)
232
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
233
- Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:12 +0000
248
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
249
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-09 05:21:36 +0000
234
250
  Processing by ExampleController#restricted as HTML
235
251
  Authenticating with gds_sso strategy
236
252
  Completed in 0ms (ActiveRecord: 0.0ms)
237
- Started GET "/auth/gds" for 127.0.0.1 at 2017-12-06 08:54:12 +0000
238
- Started GET "/auth/gds/callback?code=68054e9b6541d2e63aade0882bd0f348520a16771ee543a1f95085d271680717&state=75fd2036bf87bbef39fa6de085a0d407624fb5ab67a9ab2d" for 127.0.0.1 at 2017-12-06 08:54:12 +0000
253
+ Started GET "/auth/gds" for 127.0.0.1 at 2017-12-09 05:21:36 +0000
254
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:16:36 +0000
255
+ Processing by ExampleController#restricted as HTML
256
+ Authenticating with gds_sso strategy
257
+ Completed in 0ms (ActiveRecord: 0.0ms)
258
+ Started GET "/auth/gds" for 127.0.0.1 at 2017-12-08 09:16:36 +0000
259
+ Started GET "/auth/gds/callback?code=898f4ce3a736f6e2010ff4ff80658592debe844c05212d499a23fdde59359d28&state=38e017ec36bb74ebb64d287aead6899b070a94442f6e9328" for 127.0.0.1 at 2017-12-08 09:16:36 +0000
239
260
  Processing by AuthenticationsController#callback as HTML
240
- Parameters: {"code"=>"68054e9b6541d2e63aade0882bd0f348520a16771ee543a1f95085d271680717", "state"=>"75fd2036bf87bbef39fa6de085a0d407624fb5ab67a9ab2d"}
261
+ Parameters: {"code"=>"898f4ce3a736f6e2010ff4ff80658592debe844c05212d499a23fdde59359d28", "state"=>"38e017ec36bb74ebb64d287aead6899b070a94442f6e9328"}
241
262
  Authenticating with gds_sso strategy
242
263
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
243
264
   (0.1ms) begin transaction
244
265
   (0.0ms) commit transaction
245
266
   (0.0ms) begin transaction
246
-  (0.1ms) commit transaction
267
+  (0.0ms) commit transaction
247
268
  Redirected to http://www.example-client.com/restricted
248
269
  Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
249
- Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:12 +0000
270
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:16:36 +0000
250
271
  Processing by ExampleController#restricted as HTML
251
272
  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"]]
252
273
  Rendered text template (0.0ms)
253
274
  Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
254
- Started GET "/restricted" for 127.0.0.1 at 2017-12-07 04:49:12 +0000
275
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "test@example-client.com"]]
276
+  (0.1ms) begin transaction
277
+ SQL (0.1ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 1]]
278
+  (6.4ms) commit transaction
279
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:16:36 +0000
255
280
  Processing by ExampleController#restricted as HTML
256
281
  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"]]
257
- Rendered text template (0.0ms)
258
- Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
259
- Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:12 +0000
260
- Processing by ExampleController#restricted as JSON
261
- Completed in 24ms (ActiveRecord: 0.0ms)
262
- Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:12 +0000
263
- Processing by ExampleController#restricted as JSON
264
- Completed in 12ms (ActiveRecord: 0.0ms)
265
- Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:12 +0000
266
- Processing by ExampleController#restricted as JSON
267
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
268
-  (0.1ms) begin transaction
269
- SQL (0.2ms) UPDATE "users" SET "disabled" = ? WHERE "users"."id" = ? [["disabled", nil], ["id", 1]]
270
-  (8.2ms) commit transaction
282
+ Authenticating with gds_sso strategy
283
+ Completed in 1ms (ActiveRecord: 0.1ms)
284
+ Started GET "/auth/gds" for 127.0.0.1 at 2017-12-08 09:16:36 +0000
285
+ Started GET "/auth/gds/callback?code=1536f0c355d3e69ab067eb9b277ca8a1e55a994f351cdd0a4000216ec8b9373d&state=a5a7bdcf03de4298f063b99dd9af9f9dc38e55c46e1250af" for 127.0.0.1 at 2017-12-08 09:16:37 +0000
286
+ Processing by AuthenticationsController#callback as HTML
287
+ Parameters: {"code"=>"1536f0c355d3e69ab067eb9b277ca8a1e55a994f351cdd0a4000216ec8b9373d", "state"=>"a5a7bdcf03de4298f063b99dd9af9f9dc38e55c46e1250af"}
288
+ Authenticating with gds_sso strategy
271
289
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
272
290
   (0.1ms) begin transaction
273
291
   (0.0ms) commit transaction
274
- CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
275
-  (0.0ms) begin transaction
276
-  (0.0ms) commit transaction
277
- CACHE (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
278
-  (0.0ms) begin transaction
279
-  (0.0ms) commit transaction
280
292
   (0.0ms) begin transaction
281
-  (0.0ms) commit transaction
293
+ SQL (0.1ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "f"], ["id", 1]]
294
+  (4.9ms) commit transaction
295
+ Redirected to http://www.example-client.com/restricted
296
+ Completed 302 Found in 9ms (ActiveRecord: 5.3ms)
297
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:16:37 +0000
298
+ Processing by ExampleController#restricted as HTML
299
+ 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"]]
282
300
  Rendered text template (0.0ms)
283
- Completed 200 OK in 71ms (Views: 0.3ms | ActiveRecord: 9.2ms)
284
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-06 08:54:12 +0000
285
- Processing by ExampleController#this_requires_signin_permission as JSON
286
- User Load (0.1ms) 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
- CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
290
-  (0.1ms) begin transaction
291
-  (0.1ms) commit transaction
292
- CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
293
-  (0.1ms) begin transaction
294
-  (0.0ms) commit transaction
295
- CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
296
-  (0.1ms) begin transaction
297
-  (0.1ms) commit transaction
298
-  (0.0ms) begin transaction
299
-  (0.0ms) commit transaction
300
- Rendered text template (0.1ms)
301
- Completed 200 OK in 65ms (Views: 0.3ms | ActiveRecord: 0.7ms)
301
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
302
302
   (0.1ms) begin transaction
303
- SQL (0.2ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d37823"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
304
-  (5.5ms) commit transaction
305
-  (0.1ms) begin transaction
306
- SQL (0.1ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d32702"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
307
-  (5.8ms) commit transaction
303
+ SQL (0.2ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d38537"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
304
+  (4.2ms) commit transaction
305
+  (0.0ms) begin transaction
306
+ SQL (0.1ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d39615"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
307
+  (4.8ms) commit transaction
308
308
  Processing by Api::UserController#update as HTML
309
- Parameters: {"uid"=>"a1s2d37823"}
310
- Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.3ms)
311
- Completed 403 Forbidden in 7ms (Views: 7.1ms | ActiveRecord: 0.0ms)
312
-  (0.1ms) begin transaction
313
- SQL (0.1ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d39554"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
314
-  (5.9ms) commit transaction
315
-  (0.1ms) begin transaction
316
- SQL (0.1ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d37713"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
317
-  (4.0ms) commit transaction
309
+ Parameters: {"uid"=>"a1s2d38537"}
310
+ Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
311
+ Completed 403 Forbidden in 7ms (Views: 6.2ms | ActiveRecord: 0.0ms)
312
+  (0.0ms) begin transaction
313
+ SQL (0.2ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d35045"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
314
+  (5.4ms) commit transaction
315
+  (0.0ms) begin transaction
316
+ SQL (0.1ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d38178"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
317
+  (4.9ms) commit transaction
318
318
  Processing by Api::UserController#update as HTML
319
- Parameters: {"uid"=>"a1s2d39554"}
320
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "a1s2d39554"]]
321
-  (0.1ms) begin transaction
319
+ Parameters: {"uid"=>"a1s2d35045"}
320
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "a1s2d35045"]]
321
+  (0.0ms) begin transaction
322
322
  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]]
323
-  (6.3ms) commit transaction
324
- Completed 200 OK in 10ms (ActiveRecord: 6.6ms)
325
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]]
323
+  (5.6ms) commit transaction
324
+ Completed 200 OK in 9ms (ActiveRecord: 5.9ms)
325
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]]
326
326
   (0.0ms) begin transaction
327
- SQL (0.1ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d35037"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
328
-  (4.0ms) commit transaction
327
+ SQL (0.1ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d3648"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
328
+  (8.7ms) commit transaction
329
329
   (0.0ms) begin transaction
330
- SQL (0.1ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d35549"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
330
+ SQL (0.1ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d336"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
331
331
   (5.1ms) commit transaction
332
332
  Processing by Api::UserController#reauth as HTML
333
333
  Parameters: {"uid"=>"nonexistent-user"}
334
334
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "nonexistent-user"]]
335
335
  Completed 200 OK in 1ms (ActiveRecord: 0.1ms)
336
-  (0.0ms) begin transaction
337
- SQL (0.1ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d33797"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
336
+  (0.1ms) begin transaction
337
+ SQL (0.1ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d35314"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
338
338
   (4.1ms) commit transaction
339
339
   (0.0ms) begin transaction
340
- SQL (0.1ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d31789"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
341
-  (5.0ms) commit transaction
340
+ SQL (0.1ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d34145"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
341
+  (5.1ms) commit transaction
342
342
  Processing by Api::UserController#reauth as HTML
343
- Parameters: {"uid"=>"a1s2d33797"}
344
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "a1s2d33797"]]
345
-  (0.0ms) begin transaction
343
+ Parameters: {"uid"=>"a1s2d35314"}
344
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "a1s2d35314"]]
345
+  (0.1ms) begin transaction
346
346
  SQL (0.1ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 8]]
347
-  (4.7ms) commit transaction
348
- Completed 200 OK in 7ms (ActiveRecord: 4.9ms)
347
+  (4.8ms) commit transaction
348
+ Completed 200 OK in 7ms (ActiveRecord: 5.1ms)
349
349
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 8]]
350
350
   (0.0ms) begin transaction
351
- SQL (0.1ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d34996"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
352
-  (4.8ms) commit transaction
353
-  (0.1ms) begin transaction
354
- SQL (0.1ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d38706"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
355
-  (3.8ms) commit transaction
351
+ SQL (0.2ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d3145"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
352
+  (7.6ms) commit transaction
353
+  (0.0ms) begin transaction
354
+ SQL (0.1ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d38931"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
355
+  (4.2ms) commit transaction
356
356
  Processing by Api::UserController#reauth as HTML
357
- Parameters: {"uid"=>"a1s2d34996"}
357
+ Parameters: {"uid"=>"a1s2d3145"}
358
358
  Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.0ms)
359
- Completed 403 Forbidden in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
359
+ Completed 403 Forbidden in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
360
360
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "asd"]]
361
361
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "user@example.com"]]
362
362
   (0.1ms) begin transaction
363
363
  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]]
364
-  (4.9ms) commit transaction
364
+  (5.3ms) commit transaction
365
365
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "asd"]]
366
-  (0.1ms) begin transaction
366
+  (0.0ms) begin transaction
367
367
   (0.0ms) commit transaction
368
-  (5.5ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "uid" varchar NOT NULL, "email" varchar NOT NULL, "remotely_signed_out" boolean, "permissions" text, "organisation_slug" varchar, "organisation_content_id" varchar, "disabled" boolean DEFAULT 'f')
369
-  (5.9ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
368
+  (7.9ms) 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')
369
+  (6.3ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
370
370
  ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
371
-  (0.0ms) begin transaction
372
- SQL (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2017-12-06 08:54:19 UTC], ["updated_at", 2017-12-06 08:54:19 UTC]]
373
-  (3.9ms) commit transaction
374
-  (5.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
371
+  (0.1ms) begin transaction
372
+ SQL (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2017-12-08 09:16:47 UTC], ["updated_at", 2017-12-08 09:16:47 UTC]]
373
+  (6.6ms) commit transaction
374
+  (4.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
375
375
  ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
376
-  (0.0ms) begin transaction
377
-  (0.1ms) commit transaction
378
- Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:20 +0000
379
- Processing by ExampleController#restricted as JSON
380
- Completed in 36ms (ActiveRecord: 0.0ms)
381
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-06 08:54:20 +0000
382
- Processing by ExampleController#this_requires_signin_permission as JSON
383
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
384
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "test@example-client.com"], ["LIMIT", 1]]
385
376
   (0.1ms) begin transaction
386
- SQL (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions", "disabled") VALUES (?, ?, ?, ?, ?) [["name", "Test User"], ["uid", "integration-uid"], ["email", "test@example-client.com"], ["permissions", "---\n- signin\n"], ["disabled", nil]]
387
-  (4.7ms) commit transaction
388
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
389
-  (0.0ms) begin transaction
390
377
   (0.0ms) commit transaction
391
- CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
378
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "asd"], ["LIMIT", 1]]
379
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "user@example.com"], ["LIMIT", 1]]
380
+  (0.1ms) begin transaction
381
+ SQL (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions", "organisation_slug", "organisation_content_id", "disabled") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "A Name"], ["uid", "asd"], ["email", "user@example.com"], ["permissions", "---\n- signin\n"], ["organisation_slug", "hmrc"], ["organisation_content_id", "67a2b78d-eee3-45b3-80e2-792e7f71cecc"], ["disabled", nil]]
382
+  (8.4ms) commit transaction
383
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "asd"], ["LIMIT", 1]]
392
384
   (0.0ms) begin transaction
393
385
   (0.1ms) commit transaction
394
- CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
386
+  (0.0ms) begin transaction
387
+ SQL (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d34536"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
388
+  (5.4ms) commit transaction
389
+  (0.0ms) begin transaction
390
+ SQL (0.1ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d36440"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
391
+  (6.4ms) commit transaction
392
+ Processing by Api::UserController#update as HTML
393
+ Parameters: {"uid"=>"a1s2d34536"}
394
+ Rendering /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
395
+ Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
396
+ Completed 403 Forbidden in 10ms (Views: 9.6ms | ActiveRecord: 0.0ms)
395
397
   (0.1ms) begin transaction
396
-  (0.0ms) commit transaction
398
+ SQL (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d32239"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
399
+  (5.8ms) commit transaction
397
400
   (0.0ms) begin transaction
398
- SQL (0.2ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", false], ["id", 1]]
399
-  (4.9ms) commit transaction
400
- Rendering text template
401
- Rendered text template (0.0ms)
402
- Completed 200 OK in 92ms (Views: 3.2ms | ActiveRecord: 11.5ms)
403
- Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:20 +0000
404
- Processing by ExampleController#restricted as JSON
405
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
401
+ SQL (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d31177"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
402
+  (4.7ms) commit transaction
403
+ Processing by Api::UserController#update as HTML
404
+ Parameters: {"uid"=>"a1s2d32239"}
405
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "a1s2d32239"], ["LIMIT", 1]]
406
406
   (0.1ms) begin transaction
407
-  (0.0ms) commit transaction
408
- CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
407
+ 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]]
408
+  (6.2ms) commit transaction
409
+ Completed 200 OK in 10ms (ActiveRecord: 6.6ms)
410
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]]
409
411
   (0.1ms) begin transaction
410
-  (0.1ms) commit transaction
411
- CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
412
+ SQL (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d34143"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
413
+  (5.0ms) commit transaction
414
+  (0.0ms) begin transaction
415
+ SQL (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d31147"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
416
+  (5.6ms) commit transaction
417
+ Processing by Api::UserController#reauth as HTML
418
+ Parameters: {"uid"=>"a1s2d34143"}
419
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "a1s2d34143"], ["LIMIT", 1]]
420
+  (0.0ms) begin transaction
421
+ SQL (0.1ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", true], ["id", 6]]
422
+  (5.3ms) commit transaction
423
+ Completed 200 OK in 7ms (ActiveRecord: 5.5ms)
424
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]]
412
425
   (0.1ms) begin transaction
413
-  (0.1ms) commit transaction
414
- CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
426
+ SQL (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d37829"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
427
+  (5.1ms) commit transaction
428
+  (0.0ms) begin transaction
429
+ SQL (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d37721"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
430
+  (4.9ms) commit transaction
431
+ Processing by Api::UserController#reauth as HTML
432
+ Parameters: {"uid"=>"a1s2d37829"}
433
+ Rendering /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
434
+ Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.0ms)
435
+ Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
415
436
   (0.1ms) begin transaction
416
-  (0.0ms) commit transaction
437
+ SQL (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d33038"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
438
+  (5.2ms) commit transaction
439
+  (0.0ms) begin transaction
440
+ SQL (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d33797"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
441
+  (4.0ms) commit transaction
442
+ Processing by Api::UserController#reauth as HTML
443
+ Parameters: {"uid"=>"nonexistent-user"}
444
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "nonexistent-user"], ["LIMIT", 1]]
445
+ Completed 200 OK in 1ms (ActiveRecord: 0.1ms)
446
+ Started GET "/" for 127.0.0.1 at 2017-12-08 09:16:48 +0000
447
+ Processing by ExampleController#index as HTML
417
448
  Rendering text template
418
449
  Rendered text template (0.0ms)
419
- Completed 200 OK in 72ms (Views: 0.3ms | ActiveRecord: 0.7ms)
420
- Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:20 +0000
421
- Processing by ExampleController#restricted as JSON
422
- Completed in 13ms (ActiveRecord: 0.0ms)
423
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-06 08:54:20 +0000
424
- Processing by ExampleController#this_requires_signin_permission as HTML
450
+ Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)
451
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:16:48 +0000
452
+ Processing by ExampleController#restricted as HTML
425
453
  Authenticating with gds_sso strategy
426
- Completed in 0ms (ActiveRecord: 0.0ms)
427
- Started GET "/auth/gds" for 127.0.0.1 at 2017-12-06 08:54:20 +0000
428
- Started GET "/auth/gds/callback?code=26e80b1a0896bdff68ae48a526b7e0c82b7a7b301ce8fc240af2d83595a8b292&state=28743b98fa3b21e30f0debbe7d8e3ff55ad3bdbb88989151" for 127.0.0.1 at 2017-12-06 08:54:20 +0000
454
+ Completed in 7ms (ActiveRecord: 0.0ms)
455
+ Started GET "/auth/gds" for 127.0.0.1 at 2017-12-08 09:16:48 +0000
456
+ Started GET "/auth/gds/callback?code=a540b134e03a1cf4285c1aeedbdd48127f6b4f7783e9e5d98f9831c66a39d908&state=ab157cfff8d5c2d7e5437d5181384eebe5b4bac526386278" for 127.0.0.1 at 2017-12-08 09:16:48 +0000
429
457
  Processing by AuthenticationsController#callback as HTML
430
- Parameters: {"code"=>"26e80b1a0896bdff68ae48a526b7e0c82b7a7b301ce8fc240af2d83595a8b292", "state"=>"28743b98fa3b21e30f0debbe7d8e3ff55ad3bdbb88989151"}
458
+ Parameters: {"code"=>"a540b134e03a1cf4285c1aeedbdd48127f6b4f7783e9e5d98f9831c66a39d908", "state"=>"ab157cfff8d5c2d7e5437d5181384eebe5b4bac526386278"}
431
459
  Authenticating with gds_sso strategy
432
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
460
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
461
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "test@example-client.com"], ["LIMIT", 1]]
433
462
   (0.1ms) begin transaction
434
- SQL (0.2ms) UPDATE "users" SET "disabled" = ? WHERE "users"."id" = ? [["disabled", false], ["id", 1]]
435
-  (4.5ms) commit transaction
436
- Redirected to http://www.example-client.com/this_requires_signin_permission
437
- Completed 302 Found in 10ms (ActiveRecord: 5.1ms)
438
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-06 08:54:20 +0000
439
- Processing by ExampleController#this_requires_signin_permission as HTML
463
+ SQL (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Test User"], ["uid", "integration-uid"], ["email", "test@example-client.com"], ["permissions", "---\n- signin\n"]]
464
+  (5.9ms) commit transaction
465
+  (0.1ms) begin transaction
466
+ SQL (0.2ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", false], ["id", 12]]
467
+  (4.1ms) commit transaction
468
+ Redirected to http://www.example-client.com/restricted
469
+ Completed 302 Found in 15ms (ActiveRecord: 10.8ms)
470
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:16:48 +0000
471
+ Processing by ExampleController#restricted as HTML
440
472
  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", false], ["LIMIT", 1]]
441
473
  Rendering text template
442
474
  Rendered text template (0.0ms)
443
475
  Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
444
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-06 08:54:20 +0000
476
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-08 09:16:48 +0000
445
477
  Processing by ExampleController#this_requires_signin_permission as HTML
446
478
  Authenticating with gds_sso strategy
447
479
  Completed in 0ms (ActiveRecord: 0.0ms)
448
- Started GET "/auth/gds" for 127.0.0.1 at 2017-12-06 08:54:20 +0000
449
- Started GET "/auth/gds/callback?code=3a05bd6916381ba7eadeac5908ef718f3a08fa3d64d1294c5d99528652335b53&state=3ea8bbad69f524bfa168334d84063e1a668786b3fc2155d7" for 127.0.0.1 at 2017-12-06 08:54:20 +0000
480
+ Started GET "/auth/gds" for 127.0.0.1 at 2017-12-08 09:16:48 +0000
481
+ Started GET "/auth/gds/callback?code=926668ccbab6eded785b4638585f1c4a8a8b5f2856f6b35fc11508f4daa9bb4b&state=8de071844bdac351ed218a4c4eaf9e6348cfb58f51358fc3" for 127.0.0.1 at 2017-12-08 09:16:48 +0000
450
482
  Processing by AuthenticationsController#callback as HTML
451
- Parameters: {"code"=>"3a05bd6916381ba7eadeac5908ef718f3a08fa3d64d1294c5d99528652335b53", "state"=>"3ea8bbad69f524bfa168334d84063e1a668786b3fc2155d7"}
483
+ Parameters: {"code"=>"926668ccbab6eded785b4638585f1c4a8a8b5f2856f6b35fc11508f4daa9bb4b", "state"=>"8de071844bdac351ed218a4c4eaf9e6348cfb58f51358fc3"}
452
484
  Authenticating with gds_sso strategy
453
485
  User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
454
486
   (0.0ms) begin transaction
455
487
   (0.0ms) commit transaction
456
488
  Redirected to http://www.example-client.com/this_requires_signin_permission
457
489
  Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
458
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-06 08:54:20 +0000
490
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-08 09:16:48 +0000
459
491
  Processing by ExampleController#this_requires_signin_permission as HTML
460
- 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", false], ["LIMIT", 1]]
461
- Rendering text template
462
- Rendered text template (0.0ms)
463
- Completed 200 OK in 3ms (Views: 1.3ms | ActiveRecord: 0.2ms)
464
- Started GET "/" for 127.0.0.1 at 2017-12-06 08:54:20 +0000
465
- Processing by ExampleController#index as HTML
492
+ 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", false], ["LIMIT", 1]]
466
493
  Rendering text template
467
494
  Rendered text template (0.0ms)
468
- Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
469
- Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:21 +0000
470
- Processing by ExampleController#restricted as HTML
495
+ Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
496
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-08 09:16:48 +0000
497
+ Processing by ExampleController#this_requires_signin_permission as HTML
471
498
  Authenticating with gds_sso strategy
472
499
  Completed in 0ms (ActiveRecord: 0.0ms)
473
- Started GET "/auth/gds" for 127.0.0.1 at 2017-12-06 08:54:21 +0000
474
- Started GET "/auth/gds/callback?code=464df3a0b9b32d5f8be009826c868aa3d125728bbf4668a58918cfdd86198de3&state=677173d0259063e1cc52bf55d016dd6d2644481bcb710c35" for 127.0.0.1 at 2017-12-06 08:54:21 +0000
500
+ Started GET "/auth/gds" for 127.0.0.1 at 2017-12-08 09:16:48 +0000
501
+ Started GET "/auth/gds/callback?code=08640100dab3990aa91c70de73b834800ed7c557848f9e8be3687a55b16026c4&state=231c81ff35e4db84ac997834586691c6a1c0fd829c0ca8f6" for 127.0.0.1 at 2017-12-08 09:16:48 +0000
475
502
  Processing by AuthenticationsController#callback as HTML
476
- Parameters: {"code"=>"464df3a0b9b32d5f8be009826c868aa3d125728bbf4668a58918cfdd86198de3", "state"=>"677173d0259063e1cc52bf55d016dd6d2644481bcb710c35"}
503
+ Parameters: {"code"=>"08640100dab3990aa91c70de73b834800ed7c557848f9e8be3687a55b16026c4", "state"=>"231c81ff35e4db84ac997834586691c6a1c0fd829c0ca8f6"}
477
504
  Authenticating with gds_sso strategy
478
505
  User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
479
506
   (0.0ms) begin transaction
480
-  (0.1ms) commit transaction
481
- Redirected to http://www.example-client.com/restricted
482
- Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
483
- Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:21 +0000
484
- Processing by ExampleController#restricted as HTML
507
+  (0.0ms) commit transaction
508
+ Redirected to http://www.example-client.com/this_requires_signin_permission
509
+ Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
510
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-08 09:16:48 +0000
511
+ Processing by ExampleController#this_requires_signin_permission as HTML
485
512
  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", false], ["LIMIT", 1]]
486
513
  Rendering text template
487
514
  Rendered text template (0.0ms)
488
515
  Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
489
- Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:21 +0000
516
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:16:48 +0000
490
517
  Processing by ExampleController#restricted as HTML
491
518
  Authenticating with gds_sso strategy
492
519
  Completed in 0ms (ActiveRecord: 0.0ms)
493
- Started GET "/auth/gds" for 127.0.0.1 at 2017-12-06 08:54:21 +0000
494
- Started GET "/auth/gds/callback?code=612077a1edcd8ef49a88025f95f6b9be247ef89fc0f21803ebdd304a3414fad9&state=2b8f5572cb52756340f55af619e856d82bd8adbc0c08f91a" for 127.0.0.1 at 2017-12-06 08:54:21 +0000
520
+ Started GET "/auth/gds" for 127.0.0.1 at 2017-12-08 09:16:48 +0000
521
+ Started GET "/auth/gds/callback?code=6cbb7ec7ec3bfd123e1f313ae0298209695c81fcf92137be4878bea828cf451f&state=4d9441cb36807b4262d29e06c7b3d0844eb6fa83533ae93e" for 127.0.0.1 at 2017-12-08 09:16:49 +0000
495
522
  Processing by AuthenticationsController#callback as HTML
496
- Parameters: {"code"=>"612077a1edcd8ef49a88025f95f6b9be247ef89fc0f21803ebdd304a3414fad9", "state"=>"2b8f5572cb52756340f55af619e856d82bd8adbc0c08f91a"}
523
+ Parameters: {"code"=>"6cbb7ec7ec3bfd123e1f313ae0298209695c81fcf92137be4878bea828cf451f", "state"=>"4d9441cb36807b4262d29e06c7b3d0844eb6fa83533ae93e"}
497
524
  Authenticating with gds_sso strategy
498
525
  User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
499
-  (0.1ms) begin transaction
526
+  (0.0ms) begin transaction
500
527
   (0.0ms) commit transaction
501
528
  Redirected to http://www.example-client.com/restricted
502
- Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
503
- Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:21 +0000
529
+ Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
530
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:16:49 +0000
504
531
  Processing by ExampleController#restricted as HTML
505
- 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", false], ["LIMIT", 1]]
532
+ 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", false], ["LIMIT", 1]]
506
533
  Rendering text template
507
534
  Rendered text template (0.0ms)
508
- Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
509
- Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:21 +0000
535
+ Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
536
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:16:49 +0000
510
537
  Processing by ExampleController#restricted as HTML
511
538
  Authenticating with gds_sso strategy
512
539
  Completed in 0ms (ActiveRecord: 0.0ms)
513
- Started GET "/auth/gds" for 127.0.0.1 at 2017-12-06 08:54:21 +0000
514
- Started GET "/auth/gds/callback?code=35e7f99f7665a07e1bf14d51bec0e8556ea7112c7a181f9c2e7099862be53b7e&state=d5037e030d6e27d744a023591cb36a80d3178f2201f0509b" for 127.0.0.1 at 2017-12-06 08:54:21 +0000
540
+ Started GET "/auth/gds" for 127.0.0.1 at 2017-12-08 09:16:49 +0000
541
+ Started GET "/auth/gds/callback?code=31fb37a8b21c9b4eb7ed9da0f1506596c06eadb989970646e07a829aeaccae5b&state=250b7a8cb4dc7606b675902a52934a61b84a11d6899a5af1" for 127.0.0.1 at 2017-12-08 09:16:49 +0000
515
542
  Processing by AuthenticationsController#callback as HTML
516
- Parameters: {"code"=>"35e7f99f7665a07e1bf14d51bec0e8556ea7112c7a181f9c2e7099862be53b7e", "state"=>"d5037e030d6e27d744a023591cb36a80d3178f2201f0509b"}
543
+ Parameters: {"code"=>"31fb37a8b21c9b4eb7ed9da0f1506596c06eadb989970646e07a829aeaccae5b", "state"=>"250b7a8cb4dc7606b675902a52934a61b84a11d6899a5af1"}
517
544
  Authenticating with gds_sso strategy
518
545
  User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
519
546
   (0.1ms) begin transaction
520
547
   (0.0ms) commit transaction
521
548
  Redirected to http://www.example-client.com/restricted
522
- Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
523
- Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:21 +0000
549
+ Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
550
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:16:49 +0000
524
551
  Processing by ExampleController#restricted as HTML
525
552
  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", false], ["LIMIT", 1]]
526
553
  Rendering text template
527
554
  Rendered text template (0.0ms)
528
555
  Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
529
- Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:21 +0000
556
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:16:49 +0000
530
557
  Processing by ExampleController#restricted as HTML
531
558
  Authenticating with gds_sso strategy
532
559
  Completed in 0ms (ActiveRecord: 0.0ms)
533
- Started GET "/auth/gds" for 127.0.0.1 at 2017-12-06 08:54:21 +0000
534
- Started GET "/auth/gds/callback?code=9b1c3cceefc1ee6ea0ef9ab2b2de90e83d0477c963147a78caf4c5129ae059f3&state=ca430790792936791822def1a6eb0857a43451ec9e74333e" for 127.0.0.1 at 2017-12-06 08:54:21 +0000
560
+ Started GET "/auth/gds" for 127.0.0.1 at 2017-12-08 09:16:49 +0000
561
+ Started GET "/auth/gds/callback?code=74b45cc5555a6a5bfb276496136711730ea7978d709105ddf78d9cae1b544f90&state=7598ab70da1d47b340827175ef1cf7788873f28d8923b8e9" for 127.0.0.1 at 2017-12-08 09:16:49 +0000
535
562
  Processing by AuthenticationsController#callback as HTML
536
- Parameters: {"code"=>"9b1c3cceefc1ee6ea0ef9ab2b2de90e83d0477c963147a78caf4c5129ae059f3", "state"=>"ca430790792936791822def1a6eb0857a43451ec9e74333e"}
563
+ Parameters: {"code"=>"74b45cc5555a6a5bfb276496136711730ea7978d709105ddf78d9cae1b544f90", "state"=>"7598ab70da1d47b340827175ef1cf7788873f28d8923b8e9"}
537
564
  Authenticating with gds_sso strategy
538
565
  User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
539
566
   (0.1ms) begin transaction
540
567
   (0.1ms) commit transaction
541
568
  Redirected to http://www.example-client.com/restricted
542
569
  Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
543
- Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:21 +0000
544
- Processing by ExampleController#restricted as HTML
545
- 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", false], ["LIMIT", 1]]
546
- Rendering text template
547
- Rendered text template (0.0ms)
548
- Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
549
- Started GET "/restricted" for 127.0.0.1 at 2017-12-07 04:49:21 +0000
570
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:16:49 +0000
550
571
  Processing by ExampleController#restricted as HTML
551
572
  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", false], ["LIMIT", 1]]
552
573
  Rendering text template
553
574
  Rendered text template (0.0ms)
554
575
  Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.2ms)
555
- Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:21 +0000
576
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-09 05:21:49 +0000
556
577
  Processing by ExampleController#restricted as HTML
557
578
  Authenticating with gds_sso strategy
558
579
  Completed in 0ms (ActiveRecord: 0.0ms)
559
- Started GET "/auth/gds" for 127.0.0.1 at 2017-12-06 08:54:21 +0000
560
- Started GET "/auth/gds/callback?code=eef6cae8137048757a9e292f6105a5c37cbe2ee24e4c32d9c82932fce7ca5ec1&state=4c7f68ff1d05bb23df45f6fab0c1bb37e92b2ca8821a82de" for 127.0.0.1 at 2017-12-06 08:54:22 +0000
580
+ Started GET "/auth/gds" for 127.0.0.1 at 2017-12-09 05:21:49 +0000
581
+ Started GET "/auth/gds/callback?code=da18ce32aec1c829161714064fa31f815aa8933ca7d8a83a77ab55e3d9b60868&state=e1207a673bcef09649729d9a6666e4312b15e161bfec7953" for 127.0.0.1 at 2017-12-09 05:21:49 +0000
561
582
  Processing by AuthenticationsController#callback as HTML
562
- Parameters: {"code"=>"eef6cae8137048757a9e292f6105a5c37cbe2ee24e4c32d9c82932fce7ca5ec1", "state"=>"4c7f68ff1d05bb23df45f6fab0c1bb37e92b2ca8821a82de"}
583
+ Parameters: {"code"=>"da18ce32aec1c829161714064fa31f815aa8933ca7d8a83a77ab55e3d9b60868", "state"=>"e1207a673bcef09649729d9a6666e4312b15e161bfec7953"}
563
584
  Authenticating with gds_sso strategy
564
585
  User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
565
-  (0.0ms) begin transaction
586
+  (0.1ms) begin transaction
566
587
   (0.1ms) commit transaction
567
588
  Redirected to http://www.example-client.com/restricted
568
589
  Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
569
- Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:22 +0000
590
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-09 05:21:49 +0000
570
591
  Processing by ExampleController#restricted as HTML
571
592
  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", false], ["LIMIT", 1]]
572
593
  Rendering text template
573
594
  Rendered text template (0.0ms)
574
- Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.2ms)
575
- Started GET "/restricted" for 127.0.0.1 at 2017-12-07 04:59:22 +0000
595
+ Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
596
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:16:49 +0000
576
597
  Processing by ExampleController#restricted as HTML
577
598
  Authenticating with gds_sso strategy
578
599
  Completed in 0ms (ActiveRecord: 0.0ms)
579
- Started GET "/auth/gds" for 127.0.0.1 at 2017-12-07 04:59:22 +0000
580
- Started GET "/auth/gds/callback?code=ae987a83e79b5db42e234ff7b2f06b1b073714635ded5e0a525cd3c097a9e67c&state=a60a982ed7fcc12f645e8c765d66c3405d39cabbb38d4842" for 127.0.0.1 at 2017-12-07 04:59:22 +0000
600
+ Started GET "/auth/gds" for 127.0.0.1 at 2017-12-08 09:16:49 +0000
601
+ Started GET "/auth/gds/callback?code=58c7e11d1ae291f9c591783f4c71f4af516dbb4146d02898b0f912e139e777a1&state=7e72609b30d7d1d70ea74c63d41181d8c19a00f5bba20732" for 127.0.0.1 at 2017-12-08 09:16:49 +0000
581
602
  Processing by AuthenticationsController#callback as HTML
582
- Parameters: {"code"=>"ae987a83e79b5db42e234ff7b2f06b1b073714635ded5e0a525cd3c097a9e67c", "state"=>"a60a982ed7fcc12f645e8c765d66c3405d39cabbb38d4842"}
603
+ Parameters: {"code"=>"58c7e11d1ae291f9c591783f4c71f4af516dbb4146d02898b0f912e139e777a1", "state"=>"7e72609b30d7d1d70ea74c63d41181d8c19a00f5bba20732"}
583
604
  Authenticating with gds_sso strategy
584
605
  User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
585
-  (0.1ms) begin transaction
586
-  (0.1ms) commit transaction
606
+  (0.0ms) begin transaction
607
+  (0.0ms) commit transaction
587
608
  Redirected to http://www.example-client.com/restricted
588
609
  Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
589
- Started GET "/restricted" for 127.0.0.1 at 2017-12-07 04:59:22 +0000
610
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:16:49 +0000
590
611
  Processing by ExampleController#restricted as HTML
591
612
  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", false], ["LIMIT", 1]]
592
613
  Rendering text template
593
614
  Rendered text template (0.0ms)
594
615
  Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.2ms)
595
- Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:22 +0000
616
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-09 05:21:49 +0000
596
617
  Processing by ExampleController#restricted as HTML
597
618
  Authenticating with gds_sso strategy
598
619
  Completed in 0ms (ActiveRecord: 0.0ms)
599
- Started GET "/auth/gds" for 127.0.0.1 at 2017-12-06 08:54:22 +0000
600
- Started GET "/auth/gds/callback?code=bae66fdb254921c89d57cd486bcb77f1bd97e8c28180f6341ec241ba717c762f&state=353b1507f3a4b29d000ebb7db8888fd80ef999dca99968b4" for 127.0.0.1 at 2017-12-06 08:54:22 +0000
620
+ Started GET "/auth/gds" for 127.0.0.1 at 2017-12-09 05:21:49 +0000
621
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:16:49 +0000
622
+ Processing by ExampleController#restricted as HTML
623
+ Authenticating with gds_sso strategy
624
+ Completed in 0ms (ActiveRecord: 0.0ms)
625
+ Started GET "/auth/gds" for 127.0.0.1 at 2017-12-08 09:16:49 +0000
626
+ Started GET "/auth/gds/callback?code=3aa6475c92e4417d0fa1a2fdb9869fa10b99ddf699dbbb2d52eca04fecf51a08&state=77551c720e4670a1b2115632ab1cad15b2f55159342b032c" for 127.0.0.1 at 2017-12-08 09:16:50 +0000
601
627
  Processing by AuthenticationsController#callback as HTML
602
- Parameters: {"code"=>"bae66fdb254921c89d57cd486bcb77f1bd97e8c28180f6341ec241ba717c762f", "state"=>"353b1507f3a4b29d000ebb7db8888fd80ef999dca99968b4"}
628
+ Parameters: {"code"=>"3aa6475c92e4417d0fa1a2fdb9869fa10b99ddf699dbbb2d52eca04fecf51a08", "state"=>"77551c720e4670a1b2115632ab1cad15b2f55159342b032c"}
603
629
  Authenticating with gds_sso strategy
604
630
  User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
605
-  (0.0ms) begin transaction
631
+  (0.1ms) begin transaction
606
632
   (0.0ms) commit transaction
607
633
  Redirected to http://www.example-client.com/restricted
608
634
  Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
609
- Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:22 +0000
635
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:16:50 +0000
610
636
  Processing by ExampleController#restricted as HTML
611
637
  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", false], ["LIMIT", 1]]
612
638
  Rendering text template
613
639
  Rendered text template (0.0ms)
614
640
  Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.2ms)
615
- Started GET "/restricted" for 127.0.0.1 at 2017-12-07 04:59:22 +0000
641
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-09 05:11:50 +0000
616
642
  Processing by ExampleController#restricted as HTML
617
- Authenticating with gds_sso strategy
618
- Completed in 0ms (ActiveRecord: 0.0ms)
619
- Started GET "/auth/gds" for 127.0.0.1 at 2017-12-07 04:59:22 +0000
620
- Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:22 +0000
643
+ 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", false], ["LIMIT", 1]]
644
+ Rendering text template
645
+ Rendered text template (0.0ms)
646
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
647
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:16:50 +0000
621
648
  Processing by ExampleController#restricted as HTML
622
649
  Authenticating with gds_sso strategy
623
650
  Completed in 0ms (ActiveRecord: 0.0ms)
624
- Started GET "/auth/gds" for 127.0.0.1 at 2017-12-06 08:54:22 +0000
625
- Started GET "/auth/gds/callback?code=5fc8f36619995b77801a909ee20cd81c8637792dce963fee7de85fe2a7759a00&state=829150c4985bd4c2dc838d2739856556774401589996489e" for 127.0.0.1 at 2017-12-06 08:54:22 +0000
651
+ Started GET "/auth/gds" for 127.0.0.1 at 2017-12-08 09:16:50 +0000
652
+ Started GET "/auth/gds/callback?code=f8c8576c9d5afde443e07373373e97002818174408070e8c3340dbde30b84bb6&state=40c040b0446ea9419c144c0543ac5b0adf75822aa21cb2d2" for 127.0.0.1 at 2017-12-08 09:16:50 +0000
626
653
  Processing by AuthenticationsController#callback as HTML
627
- Parameters: {"code"=>"5fc8f36619995b77801a909ee20cd81c8637792dce963fee7de85fe2a7759a00", "state"=>"829150c4985bd4c2dc838d2739856556774401589996489e"}
654
+ Parameters: {"code"=>"f8c8576c9d5afde443e07373373e97002818174408070e8c3340dbde30b84bb6", "state"=>"40c040b0446ea9419c144c0543ac5b0adf75822aa21cb2d2"}
628
655
  Authenticating with gds_sso strategy
629
656
  User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
630
-  (0.0ms) begin transaction
631
-  (0.0ms) commit transaction
657
+  (0.1ms) begin transaction
658
+  (0.1ms) commit transaction
632
659
  Redirected to http://www.example-client.com/restricted
633
660
  Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
634
- Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:22 +0000
661
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:16:50 +0000
635
662
  Processing by ExampleController#restricted as HTML
636
- 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", false], ["LIMIT", 1]]
663
+ 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", false], ["LIMIT", 1]]
637
664
  Rendering text template
638
665
  Rendered text template (0.0ms)
639
- Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
640
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "test@example-client.com"], ["LIMIT", 1]]
666
+ Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
667
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "test@example-client.com"], ["LIMIT", 1]]
641
668
   (0.1ms) begin transaction
642
- SQL (0.2ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", true], ["id", 1]]
643
-  (4.1ms) commit transaction
644
- Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:22 +0000
669
+ SQL (0.2ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", true], ["id", 12]]
670
+  (6.3ms) commit transaction
671
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:16:50 +0000
645
672
  Processing by ExampleController#restricted as HTML
646
- 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", false], ["LIMIT", 1]]
673
+ 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", false], ["LIMIT", 1]]
647
674
  Authenticating with gds_sso strategy
648
- Completed in 1ms (ActiveRecord: 0.2ms)
649
- Started GET "/auth/gds" for 127.0.0.1 at 2017-12-06 08:54:22 +0000
650
- Started GET "/auth/gds/callback?code=c74d8dc36a4d2b4006426c25130207c1f28f9fb1faf22a318845891631600888&state=970cf02e3c8915907ae13c67a93a782042d0eb57adea47bc" for 127.0.0.1 at 2017-12-06 08:54:23 +0000
675
+ Completed in 1ms (ActiveRecord: 0.1ms)
676
+ Started GET "/auth/gds" for 127.0.0.1 at 2017-12-08 09:16:50 +0000
677
+ Started GET "/auth/gds/callback?code=c8a34750a48051b788fb570b3f5556df02b0fe9f76023902b25a3680a7454daf&state=68b7074a255aa3deadba4630549a3d420bdbab8d21a4aaf8" for 127.0.0.1 at 2017-12-08 09:16:50 +0000
651
678
  Processing by AuthenticationsController#callback as HTML
652
- Parameters: {"code"=>"c74d8dc36a4d2b4006426c25130207c1f28f9fb1faf22a318845891631600888", "state"=>"970cf02e3c8915907ae13c67a93a782042d0eb57adea47bc"}
679
+ Parameters: {"code"=>"c8a34750a48051b788fb570b3f5556df02b0fe9f76023902b25a3680a7454daf", "state"=>"68b7074a255aa3deadba4630549a3d420bdbab8d21a4aaf8"}
653
680
  Authenticating with gds_sso strategy
654
681
  User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
655
-  (0.1ms) begin transaction
682
+  (0.0ms) begin transaction
656
683
   (0.0ms) commit transaction
657
-  (0.1ms) begin transaction
658
- SQL (0.2ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", false], ["id", 1]]
659
-  (4.1ms) commit transaction
684
+  (0.0ms) begin transaction
685
+ SQL (0.1ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", false], ["id", 12]]
686
+  (4.9ms) commit transaction
660
687
  Redirected to http://www.example-client.com/restricted
661
- Completed 302 Found in 9ms (ActiveRecord: 4.7ms)
662
- Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:23 +0000
688
+ Completed 302 Found in 9ms (ActiveRecord: 5.4ms)
689
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:16:50 +0000
663
690
  Processing by ExampleController#restricted as HTML
664
691
  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", false], ["LIMIT", 1]]
665
692
  Rendering text template
666
693
  Rendered text template (0.0ms)
667
- Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.2ms)
668
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "asd"], ["LIMIT", 1]]
669
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "user@example.com"], ["LIMIT", 1]]
694
+ Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms)
695
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:16:50 +0000
696
+ Processing by ExampleController#restricted as JSON
697
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
670
698
   (0.1ms) begin transaction
671
- SQL (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions", "organisation_slug", "organisation_content_id", "disabled") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "A Name"], ["uid", "asd"], ["email", "user@example.com"], ["permissions", "---\n- signin\n"], ["organisation_slug", "hmrc"], ["organisation_content_id", "67a2b78d-eee3-45b3-80e2-792e7f71cecc"], ["disabled", nil]]
672
-  (8.6ms) commit transaction
673
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "asd"], ["LIMIT", 1]]
699
+ SQL (0.2ms) UPDATE "users" SET "disabled" = ? WHERE "users"."id" = ? [["disabled", nil], ["id", 12]]
700
+  (4.7ms) commit transaction
701
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
702
+  (0.0ms) begin transaction
703
+  (0.0ms) commit transaction
704
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
674
705
   (0.0ms) begin transaction
675
706
   (0.1ms) commit transaction
707
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
676
708
   (0.1ms) begin transaction
677
- SQL (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d31362"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
678
-  (5.5ms) commit transaction
709
+  (0.0ms) commit transaction
710
+ Rendering text template
711
+ Rendered text template (0.0ms)
712
+ Completed 200 OK in 72ms (Views: 0.3ms | ActiveRecord: 5.6ms)
713
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-08 09:16:50 +0000
714
+ Processing by ExampleController#this_requires_signin_permission as JSON
715
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
679
716
   (0.0ms) begin transaction
680
- SQL (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d31186"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
681
-  (4.0ms) commit transaction
682
- Processing by Api::UserController#reauth as HTML
683
- Parameters: {"uid"=>"a1s2d31362"}
684
- Rendering /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
685
- Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
686
- Completed 403 Forbidden in 8ms (Views: 7.7ms | ActiveRecord: 0.0ms)
717
+  (0.0ms) commit transaction
718
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
687
719
   (0.1ms) begin transaction
688
- SQL (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d33730"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
689
-  (4.8ms) commit transaction
690
-  (0.0ms) begin transaction
691
- SQL (0.1ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d33241"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
692
-  (4.8ms) commit transaction
693
- Processing by Api::UserController#reauth as HTML
694
- Parameters: {"uid"=>"nonexistent-user"}
695
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "nonexistent-user"], ["LIMIT", 1]]
696
- Completed 200 OK in 1ms (ActiveRecord: 0.1ms)
697
-  (0.0ms) begin transaction
698
- SQL (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d31404"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
699
-  (4.0ms) commit transaction
700
-  (0.0ms) begin transaction
701
- SQL (0.1ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d33047"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
702
-  (3.8ms) commit transaction
703
- Processing by Api::UserController#reauth as HTML
704
- Parameters: {"uid"=>"a1s2d31404"}
705
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "a1s2d31404"], ["LIMIT", 1]]
706
-  (0.0ms) begin transaction
707
- SQL (0.2ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", true], ["id", 7]]
708
-  (4.1ms) commit transaction
709
- Completed 200 OK in 6ms (ActiveRecord: 4.4ms)
710
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 7], ["LIMIT", 1]]
711
-  (0.0ms) begin transaction
712
- SQL (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d35292"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
713
-  (5.7ms) commit transaction
714
-  (0.0ms) begin transaction
715
- SQL (0.1ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d32724"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
716
-  (6.5ms) commit transaction
717
- Processing by Api::UserController#update as HTML
718
- Parameters: {"uid"=>"a1s2d35292"}
719
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "a1s2d35292"], ["LIMIT", 1]]
720
-  (0.0ms) begin transaction
721
- 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", 9]]
722
-  (4.2ms) commit transaction
723
- Completed 200 OK in 7ms (ActiveRecord: 4.5ms)
724
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 9], ["LIMIT", 1]]
720
+  (0.0ms) commit transaction
721
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
725
722
   (0.0ms) begin transaction
726
- SQL (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d38157"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
727
-  (3.7ms) commit transaction
723
+  (0.0ms) commit transaction
724
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
728
725
   (0.0ms) begin transaction
729
- SQL (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d34976"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
730
-  (6.6ms) commit transaction
731
- Processing by Api::UserController#update as HTML
732
- Parameters: {"uid"=>"a1s2d38157"}
733
- Rendering /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
734
- Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.0ms)
735
- Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
736
-  (8.0ms) 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') 
737
-  (9.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
738
-  (0.1ms) select sqlite_version(*)
739
-  (4.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
740
-  (0.1ms) begin transaction
741
- SQL (0.2ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d36466"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
742
-  (6.8ms) commit transaction
743
-  (0.1ms) begin transaction
744
- SQL (0.1ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d35543"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
745
-  (4.7ms) commit transaction
746
- Processing by Api::UserController#reauth as HTML
747
- Parameters: {"uid"=>"nonexistent-user"}
748
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "nonexistent-user"]]
749
- Completed 200 OK in 6ms (ActiveRecord: 0.2ms)
750
-  (0.1ms) begin transaction
751
- SQL (0.1ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d39240"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
752
-  (5.4ms) commit transaction
753
-  (0.0ms) begin transaction
754
- SQL (0.1ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d39347"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
755
-  (4.7ms) commit transaction
756
- Processing by Api::UserController#reauth as HTML
757
- Parameters: {"uid"=>"a1s2d39240"}
758
- Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
759
- Completed 403 Forbidden in 9ms (Views: 9.2ms | ActiveRecord: 0.0ms)
760
-  (0.1ms) begin transaction
761
- SQL (0.1ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d38374"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
762
-  (4.1ms) commit transaction
763
-  (0.0ms) begin transaction
764
- SQL (0.1ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d35852"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
765
-  (4.9ms) commit transaction
766
- Processing by Api::UserController#reauth as HTML
767
- Parameters: {"uid"=>"a1s2d38374"}
768
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "a1s2d38374"]]
769
-  (0.0ms) begin transaction
770
- SQL (0.2ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 5]]
771
-  (4.2ms) commit transaction
772
- Completed 200 OK in 7ms (ActiveRecord: 4.5ms)
773
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]]
774
-  (0.1ms) begin transaction
775
- SQL (0.1ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d32362"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
776
-  (5.0ms) commit transaction
777
-  (0.0ms) begin transaction
778
- SQL (0.1ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d35488"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
779
-  (6.3ms) commit transaction
780
- Processing by Api::UserController#update as HTML
781
- Parameters: {"uid"=>"a1s2d32362"}
782
- Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.1ms)
783
- Completed 403 Forbidden in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
784
-  (0.1ms) begin transaction
785
- SQL (0.2ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d39861"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
786
-  (3.8ms) commit transaction
787
-  (0.1ms) begin transaction
788
- SQL (0.1ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d38847"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
789
-  (3.9ms) commit transaction
790
- Processing by Api::UserController#update as HTML
791
- Parameters: {"uid"=>"a1s2d39861"}
792
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "a1s2d39861"]]
793
-  (0.0ms) begin transaction
794
- 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", 9]]
795
-  (4.6ms) commit transaction
796
- Completed 200 OK in 8ms (ActiveRecord: 4.9ms)
797
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 9]]
798
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "asd"]]
799
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "user@example.com"]]
800
-  (0.1ms) begin transaction
801
- 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]]
802
-  (4.0ms) commit transaction
803
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "asd"]]
804
-  (0.0ms) begin transaction
805
-  (0.1ms) commit transaction
806
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-06 08:54:29 +0000
807
- Processing by ExampleController#this_requires_signin_permission as JSON
808
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
809
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "test@example-client.com"]]
810
-  (0.1ms) begin transaction
811
- 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]]
812
-  (6.6ms) commit transaction
813
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
814
-  (0.0ms) begin transaction
815
-  (0.0ms) commit transaction
816
- CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
817
-  (0.0ms) begin transaction
818
-  (0.0ms) commit transaction
819
- CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
820
-  (0.0ms) begin transaction
821
-  (0.1ms) commit transaction
822
-  (0.0ms) begin transaction
823
- SQL (0.1ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "f"], ["id", 12]]
824
-  (7.3ms) commit transaction
825
- Rendered text template (0.0ms)
826
- Completed 200 OK in 96ms (Views: 1.1ms | ActiveRecord: 15.0ms)
827
- Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:29 +0000
828
- Processing by ExampleController#restricted as JSON
829
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
830
-  (0.1ms) begin transaction
831
-  (0.1ms) commit transaction
832
- CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
833
-  (0.1ms) begin transaction
834
-  (0.0ms) commit transaction
835
- CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
836
-  (0.1ms) begin transaction
837
-  (0.0ms) commit transaction
838
- CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
839
-  (0.1ms) begin transaction
840
-  (0.0ms) commit transaction
841
-  (0.1ms) begin transaction
842
-  (0.1ms) commit transaction
726
+  (0.1ms) commit transaction
727
+ Rendering text template
843
728
  Rendered text template (0.0ms)
844
- Completed 200 OK in 66ms (Views: 0.3ms | ActiveRecord: 0.8ms)
845
- Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:29 +0000
729
+ Completed 200 OK in 61ms (Views: 0.4ms | ActiveRecord: 0.7ms)
730
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:16:50 +0000
846
731
  Processing by ExampleController#restricted as JSON
847
- Completed in 14ms (ActiveRecord: 0.0ms)
848
- Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:29 +0000
732
+ Completed in 22ms (ActiveRecord: 0.0ms)
733
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:16:50 +0000
849
734
  Processing by ExampleController#restricted as JSON
850
- Completed in 28ms (ActiveRecord: 0.0ms)
851
- Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:29 +0000
852
- Processing by ExampleController#restricted as HTML
735
+ Completed in 11ms (ActiveRecord: 0.0ms)
736
+  (10.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') 
737
+  (9.4ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
738
+  (0.1ms) select sqlite_version(*)
739
+  (4.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
740
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-08 09:17:04 +0000
741
+ Processing by ExampleController#this_requires_signin_permission as HTML
853
742
  Authenticating with gds_sso strategy
854
- Completed in 0ms (ActiveRecord: 0.0ms)
855
- Started GET "/auth/gds" for 127.0.0.1 at 2017-12-06 08:54:29 +0000
856
- Started GET "/auth/gds/callback?code=3930600dadf517a73cb2a4d2d883a636e71dee22dc97cc762ff4e4457d2e2141&state=296955893792a7bf8fdb987a05e0e4e6c19e44e8ea910310" for 127.0.0.1 at 2017-12-06 08:54:29 +0000
743
+ Completed in 7ms (ActiveRecord: 0.0ms)
744
+ Started GET "/auth/gds" for 127.0.0.1 at 2017-12-08 09:17:04 +0000
745
+ Started GET "/auth/gds/callback?code=a0bb939fa177185880182d0d43f2f0da9a15cc571e9d33d183ddd5db005f89ec&state=1cdec6ea848f871b8a6eb9701259fa58a5a39f48669980c6" for 127.0.0.1 at 2017-12-08 09:17:04 +0000
857
746
  Processing by AuthenticationsController#callback as HTML
858
- Parameters: {"code"=>"3930600dadf517a73cb2a4d2d883a636e71dee22dc97cc762ff4e4457d2e2141", "state"=>"296955893792a7bf8fdb987a05e0e4e6c19e44e8ea910310"}
747
+ Parameters: {"code"=>"a0bb939fa177185880182d0d43f2f0da9a15cc571e9d33d183ddd5db005f89ec", "state"=>"1cdec6ea848f871b8a6eb9701259fa58a5a39f48669980c6"}
859
748
  Authenticating with gds_sso strategy
860
749
  User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
861
-  (0.1ms) begin transaction
862
- SQL (0.2ms) UPDATE "users" SET "disabled" = ? WHERE "users"."id" = ? [["disabled", "f"], ["id", 12]]
863
-  (5.8ms) commit transaction
864
-  (0.0ms) begin transaction
865
-  (0.0ms) commit transaction
866
- Redirected to http://www.example-client.com/restricted
867
- Completed 302 Found in 10ms (ActiveRecord: 6.3ms)
868
- Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:29 +0000
869
- Processing by ExampleController#restricted as HTML
870
- 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"]]
750
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "test@example-client.com"]]
751
+  (0.1ms) begin transaction
752
+ SQL (0.2ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "integration-uid"], ["email", "test@example-client.com"], ["name", "Test User"], ["permissions", "---\n- signin\n"]]
753
+  (6.5ms) commit transaction
754
+  (0.0ms) begin transaction
755
+ SQL (0.2ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "f"], ["id", 1]]
756
+  (4.7ms) commit transaction
757
+ Redirected to http://www.example-client.com/this_requires_signin_permission
758
+ Completed 302 Found in 31ms (ActiveRecord: 12.4ms)
759
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-08 09:17:04 +0000
760
+ Processing by ExampleController#this_requires_signin_permission as HTML
761
+ 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"]]
871
762
  Rendered text template (0.0ms)
872
- Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.2ms)
873
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-06 08:54:29 +0000
763
+ Completed 200 OK in 6ms (Views: 3.7ms | ActiveRecord: 0.1ms)
764
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-08 09:17:04 +0000
874
765
  Processing by ExampleController#this_requires_signin_permission as HTML
875
766
  Authenticating with gds_sso strategy
876
767
  Completed in 0ms (ActiveRecord: 0.0ms)
877
- Started GET "/auth/gds" for 127.0.0.1 at 2017-12-06 08:54:29 +0000
878
- Started GET "/auth/gds/callback?code=de2f00194961e45f161c593b3dd3458f2759fc1c5628b401849a8bb7493d84aa&state=fb08b765269032f5013273ecd859b810ae6d69f58cd798ac" for 127.0.0.1 at 2017-12-06 08:54:29 +0000
768
+ Started GET "/auth/gds" for 127.0.0.1 at 2017-12-08 09:17:04 +0000
769
+ Started GET "/auth/gds/callback?code=d7169f0667be1e98222c2e42da39fd2e422d90100b37b523c69546b65cda27cd&state=0f1c18bb5fb347ee0138172a92f3d93b6058d74bcd3371e2" for 127.0.0.1 at 2017-12-08 09:17:04 +0000
879
770
  Processing by AuthenticationsController#callback as HTML
880
- Parameters: {"code"=>"de2f00194961e45f161c593b3dd3458f2759fc1c5628b401849a8bb7493d84aa", "state"=>"fb08b765269032f5013273ecd859b810ae6d69f58cd798ac"}
771
+ Parameters: {"code"=>"d7169f0667be1e98222c2e42da39fd2e422d90100b37b523c69546b65cda27cd", "state"=>"0f1c18bb5fb347ee0138172a92f3d93b6058d74bcd3371e2"}
881
772
  Authenticating with gds_sso strategy
882
773
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
883
774
   (0.1ms) begin transaction
884
775
   (0.0ms) commit transaction
885
-  (0.1ms) begin transaction
776
+  (0.0ms) begin transaction
886
777
   (0.0ms) commit transaction
887
778
  Redirected to http://www.example-client.com/this_requires_signin_permission
888
779
  Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
889
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-06 08:54:29 +0000
780
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-08 09:17:04 +0000
890
781
  Processing by ExampleController#this_requires_signin_permission as HTML
891
782
  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"]]
892
783
  Rendered text template (0.0ms)
893
- Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
894
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-06 08:54:30 +0000
895
- Processing by ExampleController#this_requires_signin_permission as HTML
784
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
785
+ Started GET "/" for 127.0.0.1 at 2017-12-08 09:17:04 +0000
786
+ Processing by ExampleController#index as HTML
787
+ Rendered text template (0.0ms)
788
+ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
789
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:17:04 +0000
790
+ Processing by ExampleController#restricted as HTML
896
791
  Authenticating with gds_sso strategy
897
792
  Completed in 0ms (ActiveRecord: 0.0ms)
898
- Started GET "/auth/gds" for 127.0.0.1 at 2017-12-06 08:54:30 +0000
899
- Started GET "/auth/gds/callback?code=dd2fba84a44630013a2f352b50ac3b4bbb50e7f8ccaf27b3814f556d68d4bb20&state=db476cb2cd062a331c3aa1324c050dec4ef6d20b1ea6e103" for 127.0.0.1 at 2017-12-06 08:54:30 +0000
793
+ Started GET "/auth/gds" for 127.0.0.1 at 2017-12-08 09:17:04 +0000
794
+ Started GET "/auth/gds/callback?code=8ca2448fd6723932527823757aa0ec35553a6481644d3cb98526931b9de53dc7&state=a54747189e06216ea5482b16110d13c9d4ff2d7f81e4cf98" for 127.0.0.1 at 2017-12-08 09:17:04 +0000
900
795
  Processing by AuthenticationsController#callback as HTML
901
- Parameters: {"code"=>"dd2fba84a44630013a2f352b50ac3b4bbb50e7f8ccaf27b3814f556d68d4bb20", "state"=>"db476cb2cd062a331c3aa1324c050dec4ef6d20b1ea6e103"}
796
+ Parameters: {"code"=>"8ca2448fd6723932527823757aa0ec35553a6481644d3cb98526931b9de53dc7", "state"=>"a54747189e06216ea5482b16110d13c9d4ff2d7f81e4cf98"}
902
797
  Authenticating with gds_sso strategy
903
798
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
904
799
   (0.1ms) begin transaction
905
800
   (0.0ms) commit transaction
906
801
   (0.0ms) begin transaction
907
-  (0.0ms) commit transaction
908
- Redirected to http://www.example-client.com/this_requires_signin_permission
802
+  (0.1ms) commit transaction
803
+ Redirected to http://www.example-client.com/restricted
909
804
  Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
910
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-06 08:54:30 +0000
911
- Processing by ExampleController#this_requires_signin_permission as HTML
805
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:17:04 +0000
806
+ Processing by ExampleController#restricted as HTML
912
807
  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"]]
913
808
  Rendered text template (0.0ms)
914
- Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.1ms)
915
- Started GET "/" for 127.0.0.1 at 2017-12-06 08:54:30 +0000
916
- Processing by ExampleController#index as HTML
917
- Rendered text template (0.0ms)
918
- Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
919
- Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:30 +0000
809
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
810
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:17:04 +0000
920
811
  Processing by ExampleController#restricted as HTML
921
812
  Authenticating with gds_sso strategy
922
813
  Completed in 0ms (ActiveRecord: 0.0ms)
923
- Started GET "/auth/gds" for 127.0.0.1 at 2017-12-06 08:54:30 +0000
924
- Started GET "/auth/gds/callback?code=55e382cde2797a9a5a2d7f95e13979248a582fac5761e127295d6fe18b76a0d0&state=3f308532f17b1a77e740617a8568556401711523b222c31f" for 127.0.0.1 at 2017-12-06 08:54:30 +0000
814
+ Started GET "/auth/gds" for 127.0.0.1 at 2017-12-08 09:17:04 +0000
815
+ Started GET "/auth/gds/callback?code=b2df58a55f63a216a25b4a426b10d339600fc0d92b221bf0d0399a094ebb3987&state=1c464472d1e1f36f327090ec8558e0368ac9923d2f49702c" for 127.0.0.1 at 2017-12-08 09:17:05 +0000
925
816
  Processing by AuthenticationsController#callback as HTML
926
- Parameters: {"code"=>"55e382cde2797a9a5a2d7f95e13979248a582fac5761e127295d6fe18b76a0d0", "state"=>"3f308532f17b1a77e740617a8568556401711523b222c31f"}
817
+ Parameters: {"code"=>"b2df58a55f63a216a25b4a426b10d339600fc0d92b221bf0d0399a094ebb3987", "state"=>"1c464472d1e1f36f327090ec8558e0368ac9923d2f49702c"}
927
818
  Authenticating with gds_sso strategy
928
819
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
929
820
   (0.1ms) begin transaction
930
821
   (0.0ms) commit transaction
931
822
   (0.0ms) begin transaction
932
-  (0.0ms) commit transaction
823
+  (0.1ms) commit transaction
933
824
  Redirected to http://www.example-client.com/restricted
934
- Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
935
- Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:30 +0000
825
+ Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
826
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:17:05 +0000
936
827
  Processing by ExampleController#restricted as HTML
937
828
  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"]]
938
829
  Rendered text template (0.0ms)
939
- Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
940
- Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:30 +0000
830
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
831
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:17:05 +0000
941
832
  Processing by ExampleController#restricted as HTML
942
833
  Authenticating with gds_sso strategy
943
834
  Completed in 0ms (ActiveRecord: 0.0ms)
944
- Started GET "/auth/gds" for 127.0.0.1 at 2017-12-06 08:54:30 +0000
945
- Started GET "/auth/gds/callback?code=57885b7f7fa765e99cf66849ae5626a322bc95a5f72b01dfa2ac68bd12152bca&state=58387e91f22389479ee6070d26cfe223d8f5af287cd65f06" for 127.0.0.1 at 2017-12-06 08:54:30 +0000
835
+ Started GET "/auth/gds" for 127.0.0.1 at 2017-12-08 09:17:05 +0000
836
+ Started GET "/auth/gds/callback?code=3e721ef987ddff6e720dc56d4f31d0ce6094361a6bcd042a6c55a1a98ac9e2ed&state=0ee6cae582dfc1131c58ba413cf54c5f830415f4cedd909e" for 127.0.0.1 at 2017-12-08 09:17:05 +0000
946
837
  Processing by AuthenticationsController#callback as HTML
947
- Parameters: {"code"=>"57885b7f7fa765e99cf66849ae5626a322bc95a5f72b01dfa2ac68bd12152bca", "state"=>"58387e91f22389479ee6070d26cfe223d8f5af287cd65f06"}
838
+ Parameters: {"code"=>"3e721ef987ddff6e720dc56d4f31d0ce6094361a6bcd042a6c55a1a98ac9e2ed", "state"=>"0ee6cae582dfc1131c58ba413cf54c5f830415f4cedd909e"}
948
839
  Authenticating with gds_sso strategy
949
840
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
950
841
   (0.1ms) begin transaction
951
842
   (0.0ms) commit transaction
952
843
   (0.0ms) begin transaction
953
-  (0.0ms) commit transaction
844
+  (0.1ms) commit transaction
954
845
  Redirected to http://www.example-client.com/restricted
955
- Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
956
- Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:30 +0000
846
+ Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
847
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:17:05 +0000
957
848
  Processing by ExampleController#restricted as HTML
958
849
  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"]]
959
850
  Rendered text template (0.0ms)
960
851
  Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
961
- Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:30 +0000
852
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:17:05 +0000
962
853
  Processing by ExampleController#restricted as HTML
963
854
  Authenticating with gds_sso strategy
964
855
  Completed in 0ms (ActiveRecord: 0.0ms)
965
- Started GET "/auth/gds" for 127.0.0.1 at 2017-12-06 08:54:30 +0000
966
- Started GET "/auth/gds/callback?code=eba0c45be887c9e0bf04a5c8c4607edd05c5e0371ebfb6774f411256b37d73f5&state=14868ca49deae21f69375b522a3159c2ef20724fc09c5693" for 127.0.0.1 at 2017-12-06 08:54:30 +0000
856
+ Started GET "/auth/gds" for 127.0.0.1 at 2017-12-08 09:17:05 +0000
857
+ Started GET "/auth/gds/callback?code=c2f18f2dfecc5450d1b6193c01132aa0462b9d9afe48d502e97658010c778b67&state=646fedba10beaedfe3100d6dd91e88ed23ad2bd8e6f455d7" for 127.0.0.1 at 2017-12-08 09:17:05 +0000
967
858
  Processing by AuthenticationsController#callback as HTML
968
- Parameters: {"code"=>"eba0c45be887c9e0bf04a5c8c4607edd05c5e0371ebfb6774f411256b37d73f5", "state"=>"14868ca49deae21f69375b522a3159c2ef20724fc09c5693"}
859
+ Parameters: {"code"=>"c2f18f2dfecc5450d1b6193c01132aa0462b9d9afe48d502e97658010c778b67", "state"=>"646fedba10beaedfe3100d6dd91e88ed23ad2bd8e6f455d7"}
969
860
  Authenticating with gds_sso strategy
970
861
  User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
971
862
   (0.1ms) begin transaction
972
-  (0.1ms) commit transaction
973
-  (0.1ms) begin transaction
863
+  (0.0ms) commit transaction
864
+  (0.0ms) begin transaction
974
865
   (0.0ms) commit transaction
975
866
  Redirected to http://www.example-client.com/restricted
976
867
  Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
977
- Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:30 +0000
868
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:17:05 +0000
978
869
  Processing by ExampleController#restricted as HTML
979
870
  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"]]
980
871
  Rendered text template (0.0ms)
981
872
  Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
982
873
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "test@example-client.com"]]
983
-  (0.1ms) begin transaction
984
- SQL (0.1ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 12]]
985
-  (4.1ms) commit transaction
986
- Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:30 +0000
874
+  (0.0ms) begin transaction
875
+ SQL (0.1ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 1]]
876
+  (5.6ms) commit transaction
877
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:17:05 +0000
987
878
  Processing by ExampleController#restricted as HTML
988
879
  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"]]
989
880
  Authenticating with gds_sso strategy
990
881
  Completed in 1ms (ActiveRecord: 0.1ms)
991
- Started GET "/auth/gds" for 127.0.0.1 at 2017-12-06 08:54:30 +0000
992
- Started GET "/auth/gds/callback?code=6591d83f221c619c9b010d93d08d86a6e652affc0b55ed9a43027a15497c9e1b&state=af2bd29c194bd62112102c8a533f8cd5c3efb79d19c8fde6" for 127.0.0.1 at 2017-12-06 08:54:31 +0000
882
+ Started GET "/auth/gds" for 127.0.0.1 at 2017-12-08 09:17:05 +0000
883
+ Started GET "/auth/gds/callback?code=e3f8312a7cd2a30482279235f9746f314c3f81f158be73be48673f93ed843f46&state=e454f96b7bf27192f655c3faa1ba2e41dbfa614a7d5d7aa1" for 127.0.0.1 at 2017-12-08 09:17:05 +0000
993
884
  Processing by AuthenticationsController#callback as HTML
994
- Parameters: {"code"=>"6591d83f221c619c9b010d93d08d86a6e652affc0b55ed9a43027a15497c9e1b", "state"=>"af2bd29c194bd62112102c8a533f8cd5c3efb79d19c8fde6"}
885
+ Parameters: {"code"=>"e3f8312a7cd2a30482279235f9746f314c3f81f158be73be48673f93ed843f46", "state"=>"e454f96b7bf27192f655c3faa1ba2e41dbfa614a7d5d7aa1"}
995
886
  Authenticating with gds_sso strategy
996
887
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
997
888
   (0.1ms) begin transaction
998
889
   (0.0ms) commit transaction
999
-  (0.0ms) begin transaction
1000
- SQL (0.1ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "f"], ["id", 12]]
1001
-  (5.5ms) commit transaction
890
+  (0.1ms) begin transaction
891
+ SQL (0.1ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "f"], ["id", 1]]
892
+  (5.9ms) commit transaction
1002
893
  Redirected to http://www.example-client.com/restricted
1003
- Completed 302 Found in 10ms (ActiveRecord: 6.0ms)
1004
- Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:31 +0000
894
+ Completed 302 Found in 10ms (ActiveRecord: 6.3ms)
895
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:17:05 +0000
1005
896
  Processing by ExampleController#restricted as HTML
1006
897
  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"]]
1007
898
  Rendered text template (0.0ms)
1008
- Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
1009
- Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:31 +0000
899
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
900
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:17:05 +0000
1010
901
  Processing by ExampleController#restricted as HTML
1011
902
  Authenticating with gds_sso strategy
1012
903
  Completed in 0ms (ActiveRecord: 0.0ms)
1013
- Started GET "/auth/gds" for 127.0.0.1 at 2017-12-06 08:54:31 +0000
1014
- Started GET "/auth/gds/callback?code=2db8e43bc7e0a8ef7e420c0ea07f73e478aaf047a3178fea3c2c582ae2efba27&state=bb1b7f673683f88332c0dca9bd9299d83765883163592285" for 127.0.0.1 at 2017-12-06 08:54:31 +0000
904
+ Started GET "/auth/gds" for 127.0.0.1 at 2017-12-08 09:17:05 +0000
905
+ Started GET "/auth/gds/callback?code=60356317240338bc7b4a9f9f78b34ac1e664ad4f8154a193f8f6b94efb44f9eb&state=1b443d8b1ae9416f629b7fb6f82fcdc2bd490062a1bc7858" for 127.0.0.1 at 2017-12-08 09:17:06 +0000
1015
906
  Processing by AuthenticationsController#callback as HTML
1016
- Parameters: {"code"=>"2db8e43bc7e0a8ef7e420c0ea07f73e478aaf047a3178fea3c2c582ae2efba27", "state"=>"bb1b7f673683f88332c0dca9bd9299d83765883163592285"}
907
+ Parameters: {"code"=>"60356317240338bc7b4a9f9f78b34ac1e664ad4f8154a193f8f6b94efb44f9eb", "state"=>"1b443d8b1ae9416f629b7fb6f82fcdc2bd490062a1bc7858"}
1017
908
  Authenticating with gds_sso strategy
1018
909
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
1019
910
   (0.1ms) begin transaction
1020
-  (0.0ms) commit transaction
911
+  (0.1ms) commit transaction
1021
912
   (0.0ms) begin transaction
1022
-  (0.0ms) commit transaction
913
+  (0.1ms) commit transaction
1023
914
  Redirected to http://www.example-client.com/restricted
1024
- Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
1025
- Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:31 +0000
915
+ Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
916
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:17:06 +0000
1026
917
  Processing by ExampleController#restricted as HTML
1027
918
  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"]]
1028
919
  Rendered text template (0.0ms)
1029
- Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
1030
- Started GET "/restricted" for 127.0.0.1 at 2017-12-07 04:59:31 +0000
920
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
921
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-09 05:12:06 +0000
1031
922
  Processing by ExampleController#restricted as HTML
1032
- Authenticating with gds_sso strategy
1033
- Completed in 1ms (ActiveRecord: 0.0ms)
1034
- Started GET "/auth/gds" for 127.0.0.1 at 2017-12-07 04:59:31 +0000
1035
- Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:31 +0000
923
+ 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"]]
924
+ Rendered text template (0.0ms)
925
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
926
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:17:06 +0000
1036
927
  Processing by ExampleController#restricted as HTML
1037
928
  Authenticating with gds_sso strategy
1038
929
  Completed in 0ms (ActiveRecord: 0.0ms)
1039
- Started GET "/auth/gds" for 127.0.0.1 at 2017-12-06 08:54:31 +0000
1040
- Started GET "/auth/gds/callback?code=7f1e0b56a35a5b592d63ee3a2430411b795bdc62e1d308c7436f9f9a7cafbb4f&state=eb0505524c75c135fabb31e2499c109a8db75bc1d32e9269" for 127.0.0.1 at 2017-12-06 08:54:31 +0000
930
+ Started GET "/auth/gds" for 127.0.0.1 at 2017-12-08 09:17:06 +0000
931
+ Started GET "/auth/gds/callback?code=92ca5975be3bd33149ea4a4a20bca4a196829b2346c084ccb97c530a71c7eea7&state=7c3d5656db2ae7501506441aa07fda6f97379cd54ee26605" for 127.0.0.1 at 2017-12-08 09:17:06 +0000
1041
932
  Processing by AuthenticationsController#callback as HTML
1042
- Parameters: {"code"=>"7f1e0b56a35a5b592d63ee3a2430411b795bdc62e1d308c7436f9f9a7cafbb4f", "state"=>"eb0505524c75c135fabb31e2499c109a8db75bc1d32e9269"}
933
+ Parameters: {"code"=>"92ca5975be3bd33149ea4a4a20bca4a196829b2346c084ccb97c530a71c7eea7", "state"=>"7c3d5656db2ae7501506441aa07fda6f97379cd54ee26605"}
1043
934
  Authenticating with gds_sso strategy
1044
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
1045
-  (0.1ms) begin transaction
1046
-  (0.1ms) commit transaction
1047
-  (0.0ms) begin transaction
1048
-  (0.0ms) commit transaction
935
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
936
+  (0.1ms) begin transaction
937
+  (0.0ms) commit transaction
938
+  (0.0ms) begin transaction
939
+  (0.0ms) commit transaction
940
+ Redirected to http://www.example-client.com/restricted
941
+ Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
942
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:17:06 +0000
943
+ Processing by ExampleController#restricted as HTML
944
+ 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"]]
945
+ Rendered text template (0.0ms)
946
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
947
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-09 05:22:06 +0000
948
+ Processing by ExampleController#restricted as HTML
949
+ Authenticating with gds_sso strategy
950
+ Completed in 1ms (ActiveRecord: 0.0ms)
951
+ Started GET "/auth/gds" for 127.0.0.1 at 2017-12-09 05:22:06 +0000
952
+ Started GET "/auth/gds/callback?code=452a43c6724a91466805dac7948ac2c6e7f565fefae52aea7ccd9171d42163bb&state=6560c6a842a8f24f856c46dd59291474dfcdc384594121b9" for 127.0.0.1 at 2017-12-09 05:22:06 +0000
953
+ Processing by AuthenticationsController#callback as HTML
954
+ Parameters: {"code"=>"452a43c6724a91466805dac7948ac2c6e7f565fefae52aea7ccd9171d42163bb", "state"=>"6560c6a842a8f24f856c46dd59291474dfcdc384594121b9"}
955
+ Authenticating with gds_sso strategy
956
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
957
+  (0.1ms) begin transaction
958
+  (0.1ms) commit transaction
959
+  (0.1ms) begin transaction
960
+  (0.1ms) commit transaction
1049
961
  Redirected to http://www.example-client.com/restricted
1050
962
  Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
1051
- Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:31 +0000
963
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-09 05:22:06 +0000
1052
964
  Processing by ExampleController#restricted as HTML
1053
- 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"]]
965
+ 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"]]
1054
966
  Rendered text template (0.0ms)
1055
967
  Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
1056
- Started GET "/restricted" for 127.0.0.1 at 2017-12-07 04:59:31 +0000
968
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:17:06 +0000
1057
969
  Processing by ExampleController#restricted as HTML
1058
970
  Authenticating with gds_sso strategy
1059
- Completed in 1ms (ActiveRecord: 0.0ms)
1060
- Started GET "/auth/gds" for 127.0.0.1 at 2017-12-07 04:59:31 +0000
1061
- Started GET "/auth/gds/callback?code=9a65c8c0ba410618fbd8e816156a0dd4ec548236c58489114e887bfb64cf14f5&state=b6730b0f74200f05b1df840616470d013a054a066321079b" for 127.0.0.1 at 2017-12-07 04:59:31 +0000
971
+ Completed in 0ms (ActiveRecord: 0.0ms)
972
+ Started GET "/auth/gds" for 127.0.0.1 at 2017-12-08 09:17:06 +0000
973
+ Started GET "/auth/gds/callback?code=c8277e7236338bbd9169657daa908ff7c608c11ae2976ce08fed4bef75d9883f&state=52479bdbd91ad10bdaee20749b1c5409b001398c13ce0716" for 127.0.0.1 at 2017-12-08 09:17:06 +0000
1062
974
  Processing by AuthenticationsController#callback as HTML
1063
- Parameters: {"code"=>"9a65c8c0ba410618fbd8e816156a0dd4ec548236c58489114e887bfb64cf14f5", "state"=>"b6730b0f74200f05b1df840616470d013a054a066321079b"}
975
+ Parameters: {"code"=>"c8277e7236338bbd9169657daa908ff7c608c11ae2976ce08fed4bef75d9883f", "state"=>"52479bdbd91ad10bdaee20749b1c5409b001398c13ce0716"}
1064
976
  Authenticating with gds_sso strategy
1065
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
1066
-  (0.1ms) begin transaction
1067
-  (0.3ms) commit transaction
1068
-  (0.1ms) begin transaction
1069
-  (0.1ms) commit transaction
977
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
978
+  (0.1ms) begin transaction
979
+  (0.0ms) commit transaction
980
+  (0.0ms) begin transaction
981
+  (0.1ms) commit transaction
1070
982
  Redirected to http://www.example-client.com/restricted
1071
- Completed 302 Found in 5ms (ActiveRecord: 0.6ms)
1072
- Started GET "/restricted" for 127.0.0.1 at 2017-12-07 04:59:31 +0000
983
+ Completed 302 Found in 5ms (ActiveRecord: 0.4ms)
984
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:17:06 +0000
1073
985
  Processing by ExampleController#restricted as HTML
1074
- 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"]]
986
+ 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
+ Rendered text template (0.0ms)
988
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
989
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-09 05:22:06 +0000
990
+ Processing by ExampleController#restricted as HTML
991
+ Authenticating with gds_sso strategy
992
+ Completed in 1ms (ActiveRecord: 0.0ms)
993
+ Started GET "/auth/gds" for 127.0.0.1 at 2017-12-09 05:22:06 +0000
994
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:17:06 +0000
995
+ Processing by ExampleController#restricted as JSON
996
+ Completed in 15ms (ActiveRecord: 0.0ms)
997
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:17:06 +0000
998
+ Processing by ExampleController#restricted as JSON
999
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
1000
+  (0.1ms) begin transaction
1001
+ SQL (0.2ms) UPDATE "users" SET "disabled" = ? WHERE "users"."id" = ? [["disabled", nil], ["id", 1]]
1002
+  (5.5ms) commit transaction
1003
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
1004
+  (0.0ms) begin transaction
1005
+  (0.0ms) commit transaction
1006
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
1007
+  (0.1ms) begin transaction
1008
+  (0.0ms) commit transaction
1009
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
1010
+  (0.0ms) begin transaction
1011
+  (0.0ms) commit transaction
1012
+  (0.0ms) begin transaction
1013
+  (0.0ms) commit transaction
1075
1014
  Rendered text template (0.0ms)
1076
- Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
1077
- Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:31 +0000
1078
- Processing by ExampleController#restricted as HTML
1079
- Authenticating with gds_sso strategy
1080
- Completed in 0ms (ActiveRecord: 0.0ms)
1081
- Started GET "/auth/gds" for 127.0.0.1 at 2017-12-06 08:54:31 +0000
1082
- Started GET "/auth/gds/callback?code=4ed177f109a09e5246d60c5382a239599bea253b0761b0612cc00d5abf35b5d3&state=55b1087d0480f5946bd16d642f95cf6cf4580fa732eed4c8" for 127.0.0.1 at 2017-12-06 08:54:32 +0000
1083
- Processing by AuthenticationsController#callback as HTML
1084
- Parameters: {"code"=>"4ed177f109a09e5246d60c5382a239599bea253b0761b0612cc00d5abf35b5d3", "state"=>"55b1087d0480f5946bd16d642f95cf6cf4580fa732eed4c8"}
1085
- Authenticating with gds_sso strategy
1015
+ Completed 200 OK in 70ms (Views: 0.3ms | ActiveRecord: 6.6ms)
1016
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:17:06 +0000
1017
+ Processing by ExampleController#restricted as JSON
1018
+ Completed in 23ms (ActiveRecord: 0.0ms)
1019
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-08 09:17:06 +0000
1020
+ Processing by ExampleController#this_requires_signin_permission as JSON
1086
1021
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
1087
1022
   (0.1ms) begin transaction
1088
1023
   (0.1ms) commit transaction
1024
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
1025
+  (0.0ms) begin transaction
1026
+  (0.0ms) commit transaction
1027
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
1089
1028
   (0.1ms) begin transaction
1090
-  (0.1ms) commit transaction
1091
- Redirected to http://www.example-client.com/restricted
1092
- Completed 302 Found in 5ms (ActiveRecord: 0.4ms)
1093
- Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:32 +0000
1094
- Processing by ExampleController#restricted as HTML
1095
- 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"]]
1096
- Rendered text template (0.0ms)
1097
- Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
1098
- Started GET "/restricted" for 127.0.0.1 at 2017-12-07 04:49:32 +0000
1099
- Processing by ExampleController#restricted as HTML
1100
- 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"]]
1029
+  (0.0ms) commit transaction
1030
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
1031
+  (0.0ms) begin transaction
1032
+  (0.0ms) commit transaction
1033
+  (0.1ms) begin transaction
1034
+  (0.0ms) commit transaction
1101
1035
  Rendered text template (0.0ms)
1102
- Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.1ms)
1103
-  (6.5ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "uid" varchar NOT NULL, "email" varchar NOT NULL, "remotely_signed_out" boolean, "permissions" text, "organisation_slug" varchar, "organisation_content_id" varchar, "disabled" boolean DEFAULT 'f')
1104
-  (7.0ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1036
+ Completed 200 OK in 63ms (Views: 0.3ms | ActiveRecord: 0.7ms)
1037
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "asd"]]
1038
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "user@example.com"]]
1039
+  (0.1ms) begin transaction
1040
+ 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]]
1041
+  (4.3ms) commit transaction
1042
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "asd"]]
1043
+  (0.0ms) begin transaction
1044
+  (0.0ms) commit transaction
1045
+  (0.1ms) begin transaction
1046
+ SQL (0.1ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d33176"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
1047
+  (4.0ms) commit transaction
1048
+  (0.1ms) begin transaction
1049
+ SQL (0.3ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d31421"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1050
+  (5.2ms) commit transaction
1051
+ Processing by Api::UserController#reauth as HTML
1052
+ Parameters: {"uid"=>"a1s2d33176"}
1053
+ Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
1054
+ Completed 403 Forbidden in 7ms (Views: 6.6ms | ActiveRecord: 0.0ms)
1055
+  (0.1ms) begin transaction
1056
+ SQL (0.1ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d36988"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
1057
+  (4.0ms) commit transaction
1058
+  (0.1ms) begin transaction
1059
+ SQL (0.1ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d33638"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1060
+  (3.7ms) commit transaction
1061
+ Processing by Api::UserController#reauth as HTML
1062
+ Parameters: {"uid"=>"a1s2d36988"}
1063
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "a1s2d36988"]]
1064
+  (0.0ms) begin transaction
1065
+ SQL (0.1ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 5]]
1066
+  (4.0ms) commit transaction
1067
+ Completed 200 OK in 6ms (ActiveRecord: 4.3ms)
1068
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]]
1069
+  (0.0ms) begin transaction
1070
+ SQL (0.1ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d34986"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
1071
+  (4.0ms) commit transaction
1072
+  (0.0ms) begin transaction
1073
+ SQL (0.1ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d39939"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1074
+  (3.8ms) commit transaction
1075
+ Processing by Api::UserController#reauth as HTML
1076
+ Parameters: {"uid"=>"nonexistent-user"}
1077
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "nonexistent-user"]]
1078
+ Completed 200 OK in 1ms (ActiveRecord: 0.1ms)
1079
+  (0.1ms) begin transaction
1080
+ SQL (0.1ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d34377"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
1081
+  (5.0ms) commit transaction
1082
+  (0.0ms) begin transaction
1083
+ SQL (0.1ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d38245"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1084
+  (4.0ms) commit transaction
1085
+ Processing by Api::UserController#update as HTML
1086
+ Parameters: {"uid"=>"a1s2d34377"}
1087
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "a1s2d34377"]]
1088
+  (0.0ms) begin transaction
1089
+ 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", 9]]
1090
+  (4.2ms) commit transaction
1091
+ Completed 200 OK in 7ms (ActiveRecord: 4.5ms)
1092
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 9]]
1093
+  (0.1ms) begin transaction
1094
+ SQL (0.1ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d37090"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
1095
+  (4.1ms) commit transaction
1096
+  (0.1ms) begin transaction
1097
+ SQL (0.1ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d32452"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1098
+  (5.2ms) commit transaction
1099
+ Processing by Api::UserController#update as HTML
1100
+ Parameters: {"uid"=>"a1s2d37090"}
1101
+ Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.0ms)
1102
+ Completed 403 Forbidden in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
1103
+  (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')
1104
+  (4.5ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1105
1105
  ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
1106
1106
   (0.0ms) begin transaction
1107
- SQL (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2017-12-06 08:54:37 UTC], ["updated_at", 2017-12-06 08:54:37 UTC]]
1108
-  (4.8ms) commit transaction
1109
-  (5.6ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
1107
+ SQL (0.1ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2017-12-08 09:17:17 UTC], ["updated_at", 2017-12-08 09:17:17 UTC]]
1108
+  (5.6ms) commit transaction
1109
+  (5.2ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
1110
1110
  ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
1111
+  (0.1ms) begin transaction
1112
+  (0.0ms) commit transaction
1113
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-08 09:17:17 +0000
1114
+ Processing by ExampleController#this_requires_signin_permission as JSON
1115
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1116
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "test@example-client.com"], ["LIMIT", 1]]
1117
+  (0.1ms) begin transaction
1118
+ SQL (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions", "disabled") VALUES (?, ?, ?, ?, ?) [["name", "Test User"], ["uid", "integration-uid"], ["email", "test@example-client.com"], ["permissions", "---\n- signin\n"], ["disabled", nil]]
1119
+  (8.9ms) commit transaction
1120
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1121
+  (0.1ms) begin transaction
1122
+  (0.0ms) commit transaction
1123
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1124
+  (0.2ms) begin transaction
1125
+  (0.0ms) commit transaction
1126
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1127
+  (0.1ms) begin transaction
1128
+  (0.1ms) commit transaction
1129
+  (0.1ms) begin transaction
1130
+ SQL (0.2ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", false], ["id", 1]]
1131
+  (7.2ms) commit transaction
1132
+ Rendering text template
1133
+ Rendered text template (0.0ms)
1134
+ Completed 200 OK in 111ms (Views: 3.4ms | ActiveRecord: 18.1ms)
1135
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:17:18 +0000
1136
+ Processing by ExampleController#restricted as JSON
1137
+ Completed in 26ms (ActiveRecord: 0.0ms)
1138
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:17:18 +0000
1139
+ Processing by ExampleController#restricted as JSON
1140
+ Completed in 14ms (ActiveRecord: 0.0ms)
1141
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:17:18 +0000
1142
+ Processing by ExampleController#restricted as JSON
1143
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1111
1144
   (0.0ms) begin transaction
1112
1145
   (0.0ms) commit transaction
1113
- Started GET "/" for 127.0.0.1 at 2017-12-06 08:54:38 +0000
1114
- Processing by ExampleController#index as HTML
1146
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1147
+  (0.1ms) begin transaction
1148
+  (0.0ms) commit transaction
1149
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1150
+  (0.0ms) begin transaction
1151
+  (0.0ms) commit transaction
1152
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1153
+  (0.1ms) begin transaction
1154
+  (0.0ms) commit transaction
1115
1155
  Rendering text template
1116
1156
  Rendered text template (0.0ms)
1117
- Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.0ms)
1118
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-06 08:54:38 +0000
1157
+ Completed 200 OK in 64ms (Views: 0.3ms | ActiveRecord: 0.7ms)
1158
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-08 09:17:18 +0000
1119
1159
  Processing by ExampleController#this_requires_signin_permission as HTML
1120
1160
  Authenticating with gds_sso strategy
1121
- Completed in 7ms (ActiveRecord: 0.0ms)
1122
- Started GET "/auth/gds" for 127.0.0.1 at 2017-12-06 08:54:38 +0000
1123
- Started GET "/auth/gds/callback?code=ecce711fa71fa62a32f4949e13c5d95a996175394a9ce009fd89237ef56abc9a&state=70b7e114cbe86ce912b8eca4148ad07264e7d53370554173" for 127.0.0.1 at 2017-12-06 08:54:38 +0000
1161
+ Completed in 0ms (ActiveRecord: 0.0ms)
1162
+ Started GET "/auth/gds" for 127.0.0.1 at 2017-12-08 09:17:18 +0000
1163
+ Started GET "/auth/gds/callback?code=b6c285330f7d7aa4479fe6886516bdf3677fa3e3c2d5a34ada606fb3ae6d9c40&state=e3fff9e95e31722aa25220048f1ccde86b18718e17155c2a" for 127.0.0.1 at 2017-12-08 09:17:18 +0000
1124
1164
  Processing by AuthenticationsController#callback as HTML
1125
- Parameters: {"code"=>"ecce711fa71fa62a32f4949e13c5d95a996175394a9ce009fd89237ef56abc9a", "state"=>"70b7e114cbe86ce912b8eca4148ad07264e7d53370554173"}
1165
+ Parameters: {"code"=>"b6c285330f7d7aa4479fe6886516bdf3677fa3e3c2d5a34ada606fb3ae6d9c40", "state"=>"e3fff9e95e31722aa25220048f1ccde86b18718e17155c2a"}
1126
1166
  Authenticating with gds_sso strategy
1127
1167
  User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1128
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "test@example-client.com"], ["LIMIT", 1]]
1129
1168
   (0.1ms) begin transaction
1130
- SQL (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Test User"], ["uid", "integration-uid"], ["email", "test@example-client.com"], ["permissions", "---\n- signin\n"]]
1131
-  (5.3ms) commit transaction
1132
-  (0.0ms) begin transaction
1133
- SQL (0.1ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", false], ["id", 1]]
1134
-  (4.0ms) commit transaction
1169
+ SQL (0.2ms) UPDATE "users" SET "disabled" = ? WHERE "users"."id" = ? [["disabled", false], ["id", 1]]
1170
+  (5.9ms) commit transaction
1135
1171
  Redirected to http://www.example-client.com/this_requires_signin_permission
1136
- Completed 302 Found in 24ms (ActiveRecord: 10.7ms)
1137
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-06 08:54:38 +0000
1172
+ Completed 302 Found in 10ms (ActiveRecord: 6.3ms)
1173
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-08 09:17:18 +0000
1138
1174
  Processing by ExampleController#this_requires_signin_permission as HTML
1139
- 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", false], ["LIMIT", 1]]
1175
+ 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", false], ["LIMIT", 1]]
1140
1176
  Rendering text template
1141
1177
  Rendered text template (0.0ms)
1142
- Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.1ms)
1143
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-06 08:54:38 +0000
1178
+ Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.2ms)
1179
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-08 09:17:18 +0000
1144
1180
  Processing by ExampleController#this_requires_signin_permission as HTML
1145
1181
  Authenticating with gds_sso strategy
1146
1182
  Completed in 0ms (ActiveRecord: 0.0ms)
1147
- Started GET "/auth/gds" for 127.0.0.1 at 2017-12-06 08:54:38 +0000
1148
- Started GET "/auth/gds/callback?code=5ea50e0ad74970b7d814e4a9b7fe006646aa56baaa8cfeaca11a326cd5ca8290&state=71c33085c55058a6fe23548ac060ecf384ecb8697a3dea10" for 127.0.0.1 at 2017-12-06 08:54:38 +0000
1183
+ Started GET "/auth/gds" for 127.0.0.1 at 2017-12-08 09:17:18 +0000
1184
+ Started GET "/auth/gds/callback?code=d06de1284eb7ed2d0cd68b0360a20683aae6391d242a06ac48d1e752acac15a2&state=2b6a0eb982c0145fcadfa51d3e5c2c68534e2a62a13c2d81" for 127.0.0.1 at 2017-12-08 09:17:18 +0000
1149
1185
  Processing by AuthenticationsController#callback as HTML
1150
- Parameters: {"code"=>"5ea50e0ad74970b7d814e4a9b7fe006646aa56baaa8cfeaca11a326cd5ca8290", "state"=>"71c33085c55058a6fe23548ac060ecf384ecb8697a3dea10"}
1186
+ Parameters: {"code"=>"d06de1284eb7ed2d0cd68b0360a20683aae6391d242a06ac48d1e752acac15a2", "state"=>"2b6a0eb982c0145fcadfa51d3e5c2c68534e2a62a13c2d81"}
1151
1187
  Authenticating with gds_sso strategy
1152
1188
  User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1153
-  (0.0ms) begin transaction
1154
-  (0.0ms) commit transaction
1189
+  (0.1ms) begin transaction
1190
+  (0.1ms) commit transaction
1155
1191
  Redirected to http://www.example-client.com/this_requires_signin_permission
1156
1192
  Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
1157
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-06 08:54:38 +0000
1193
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-08 09:17:18 +0000
1158
1194
  Processing by ExampleController#this_requires_signin_permission as HTML
1159
1195
  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", false], ["LIMIT", 1]]
1160
1196
  Rendering text template
1161
1197
  Rendered text template (0.0ms)
1162
1198
  Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
1163
- Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:38 +0000
1199
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:17:18 +0000
1164
1200
  Processing by ExampleController#restricted as HTML
1165
1201
  Authenticating with gds_sso strategy
1166
1202
  Completed in 0ms (ActiveRecord: 0.0ms)
1167
- Started GET "/auth/gds" for 127.0.0.1 at 2017-12-06 08:54:38 +0000
1168
- Started GET "/auth/gds/callback?code=9e024d663d4e126fe0efcef42a998d3622320a276f68a45206d12830bf0e672a&state=a8fd0f8c8e68bd570379f1a4b01d7623ab2351909ff554df" for 127.0.0.1 at 2017-12-06 08:54:38 +0000
1203
+ Started GET "/auth/gds" for 127.0.0.1 at 2017-12-08 09:17:18 +0000
1204
+ Started GET "/auth/gds/callback?code=9f11c347d968ef4b5b53bc35aec59477e6306323de1b2703947cf700b1d1a130&state=6e4134fbd2d2dc49e9da7cf3210e135beb9647022dacf4f6" for 127.0.0.1 at 2017-12-08 09:17:18 +0000
1169
1205
  Processing by AuthenticationsController#callback as HTML
1170
- Parameters: {"code"=>"9e024d663d4e126fe0efcef42a998d3622320a276f68a45206d12830bf0e672a", "state"=>"a8fd0f8c8e68bd570379f1a4b01d7623ab2351909ff554df"}
1206
+ Parameters: {"code"=>"9f11c347d968ef4b5b53bc35aec59477e6306323de1b2703947cf700b1d1a130", "state"=>"6e4134fbd2d2dc49e9da7cf3210e135beb9647022dacf4f6"}
1171
1207
  Authenticating with gds_sso strategy
1172
1208
  User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1173
-  (0.1ms) begin transaction
1174
-  (0.0ms) commit transaction
1209
+  (0.0ms) begin transaction
1210
+  (0.1ms) commit transaction
1175
1211
  Redirected to http://www.example-client.com/restricted
1176
1212
  Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
1177
- Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:38 +0000
1213
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:17:18 +0000
1178
1214
  Processing by ExampleController#restricted as HTML
1179
- 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", false], ["LIMIT", 1]]
1215
+ 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", false], ["LIMIT", 1]]
1180
1216
  Rendering text template
1181
1217
  Rendered text template (0.0ms)
1182
- Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
1183
- Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:38 +0000
1218
+ Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms)
1219
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:17:18 +0000
1184
1220
  Processing by ExampleController#restricted as HTML
1185
1221
  Authenticating with gds_sso strategy
1186
1222
  Completed in 0ms (ActiveRecord: 0.0ms)
1187
- Started GET "/auth/gds" for 127.0.0.1 at 2017-12-06 08:54:38 +0000
1188
- Started GET "/auth/gds/callback?code=5da380fa34a938130d617e58efd3957e649d0037ffcd1ce227cb51c4b26323a1&state=9cc3658787270323d8530718f65c4ebfbcaca1798c7a476c" for 127.0.0.1 at 2017-12-06 08:54:38 +0000
1223
+ Started GET "/auth/gds" for 127.0.0.1 at 2017-12-08 09:17:18 +0000
1224
+ Started GET "/auth/gds/callback?code=4ab451f7918f92e11632dc5576b608925c7001af8934429ede61439ed0928708&state=96dbe154f60af4d0e5cc90e5cabaca9cfc8dc633fde8f0f6" for 127.0.0.1 at 2017-12-08 09:17:19 +0000
1189
1225
  Processing by AuthenticationsController#callback as HTML
1190
- Parameters: {"code"=>"5da380fa34a938130d617e58efd3957e649d0037ffcd1ce227cb51c4b26323a1", "state"=>"9cc3658787270323d8530718f65c4ebfbcaca1798c7a476c"}
1226
+ Parameters: {"code"=>"4ab451f7918f92e11632dc5576b608925c7001af8934429ede61439ed0928708", "state"=>"96dbe154f60af4d0e5cc90e5cabaca9cfc8dc633fde8f0f6"}
1191
1227
  Authenticating with gds_sso strategy
1192
1228
  User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1193
1229
   (0.0ms) begin transaction
1194
1230
   (0.0ms) commit transaction
1195
1231
  Redirected to http://www.example-client.com/restricted
1196
1232
  Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
1197
- Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:38 +0000
1233
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:17:19 +0000
1198
1234
  Processing by ExampleController#restricted as HTML
1199
- 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", false], ["LIMIT", 1]]
1235
+ 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", false], ["LIMIT", 1]]
1200
1236
  Rendering text template
1201
1237
  Rendered text template (0.0ms)
1202
- Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
1203
- Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:38 +0000
1238
+ Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
1239
+ Started GET "/" for 127.0.0.1 at 2017-12-08 09:17:19 +0000
1240
+ Processing by ExampleController#index as HTML
1241
+ Rendering text template
1242
+ Rendered text template (0.0ms)
1243
+ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1244
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:17:19 +0000
1204
1245
  Processing by ExampleController#restricted as HTML
1205
1246
  Authenticating with gds_sso strategy
1206
1247
  Completed in 0ms (ActiveRecord: 0.0ms)
1207
- Started GET "/auth/gds" for 127.0.0.1 at 2017-12-06 08:54:38 +0000
1208
- Started GET "/auth/gds/callback?code=51f91f91e126226b6888a82e607b624f12287d0ceffff12520230a158cba6443&state=72d85768007e3b832e79cdaed442c38989085de218a284f7" for 127.0.0.1 at 2017-12-06 08:54:39 +0000
1248
+ Started GET "/auth/gds" for 127.0.0.1 at 2017-12-08 09:17:19 +0000
1249
+ Started GET "/auth/gds/callback?code=1f141bb76e0021d4d8d3e98609e78e21dffc6a0e5236f82301c2cb1e96b7181f&state=d44608a1842cba5ee47a9dfaa5149dfb8bf6b05cce879b6e" for 127.0.0.1 at 2017-12-08 09:17:19 +0000
1209
1250
  Processing by AuthenticationsController#callback as HTML
1210
- Parameters: {"code"=>"51f91f91e126226b6888a82e607b624f12287d0ceffff12520230a158cba6443", "state"=>"72d85768007e3b832e79cdaed442c38989085de218a284f7"}
1251
+ Parameters: {"code"=>"1f141bb76e0021d4d8d3e98609e78e21dffc6a0e5236f82301c2cb1e96b7181f", "state"=>"d44608a1842cba5ee47a9dfaa5149dfb8bf6b05cce879b6e"}
1211
1252
  Authenticating with gds_sso strategy
1212
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1253
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1213
1254
   (0.1ms) begin transaction
1214
-  (0.0ms) commit transaction
1255
+  (0.1ms) commit transaction
1215
1256
  Redirected to http://www.example-client.com/restricted
1216
- Completed 302 Found in 12ms (ActiveRecord: 0.4ms)
1217
- Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:39 +0000
1257
+ Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
1258
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:17:19 +0000
1218
1259
  Processing by ExampleController#restricted as HTML
1219
1260
  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", false], ["LIMIT", 1]]
1220
1261
  Rendering text template
1221
1262
  Rendered text template (0.0ms)
1222
- Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms)
1223
- Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:39 +0000
1263
+ Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
1264
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:17:19 +0000
1224
1265
  Processing by ExampleController#restricted as HTML
1225
1266
  Authenticating with gds_sso strategy
1226
1267
  Completed in 0ms (ActiveRecord: 0.0ms)
1227
- Started GET "/auth/gds" for 127.0.0.1 at 2017-12-06 08:54:39 +0000
1228
- Started GET "/auth/gds/callback?code=9a6189e8017677683d460bde14d478d3128d7cb868e1274214addc5a54591d70&state=f1cf41a9c9c225d1c4365060aef27c16b9f3a31fbb7d013e" for 127.0.0.1 at 2017-12-06 08:54:39 +0000
1268
+ Started GET "/auth/gds" for 127.0.0.1 at 2017-12-08 09:17:19 +0000
1269
+ Started GET "/auth/gds/callback?code=c853a93efe549f49ea16b0dd9be991b7a72222e8eff69ab81c09a96b82bcde30&state=4c75ae3fcd60644e360c01ed31bf718f7ca906185dba0a10" for 127.0.0.1 at 2017-12-08 09:17:19 +0000
1229
1270
  Processing by AuthenticationsController#callback as HTML
1230
- Parameters: {"code"=>"9a6189e8017677683d460bde14d478d3128d7cb868e1274214addc5a54591d70", "state"=>"f1cf41a9c9c225d1c4365060aef27c16b9f3a31fbb7d013e"}
1271
+ Parameters: {"code"=>"c853a93efe549f49ea16b0dd9be991b7a72222e8eff69ab81c09a96b82bcde30", "state"=>"4c75ae3fcd60644e360c01ed31bf718f7ca906185dba0a10"}
1231
1272
  Authenticating with gds_sso strategy
1232
1273
  User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1233
1274
   (0.1ms) begin transaction
1234
1275
   (0.0ms) commit transaction
1235
1276
  Redirected to http://www.example-client.com/restricted
1236
1277
  Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
1237
- Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:39 +0000
1278
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:17:19 +0000
1238
1279
  Processing by ExampleController#restricted as HTML
1239
1280
  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", false], ["LIMIT", 1]]
1240
1281
  Rendering text template
1241
1282
  Rendered text template (0.0ms)
1242
- Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.2ms)
1283
+ Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
1243
1284
  User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "test@example-client.com"], ["LIMIT", 1]]
1244
-  (0.1ms) begin transaction
1285
+  (0.0ms) begin transaction
1245
1286
  SQL (0.2ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", true], ["id", 1]]
1246
-  (6.7ms) commit transaction
1247
- Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:39 +0000
1287
+  (5.6ms) commit transaction
1288
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:17:19 +0000
1248
1289
  Processing by ExampleController#restricted as HTML
1249
1290
  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", false], ["LIMIT", 1]]
1250
1291
  Authenticating with gds_sso strategy
1251
1292
  Completed in 1ms (ActiveRecord: 0.2ms)
1252
- Started GET "/auth/gds" for 127.0.0.1 at 2017-12-06 08:54:39 +0000
1253
- Started GET "/auth/gds/callback?code=008fa1e51096325347a010dc0b9173ed71bc78578812eb16023ff65ca565d160&state=5a941ec7b7ce02249b05c483396d86c0be0f83b37db4845e" for 127.0.0.1 at 2017-12-06 08:54:39 +0000
1293
+ Started GET "/auth/gds" for 127.0.0.1 at 2017-12-08 09:17:19 +0000
1294
+ Started GET "/auth/gds/callback?code=3051cd86e0c5c80c80ad2b5d7ff85f916ca42cc17174bb338bb97be21972c1ba&state=ff8ab90e60f71a6b01bd9a3587edc804104ea2b498836926" for 127.0.0.1 at 2017-12-08 09:17:19 +0000
1254
1295
  Processing by AuthenticationsController#callback as HTML
1255
- Parameters: {"code"=>"008fa1e51096325347a010dc0b9173ed71bc78578812eb16023ff65ca565d160", "state"=>"5a941ec7b7ce02249b05c483396d86c0be0f83b37db4845e"}
1296
+ Parameters: {"code"=>"3051cd86e0c5c80c80ad2b5d7ff85f916ca42cc17174bb338bb97be21972c1ba", "state"=>"ff8ab90e60f71a6b01bd9a3587edc804104ea2b498836926"}
1256
1297
  Authenticating with gds_sso strategy
1257
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1258
-  (0.1ms) begin transaction
1259
-  (0.0ms) commit transaction
1298
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1299
+  (0.0ms) begin transaction
1300
+  (0.1ms) commit transaction
1260
1301
   (0.0ms) begin transaction
1261
1302
  SQL (0.2ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", false], ["id", 1]]
1262
-  (6.1ms) commit transaction
1303
+  (6.2ms) commit transaction
1263
1304
  Redirected to http://www.example-client.com/restricted
1264
- Completed 302 Found in 10ms (ActiveRecord: 6.6ms)
1265
- Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:39 +0000
1305
+ Completed 302 Found in 11ms (ActiveRecord: 6.8ms)
1306
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:17:19 +0000
1266
1307
  Processing by ExampleController#restricted as HTML
1267
1308
  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", false], ["LIMIT", 1]]
1268
1309
  Rendering text template
1269
1310
  Rendered text template (0.0ms)
1270
1311
  Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.2ms)
1271
- Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:39 +0000
1312
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:17:19 +0000
1272
1313
  Processing by ExampleController#restricted as HTML
1273
1314
  Authenticating with gds_sso strategy
1274
1315
  Completed in 0ms (ActiveRecord: 0.0ms)
1275
- Started GET "/auth/gds" for 127.0.0.1 at 2017-12-06 08:54:39 +0000
1276
- Started GET "/auth/gds/callback?code=43953dc90e00a7712727361f7bfc46ace1c8511441f35219ad4d043a92cd3024&state=d695a2cb76cbc644cf5eb3ac2fbdc9992522029d089f52c3" for 127.0.0.1 at 2017-12-06 08:54:39 +0000
1316
+ Started GET "/auth/gds" for 127.0.0.1 at 2017-12-08 09:17:19 +0000
1317
+ Started GET "/auth/gds/callback?code=e8e93eacd2cfd06665dc343aed1a0b89b0ba609be336b99159cf58d9e0f000c8&state=453d14f4e3327c6132f8bc5ce231d3cc7c4e1b5a6d335669" for 127.0.0.1 at 2017-12-08 09:17:20 +0000
1277
1318
  Processing by AuthenticationsController#callback as HTML
1278
- Parameters: {"code"=>"43953dc90e00a7712727361f7bfc46ace1c8511441f35219ad4d043a92cd3024", "state"=>"d695a2cb76cbc644cf5eb3ac2fbdc9992522029d089f52c3"}
1319
+ Parameters: {"code"=>"e8e93eacd2cfd06665dc343aed1a0b89b0ba609be336b99159cf58d9e0f000c8", "state"=>"453d14f4e3327c6132f8bc5ce231d3cc7c4e1b5a6d335669"}
1279
1320
  Authenticating with gds_sso strategy
1280
1321
  User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1281
1322
   (0.1ms) begin transaction
1282
1323
   (0.0ms) commit transaction
1283
1324
  Redirected to http://www.example-client.com/restricted
1284
1325
  Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
1285
- Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:39 +0000
1326
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:17:20 +0000
1286
1327
  Processing by ExampleController#restricted as HTML
1287
1328
  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", false], ["LIMIT", 1]]
1288
1329
  Rendering text template
1289
1330
  Rendered text template (0.0ms)
1290
1331
  Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
1291
- Started GET "/restricted" for 127.0.0.1 at 2017-12-07 04:49:39 +0000
1292
- Processing by ExampleController#restricted as HTML
1293
- 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", false], ["LIMIT", 1]]
1294
- Rendering text template
1295
- Rendered text template (0.0ms)
1296
- Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.2ms)
1297
- Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:39 +0000
1332
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-09 05:22:20 +0000
1298
1333
  Processing by ExampleController#restricted as HTML
1299
1334
  Authenticating with gds_sso strategy
1300
1335
  Completed in 0ms (ActiveRecord: 0.0ms)
1301
- Started GET "/auth/gds" for 127.0.0.1 at 2017-12-06 08:54:39 +0000
1302
- Started GET "/auth/gds/callback?code=aeeab323e3d4d8011dd31aca5e2b32143bdfd898fcfad56a9e4df3f9465db7c0&state=5c4b8ab4e726e80f1b700cdbd1768438ccc150be36d51a32" for 127.0.0.1 at 2017-12-06 08:54:40 +0000
1336
+ Started GET "/auth/gds" for 127.0.0.1 at 2017-12-09 05:22:20 +0000
1337
+ Started GET "/auth/gds/callback?code=110078bd2324d66ccdb485fb5e843adf07b264085fb986f8a3263b4e9f85267b&state=9941d26bd73d4ad1e52c3a0fcb54a94f185c6f6dbf77fcb9" for 127.0.0.1 at 2017-12-09 05:22:20 +0000
1303
1338
  Processing by AuthenticationsController#callback as HTML
1304
- Parameters: {"code"=>"aeeab323e3d4d8011dd31aca5e2b32143bdfd898fcfad56a9e4df3f9465db7c0", "state"=>"5c4b8ab4e726e80f1b700cdbd1768438ccc150be36d51a32"}
1339
+ Parameters: {"code"=>"110078bd2324d66ccdb485fb5e843adf07b264085fb986f8a3263b4e9f85267b", "state"=>"9941d26bd73d4ad1e52c3a0fcb54a94f185c6f6dbf77fcb9"}
1305
1340
  Authenticating with gds_sso strategy
1306
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1341
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1307
1342
   (0.1ms) begin transaction
1308
-  (0.0ms) commit transaction
1343
+  (0.1ms) commit transaction
1309
1344
  Redirected to http://www.example-client.com/restricted
1310
1345
  Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
1311
- Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:40 +0000
1346
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-09 05:22:20 +0000
1312
1347
  Processing by ExampleController#restricted as HTML
1313
1348
  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", false], ["LIMIT", 1]]
1314
1349
  Rendering text template
1315
1350
  Rendered text template (0.0ms)
1316
- Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.2ms)
1317
- Started GET "/restricted" for 127.0.0.1 at 2017-12-07 04:59:40 +0000
1351
+ Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
1352
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:17:20 +0000
1318
1353
  Processing by ExampleController#restricted as HTML
1319
1354
  Authenticating with gds_sso strategy
1320
1355
  Completed in 0ms (ActiveRecord: 0.0ms)
1321
- Started GET "/auth/gds" for 127.0.0.1 at 2017-12-07 04:59:40 +0000
1322
- Started GET "/auth/gds/callback?code=195a60f98c7e909540fa553fb292157036e9468265b565a2338c4f64068720bf&state=1f5d2c2bd81354a423d8f1b1edeeb6d3415bbdccb6c94148" for 127.0.0.1 at 2017-12-07 04:59:40 +0000
1356
+ Started GET "/auth/gds" for 127.0.0.1 at 2017-12-08 09:17:20 +0000
1357
+ Started GET "/auth/gds/callback?code=459f1919bbce1a6fddb01cb06c645e16466d233dca1e006079d856f3ea72834a&state=51a3299c4bc40a81a9de747eccea3cd2e3f656016b5cc6b0" for 127.0.0.1 at 2017-12-08 09:17:20 +0000
1323
1358
  Processing by AuthenticationsController#callback as HTML
1324
- Parameters: {"code"=>"195a60f98c7e909540fa553fb292157036e9468265b565a2338c4f64068720bf", "state"=>"1f5d2c2bd81354a423d8f1b1edeeb6d3415bbdccb6c94148"}
1359
+ Parameters: {"code"=>"459f1919bbce1a6fddb01cb06c645e16466d233dca1e006079d856f3ea72834a", "state"=>"51a3299c4bc40a81a9de747eccea3cd2e3f656016b5cc6b0"}
1325
1360
  Authenticating with gds_sso strategy
1326
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1361
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1327
1362
   (0.1ms) begin transaction
1328
-  (0.1ms) commit transaction
1363
+  (0.0ms) commit transaction
1329
1364
  Redirected to http://www.example-client.com/restricted
1330
- Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
1331
- Started GET "/restricted" for 127.0.0.1 at 2017-12-07 04:59:40 +0000
1365
+ Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
1366
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:17:20 +0000
1332
1367
  Processing by ExampleController#restricted as HTML
1333
1368
  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", false], ["LIMIT", 1]]
1334
1369
  Rendering text template
1335
1370
  Rendered text template (0.0ms)
1336
- Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.2ms)
1337
- Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:40 +0000
1371
+ Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
1372
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-09 05:22:20 +0000
1373
+ Processing by ExampleController#restricted as HTML
1374
+ Authenticating with gds_sso strategy
1375
+ Completed in 1ms (ActiveRecord: 0.0ms)
1376
+ Started GET "/auth/gds" for 127.0.0.1 at 2017-12-09 05:22:20 +0000
1377
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:17:20 +0000
1338
1378
  Processing by ExampleController#restricted as HTML
1339
1379
  Authenticating with gds_sso strategy
1340
1380
  Completed in 0ms (ActiveRecord: 0.0ms)
1341
- Started GET "/auth/gds" for 127.0.0.1 at 2017-12-06 08:54:40 +0000
1342
- Started GET "/auth/gds/callback?code=23eb8a2ba9db5b905a5c0ccec25844c9c687e1d1e86af9cb91d866649e0112b2&state=e247c4ea9bd7ccd53705a58425f2496de072e658291be9ce" for 127.0.0.1 at 2017-12-06 08:54:40 +0000
1381
+ Started GET "/auth/gds" for 127.0.0.1 at 2017-12-08 09:17:20 +0000
1382
+ Started GET "/auth/gds/callback?code=ff39b5d2bc1d38ea11f69c668156fc9119772a163fa8186e9a245717b1f70211&state=45d5479b2a870b9f5838f7645c3be3cd6da1ed6e8b0b475a" for 127.0.0.1 at 2017-12-08 09:17:20 +0000
1343
1383
  Processing by AuthenticationsController#callback as HTML
1344
- Parameters: {"code"=>"23eb8a2ba9db5b905a5c0ccec25844c9c687e1d1e86af9cb91d866649e0112b2", "state"=>"e247c4ea9bd7ccd53705a58425f2496de072e658291be9ce"}
1384
+ Parameters: {"code"=>"ff39b5d2bc1d38ea11f69c668156fc9119772a163fa8186e9a245717b1f70211", "state"=>"45d5479b2a870b9f5838f7645c3be3cd6da1ed6e8b0b475a"}
1345
1385
  Authenticating with gds_sso strategy
1346
- User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1386
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1347
1387
   (0.1ms) begin transaction
1348
1388
   (0.0ms) commit transaction
1349
1389
  Redirected to http://www.example-client.com/restricted
1350
- Completed 302 Found in 4ms (ActiveRecord: 0.5ms)
1351
- Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:40 +0000
1390
+ Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
1391
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:17:20 +0000
1352
1392
  Processing by ExampleController#restricted as HTML
1353
- 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", false], ["LIMIT", 1]]
1393
+ 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", false], ["LIMIT", 1]]
1354
1394
  Rendering text template
1355
1395
  Rendered text template (0.0ms)
1356
- Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
1357
- Started GET "/restricted" for 127.0.0.1 at 2017-12-07 04:59:40 +0000
1396
+ Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.3ms)
1397
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-09 05:12:20 +0000
1358
1398
  Processing by ExampleController#restricted as HTML
1359
- Authenticating with gds_sso strategy
1360
- Completed in 1ms (ActiveRecord: 0.0ms)
1361
- Started GET "/auth/gds" for 127.0.0.1 at 2017-12-07 04:59:40 +0000
1362
- Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:40 +0000
1363
- Processing by ExampleController#restricted as JSON
1364
- Completed in 27ms (ActiveRecord: 0.0ms)
1365
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-06 08:54:40 +0000
1366
- Processing by ExampleController#this_requires_signin_permission as JSON
1367
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1368
-  (0.1ms) begin transaction
1369
- SQL (0.2ms) UPDATE "users" SET "disabled" = ? WHERE "users"."id" = ? [["disabled", nil], ["id", 1]]
1370
-  (5.4ms) commit transaction
1371
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1372
-  (0.0ms) begin transaction
1373
-  (0.0ms) commit transaction
1374
- CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1375
-  (0.0ms) begin transaction
1376
-  (0.0ms) commit transaction
1377
- CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1378
-  (0.0ms) begin transaction
1379
-  (0.0ms) commit transaction
1399
+ 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", false], ["LIMIT", 1]]
1380
1400
  Rendering text template
1381
1401
  Rendered text template (0.0ms)
1382
- Completed 200 OK in 74ms (Views: 0.3ms | ActiveRecord: 6.3ms)
1383
- Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:40 +0000
1384
- Processing by ExampleController#restricted as JSON
1385
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1386
-  (0.0ms) begin transaction
1387
-  (0.0ms) commit transaction
1388
- CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1402
+ Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms)
1403
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "asd"], ["LIMIT", 1]]
1404
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "user@example.com"], ["LIMIT", 1]]
1389
1405
   (0.0ms) begin transaction
1390
-  (0.0ms) commit transaction
1391
- CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1406
+ SQL (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions", "organisation_slug", "organisation_content_id", "disabled") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "A Name"], ["uid", "asd"], ["email", "user@example.com"], ["permissions", "---\n- signin\n"], ["organisation_slug", "hmrc"], ["organisation_content_id", "67a2b78d-eee3-45b3-80e2-792e7f71cecc"], ["disabled", nil]]
1407
+  (6.5ms) commit transaction
1408
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "asd"], ["LIMIT", 1]]
1392
1409
   (0.0ms) begin transaction
1393
-  (0.0ms) commit transaction
1394
- CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1410
+  (0.1ms) commit transaction
1395
1411
   (0.0ms) begin transaction
1396
-  (0.0ms) commit transaction
1397
- Rendering text template
1398
- Rendered text template (0.0ms)
1399
- Completed 200 OK in 69ms (Views: 0.3ms | ActiveRecord: 0.6ms)
1400
- Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:40 +0000
1401
- Processing by ExampleController#restricted as JSON
1402
- Completed in 13ms (ActiveRecord: 0.0ms)
1403
-  (0.1ms) begin transaction
1404
- SQL (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d33464"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
1405
-  (4.3ms) commit transaction
1412
+ SQL (0.1ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d34992"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
1413
+  (5.2ms) commit transaction
1406
1414
   (0.0ms) begin transaction
1407
- SQL (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d3490"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1408
-  (6.6ms) commit transaction
1415
+ SQL (0.1ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d34920"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1416
+  (4.8ms) commit transaction
1409
1417
  Processing by Api::UserController#update as HTML
1410
- Parameters: {"uid"=>"a1s2d33464"}
1411
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "a1s2d33464"], ["LIMIT", 1]]
1412
-  (0.1ms) begin transaction
1413
- 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", 2]]
1414
-  (5.5ms) commit transaction
1415
- Completed 200 OK in 10ms (ActiveRecord: 5.9ms)
1416
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
1417
-  (0.0ms) begin transaction
1418
- SQL (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d37396"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
1419
-  (6.0ms) commit transaction
1418
+ Parameters: {"uid"=>"a1s2d34992"}
1419
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "a1s2d34992"], ["LIMIT", 1]]
1420
1420
   (0.0ms) begin transaction
1421
- SQL (0.3ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d38255"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1422
-  (4.6ms) commit transaction
1423
- Processing by Api::UserController#update as HTML
1424
- Parameters: {"uid"=>"a1s2d37396"}
1425
- Rendering /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
1426
- Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
1427
- Completed 403 Forbidden in 8ms (Views: 7.5ms | ActiveRecord: 0.0ms)
1421
+ 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", 3]]
1422
+  (5.3ms) commit transaction
1423
+ Completed 200 OK in 9ms (ActiveRecord: 5.6ms)
1424
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]]
1428
1425
   (0.1ms) begin transaction
1429
- SQL (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d31760"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
1430
-  (4.9ms) commit transaction
1426
+ SQL (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d36717"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
1427
+  (5.2ms) commit transaction
1431
1428
   (0.1ms) begin transaction
1432
- SQL (0.1ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d34524"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1433
-  (3.8ms) commit transaction
1434
- Processing by Api::UserController#reauth as HTML
1435
- Parameters: {"uid"=>"a1s2d31760"}
1429
+ SQL (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d34089"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1430
+  (4.9ms) commit transaction
1431
+ Processing by Api::UserController#update as HTML
1432
+ Parameters: {"uid"=>"a1s2d36717"}
1436
1433
  Rendering /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
1437
- Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.0ms)
1438
- Completed 403 Forbidden in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
1439
-  (0.1ms) begin transaction
1440
- SQL (0.1ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d32935"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
1441
-  (4.0ms) commit transaction
1434
+ Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
1435
+ Completed 403 Forbidden in 8ms (Views: 7.9ms | ActiveRecord: 0.0ms)
1442
1436
   (0.0ms) begin transaction
1443
- SQL (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d36056"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1444
-  (5.0ms) commit transaction
1437
+ SQL (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d35029"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
1438
+  (5.3ms) commit transaction
1439
+  (0.0ms) begin transaction
1440
+ SQL (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d33609"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1441
+  (4.9ms) commit transaction
1445
1442
  Processing by Api::UserController#reauth as HTML
1446
1443
  Parameters: {"uid"=>"nonexistent-user"}
1447
1444
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "nonexistent-user"], ["LIMIT", 1]]
1448
1445
  Completed 200 OK in 1ms (ActiveRecord: 0.1ms)
1449
-  (0.0ms) begin transaction
1450
- SQL (0.1ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d37028"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
1451
-  (5.0ms) commit transaction
1452
-  (0.0ms) begin transaction
1453
- SQL (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d33244"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1446
+  (0.1ms) begin transaction
1447
+ SQL (0.1ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d38184"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
1454
1448
   (5.3ms) commit transaction
1449
+  (0.1ms) begin transaction
1450
+ SQL (0.1ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d38755"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1451
+  (4.9ms) commit transaction
1455
1452
  Processing by Api::UserController#reauth as HTML
1456
- Parameters: {"uid"=>"a1s2d37028"}
1457
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "a1s2d37028"], ["LIMIT", 1]]
1453
+ Parameters: {"uid"=>"a1s2d38184"}
1454
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "a1s2d38184"], ["LIMIT", 1]]
1458
1455
   (0.0ms) begin transaction
1459
- SQL (0.1ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", true], ["id", 10]]
1456
+ SQL (0.1ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", true], ["id", 9]]
1460
1457
   (5.2ms) commit transaction
1461
1458
  Completed 200 OK in 8ms (ActiveRecord: 5.5ms)
1462
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 10], ["LIMIT", 1]]
1463
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "asd"], ["LIMIT", 1]]
1464
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "user@example.com"], ["LIMIT", 1]]
1465
-  (0.2ms) begin transaction
1466
- SQL (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions", "organisation_slug", "organisation_content_id", "disabled") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "A Name"], ["uid", "asd"], ["email", "user@example.com"], ["permissions", "---\n- signin\n"], ["organisation_slug", "hmrc"], ["organisation_content_id", "67a2b78d-eee3-45b3-80e2-792e7f71cecc"], ["disabled", nil]]
1467
-  (6.2ms) commit transaction
1468
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "asd"], ["LIMIT", 1]]
1459
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 9], ["LIMIT", 1]]
1460
+  (0.1ms) begin transaction
1461
+ SQL (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d31951"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
1462
+  (5.8ms) commit transaction
1469
1463
   (0.0ms) begin transaction
1470
-  (0.0ms) commit transaction
1464
+ SQL (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d32948"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1465
+  (5.2ms) commit transaction
1466
+ Processing by Api::UserController#reauth as HTML
1467
+ Parameters: {"uid"=>"a1s2d31951"}
1468
+ Rendering /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
1469
+ Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.0ms)
1470
+ Completed 403 Forbidden in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)