gds-sso 16.0.1 → 17.0.0

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