gds-sso 16.0.2 → 16.1.0

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