gds-sso 16.1.0 → 17.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,1520 +0,0 @@
1
-  (0.1ms) DROP TABLE IF EXISTS "users"
2
-  (1.0ms) SELECT sqlite_version(*)
3
-  (9.2ms) CREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "uid" varchar NOT NULL, "email" varchar NOT NULL, "remotely_signed_out" boolean, "permissions" text, "organisation_slug" varchar, "organisation_content_id" varchar, "disabled" boolean DEFAULT 'f')
4
-  (7.4ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
5
- ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
6
-  (0.0ms) begin transaction
7
- ActiveRecord::InternalMetadata Create (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2022-04-07 15:43:10.901473"], ["updated_at", "2022-04-07 15:43:10.901473"]]
8
-  (4.9ms) commit transaction
9
-  (6.6ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
10
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
11
-  (0.0ms) begin transaction
12
-  (0.0ms) commit transaction
13
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2022-04-07 15:43:11 +0000
14
- Processing by ExampleController#this_requires_signin_permission as JSON
15
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
16
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "test@example-client.com"], ["LIMIT", 1]]
17
-  (0.0ms) begin transaction
18
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions", "disabled") VALUES (?, ?, ?, ?, ?) [["name", "Test User"], ["uid", "integration-uid"], ["email", "test@example-client.com"], ["permissions", "---\n- signin\n"], ["disabled", nil]]
19
-  (7.9ms) commit transaction
20
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
21
-  (0.0ms) begin transaction
22
-  (0.1ms) commit transaction
23
- CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
24
-  (0.0ms) begin transaction
25
-  (0.0ms) commit transaction
26
- CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
27
-  (0.0ms) begin transaction
28
-  (0.0ms) commit transaction
29
-  (0.0ms) begin transaction
30
- User Update (0.2ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "f"], ["id", 1]]
31
-  (5.2ms) commit transaction
32
- Rendering text template
33
- Rendered text template (0.0ms)
34
- Completed 200 OK in 198ms (Views: 2.5ms | ActiveRecord: 14.8ms)
35
- Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:11 +0000
36
- Processing by ExampleController#restricted as JSON
37
- Completed in 169ms (ActiveRecord: 0.0ms)
38
- Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:11 +0000
39
- Processing by ExampleController#restricted as JSON
40
- Completed in 13ms (ActiveRecord: 0.0ms)
41
- Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:11 +0000
42
- Processing by ExampleController#restricted as JSON
43
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
44
-  (0.0ms) begin transaction
45
-  (0.0ms) commit transaction
46
- CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
47
-  (0.0ms) begin transaction
48
-  (0.0ms) commit transaction
49
- CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
50
-  (0.0ms) begin transaction
51
-  (0.0ms) commit transaction
52
- CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
53
-  (0.0ms) begin transaction
54
-  (0.0ms) commit transaction
55
-  (0.0ms) begin transaction
56
-  (0.0ms) commit transaction
57
- Rendering text template
58
- Rendered text template (0.0ms)
59
- Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 0.4ms)
60
- Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:12 +0000
61
- Processing by ExampleController#restricted as HTML
62
- Authenticating with gds_sso strategy
63
- Completed in 0ms (ActiveRecord: 0.0ms)
64
- Started GET "/" for 127.0.0.1 at 2022-04-07 15:43:12 +0000
65
- Processing by ExampleController#index as HTML
66
- Rendering text template
67
- Rendered text template (0.0ms)
68
- Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
69
- Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:12 +0000
70
- Processing by ExampleController#restricted as HTML
71
- Authenticating with gds_sso strategy
72
- Completed in 0ms (ActiveRecord: 0.0ms)
73
- Started GET "/auth/gds" for 127.0.0.1 at 2022-04-07 15:43:12 +0000
74
- Started GET "/auth/gds/callback?code=5ADFxAgDutEgVitzh2zpr3eQRKwPEFAy2gB429ej-iE&state=cabf29c5fcf28465340442660c810137775aa163126080ca" for 127.0.0.1 at 2022-04-07 15:43:12 +0000
75
- Processing by AuthenticationsController#callback as HTML
76
- Parameters: {"code"=>"5ADFxAgDutEgVitzh2zpr3eQRKwPEFAy2gB429ej-iE", "state"=>"cabf29c5fcf28465340442660c810137775aa163126080ca"}
77
- Authenticating with gds_sso strategy
78
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
79
-  (0.0ms) begin transaction
80
- User Update (0.3ms) UPDATE "users" SET "disabled" = ? WHERE "users"."id" = ? [["disabled", "f"], ["id", 1]]
81
-  (12.4ms) commit transaction
82
-  (0.0ms) begin transaction
83
-  (0.0ms) commit transaction
84
- Redirected to http://www.example-client.com/restricted
85
- Completed 302 Found in 16ms (ActiveRecord: 12.9ms)
86
- Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:12 +0000
87
- Processing by ExampleController#restricted as HTML
88
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
89
- Rendering text template
90
- Rendered text template (0.0ms)
91
- Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
92
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2022-04-07 15:43:12 +0000
93
- Processing by ExampleController#this_requires_signin_permission as HTML
94
- Authenticating with gds_sso strategy
95
- Completed in 0ms (ActiveRecord: 0.0ms)
96
- Started GET "/auth/gds" for 127.0.0.1 at 2022-04-07 15:43:12 +0000
97
- Started GET "/auth/gds/callback?code=jvlV6CffWTgMLnHOyZSWYvzD3FVm7QNOhp_OH-pyfGU&state=c71389f395feb6d1cb50042da53e2833b59dbf64b61509a9" for 127.0.0.1 at 2022-04-07 15:43:12 +0000
98
- Processing by AuthenticationsController#callback as HTML
99
- Parameters: {"code"=>"jvlV6CffWTgMLnHOyZSWYvzD3FVm7QNOhp_OH-pyfGU", "state"=>"c71389f395feb6d1cb50042da53e2833b59dbf64b61509a9"}
100
- Authenticating with gds_sso strategy
101
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
102
-  (0.0ms) begin transaction
103
-  (0.0ms) commit transaction
104
-  (0.0ms) begin transaction
105
-  (0.0ms) commit transaction
106
- Redirected to http://www.example-client.com/this_requires_signin_permission
107
- Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
108
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2022-04-07 15:43:12 +0000
109
- Processing by ExampleController#this_requires_signin_permission as HTML
110
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
111
- Rendering text template
112
- Rendered text template (0.0ms)
113
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
114
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2022-04-07 15:43:12 +0000
115
- Processing by ExampleController#this_requires_signin_permission as HTML
116
- Authenticating with gds_sso strategy
117
- Completed in 0ms (ActiveRecord: 0.0ms)
118
- Started GET "/auth/gds" for 127.0.0.1 at 2022-04-07 15:43:12 +0000
119
- Started GET "/auth/gds/callback?code=96kQX7jDBCYsiHie7KlJnLGKDj4SbIo5ONJjwCfof80&state=7cf121b6c8ffcf837b9d23b8770a3098121d55c2a6bcff33" for 127.0.0.1 at 2022-04-07 15:43:12 +0000
120
- Processing by AuthenticationsController#callback as HTML
121
- Parameters: {"code"=>"96kQX7jDBCYsiHie7KlJnLGKDj4SbIo5ONJjwCfof80", "state"=>"7cf121b6c8ffcf837b9d23b8770a3098121d55c2a6bcff33"}
122
- Authenticating with gds_sso strategy
123
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
124
-  (0.0ms) begin transaction
125
-  (0.1ms) commit transaction
126
-  (0.0ms) begin transaction
127
-  (0.0ms) commit transaction
128
- Redirected to http://www.example-client.com/this_requires_signin_permission
129
- Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
130
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2022-04-07 15:43:12 +0000
131
- Processing by ExampleController#this_requires_signin_permission as HTML
132
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
133
- Rendering text template
134
- Rendered text template (0.0ms)
135
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
136
- Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:12 +0000
137
- Processing by ExampleController#restricted as HTML
138
- Authenticating with gds_sso strategy
139
- Completed in 0ms (ActiveRecord: 0.0ms)
140
- Started GET "/auth/gds" for 127.0.0.1 at 2022-04-07 15:43:12 +0000
141
- Started GET "/auth/gds/callback?code=Vxir3g1Cn6153ffAEO7JR8oVLgRruQkCrtncJP1zpYU&state=2e1a037d215d89d8ad934ea117edc1db8989f315b1c51a38" for 127.0.0.1 at 2022-04-07 15:43:12 +0000
142
- Processing by AuthenticationsController#callback as HTML
143
- Parameters: {"code"=>"Vxir3g1Cn6153ffAEO7JR8oVLgRruQkCrtncJP1zpYU", "state"=>"2e1a037d215d89d8ad934ea117edc1db8989f315b1c51a38"}
144
- Authenticating with gds_sso strategy
145
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
146
-  (0.5ms) begin transaction
147
-  (0.0ms) commit transaction
148
-  (0.0ms) begin transaction
149
-  (0.0ms) commit transaction
150
- Redirected to http://www.example-client.com/restricted
151
- Completed 302 Found in 16ms (ActiveRecord: 0.7ms)
152
- Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:12 +0000
153
- Processing by ExampleController#restricted as HTML
154
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
155
- Rendering text template
156
- Rendered text template (0.0ms)
157
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
158
- Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:12 +0000
159
- Processing by ExampleController#restricted as HTML
160
- Authenticating with gds_sso strategy
161
- Completed in 0ms (ActiveRecord: 0.0ms)
162
- Started GET "/auth/gds" for 127.0.0.1 at 2022-04-07 15:43:12 +0000
163
- Started GET "/auth/gds/callback?code=mhHa4rODrJIIaLhb3KDAf-fWjxF_RcL7Fbb3xb8enJg&state=45781057dfb4712c5a637cb9c4d19d2393eb52123f314fb1" for 127.0.0.1 at 2022-04-07 15:43:12 +0000
164
- Processing by AuthenticationsController#callback as HTML
165
- Parameters: {"code"=>"mhHa4rODrJIIaLhb3KDAf-fWjxF_RcL7Fbb3xb8enJg", "state"=>"45781057dfb4712c5a637cb9c4d19d2393eb52123f314fb1"}
166
- Authenticating with gds_sso strategy
167
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
168
-  (0.1ms) begin transaction
169
-  (0.0ms) commit transaction
170
-  (0.0ms) begin transaction
171
-  (0.0ms) commit transaction
172
- Redirected to http://www.example-client.com/restricted
173
- Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
174
- Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:12 +0000
175
- Processing by ExampleController#restricted as HTML
176
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
177
- Rendering text template
178
- Rendered text template (0.0ms)
179
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
180
- Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:12 +0000
181
- Processing by ExampleController#restricted as HTML
182
- Authenticating with gds_sso strategy
183
- Completed in 0ms (ActiveRecord: 0.0ms)
184
- Started GET "/auth/gds" for 127.0.0.1 at 2022-04-07 15:43:12 +0000
185
- Started GET "/auth/gds/callback?code=vbZt-fmTatbFo3AFEAbEsSgm9LIs7rRDiQvIWRVw3xE&state=5999e4d770b3270f8526dda85ad08c7d4baaf34c5f5a7805" for 127.0.0.1 at 2022-04-07 15:43:12 +0000
186
- Processing by AuthenticationsController#callback as HTML
187
- Parameters: {"code"=>"vbZt-fmTatbFo3AFEAbEsSgm9LIs7rRDiQvIWRVw3xE", "state"=>"5999e4d770b3270f8526dda85ad08c7d4baaf34c5f5a7805"}
188
- Authenticating with gds_sso strategy
189
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
190
-  (0.0ms) begin transaction
191
-  (0.0ms) commit transaction
192
-  (0.0ms) begin transaction
193
-  (0.0ms) commit transaction
194
- Redirected to http://www.example-client.com/restricted
195
- Completed 302 Found in 3ms (ActiveRecord: 0.2ms)
196
- Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:12 +0000
197
- Processing by ExampleController#restricted as HTML
198
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
199
- Rendering text template
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 2022-04-08 11:48:12 +0000
203
- Processing by ExampleController#restricted as HTML
204
- Authenticating with gds_sso strategy
205
- Completed in 0ms (ActiveRecord: 0.0ms)
206
- Started GET "/auth/gds" for 127.0.0.1 at 2022-04-08 11:48:12 +0000
207
- Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:12 +0000
208
- Processing by ExampleController#restricted as HTML
209
- Authenticating with gds_sso strategy
210
- Completed in 0ms (ActiveRecord: 0.0ms)
211
- Started GET "/auth/gds" for 127.0.0.1 at 2022-04-07 15:43:12 +0000
212
- Started GET "/auth/gds/callback?code=8mCJQ05gvq48LChwesxfjef_ek1AOn6l2M3W93074-s&state=08046952d6542569acaaedc96c57e6599cd7e9b4bede17d0" for 127.0.0.1 at 2022-04-07 15:43:12 +0000
213
- Processing by AuthenticationsController#callback as HTML
214
- Parameters: {"code"=>"8mCJQ05gvq48LChwesxfjef_ek1AOn6l2M3W93074-s", "state"=>"08046952d6542569acaaedc96c57e6599cd7e9b4bede17d0"}
215
- Authenticating with gds_sso strategy
216
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
217
-  (0.0ms) begin transaction
218
-  (0.0ms) commit transaction
219
-  (0.0ms) begin transaction
220
-  (0.0ms) commit transaction
221
- Redirected to http://www.example-client.com/restricted
222
- Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
223
- Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:12 +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 ? [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
226
- Rendering text template
227
- Rendered text template (0.0ms)
228
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
229
- Started GET "/restricted" for 127.0.0.1 at 2022-04-08 11:38:12 +0000
230
- Processing by ExampleController#restricted as HTML
231
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
232
- Rendering text template
233
- Rendered text template (0.0ms)
234
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
235
- Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:12 +0000
236
- Processing by ExampleController#restricted as HTML
237
- Authenticating with gds_sso strategy
238
- Completed in 0ms (ActiveRecord: 0.0ms)
239
- Started GET "/auth/gds" for 127.0.0.1 at 2022-04-07 15:43:12 +0000
240
- Started GET "/auth/gds/callback?code=ms0s_Uj4Zc32MpWkr9urclHbvSg37HAlxHQVMWHJMJA&state=fa3ce9273de4d4fef8037eb36e1c9267399bbed68377d6d8" for 127.0.0.1 at 2022-04-07 15:43:12 +0000
241
- Processing by AuthenticationsController#callback as HTML
242
- Parameters: {"code"=>"ms0s_Uj4Zc32MpWkr9urclHbvSg37HAlxHQVMWHJMJA", "state"=>"fa3ce9273de4d4fef8037eb36e1c9267399bbed68377d6d8"}
243
- Authenticating with gds_sso strategy
244
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
245
-  (0.0ms) begin transaction
246
-  (0.0ms) commit transaction
247
-  (0.0ms) begin transaction
248
-  (0.0ms) commit transaction
249
- Redirected to http://www.example-client.com/restricted
250
- Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
251
- Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:12 +0000
252
- Processing by ExampleController#restricted as HTML
253
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
254
- Rendering text template
255
- Rendered text template (0.0ms)
256
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
257
- Started GET "/restricted" for 127.0.0.1 at 2022-04-08 11:48:12 +0000
258
- Processing by ExampleController#restricted as HTML
259
- Authenticating with gds_sso strategy
260
- Completed in 0ms (ActiveRecord: 0.0ms)
261
- Started GET "/auth/gds" for 127.0.0.1 at 2022-04-08 11:48:12 +0000
262
- Started GET "/auth/gds/callback?code=kKR3WqRpqIFt5z2j4ejZYNogo9I3NkCYz_eIlJ2mXQ0&state=07416326b070c356660bcc60f7a8dea20da38e23eb73738a" for 127.0.0.1 at 2022-04-08 11:48:12 +0000
263
- Processing by AuthenticationsController#callback as HTML
264
- Parameters: {"code"=>"kKR3WqRpqIFt5z2j4ejZYNogo9I3NkCYz_eIlJ2mXQ0", "state"=>"07416326b070c356660bcc60f7a8dea20da38e23eb73738a"}
265
- Authenticating with gds_sso strategy
266
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
267
-  (0.0ms) begin transaction
268
-  (0.0ms) commit transaction
269
-  (0.0ms) begin transaction
270
-  (0.0ms) commit transaction
271
- Redirected to http://www.example-client.com/restricted
272
- Completed 302 Found in 2ms (ActiveRecord: 0.3ms)
273
- Started GET "/restricted" for 127.0.0.1 at 2022-04-08 11:48:12 +0000
274
- Processing by ExampleController#restricted as HTML
275
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
276
- Rendering text template
277
- Rendered text template (0.0ms)
278
- Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
279
- Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:12 +0000
280
- Processing by ExampleController#restricted as HTML
281
- Authenticating with gds_sso strategy
282
- Completed in 1ms (ActiveRecord: 0.0ms)
283
- Started GET "/auth/gds" for 127.0.0.1 at 2022-04-07 15:43:12 +0000
284
- Started GET "/auth/gds/callback?code=5j2jQqGaFQKI8jSVkX_fD9VTIQ6bDgKfcHUBVLxbI1Y&state=9655ef50db802fed53baaec520f66ef566da5f5a231167e2" for 127.0.0.1 at 2022-04-07 15:43:12 +0000
285
- Processing by AuthenticationsController#callback as HTML
286
- Parameters: {"code"=>"5j2jQqGaFQKI8jSVkX_fD9VTIQ6bDgKfcHUBVLxbI1Y", "state"=>"9655ef50db802fed53baaec520f66ef566da5f5a231167e2"}
287
- Authenticating with gds_sso strategy
288
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
289
-  (0.0ms) begin transaction
290
-  (0.0ms) commit transaction
291
-  (0.0ms) begin transaction
292
-  (0.0ms) commit transaction
293
- Redirected to http://www.example-client.com/restricted
294
- Completed 302 Found in 2ms (ActiveRecord: 0.3ms)
295
- Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:12 +0000
296
- Processing by ExampleController#restricted as HTML
297
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
298
- Rendering text template
299
- Rendered text template (0.0ms)
300
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
301
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "test@example-client.com"], ["LIMIT", 1]]
302
-  (0.0ms) begin transaction
303
- User Update (0.2ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 1]]
304
-  (5.8ms) commit transaction
305
- Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:12 +0000
306
- Processing by ExampleController#restricted as HTML
307
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
308
- Authenticating with gds_sso strategy
309
- Completed in 1ms (ActiveRecord: 0.1ms)
310
- Started GET "/auth/gds" for 127.0.0.1 at 2022-04-07 15:43:12 +0000
311
- Started GET "/auth/gds/callback?code=FB8y4QYZHQsR02w0L5MG6U7wupDeyY9eukxXA_Tnt7E&state=322bb75706f33a745b6a4929be809db6a8f432457241ea24" for 127.0.0.1 at 2022-04-07 15:43:12 +0000
312
- Processing by AuthenticationsController#callback as HTML
313
- Parameters: {"code"=>"FB8y4QYZHQsR02w0L5MG6U7wupDeyY9eukxXA_Tnt7E", "state"=>"322bb75706f33a745b6a4929be809db6a8f432457241ea24"}
314
- Authenticating with gds_sso strategy
315
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
316
-  (0.0ms) begin transaction
317
-  (0.0ms) commit transaction
318
-  (0.0ms) begin transaction
319
- User Update (0.2ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "f"], ["id", 1]]
320
-  (6.2ms) commit transaction
321
- Redirected to http://www.example-client.com/restricted
322
- Completed 302 Found in 9ms (ActiveRecord: 6.6ms)
323
- Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:13 +0000
324
- Processing by ExampleController#restricted as HTML
325
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
326
- Rendering text template
327
- Rendered text template (0.0ms)
328
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
329
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "dummyapiuser@domain.com"], ["LIMIT", 1]]
330
-  (0.0ms) begin transaction
331
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Dummy API user created by gds-sso"], ["uid", "2629"], ["email", "dummyapiuser@domain.com"], ["permissions", "---\n- signin\n"]]
332
-  (6.2ms) commit transaction
333
-  (0.0ms) begin transaction
334
- User Update (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = ? [["permissions", "---\n- signin\n- extra_permission\n"], ["id", 2]]
335
-  (6.4ms) commit transaction
336
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "asd"], ["LIMIT", 1]]
337
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "user@example.com"], ["LIMIT", 1]]
338
-  (0.0ms) begin transaction
339
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions", "organisation_slug", "organisation_content_id", "disabled") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "A Name"], ["uid", "asd"], ["email", "user@example.com"], ["permissions", "---\n- signin\n"], ["organisation_slug", "hmrc"], ["organisation_content_id", "67a2b78d-eee3-45b3-80e2-792e7f71cecc"], ["disabled", nil]]
340
-  (4.7ms) commit transaction
341
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "asd"], ["LIMIT", 1]]
342
-  (0.0ms) begin transaction
343
-  (0.0ms) commit transaction
344
-  (0.0ms) begin transaction
345
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d33903"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
346
-  (4.6ms) commit transaction
347
-  (0.0ms) begin transaction
348
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d31644"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
349
-  (6.3ms) commit transaction
350
- Processing by Api::UserController#update as HTML
351
- Parameters: {"uid"=>"a1s2d33903"}
352
- Rendering /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
353
- Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
354
- Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
355
- Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
356
- Completed 403 Forbidden in 4ms (Views: 4.1ms | ActiveRecord: 0.0ms)
357
-  (0.0ms) begin transaction
358
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d32740"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
359
-  (6.2ms) commit transaction
360
-  (0.0ms) begin transaction
361
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d3920"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
362
-  (6.6ms) commit transaction
363
- Processing by Api::UserController#update as HTML
364
- Parameters: {"uid"=>"a1s2d32740"}
365
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "a1s2d32740"], ["LIMIT", 1]]
366
-  (0.0ms) begin transaction
367
- User Update (0.2ms) UPDATE "users" SET "email" = ?, "name" = ?, "permissions" = ?, "organisation_slug" = ?, "organisation_content_id" = ? WHERE "users"."id" = ? [["email", "user@domain.com"], ["name", "Joshua Marshall"], ["permissions", "---\n- signin\n- new permission\n"], ["organisation_slug", "justice-league"], ["organisation_content_id", "aae1319e-5788-4677-998c-f1a53af528d0"], ["id", 6]]
368
-  (11.1ms) commit transaction
369
- Completed 200 OK in 13ms (ActiveRecord: 11.4ms)
370
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]]
371
-  (0.0ms) begin transaction
372
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d33708"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
373
-  (5.0ms) commit transaction
374
-  (0.0ms) begin transaction
375
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d33736"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
376
-  (6.4ms) commit transaction
377
- Processing by Api::UserController#reauth as HTML
378
- Parameters: {"uid"=>"a1s2d33708"}
379
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "a1s2d33708"], ["LIMIT", 1]]
380
-  (0.0ms) begin transaction
381
- User Update (0.1ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 8]]
382
-  (6.0ms) commit transaction
383
- Completed 200 OK in 8ms (ActiveRecord: 6.3ms)
384
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 8], ["LIMIT", 1]]
385
-  (0.0ms) begin transaction
386
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d33699"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
387
-  (5.7ms) commit transaction
388
-  (0.0ms) begin transaction
389
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d33584"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
390
-  (6.2ms) commit transaction
391
- Processing by Api::UserController#reauth as HTML
392
- Parameters: {"uid"=>"a1s2d33699"}
393
- Rendering /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
394
- Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
395
- Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
396
- Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
397
- Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
398
-  (0.0ms) begin transaction
399
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d33854"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
400
-  (6.4ms) commit transaction
401
-  (0.0ms) begin transaction
402
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d36885"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
403
-  (5.9ms) commit transaction
404
- Processing by Api::UserController#reauth as HTML
405
- Parameters: {"uid"=>"nonexistent-user"}
406
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "nonexistent-user"], ["LIMIT", 1]]
407
- Completed 200 OK in 1ms (ActiveRecord: 0.1ms)
408
-  (1.2ms) SELECT sqlite_version(*)
409
-  (0.1ms) SELECT sqlite_version(*)
410
-  (0.1ms) DROP TABLE IF EXISTS "users"
411
-  (12.4ms) CREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "uid" varchar NOT NULL, "email" varchar NOT NULL, "remotely_signed_out" boolean, "permissions" text, "organisation_slug" varchar, "organisation_content_id" varchar, "disabled" boolean DEFAULT 0)
412
-  (8.7ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)
413
- ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
414
- TRANSACTION (0.0ms) begin transaction
415
- ActiveRecord::InternalMetadata Create (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2022-04-07 15:43:22.528368"], ["updated_at", "2022-04-07 15:43:22.528368"]]
416
- TRANSACTION (6.2ms) commit transaction
417
-  (6.4ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
418
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
419
-  (0.1ms) SELECT sqlite_version(*)
420
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "asd"], ["LIMIT", 1]]
421
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "user@example.com"], ["LIMIT", 1]]
422
- TRANSACTION (0.0ms) begin transaction
423
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions", "organisation_slug", "organisation_content_id", "disabled") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "A Name"], ["uid", "asd"], ["email", "user@example.com"], ["permissions", "---\n- signin\n"], ["organisation_slug", "hmrc"], ["organisation_content_id", "67a2b78d-eee3-45b3-80e2-792e7f71cecc"], ["disabled", nil]]
424
- TRANSACTION (5.4ms) commit transaction
425
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "asd"], ["LIMIT", 1]]
426
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "dummyapiuser@domain.com"], ["LIMIT", 1]]
427
- TRANSACTION (0.0ms) begin transaction
428
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Dummy API user created by gds-sso"], ["uid", "4256"], ["email", "dummyapiuser@domain.com"], ["permissions", "---\n- signin\n"]]
429
- TRANSACTION (5.0ms) commit transaction
430
- TRANSACTION (0.0ms) begin transaction
431
- User Update (0.1ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = ? [["permissions", "---\n- signin\n- extra_permission\n"], ["id", 2]]
432
- TRANSACTION (5.7ms) commit transaction
433
- Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:23 +0000
434
- Processing by ExampleController#restricted as HTML
435
- Authenticating with gds_sso strategy
436
- Completed in 12ms (ActiveRecord: 0.0ms | Allocations: 1332)
437
- Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:23 +0000
438
- Processing by ExampleController#restricted as JSON
439
- Completed in 9ms (ActiveRecord: 0.0ms | Allocations: 2365)
440
- Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:23 +0000
441
- Processing by ExampleController#restricted as JSON
442
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
443
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "test@example-client.com"], ["LIMIT", 1]]
444
- TRANSACTION (0.1ms) begin transaction
445
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions", "disabled") VALUES (?, ?, ?, ?, ?) [["name", "Test User"], ["uid", "integration-uid"], ["email", "test@example-client.com"], ["permissions", "---\n- signin\n"], ["disabled", nil]]
446
- TRANSACTION (5.9ms) commit transaction
447
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
448
- CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
449
- CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
450
- TRANSACTION (0.0ms) begin transaction
451
- User Update (0.2ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", 0], ["id", 3]]
452
- TRANSACTION (5.1ms) commit transaction
453
- Rendering text template
454
- Rendered text template (Duration: 0.0ms | Allocations: 3)
455
- Completed 200 OK in 21ms (Views: 2.3ms | ActiveRecord: 11.7ms | Allocations: 5015)
456
- Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:23 +0000
457
- Processing by ExampleController#restricted as JSON
458
- Completed in 14ms (ActiveRecord: 0.0ms | Allocations: 1796)
459
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2022-04-07 15:43:23 +0000
460
- Processing by ExampleController#this_requires_signin_permission as JSON
461
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
462
- CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
463
- CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
464
- CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
465
- Rendering text template
466
- Rendered text template (Duration: 0.0ms | Allocations: 1)
467
- Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 0.2ms | Allocations: 3265)
468
- Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:23 +0000
469
- Processing by ExampleController#restricted as HTML
470
- Authenticating with gds_sso strategy
471
- Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 138)
472
- Started GET "/auth/gds" for 127.0.0.1 at 2022-04-07 15:43:23 +0000
473
- Started GET "/auth/gds/callback?code=fPdMInhLkqWixXhDjLlY83ZPaIIuHcL0098oKLWiCug&state=b5b9e48317f9172a9d856c31c6a7f3c06e8821d9c8279b72" for 127.0.0.1 at 2022-04-07 15:43:23 +0000
474
- Processing by AuthenticationsController#callback as HTML
475
- Parameters: {"code"=>"fPdMInhLkqWixXhDjLlY83ZPaIIuHcL0098oKLWiCug", "state"=>"b5b9e48317f9172a9d856c31c6a7f3c06e8821d9c8279b72"}
476
- Authenticating with gds_sso strategy
477
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
478
- TRANSACTION (0.1ms) begin transaction
479
- User Update (0.2ms) UPDATE "users" SET "disabled" = ? WHERE "users"."id" = ? [["disabled", 0], ["id", 3]]
480
- TRANSACTION (6.3ms) commit transaction
481
- Redirected to http://www.example-client.com/restricted
482
- Completed 302 Found in 9ms (ActiveRecord: 6.7ms | Allocations: 1208)
483
- Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:23 +0000
484
- Processing by ExampleController#restricted as HTML
485
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
486
- Rendering text template
487
- Rendered text template (Duration: 0.0ms | Allocations: 1)
488
- Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.2ms | Allocations: 781)
489
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2022-04-07 15:43:23 +0000
490
- Processing by ExampleController#this_requires_signin_permission as HTML
491
- Authenticating with gds_sso strategy
492
- Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 138)
493
- Started GET "/auth/gds" for 127.0.0.1 at 2022-04-07 15:43:23 +0000
494
- Started GET "/auth/gds/callback?code=bxkbkldT_qdAblag9ZnIZzoz4S7i14n63646n3AlNyA&state=e5d73fe833dae62fb7485bf41620a7c31b0e635c1ac22eaf" for 127.0.0.1 at 2022-04-07 15:43:23 +0000
495
- Processing by AuthenticationsController#callback as HTML
496
- Parameters: {"code"=>"bxkbkldT_qdAblag9ZnIZzoz4S7i14n63646n3AlNyA", "state"=>"e5d73fe833dae62fb7485bf41620a7c31b0e635c1ac22eaf"}
497
- Authenticating with gds_sso strategy
498
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
499
- Redirected to http://www.example-client.com/this_requires_signin_permission
500
- Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 954)
501
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2022-04-07 15:43:23 +0000
502
- Processing by ExampleController#this_requires_signin_permission as HTML
503
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
504
- Rendering text template
505
- Rendered text template (Duration: 0.0ms | Allocations: 1)
506
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 708)
507
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2022-04-07 15:43:23 +0000
508
- Processing by ExampleController#this_requires_signin_permission as HTML
509
- Authenticating with gds_sso strategy
510
- Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 138)
511
- Started GET "/auth/gds" for 127.0.0.1 at 2022-04-07 15:43:23 +0000
512
- Started GET "/auth/gds/callback?code=THVjCXfZZgnntsSIlZLKcH3NWkAZl3lCgU3WmqcxQRU&state=7ac20b212eaf8674272bc13d878cbcfefed36d0485f474f5" for 127.0.0.1 at 2022-04-07 15:43:23 +0000
513
- Processing by AuthenticationsController#callback as HTML
514
- Parameters: {"code"=>"THVjCXfZZgnntsSIlZLKcH3NWkAZl3lCgU3WmqcxQRU", "state"=>"7ac20b212eaf8674272bc13d878cbcfefed36d0485f474f5"}
515
- Authenticating with gds_sso strategy
516
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
517
- Redirected to http://www.example-client.com/this_requires_signin_permission
518
- Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 954)
519
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2022-04-07 15:43:23 +0000
520
- Processing by ExampleController#this_requires_signin_permission as HTML
521
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
522
- Rendering text template
523
- Rendered text template (Duration: 0.0ms | Allocations: 1)
524
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 708)
525
- Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:23 +0000
526
- Processing by ExampleController#restricted as HTML
527
- Authenticating with gds_sso strategy
528
- Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 138)
529
- Started GET "/auth/gds" for 127.0.0.1 at 2022-04-07 15:43:23 +0000
530
- Started GET "/auth/gds/callback?code=jv4TgJlxMcwiLifNMtBu029ScKJFZzU9dfl_uyqFrq0&state=f1c0f2a6063c529456c689e0a3f93602ae3588feda6be63e" for 127.0.0.1 at 2022-04-07 15:43:23 +0000
531
- Processing by AuthenticationsController#callback as HTML
532
- Parameters: {"code"=>"jv4TgJlxMcwiLifNMtBu029ScKJFZzU9dfl_uyqFrq0", "state"=>"f1c0f2a6063c529456c689e0a3f93602ae3588feda6be63e"}
533
- Authenticating with gds_sso strategy
534
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
535
- Redirected to http://www.example-client.com/restricted
536
- Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 954)
537
- Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:23 +0000
538
- Processing by ExampleController#restricted as HTML
539
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
540
- Rendering text template
541
- Rendered text template (Duration: 0.0ms | Allocations: 1)
542
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 712)
543
- Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:23 +0000
544
- Processing by ExampleController#restricted as HTML
545
- Authenticating with gds_sso strategy
546
- Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 138)
547
- Started GET "/auth/gds" for 127.0.0.1 at 2022-04-07 15:43:23 +0000
548
- Started GET "/auth/gds/callback?code=eOKGN4E8cSxDXn0_z7harwECDB5F6ItVXdGX-GG4YoQ&state=a1e786068ab4b806f078d8e914cbca96becdc2e9613db6c7" for 127.0.0.1 at 2022-04-07 15:43:23 +0000
549
- Processing by AuthenticationsController#callback as HTML
550
- Parameters: {"code"=>"eOKGN4E8cSxDXn0_z7harwECDB5F6ItVXdGX-GG4YoQ", "state"=>"a1e786068ab4b806f078d8e914cbca96becdc2e9613db6c7"}
551
- Authenticating with gds_sso strategy
552
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
553
- Redirected to http://www.example-client.com/restricted
554
- Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 956)
555
- Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:23 +0000
556
- Processing by ExampleController#restricted as HTML
557
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
558
- Rendering text template
559
- Rendered text template (Duration: 0.0ms | Allocations: 1)
560
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 715)
561
- Started GET "/" for 127.0.0.1 at 2022-04-07 15:43:23 +0000
562
- Processing by ExampleController#index as HTML
563
- Rendering text template
564
- Rendered text template (Duration: 0.0ms | Allocations: 1)
565
- Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms | Allocations: 152)
566
- Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:23 +0000
567
- Processing by ExampleController#restricted as HTML
568
- Authenticating with gds_sso strategy
569
- Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 138)
570
- Started GET "/auth/gds" for 127.0.0.1 at 2022-04-07 15:43:23 +0000
571
- Started GET "/auth/gds/callback?code=piy16tP_BiKIvtYW_crMFofMng-rqxNfRzlCeTImYsg&state=97e59faad6e8b583d773433085b3e8e6bf853a70174f5174" for 127.0.0.1 at 2022-04-07 15:43:23 +0000
572
- Processing by AuthenticationsController#callback as HTML
573
- Parameters: {"code"=>"piy16tP_BiKIvtYW_crMFofMng-rqxNfRzlCeTImYsg", "state"=>"97e59faad6e8b583d773433085b3e8e6bf853a70174f5174"}
574
- Authenticating with gds_sso strategy
575
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
576
- Redirected to http://www.example-client.com/restricted
577
- Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 954)
578
- Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:23 +0000
579
- Processing by ExampleController#restricted as HTML
580
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
581
- Rendering text template
582
- Rendered text template (Duration: 0.0ms | Allocations: 1)
583
- Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 712)
584
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "test@example-client.com"], ["LIMIT", 1]]
585
- TRANSACTION (0.1ms) begin transaction
586
- User Update (0.2ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", 1], ["id", 3]]
587
- TRANSACTION (5.9ms) commit transaction
588
- Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:23 +0000
589
- Processing by ExampleController#restricted as HTML
590
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
591
- Authenticating with gds_sso strategy
592
- Completed in 1ms (ActiveRecord: 0.1ms | Allocations: 582)
593
- Started GET "/auth/gds" for 127.0.0.1 at 2022-04-07 15:43:23 +0000
594
- Started GET "/auth/gds/callback?code=Lc4_o1KgdMiXESW-A0RDqln1_SkyX-1nPKqWTqkCJmk&state=a89a9ce81a71b30c9b1a80511738ec571863b457f02651bd" for 127.0.0.1 at 2022-04-07 15:43:23 +0000
595
- Processing by AuthenticationsController#callback as HTML
596
- Parameters: {"code"=>"Lc4_o1KgdMiXESW-A0RDqln1_SkyX-1nPKqWTqkCJmk", "state"=>"a89a9ce81a71b30c9b1a80511738ec571863b457f02651bd"}
597
- Authenticating with gds_sso strategy
598
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
599
- TRANSACTION (0.1ms) begin transaction
600
- User Update (0.2ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", 0], ["id", 3]]
601
- TRANSACTION (6.5ms) commit transaction
602
- Redirected to http://www.example-client.com/restricted
603
- Completed 302 Found in 10ms (ActiveRecord: 6.9ms | Allocations: 1162)
604
- Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:23 +0000
605
- Processing by ExampleController#restricted as HTML
606
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
607
- Rendering text template
608
- Rendered text template (Duration: 0.0ms | Allocations: 1)
609
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 710)
610
- Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:23 +0000
611
- Processing by ExampleController#restricted as HTML
612
- Authenticating with gds_sso strategy
613
- Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 138)
614
- Started GET "/auth/gds" for 127.0.0.1 at 2022-04-07 15:43:23 +0000
615
- Started GET "/auth/gds/callback?code=hzkw2vvNRiHYNdlpwVm9r0okjXLzrlop4Ombj0ohOL0&state=7d6a02b796758a4c9a1f3207e61ec1c715d936d96b643425" for 127.0.0.1 at 2022-04-07 15:43:23 +0000
616
- Processing by AuthenticationsController#callback as HTML
617
- Parameters: {"code"=>"hzkw2vvNRiHYNdlpwVm9r0okjXLzrlop4Ombj0ohOL0", "state"=>"7d6a02b796758a4c9a1f3207e61ec1c715d936d96b643425"}
618
- Authenticating with gds_sso strategy
619
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
620
- Redirected to http://www.example-client.com/restricted
621
- Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 954)
622
- Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:23 +0000
623
- Processing by ExampleController#restricted as HTML
624
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
625
- Rendering text template
626
- Rendered text template (Duration: 0.0ms | Allocations: 1)
627
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 712)
628
- Started GET "/restricted" for 127.0.0.1 at 2022-04-08 11:38:23 +0000
629
- Processing by ExampleController#restricted as HTML
630
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
631
- Rendering text template
632
- Rendered text template (Duration: 0.0ms | Allocations: 1)
633
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 935)
634
- Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:23 +0000
635
- Processing by ExampleController#restricted as HTML
636
- Authenticating with gds_sso strategy
637
- Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 138)
638
- Started GET "/auth/gds" for 127.0.0.1 at 2022-04-07 15:43:23 +0000
639
- Started GET "/auth/gds/callback?code=7LBDtAWN59UAki7aeW2rGqj0toMKB4GpurNbNajRaZ4&state=0dbf3aa0185002434ecfd4b23e83c53fbdfc8a582e75cc42" for 127.0.0.1 at 2022-04-07 15:43:23 +0000
640
- Processing by AuthenticationsController#callback as HTML
641
- Parameters: {"code"=>"7LBDtAWN59UAki7aeW2rGqj0toMKB4GpurNbNajRaZ4", "state"=>"0dbf3aa0185002434ecfd4b23e83c53fbdfc8a582e75cc42"}
642
- Authenticating with gds_sso strategy
643
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
644
- Redirected to http://www.example-client.com/restricted
645
- Completed 302 Found in 3ms (ActiveRecord: 0.1ms | Allocations: 954)
646
- Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:23 +0000
647
- Processing by ExampleController#restricted as HTML
648
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
649
- Rendering text template
650
- Rendered text template (Duration: 0.0ms | Allocations: 1)
651
- Completed 200 OK in 12ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 713)
652
- Started GET "/restricted" for 127.0.0.1 at 2022-04-08 11:48:23 +0000
653
- Processing by ExampleController#restricted as HTML
654
- Authenticating with gds_sso strategy
655
- Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 520)
656
- Started GET "/auth/gds" for 127.0.0.1 at 2022-04-08 11:48:23 +0000
657
- Started GET "/auth/gds/callback?code=oDc4xJYHslkN8tcXYtq-8EeC6G2SC7G8cVmzz39gZuc&state=13c62ba4d48daf7ec707179659c2e6206ad4d61d4340d3a5" for 127.0.0.1 at 2022-04-08 11:48:23 +0000
658
- Processing by AuthenticationsController#callback as HTML
659
- Parameters: {"code"=>"oDc4xJYHslkN8tcXYtq-8EeC6G2SC7G8cVmzz39gZuc", "state"=>"13c62ba4d48daf7ec707179659c2e6206ad4d61d4340d3a5"}
660
- Authenticating with gds_sso strategy
661
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
662
- Redirected to http://www.example-client.com/restricted
663
- Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 1158)
664
- Started GET "/restricted" for 127.0.0.1 at 2022-04-08 11:48:23 +0000
665
- Processing by ExampleController#restricted as HTML
666
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
667
- Rendering text template
668
- Rendered text template (Duration: 0.0ms | Allocations: 1)
669
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 937)
670
- Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:23 +0000
671
- Processing by ExampleController#restricted as HTML
672
- Authenticating with gds_sso strategy
673
- Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 138)
674
- Started GET "/auth/gds" for 127.0.0.1 at 2022-04-07 15:43:23 +0000
675
- Started GET "/auth/gds/callback?code=Gfs7vuokTY1s97Bry7_4fvYpvMClib0pxBW8Y5y0TXo&state=7aa55d99320cd967d27b42b94d9f48065dc530ce33c8bde2" for 127.0.0.1 at 2022-04-07 15:43:24 +0000
676
- Processing by AuthenticationsController#callback as HTML
677
- Parameters: {"code"=>"Gfs7vuokTY1s97Bry7_4fvYpvMClib0pxBW8Y5y0TXo", "state"=>"7aa55d99320cd967d27b42b94d9f48065dc530ce33c8bde2"}
678
- Authenticating with gds_sso strategy
679
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
680
- Redirected to http://www.example-client.com/restricted
681
- Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 954)
682
- Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:24 +0000
683
- Processing by ExampleController#restricted as HTML
684
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
685
- Rendering text template
686
- Rendered text template (Duration: 0.0ms | Allocations: 1)
687
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 712)
688
- Started GET "/restricted" for 127.0.0.1 at 2022-04-08 11:48:24 +0000
689
- Processing by ExampleController#restricted as HTML
690
- Authenticating with gds_sso strategy
691
- Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 518)
692
- Started GET "/auth/gds" for 127.0.0.1 at 2022-04-08 11:48:24 +0000
693
- TRANSACTION (0.1ms) begin transaction
694
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d34481"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
695
- TRANSACTION (4.8ms) commit transaction
696
- TRANSACTION (0.0ms) begin transaction
697
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d34942"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
698
- TRANSACTION (6.3ms) commit transaction
699
- Processing by Api::UserController#reauth as HTML
700
- Parameters: {"uid"=>"nonexistent-user"}
701
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "nonexistent-user"], ["LIMIT", 1]]
702
- Completed 200 OK in 1ms (ActiveRecord: 0.1ms | Allocations: 550)
703
- TRANSACTION (0.0ms) begin transaction
704
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d32881"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
705
- TRANSACTION (6.6ms) commit transaction
706
- TRANSACTION (0.0ms) begin transaction
707
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d39754"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
708
- TRANSACTION (5.7ms) commit transaction
709
- Processing by Api::UserController#reauth as HTML
710
- Parameters: {"uid"=>"a1s2d32881"}
711
- Rendering layout /var/lib/jenkins/workspace/gds-sso_master/app/views/layouts/unauthorised.html.erb
712
- Rendering /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
713
- Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
714
- Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (Duration: 0.5ms | Allocations: 262)
715
- Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
716
- Rendered layout /var/lib/jenkins/workspace/gds-sso_master/app/views/layouts/unauthorised.html.erb (Duration: 0.6ms | Allocations: 356)
717
- Completed 403 Forbidden in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms | Allocations: 1595)
718
- TRANSACTION (0.0ms) begin transaction
719
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d37418"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
720
- TRANSACTION (6.4ms) commit transaction
721
- TRANSACTION (0.0ms) begin transaction
722
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d37338"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
723
- TRANSACTION (4.6ms) commit transaction
724
- Processing by Api::UserController#reauth as HTML
725
- Parameters: {"uid"=>"a1s2d37418"}
726
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "a1s2d37418"], ["LIMIT", 1]]
727
- TRANSACTION (0.0ms) begin transaction
728
- User Update (0.1ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", 1], ["id", 8]]
729
- TRANSACTION (4.4ms) commit transaction
730
- Completed 200 OK in 6ms (ActiveRecord: 4.7ms | Allocations: 893)
731
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 8], ["LIMIT", 1]]
732
- TRANSACTION (0.0ms) begin transaction
733
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d34065"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
734
- TRANSACTION (4.5ms) commit transaction
735
- TRANSACTION (0.0ms) begin transaction
736
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d36707"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
737
- TRANSACTION (6.3ms) commit transaction
738
- Processing by Api::UserController#update as HTML
739
- Parameters: {"uid"=>"a1s2d34065"}
740
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "a1s2d34065"], ["LIMIT", 1]]
741
- TRANSACTION (0.0ms) begin transaction
742
- User Update (0.2ms) UPDATE "users" SET "name" = ?, "email" = ?, "permissions" = ?, "organisation_slug" = ?, "organisation_content_id" = ? WHERE "users"."id" = ? [["name", "Joshua Marshall"], ["email", "user@domain.com"], ["permissions", "---\n- signin\n- new permission\n"], ["organisation_slug", "justice-league"], ["organisation_content_id", "aae1319e-5788-4677-998c-f1a53af528d0"], ["id", 10]]
743
- TRANSACTION (5.6ms) commit transaction
744
- Completed 200 OK in 8ms (ActiveRecord: 5.9ms | Allocations: 1235)
745
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 10], ["LIMIT", 1]]
746
- TRANSACTION (0.0ms) begin transaction
747
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d35930"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
748
- TRANSACTION (6.2ms) commit transaction
749
- TRANSACTION (0.0ms) begin transaction
750
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d32304"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
751
- TRANSACTION (6.5ms) commit transaction
752
- Processing by Api::UserController#update as HTML
753
- Parameters: {"uid"=>"a1s2d35930"}
754
- Rendering layout /var/lib/jenkins/workspace/gds-sso_master/app/views/layouts/unauthorised.html.erb
755
- Rendering /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
756
- Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
757
- Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (Duration: 0.1ms | Allocations: 55)
758
- Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
759
- Rendered layout /var/lib/jenkins/workspace/gds-sso_master/app/views/layouts/unauthorised.html.erb (Duration: 0.2ms | Allocations: 146)
760
- Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms | Allocations: 527)
761
-  (0.1ms) DROP TABLE IF EXISTS "users"
762
-  (1.0ms) SELECT sqlite_version(*)
763
-  (11.7ms) CREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "uid" varchar NOT NULL, "email" varchar NOT NULL, "remotely_signed_out" boolean, "permissions" text, "organisation_slug" varchar, "organisation_content_id" varchar, "disabled" boolean DEFAULT 'f')
764
-  (6.1ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
765
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
766
-  (0.0ms) begin transaction
767
- ActiveRecord::InternalMetadata Create (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2022-04-07 15:43:29.159409"], ["updated_at", "2022-04-07 15:43:29.159409"]]
768
-  (6.4ms) commit transaction
769
-  (6.5ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
770
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
771
-  (0.0ms) begin transaction
772
-  (0.0ms) commit transaction
773
-  (0.0ms) begin transaction
774
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d3513"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
775
-  (5.9ms) commit transaction
776
-  (0.0ms) begin transaction
777
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d32033"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
778
-  (6.2ms) commit transaction
779
- Processing by Api::UserController#reauth as HTML
780
- Parameters: {"uid"=>"a1s2d3513"}
781
- Rendering /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
782
- Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
783
- Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.1ms)
784
- Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
785
- Completed 403 Forbidden in 5ms (Views: 4.3ms | ActiveRecord: 0.0ms)
786
-  (0.1ms) begin transaction
787
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d3745"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
788
-  (5.0ms) commit transaction
789
-  (0.0ms) begin transaction
790
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d39020"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
791
-  (6.2ms) commit transaction
792
- Processing by Api::UserController#reauth as HTML
793
- Parameters: {"uid"=>"nonexistent-user"}
794
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "nonexistent-user"], ["LIMIT", 1]]
795
- Completed 200 OK in 1ms (ActiveRecord: 0.2ms)
796
-  (0.0ms) begin transaction
797
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d33120"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
798
-  (5.8ms) commit transaction
799
-  (0.0ms) begin transaction
800
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d3586"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
801
-  (6.7ms) commit transaction
802
- Processing by Api::UserController#reauth as HTML
803
- Parameters: {"uid"=>"a1s2d33120"}
804
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "a1s2d33120"], ["LIMIT", 1]]
805
-  (0.0ms) begin transaction
806
- User Update (0.1ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 5]]
807
-  (7.2ms) commit transaction
808
- Completed 200 OK in 9ms (ActiveRecord: 7.5ms)
809
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]]
810
-  (0.0ms) begin transaction
811
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d39842"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
812
-  (6.2ms) commit transaction
813
-  (0.0ms) begin transaction
814
- User Create (0.1ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d32860"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
815
-  (4.7ms) commit transaction
816
- Processing by Api::UserController#update as HTML
817
- Parameters: {"uid"=>"a1s2d39842"}
818
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "a1s2d39842"], ["LIMIT", 1]]
819
-  (0.0ms) begin transaction
820
- User Update (0.2ms) UPDATE "users" SET "email" = ?, "name" = ?, "permissions" = ?, "organisation_slug" = ?, "organisation_content_id" = ? WHERE "users"."id" = ? [["email", "user@domain.com"], ["name", "Joshua Marshall"], ["permissions", "---\n- signin\n- new permission\n"], ["organisation_slug", "justice-league"], ["organisation_content_id", "aae1319e-5788-4677-998c-f1a53af528d0"], ["id", 7]]
821
-  (5.0ms) commit transaction
822
- Completed 200 OK in 7ms (ActiveRecord: 5.3ms)
823
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 7], ["LIMIT", 1]]
824
-  (0.1ms) begin transaction
825
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d39605"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
826
-  (4.7ms) commit transaction
827
-  (0.0ms) begin transaction
828
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d39195"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
829
-  (6.2ms) commit transaction
830
- Processing by Api::UserController#update as HTML
831
- Parameters: {"uid"=>"a1s2d39605"}
832
- Rendering /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
833
- Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
834
- Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
835
- Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
836
- Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
837
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "dummyapiuser@domain.com"], ["LIMIT", 1]]
838
-  (0.0ms) begin transaction
839
- User Create (0.1ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Dummy API user created by gds-sso"], ["uid", "453"], ["email", "dummyapiuser@domain.com"], ["permissions", "---\n- signin\n"]]
840
-  (5.7ms) commit transaction
841
-  (0.0ms) begin transaction
842
- User Update (0.1ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = ? [["permissions", "---\n- signin\n- extra_permission\n"], ["id", 11]]
843
-  (4.8ms) commit transaction
844
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "asd"], ["LIMIT", 1]]
845
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "user@example.com"], ["LIMIT", 1]]
846
-  (0.0ms) begin transaction
847
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions", "organisation_slug", "organisation_content_id", "disabled") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "A Name"], ["uid", "asd"], ["email", "user@example.com"], ["permissions", "---\n- signin\n"], ["organisation_slug", "hmrc"], ["organisation_content_id", "67a2b78d-eee3-45b3-80e2-792e7f71cecc"], ["disabled", nil]]
848
-  (4.9ms) commit transaction
849
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "asd"], ["LIMIT", 1]]
850
-  (0.0ms) begin transaction
851
-  (0.0ms) commit transaction
852
- Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:29 +0000
853
- Processing by ExampleController#restricted as HTML
854
- Authenticating with gds_sso strategy
855
- Completed in 4ms (ActiveRecord: 0.0ms)
856
- Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:29 +0000
857
- Processing by ExampleController#restricted as HTML
858
- Authenticating with gds_sso strategy
859
- Completed in 0ms (ActiveRecord: 0.0ms)
860
- Started GET "/auth/gds" for 127.0.0.1 at 2022-04-07 15:43:29 +0000
861
- Started GET "/auth/gds/callback?code=PGfn16Qed134BuRsnvD-TiUZOUpwZ5QR7QcoJDERgvw&state=79a8db3e2876232243b38c31e5391a3fae0411b4d9a01c77" for 127.0.0.1 at 2022-04-07 15:43:29 +0000
862
- Processing by AuthenticationsController#callback as HTML
863
- Parameters: {"code"=>"PGfn16Qed134BuRsnvD-TiUZOUpwZ5QR7QcoJDERgvw", "state"=>"79a8db3e2876232243b38c31e5391a3fae0411b4d9a01c77"}
864
- Authenticating with gds_sso strategy
865
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
866
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "test@example-client.com"], ["LIMIT", 1]]
867
-  (0.0ms) begin transaction
868
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Test User"], ["uid", "integration-uid"], ["email", "test@example-client.com"], ["permissions", "---\n- signin\n"]]
869
-  (6.0ms) commit transaction
870
-  (0.1ms) begin transaction
871
- User Update (0.1ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "f"], ["id", 13]]
872
-  (4.9ms) commit transaction
873
- Redirected to http://www.example-client.com/restricted
874
- Completed 302 Found in 15ms (ActiveRecord: 11.5ms)
875
- Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:30 +0000
876
- Processing by ExampleController#restricted as HTML
877
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
878
- Rendering text template
879
- Rendered text template (0.0ms)
880
- Completed 200 OK in 3ms (Views: 0.9ms | ActiveRecord: 0.2ms)
881
- Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:30 +0000
882
- Processing by ExampleController#restricted as HTML
883
- Authenticating with gds_sso strategy
884
- Completed in 0ms (ActiveRecord: 0.0ms)
885
- Started GET "/auth/gds" for 127.0.0.1 at 2022-04-07 15:43:30 +0000
886
- Started GET "/auth/gds/callback?code=nceK6P0WpxNtgxegKb8lVb603BfSaGHdN2GnIjF43Mo&state=261ac050fe92c470c5c796c31ecb81e44ef26c9c4842c28f" for 127.0.0.1 at 2022-04-07 15:43:30 +0000
887
- Processing by AuthenticationsController#callback as HTML
888
- Parameters: {"code"=>"nceK6P0WpxNtgxegKb8lVb603BfSaGHdN2GnIjF43Mo", "state"=>"261ac050fe92c470c5c796c31ecb81e44ef26c9c4842c28f"}
889
- Authenticating with gds_sso strategy
890
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
891
-  (0.0ms) begin transaction
892
-  (0.0ms) commit transaction
893
-  (0.0ms) begin transaction
894
-  (0.0ms) commit transaction
895
- Redirected to http://www.example-client.com/restricted
896
- Completed 302 Found in 3ms (ActiveRecord: 0.2ms)
897
- Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:30 +0000
898
- Processing by ExampleController#restricted as HTML
899
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
900
- Rendering text template
901
- Rendered text template (0.0ms)
902
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
903
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2022-04-07 15:43:30 +0000
904
- Processing by ExampleController#this_requires_signin_permission as HTML
905
- Authenticating with gds_sso strategy
906
- Completed in 0ms (ActiveRecord: 0.0ms)
907
- Started GET "/auth/gds" for 127.0.0.1 at 2022-04-07 15:43:30 +0000
908
- Started GET "/auth/gds/callback?code=9vpamau4zBOXG31N9Dz8ii5uHBcUZvJZfeKE70na6-s&state=cc94f6a0fdce4883db27cb0caf0ee5125e17752eb9d80cdc" for 127.0.0.1 at 2022-04-07 15:43:30 +0000
909
- Processing by AuthenticationsController#callback as HTML
910
- Parameters: {"code"=>"9vpamau4zBOXG31N9Dz8ii5uHBcUZvJZfeKE70na6-s", "state"=>"cc94f6a0fdce4883db27cb0caf0ee5125e17752eb9d80cdc"}
911
- Authenticating with gds_sso strategy
912
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
913
-  (0.0ms) begin transaction
914
-  (0.0ms) commit transaction
915
-  (0.0ms) begin transaction
916
-  (0.0ms) commit transaction
917
- Redirected to http://www.example-client.com/this_requires_signin_permission
918
- Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
919
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2022-04-07 15:43:30 +0000
920
- Processing by ExampleController#this_requires_signin_permission as HTML
921
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
922
- Rendering text template
923
- Rendered text template (0.0ms)
924
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
925
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2022-04-07 15:43:30 +0000
926
- Processing by ExampleController#this_requires_signin_permission as HTML
927
- Authenticating with gds_sso strategy
928
- Completed in 0ms (ActiveRecord: 0.0ms)
929
- Started GET "/auth/gds" for 127.0.0.1 at 2022-04-07 15:43:30 +0000
930
- Started GET "/auth/gds/callback?code=-CNvY9UIhtxl8EPPnPzFma6oHepKmVJ4lcCZoTiC_rA&state=65e4c93d20e51de4a2701bc7a6144b02e0e63ba0e03deced" for 127.0.0.1 at 2022-04-07 15:43:30 +0000
931
- Processing by AuthenticationsController#callback as HTML
932
- Parameters: {"code"=>"-CNvY9UIhtxl8EPPnPzFma6oHepKmVJ4lcCZoTiC_rA", "state"=>"65e4c93d20e51de4a2701bc7a6144b02e0e63ba0e03deced"}
933
- Authenticating with gds_sso strategy
934
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
935
-  (0.0ms) begin transaction
936
-  (0.0ms) commit transaction
937
-  (0.0ms) begin transaction
938
-  (0.0ms) commit transaction
939
- Redirected to http://www.example-client.com/this_requires_signin_permission
940
- Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
941
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2022-04-07 15:43:30 +0000
942
- Processing by ExampleController#this_requires_signin_permission as HTML
943
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
944
- Rendering text template
945
- Rendered text template (0.0ms)
946
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
947
- Started GET "/" for 127.0.0.1 at 2022-04-07 15:43:30 +0000
948
- Processing by ExampleController#index as HTML
949
- Rendering text template
950
- Rendered text template (0.0ms)
951
- Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
952
- Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:30 +0000
953
- Processing by ExampleController#restricted as HTML
954
- Authenticating with gds_sso strategy
955
- Completed in 0ms (ActiveRecord: 0.0ms)
956
- Started GET "/auth/gds" for 127.0.0.1 at 2022-04-07 15:43:30 +0000
957
- Started GET "/auth/gds/callback?code=7D4S2DVJC0pZOMqR1R3SQ7xGgf6SaMSQdmVQZudh19I&state=929889846ba3a8ebc9acafc5b5c745ca09f6d540cd4c2f91" for 127.0.0.1 at 2022-04-07 15:43:30 +0000
958
- Processing by AuthenticationsController#callback as HTML
959
- Parameters: {"code"=>"7D4S2DVJC0pZOMqR1R3SQ7xGgf6SaMSQdmVQZudh19I", "state"=>"929889846ba3a8ebc9acafc5b5c745ca09f6d540cd4c2f91"}
960
- Authenticating with gds_sso strategy
961
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
962
-  (0.0ms) begin transaction
963
-  (0.0ms) commit transaction
964
-  (0.1ms) begin transaction
965
-  (0.0ms) commit transaction
966
- Redirected to http://www.example-client.com/restricted
967
- Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
968
- Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:30 +0000
969
- Processing by ExampleController#restricted as HTML
970
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
971
- Rendering text template
972
- Rendered text template (0.0ms)
973
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
974
- Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:30 +0000
975
- Processing by ExampleController#restricted as HTML
976
- Authenticating with gds_sso strategy
977
- Completed in 0ms (ActiveRecord: 0.0ms)
978
- Started GET "/auth/gds" for 127.0.0.1 at 2022-04-07 15:43:30 +0000
979
- Started GET "/auth/gds/callback?code=bmIEQFp2VI5xk9M86QCNQY25Zm_QMQ5w9Md86z9UbSo&state=84387210347731d6377ac8f0c3ff199898e23c5396a0b785" for 127.0.0.1 at 2022-04-07 15:43:30 +0000
980
- Processing by AuthenticationsController#callback as HTML
981
- Parameters: {"code"=>"bmIEQFp2VI5xk9M86QCNQY25Zm_QMQ5w9Md86z9UbSo", "state"=>"84387210347731d6377ac8f0c3ff199898e23c5396a0b785"}
982
- Authenticating with gds_sso strategy
983
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
984
-  (0.0ms) begin transaction
985
-  (0.0ms) commit transaction
986
-  (0.0ms) begin transaction
987
-  (0.0ms) commit transaction
988
- Redirected to http://www.example-client.com/restricted
989
- Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
990
- Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:30 +0000
991
- Processing by ExampleController#restricted as HTML
992
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
993
- Rendering text template
994
- Rendered text template (0.0ms)
995
- Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.1ms)
996
- Started GET "/restricted" for 127.0.0.1 at 2022-04-08 11:48:30 +0000
997
- Processing by ExampleController#restricted as HTML
998
- Authenticating with gds_sso strategy
999
- Completed in 0ms (ActiveRecord: 0.0ms)
1000
- Started GET "/auth/gds" for 127.0.0.1 at 2022-04-08 11:48:30 +0000
1001
- Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:30 +0000
1002
- Processing by ExampleController#restricted as HTML
1003
- Authenticating with gds_sso strategy
1004
- Completed in 0ms (ActiveRecord: 0.0ms)
1005
- Started GET "/auth/gds" for 127.0.0.1 at 2022-04-07 15:43:30 +0000
1006
- Started GET "/auth/gds/callback?code=WZAHtlN02nzLyzIADXdVXsPV7lF-oOz-aTAOr0z4gMg&state=65941c2445116a2f6a2196103016b56b3149d29ab04f5a84" for 127.0.0.1 at 2022-04-07 15:43:30 +0000
1007
- Processing by AuthenticationsController#callback as HTML
1008
- Parameters: {"code"=>"WZAHtlN02nzLyzIADXdVXsPV7lF-oOz-aTAOr0z4gMg", "state"=>"65941c2445116a2f6a2196103016b56b3149d29ab04f5a84"}
1009
- Authenticating with gds_sso strategy
1010
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1011
-  (0.1ms) begin transaction
1012
-  (0.0ms) commit transaction
1013
-  (0.0ms) begin transaction
1014
-  (0.0ms) commit transaction
1015
- Redirected to http://www.example-client.com/restricted
1016
- Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
1017
- Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:30 +0000
1018
- Processing by ExampleController#restricted as HTML
1019
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
1020
- Rendering text template
1021
- Rendered text template (0.0ms)
1022
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
1023
- Started GET "/restricted" for 127.0.0.1 at 2022-04-08 11:48:30 +0000
1024
- Processing by ExampleController#restricted as HTML
1025
- Authenticating with gds_sso strategy
1026
- Completed in 0ms (ActiveRecord: 0.0ms)
1027
- Started GET "/auth/gds" for 127.0.0.1 at 2022-04-08 11:48:30 +0000
1028
- Started GET "/auth/gds/callback?code=chIc9vPQE6az-dfllulJQNQqGBxlxLA4FZRFeWNUdUY&state=a4c38a634a55bd30915eb32ddfc252165a5d1617ca443584" for 127.0.0.1 at 2022-04-08 11:48:30 +0000
1029
- Processing by AuthenticationsController#callback as HTML
1030
- Parameters: {"code"=>"chIc9vPQE6az-dfllulJQNQqGBxlxLA4FZRFeWNUdUY", "state"=>"a4c38a634a55bd30915eb32ddfc252165a5d1617ca443584"}
1031
- Authenticating with gds_sso strategy
1032
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1033
-  (0.1ms) begin transaction
1034
-  (0.0ms) commit transaction
1035
-  (0.0ms) begin transaction
1036
-  (0.0ms) commit transaction
1037
- Redirected to http://www.example-client.com/restricted
1038
- Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
1039
- Started GET "/restricted" for 127.0.0.1 at 2022-04-08 11:48:30 +0000
1040
- Processing by ExampleController#restricted as HTML
1041
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
1042
- Rendering text template
1043
- Rendered text template (0.0ms)
1044
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
1045
- Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:30 +0000
1046
- Processing by ExampleController#restricted as HTML
1047
- Authenticating with gds_sso strategy
1048
- Completed in 0ms (ActiveRecord: 0.0ms)
1049
- Started GET "/auth/gds" for 127.0.0.1 at 2022-04-07 15:43:30 +0000
1050
- Started GET "/auth/gds/callback?code=q0KUwHM7s7siHCeO1pBCi6rmwga-wb9C3h9RF6BAmOg&state=4f6727db8ba5ab94b469188dfe28b2b30ccf97662b34d623" for 127.0.0.1 at 2022-04-07 15:43:30 +0000
1051
- Processing by AuthenticationsController#callback as HTML
1052
- Parameters: {"code"=>"q0KUwHM7s7siHCeO1pBCi6rmwga-wb9C3h9RF6BAmOg", "state"=>"4f6727db8ba5ab94b469188dfe28b2b30ccf97662b34d623"}
1053
- Authenticating with gds_sso strategy
1054
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1055
-  (0.0ms) begin transaction
1056
-  (0.0ms) commit transaction
1057
-  (0.0ms) begin transaction
1058
-  (0.0ms) commit transaction
1059
- Redirected to http://www.example-client.com/restricted
1060
- Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
1061
- Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:30 +0000
1062
- Processing by ExampleController#restricted as HTML
1063
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
1064
- Rendering text template
1065
- Rendered text template (0.0ms)
1066
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
1067
- Started GET "/restricted" for 127.0.0.1 at 2022-04-08 11:38:30 +0000
1068
- Processing by ExampleController#restricted as HTML
1069
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
1070
- Rendering text template
1071
- Rendered text template (0.0ms)
1072
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
1073
- Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:30 +0000
1074
- Processing by ExampleController#restricted as HTML
1075
- Authenticating with gds_sso strategy
1076
- Completed in 0ms (ActiveRecord: 0.0ms)
1077
- Started GET "/auth/gds" for 127.0.0.1 at 2022-04-07 15:43:30 +0000
1078
- Started GET "/auth/gds/callback?code=oPwtM9gPAvDqBgKdVc8rDhJ5yt4wqm5ygfIi32l4Z7U&state=32e84330c6f21038f9c41ad52364ca681b7bc81d792114a2" for 127.0.0.1 at 2022-04-07 15:43:30 +0000
1079
- Processing by AuthenticationsController#callback as HTML
1080
- Parameters: {"code"=>"oPwtM9gPAvDqBgKdVc8rDhJ5yt4wqm5ygfIi32l4Z7U", "state"=>"32e84330c6f21038f9c41ad52364ca681b7bc81d792114a2"}
1081
- Authenticating with gds_sso strategy
1082
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1083
-  (0.0ms) begin transaction
1084
-  (0.0ms) commit transaction
1085
-  (0.0ms) begin transaction
1086
-  (0.0ms) commit transaction
1087
- Redirected to http://www.example-client.com/restricted
1088
- Completed 302 Found in 3ms (ActiveRecord: 0.2ms)
1089
- Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:30 +0000
1090
- Processing by ExampleController#restricted as HTML
1091
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
1092
- Rendering text template
1093
- Rendered text template (0.0ms)
1094
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
1095
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "test@example-client.com"], ["LIMIT", 1]]
1096
-  (0.0ms) begin transaction
1097
- User Update (0.2ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 13]]
1098
-  (8.8ms) commit transaction
1099
- Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:30 +0000
1100
- Processing by ExampleController#restricted as HTML
1101
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
1102
- Authenticating with gds_sso strategy
1103
- Completed in 1ms (ActiveRecord: 0.1ms)
1104
- Started GET "/auth/gds" for 127.0.0.1 at 2022-04-07 15:43:30 +0000
1105
- Started GET "/auth/gds/callback?code=JejWzxW34k-ncNij92Tgu83-44tcO1hwiRA5IDwDgHg&state=3a4473dfc3a4f6bbf4476fce4e0cfc29d11555b2dc545feb" for 127.0.0.1 at 2022-04-07 15:43:30 +0000
1106
- Processing by AuthenticationsController#callback as HTML
1107
- Parameters: {"code"=>"JejWzxW34k-ncNij92Tgu83-44tcO1hwiRA5IDwDgHg", "state"=>"3a4473dfc3a4f6bbf4476fce4e0cfc29d11555b2dc545feb"}
1108
- Authenticating with gds_sso strategy
1109
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1110
-  (0.0ms) begin transaction
1111
-  (0.0ms) commit transaction
1112
-  (0.0ms) begin transaction
1113
- User Update (0.2ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "f"], ["id", 13]]
1114
-  (6.9ms) commit transaction
1115
- Redirected to http://www.example-client.com/restricted
1116
- Completed 302 Found in 10ms (ActiveRecord: 7.3ms)
1117
- Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:30 +0000
1118
- Processing by ExampleController#restricted as HTML
1119
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
1120
- Rendering text template
1121
- Rendered text template (0.0ms)
1122
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
1123
- Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:30 +0000
1124
- Processing by ExampleController#restricted as JSON
1125
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1126
-  (0.0ms) begin transaction
1127
- User Update (0.2ms) UPDATE "users" SET "disabled" = ? WHERE "users"."id" = ? [["disabled", nil], ["id", 13]]
1128
-  (6.0ms) commit transaction
1129
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1130
-  (0.0ms) begin transaction
1131
-  (0.0ms) commit transaction
1132
- CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1133
-  (0.0ms) begin transaction
1134
-  (0.0ms) commit transaction
1135
- CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1136
-  (0.0ms) begin transaction
1137
-  (0.0ms) commit transaction
1138
-  (0.0ms) begin transaction
1139
-  (0.0ms) commit transaction
1140
- Rendering text template
1141
- Rendered text template (0.0ms)
1142
- Completed 200 OK in 14ms (Views: 0.2ms | ActiveRecord: 6.6ms)
1143
- Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:30 +0000
1144
- Processing by ExampleController#restricted as JSON
1145
- Completed in 8ms (ActiveRecord: 0.0ms)
1146
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2022-04-07 15:43:30 +0000
1147
- Processing by ExampleController#this_requires_signin_permission as JSON
1148
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1149
-  (0.0ms) begin transaction
1150
-  (0.0ms) commit transaction
1151
- CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1152
-  (0.0ms) begin transaction
1153
-  (0.0ms) commit transaction
1154
- CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1155
-  (0.0ms) begin transaction
1156
-  (0.0ms) commit transaction
1157
- CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1158
-  (0.0ms) begin transaction
1159
-  (0.0ms) commit transaction
1160
-  (0.0ms) begin transaction
1161
-  (0.0ms) commit transaction
1162
- Rendering text template
1163
- Rendered text template (0.0ms)
1164
- Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 0.4ms)
1165
- Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:30 +0000
1166
- Processing by ExampleController#restricted as JSON
1167
- Completed in 13ms (ActiveRecord: 0.0ms)
1168
-  (1.1ms) SELECT sqlite_version(*)
1169
-  (0.0ms) SELECT sqlite_version(*)
1170
-  (0.1ms) DROP TABLE IF EXISTS "users"
1171
-  (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 0)
1172
-  (5.5ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)
1173
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
1174
- TRANSACTION (0.1ms) begin transaction
1175
- ActiveRecord::InternalMetadata Create (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2022-04-07 15:43:37.735302"], ["updated_at", "2022-04-07 15:43:37.735302"]]
1176
- TRANSACTION (6.2ms) commit transaction
1177
-  (5.0ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
1178
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
1179
-  (0.1ms) SELECT sqlite_version(*)
1180
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "asd"], ["LIMIT", 1]]
1181
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "user@example.com"], ["LIMIT", 1]]
1182
- TRANSACTION (0.0ms) begin transaction
1183
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions", "organisation_slug", "organisation_content_id", "disabled") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "A Name"], ["uid", "asd"], ["email", "user@example.com"], ["permissions", "---\n- signin\n"], ["organisation_slug", "hmrc"], ["organisation_content_id", "67a2b78d-eee3-45b3-80e2-792e7f71cecc"], ["disabled", nil]]
1184
- TRANSACTION (8.4ms) commit transaction
1185
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "asd"], ["LIMIT", 1]]
1186
- TRANSACTION (0.0ms) begin transaction
1187
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d31739"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
1188
- TRANSACTION (4.6ms) commit transaction
1189
- TRANSACTION (0.0ms) begin transaction
1190
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d31338"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1191
- TRANSACTION (5.1ms) commit transaction
1192
- Processing by Api::UserController#reauth as HTML
1193
- Parameters: {"uid"=>"a1s2d31739"}
1194
- Rendering layout /var/lib/jenkins/workspace/gds-sso_master/app/views/layouts/unauthorised.html.erb
1195
- Rendering /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
1196
- Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
1197
- Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (Duration: 0.5ms | Allocations: 191)
1198
- Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
1199
- Rendered layout /var/lib/jenkins/workspace/gds-sso_master/app/views/layouts/unauthorised.html.erb (Duration: 0.6ms | Allocations: 271)
1200
- Completed 403 Forbidden in 6ms (Views: 4.1ms | ActiveRecord: 0.0ms | Allocations: 2951)
1201
- TRANSACTION (0.1ms) begin transaction
1202
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d32487"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
1203
- TRANSACTION (6.4ms) commit transaction
1204
- TRANSACTION (0.0ms) begin transaction
1205
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d32716"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1206
- TRANSACTION (6.1ms) commit transaction
1207
- Processing by Api::UserController#reauth as HTML
1208
- Parameters: {"uid"=>"a1s2d32487"}
1209
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "a1s2d32487"], ["LIMIT", 1]]
1210
- TRANSACTION (0.0ms) begin transaction
1211
- User Update (0.1ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", 1], ["id", 4]]
1212
- TRANSACTION (6.3ms) commit transaction
1213
- Completed 200 OK in 8ms (ActiveRecord: 6.6ms | Allocations: 900)
1214
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]]
1215
- TRANSACTION (0.0ms) begin transaction
1216
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d35713"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
1217
- TRANSACTION (6.0ms) commit transaction
1218
- TRANSACTION (0.1ms) begin transaction
1219
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d35089"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1220
- TRANSACTION (5.8ms) commit transaction
1221
- Processing by Api::UserController#reauth as HTML
1222
- Parameters: {"uid"=>"nonexistent-user"}
1223
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "nonexistent-user"], ["LIMIT", 1]]
1224
- Completed 200 OK in 1ms (ActiveRecord: 0.1ms | Allocations: 505)
1225
- TRANSACTION (0.1ms) begin transaction
1226
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d31476"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
1227
- TRANSACTION (4.7ms) commit transaction
1228
- TRANSACTION (0.1ms) begin transaction
1229
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d32679"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1230
- TRANSACTION (5.8ms) commit transaction
1231
- Processing by Api::UserController#update as HTML
1232
- Parameters: {"uid"=>"a1s2d31476"}
1233
- Rendering layout /var/lib/jenkins/workspace/gds-sso_master/app/views/layouts/unauthorised.html.erb
1234
- Rendering /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
1235
- Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
1236
- Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (Duration: 0.1ms | Allocations: 45)
1237
- Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
1238
- Rendered layout /var/lib/jenkins/workspace/gds-sso_master/app/views/layouts/unauthorised.html.erb (Duration: 0.3ms | Allocations: 119)
1239
- Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms | Allocations: 515)
1240
- TRANSACTION (0.0ms) begin transaction
1241
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d36773"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
1242
- TRANSACTION (4.9ms) commit transaction
1243
- TRANSACTION (0.0ms) begin transaction
1244
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d38867"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1245
- TRANSACTION (6.5ms) commit transaction
1246
- Processing by Api::UserController#update as HTML
1247
- Parameters: {"uid"=>"a1s2d36773"}
1248
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "a1s2d36773"], ["LIMIT", 1]]
1249
- TRANSACTION (0.1ms) begin transaction
1250
- User Update (0.2ms) UPDATE "users" SET "name" = ?, "email" = ?, "permissions" = ?, "organisation_slug" = ?, "organisation_content_id" = ? WHERE "users"."id" = ? [["name", "Joshua Marshall"], ["email", "user@domain.com"], ["permissions", "---\n- signin\n- new permission\n"], ["organisation_slug", "justice-league"], ["organisation_content_id", "aae1319e-5788-4677-998c-f1a53af528d0"], ["id", 10]]
1251
- TRANSACTION (4.7ms) commit transaction
1252
- Completed 200 OK in 8ms (ActiveRecord: 5.1ms | Allocations: 1181)
1253
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 10], ["LIMIT", 1]]
1254
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "dummyapiuser@domain.com"], ["LIMIT", 1]]
1255
- TRANSACTION (0.0ms) begin transaction
1256
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Dummy API user created by gds-sso"], ["uid", "5145"], ["email", "dummyapiuser@domain.com"], ["permissions", "---\n- signin\n"]]
1257
- TRANSACTION (5.4ms) commit transaction
1258
- TRANSACTION (0.1ms) begin transaction
1259
- User Update (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = ? [["permissions", "---\n- signin\n- extra_permission\n"], ["id", 12]]
1260
- TRANSACTION (7.4ms) commit transaction
1261
- Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:38 +0000
1262
- Processing by ExampleController#restricted as HTML
1263
- Authenticating with gds_sso strategy
1264
- Completed in 6ms (ActiveRecord: 0.0ms | Allocations: 181)
1265
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2022-04-07 15:43:38 +0000
1266
- Processing by ExampleController#this_requires_signin_permission as HTML
1267
- Authenticating with gds_sso strategy
1268
- Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 127)
1269
- Started GET "/auth/gds" for 127.0.0.1 at 2022-04-07 15:43:38 +0000
1270
- Started GET "/auth/gds/callback?code=55P1wgAcjiIOpPqLkTy4m65tGPZ05dci11EFbfXNT4Q&state=e6b48d7d36c41bd1ba57995d739fa0328a99f3c004013ba0" for 127.0.0.1 at 2022-04-07 15:43:38 +0000
1271
- Processing by AuthenticationsController#callback as HTML
1272
- Parameters: {"code"=>"55P1wgAcjiIOpPqLkTy4m65tGPZ05dci11EFbfXNT4Q", "state"=>"e6b48d7d36c41bd1ba57995d739fa0328a99f3c004013ba0"}
1273
- Authenticating with gds_sso strategy
1274
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1275
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "test@example-client.com"], ["LIMIT", 1]]
1276
- TRANSACTION (0.1ms) begin transaction
1277
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Test User"], ["uid", "integration-uid"], ["email", "test@example-client.com"], ["permissions", "---\n- signin\n"]]
1278
- TRANSACTION (6.6ms) commit transaction
1279
- TRANSACTION (0.0ms) begin transaction
1280
- User Update (0.2ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", 0], ["id", 13]]
1281
- TRANSACTION (6.2ms) commit transaction
1282
- Redirected to http://www.example-client.com/this_requires_signin_permission
1283
- Completed 302 Found in 17ms (ActiveRecord: 13.4ms | Allocations: 1345)
1284
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2022-04-07 15:43:38 +0000
1285
- Processing by ExampleController#this_requires_signin_permission as HTML
1286
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
1287
- Rendering text template
1288
- Rendered text template (Duration: 0.0ms | Allocations: 1)
1289
- Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.2ms | Allocations: 880)
1290
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2022-04-07 15:43:38 +0000
1291
- Processing by ExampleController#this_requires_signin_permission as HTML
1292
- Authenticating with gds_sso strategy
1293
- Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 125)
1294
- Started GET "/auth/gds" for 127.0.0.1 at 2022-04-07 15:43:38 +0000
1295
- Started GET "/auth/gds/callback?code=7R7Ppq4eXMy28BnWqdAlkjftLeLiB8z-RRn2EikyK1o&state=902e9a7b9e9fb3fddf3fc07b11760b2142303b04a5a04a26" for 127.0.0.1 at 2022-04-07 15:43:38 +0000
1296
- Processing by AuthenticationsController#callback as HTML
1297
- Parameters: {"code"=>"7R7Ppq4eXMy28BnWqdAlkjftLeLiB8z-RRn2EikyK1o", "state"=>"902e9a7b9e9fb3fddf3fc07b11760b2142303b04a5a04a26"}
1298
- Authenticating with gds_sso strategy
1299
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1300
- Redirected to http://www.example-client.com/this_requires_signin_permission
1301
- Completed 302 Found in 3ms (ActiveRecord: 0.2ms | Allocations: 851)
1302
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2022-04-07 15:43:38 +0000
1303
- Processing by ExampleController#this_requires_signin_permission as HTML
1304
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
1305
- Rendering text template
1306
- Rendered text template (Duration: 0.0ms | Allocations: 1)
1307
- Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms | Allocations: 646)
1308
- Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:38 +0000
1309
- Processing by ExampleController#restricted as HTML
1310
- Authenticating with gds_sso strategy
1311
- Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 125)
1312
- Started GET "/auth/gds" for 127.0.0.1 at 2022-04-07 15:43:38 +0000
1313
- Started GET "/auth/gds/callback?code=4_J-1EjGuXsjyZV-Mp3jhpOqKvRRBVUT0a_Jge2Li4U&state=e5bfa1ca78b958f9ed86d6391135f162cbcb999e2aa842ee" for 127.0.0.1 at 2022-04-07 15:43:38 +0000
1314
- Processing by AuthenticationsController#callback as HTML
1315
- Parameters: {"code"=>"4_J-1EjGuXsjyZV-Mp3jhpOqKvRRBVUT0a_Jge2Li4U", "state"=>"e5bfa1ca78b958f9ed86d6391135f162cbcb999e2aa842ee"}
1316
- Authenticating with gds_sso strategy
1317
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1318
- Redirected to http://www.example-client.com/restricted
1319
- Completed 302 Found in 3ms (ActiveRecord: 0.2ms | Allocations: 851)
1320
- Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:38 +0000
1321
- Processing by ExampleController#restricted as HTML
1322
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
1323
- Rendering text template
1324
- Rendered text template (Duration: 0.0ms | Allocations: 1)
1325
- Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms | Allocations: 650)
1326
- Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:38 +0000
1327
- Processing by ExampleController#restricted as HTML
1328
- Authenticating with gds_sso strategy
1329
- Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 125)
1330
- Started GET "/auth/gds" for 127.0.0.1 at 2022-04-07 15:43:38 +0000
1331
- Started GET "/auth/gds/callback?code=MqMyv2o2IB-yqTK9MwhBimImqe1X0JuN5GY6-ZlGZRE&state=f0b6ffa6bc80b53db29491acd4778d0f1b78d9bf4b9ba479" for 127.0.0.1 at 2022-04-07 15:43:38 +0000
1332
- Processing by AuthenticationsController#callback as HTML
1333
- Parameters: {"code"=>"MqMyv2o2IB-yqTK9MwhBimImqe1X0JuN5GY6-ZlGZRE", "state"=>"f0b6ffa6bc80b53db29491acd4778d0f1b78d9bf4b9ba479"}
1334
- Authenticating with gds_sso strategy
1335
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1336
- Redirected to http://www.example-client.com/restricted
1337
- Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 851)
1338
- Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:38 +0000
1339
- Processing by ExampleController#restricted as HTML
1340
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
1341
- Rendering text template
1342
- Rendered text template (Duration: 0.0ms | Allocations: 1)
1343
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 650)
1344
- Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:38 +0000
1345
- Processing by ExampleController#restricted as HTML
1346
- Authenticating with gds_sso strategy
1347
- Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 125)
1348
- Started GET "/auth/gds" for 127.0.0.1 at 2022-04-07 15:43:38 +0000
1349
- Started GET "/auth/gds/callback?code=CfQARMTgL3_GUZENzxLtGd4Quuf6R7G77MXLgVZjoKs&state=90a6d1c767ef1ea16e29e3978021713ef0850c31545804e9" for 127.0.0.1 at 2022-04-07 15:43:38 +0000
1350
- Processing by AuthenticationsController#callback as HTML
1351
- Parameters: {"code"=>"CfQARMTgL3_GUZENzxLtGd4Quuf6R7G77MXLgVZjoKs", "state"=>"90a6d1c767ef1ea16e29e3978021713ef0850c31545804e9"}
1352
- Authenticating with gds_sso strategy
1353
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1354
- Redirected to http://www.example-client.com/restricted
1355
- Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 852)
1356
- Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:38 +0000
1357
- Processing by ExampleController#restricted as HTML
1358
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
1359
- Rendering text template
1360
- Rendered text template (Duration: 0.0ms | Allocations: 1)
1361
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 652)
1362
- Started GET "/" for 127.0.0.1 at 2022-04-07 15:43:38 +0000
1363
- Processing by ExampleController#index as HTML
1364
- Rendering text template
1365
- Rendered text template (Duration: 0.0ms | Allocations: 1)
1366
- Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms | Allocations: 135)
1367
- Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:38 +0000
1368
- Processing by ExampleController#restricted as HTML
1369
- Authenticating with gds_sso strategy
1370
- Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 125)
1371
- Started GET "/auth/gds" for 127.0.0.1 at 2022-04-07 15:43:38 +0000
1372
- Started GET "/auth/gds/callback?code=W6W19LjHpTOOuxLesGWDZEj1RYcGMzZlR38g4SM5zQA&state=45c2a7309c46a5bb634b171b52e3a3b6646add334e6d5734" for 127.0.0.1 at 2022-04-07 15:43:38 +0000
1373
- Processing by AuthenticationsController#callback as HTML
1374
- Parameters: {"code"=>"W6W19LjHpTOOuxLesGWDZEj1RYcGMzZlR38g4SM5zQA", "state"=>"45c2a7309c46a5bb634b171b52e3a3b6646add334e6d5734"}
1375
- Authenticating with gds_sso strategy
1376
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1377
- Redirected to http://www.example-client.com/restricted
1378
- Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 851)
1379
- Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:38 +0000
1380
- Processing by ExampleController#restricted as HTML
1381
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
1382
- Rendering text template
1383
- Rendered text template (Duration: 0.0ms | Allocations: 1)
1384
- Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms | Allocations: 650)
1385
- Started GET "/restricted" for 127.0.0.1 at 2022-04-08 11:38:38 +0000
1386
- Processing by ExampleController#restricted as HTML
1387
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
1388
- Rendering text template
1389
- Rendered text template (Duration: 0.0ms | Allocations: 1)
1390
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 873)
1391
- Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:38 +0000
1392
- Processing by ExampleController#restricted as HTML
1393
- Authenticating with gds_sso strategy
1394
- Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 125)
1395
- Started GET "/auth/gds" for 127.0.0.1 at 2022-04-07 15:43:38 +0000
1396
- Started GET "/auth/gds/callback?code=2sHNUIZFNRlAbSE2NL2DLM5mRZwr8s5lMqHdLhNdkMM&state=404741a330d48497a842c26b43d7070744c8b6cae646d2f9" for 127.0.0.1 at 2022-04-07 15:43:39 +0000
1397
- Processing by AuthenticationsController#callback as HTML
1398
- Parameters: {"code"=>"2sHNUIZFNRlAbSE2NL2DLM5mRZwr8s5lMqHdLhNdkMM", "state"=>"404741a330d48497a842c26b43d7070744c8b6cae646d2f9"}
1399
- Authenticating with gds_sso strategy
1400
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1401
- Redirected to http://www.example-client.com/restricted
1402
- Completed 302 Found in 3ms (ActiveRecord: 0.1ms | Allocations: 851)
1403
- Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:39 +0000
1404
- Processing by ExampleController#restricted as HTML
1405
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
1406
- Rendering text template
1407
- Rendered text template (Duration: 0.0ms | Allocations: 1)
1408
- Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms | Allocations: 651)
1409
- Started GET "/restricted" for 127.0.0.1 at 2022-04-08 11:48:39 +0000
1410
- Processing by ExampleController#restricted as HTML
1411
- Authenticating with gds_sso strategy
1412
- Completed in 1ms (ActiveRecord: 0.0ms | Allocations: 496)
1413
- Started GET "/auth/gds" for 127.0.0.1 at 2022-04-08 11:48:39 +0000
1414
- Started GET "/auth/gds/callback?code=nJlR_03mhqv61hpPJDe7u5aqqCXyj-i4yU1XFt7Dikg&state=b08e3d192c182014f92e2ddc738c97b4a7ccb8927e6fd3a6" for 127.0.0.1 at 2022-04-08 11:48:39 +0000
1415
- Processing by AuthenticationsController#callback as HTML
1416
- Parameters: {"code"=>"nJlR_03mhqv61hpPJDe7u5aqqCXyj-i4yU1XFt7Dikg", "state"=>"b08e3d192c182014f92e2ddc738c97b4a7ccb8927e6fd3a6"}
1417
- Authenticating with gds_sso strategy
1418
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1419
- Redirected to http://www.example-client.com/restricted
1420
- Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 1053)
1421
- Started GET "/restricted" for 127.0.0.1 at 2022-04-08 11:48:39 +0000
1422
- Processing by ExampleController#restricted as HTML
1423
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
1424
- Rendering text template
1425
- Rendered text template (Duration: 0.0ms | Allocations: 1)
1426
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 875)
1427
- Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:39 +0000
1428
- Processing by ExampleController#restricted as HTML
1429
- Authenticating with gds_sso strategy
1430
- Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 125)
1431
- Started GET "/auth/gds" for 127.0.0.1 at 2022-04-07 15:43:39 +0000
1432
- Started GET "/auth/gds/callback?code=LoNt1nJfOH2fD2axSPl-4Djn_WR8lxwWSd3XxDHcesI&state=07a00bec2967a0c475e3f80d39b6fa0d5bd3a55dac97f8b7" for 127.0.0.1 at 2022-04-07 15:43:39 +0000
1433
- Processing by AuthenticationsController#callback as HTML
1434
- Parameters: {"code"=>"LoNt1nJfOH2fD2axSPl-4Djn_WR8lxwWSd3XxDHcesI", "state"=>"07a00bec2967a0c475e3f80d39b6fa0d5bd3a55dac97f8b7"}
1435
- Authenticating with gds_sso strategy
1436
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1437
- Redirected to http://www.example-client.com/restricted
1438
- Completed 302 Found in 3ms (ActiveRecord: 0.1ms | Allocations: 851)
1439
- Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:39 +0000
1440
- Processing by ExampleController#restricted as HTML
1441
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
1442
- Rendering text template
1443
- Rendered text template (Duration: 0.0ms | Allocations: 1)
1444
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 650)
1445
- Started GET "/restricted" for 127.0.0.1 at 2022-04-08 11:48:39 +0000
1446
- Processing by ExampleController#restricted as HTML
1447
- Authenticating with gds_sso strategy
1448
- Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 496)
1449
- Started GET "/auth/gds" for 127.0.0.1 at 2022-04-08 11:48:39 +0000
1450
- Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:39 +0000
1451
- Processing by ExampleController#restricted as HTML
1452
- Authenticating with gds_sso strategy
1453
- Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 125)
1454
- Started GET "/auth/gds" for 127.0.0.1 at 2022-04-07 15:43:39 +0000
1455
- Started GET "/auth/gds/callback?code=L82QsiuuG9bkfdHnVl7r55NiIi4yFMKpE5S9gogbxzE&state=54882378e1f46fdd35ba679ae0d660bfb5533e3bd3566d22" for 127.0.0.1 at 2022-04-07 15:43:39 +0000
1456
- Processing by AuthenticationsController#callback as HTML
1457
- Parameters: {"code"=>"L82QsiuuG9bkfdHnVl7r55NiIi4yFMKpE5S9gogbxzE", "state"=>"54882378e1f46fdd35ba679ae0d660bfb5533e3bd3566d22"}
1458
- Authenticating with gds_sso strategy
1459
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1460
- Redirected to http://www.example-client.com/restricted
1461
- Completed 302 Found in 2ms (ActiveRecord: 0.2ms | Allocations: 851)
1462
- Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:39 +0000
1463
- Processing by ExampleController#restricted as HTML
1464
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
1465
- Rendering text template
1466
- Rendered text template (Duration: 0.0ms | Allocations: 1)
1467
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 650)
1468
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "test@example-client.com"], ["LIMIT", 1]]
1469
- TRANSACTION (0.1ms) begin transaction
1470
- User Update (0.2ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", 1], ["id", 13]]
1471
- TRANSACTION (6.2ms) commit transaction
1472
- Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:39 +0000
1473
- Processing by ExampleController#restricted as HTML
1474
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
1475
- Authenticating with gds_sso strategy
1476
- Completed in 1ms (ActiveRecord: 0.1ms | Allocations: 533)
1477
- Started GET "/auth/gds" for 127.0.0.1 at 2022-04-07 15:43:39 +0000
1478
- Started GET "/auth/gds/callback?code=iNYHlgrenxhzzWD9ds_HmUNRh4j6QA1kMJ24VQXI3XI&state=466309589253f054c429bd6b66fa7ebaa95cec11ec3cb5c0" for 127.0.0.1 at 2022-04-07 15:43:39 +0000
1479
- Processing by AuthenticationsController#callback as HTML
1480
- Parameters: {"code"=>"iNYHlgrenxhzzWD9ds_HmUNRh4j6QA1kMJ24VQXI3XI", "state"=>"466309589253f054c429bd6b66fa7ebaa95cec11ec3cb5c0"}
1481
- Authenticating with gds_sso strategy
1482
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1483
- TRANSACTION (0.1ms) begin transaction
1484
- User Update (0.2ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", 0], ["id", 13]]
1485
- TRANSACTION (5.2ms) commit transaction
1486
- Redirected to http://www.example-client.com/restricted
1487
- Completed 302 Found in 8ms (ActiveRecord: 5.6ms | Allocations: 1044)
1488
- Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:39 +0000
1489
- Processing by ExampleController#restricted as HTML
1490
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
1491
- Rendering text template
1492
- Rendered text template (Duration: 0.0ms | Allocations: 1)
1493
- Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 651)
1494
- Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:39 +0000
1495
- Processing by ExampleController#restricted as JSON
1496
- Completed in 16ms (ActiveRecord: 0.0ms | Allocations: 2029)
1497
- Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:39 +0000
1498
- Processing by ExampleController#restricted as JSON
1499
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1500
- TRANSACTION (0.1ms) begin transaction
1501
- User Update (0.2ms) UPDATE "users" SET "disabled" = ? WHERE "users"."id" = ? [["disabled", nil], ["id", 13]]
1502
- TRANSACTION (6.6ms) commit transaction
1503
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1504
- CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1505
- CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1506
- Rendering text template
1507
- Rendered text template (Duration: 0.0ms | Allocations: 1)
1508
- Completed 200 OK in 14ms (Views: 0.3ms | ActiveRecord: 7.1ms | Allocations: 3196)
1509
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2022-04-07 15:43:39 +0000
1510
- Processing by ExampleController#this_requires_signin_permission as JSON
1511
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1512
- CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1513
- CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1514
- CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1515
- Rendering text template
1516
- Rendered text template (Duration: 0.0ms | Allocations: 1)
1517
- Completed 200 OK in 6ms (Views: 0.3ms | ActiveRecord: 0.2ms | Allocations: 2922)
1518
- Started GET "/restricted" for 127.0.0.1 at 2022-04-07 15:43:39 +0000
1519
- Processing by ExampleController#restricted as JSON
1520
- Completed in 7ms (ActiveRecord: 0.0ms | Allocations: 1809)