gds-sso 16.0.0 → 16.1.0

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