gds-sso 14.1.1 → 14.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 654ea0b691b120d9bd29c356c2a6e924968115bd39e1d3caff88115dde73a6a6
4
- data.tar.gz: '08202ba351cd39534a37ab23cc59d1d10a6588207073c5415d227e572d006022'
3
+ metadata.gz: 95bf2de025de5c337a13c925d961c8c1f08bca52f77917b36d4e75e77d7345ef
4
+ data.tar.gz: 17c3bb01256c31341c9d0af13b3b3b67d0faaae52dcd46284e4d4bef277c3c0c
5
5
  SHA512:
6
- metadata.gz: 224a12106ab6812e71eefcf067601da39c96e5e286748545e61998ec14f91e94e596ad0cea989066360cea61765e93be5282bf210d28767b217988529fbb2d8e
7
- data.tar.gz: ab2285f0882d78fc99920c21b1ee1b4e631bdc0db170c589faa476bc485d9ca1ca06c2fb26b1fcd9eedd16a8b64a06d5cbfffcf17197bb6317d5726f487a9e4c
6
+ metadata.gz: f668f90319293437de03aac1e89219f9cda8b835924d18afc9d6318a3c39f6241fe8988255cd3b8e61f322a54d5c1bdb23ee850f44b664114f35368857ca7960
7
+ data.tar.gz: ba086284e3ce65bc96270151f8013b90cada9ef1f2dbc4761c8a15ec91c4145cff8a57451ab279e7b485e980698ff8b21dfc0b8b6e10292b8364b0b34e61f50d
@@ -26,7 +26,7 @@ module GDS
26
26
  :headers => {
27
27
  :user_agent => "gds-sso/#{GDS::SSO::VERSION} (#{ENV['GOVUK_APP_NAME']})"
28
28
  }
29
- }
29
+ }.merge(GDS::SSO::Config.connection_opts)
30
30
  )
31
31
  end
32
32
 
@@ -27,6 +27,13 @@ module GDS
27
27
 
28
28
  mattr_accessor :additional_mock_permissions_required
29
29
 
30
+ mattr_accessor :connection_opts
31
+ @@connection_opts = {
32
+ :request => {
33
+ :open_timeout => 5,
34
+ }
35
+ }
36
+
30
37
  def self.permissions_for_dummy_api_user
31
38
  ["signin"].push(*additional_mock_permissions_required)
32
39
  end
@@ -1,5 +1,5 @@
1
1
  module GDS
2
2
  module SSO
3
- VERSION = "14.1.1"
3
+ VERSION = "14.2.0"
4
4
  end
5
5
  end
@@ -1,158 +1,166 @@
1
-  (10.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') 
2
-  (3.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
1
+  (4.6ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "uid" varchar NOT NULL, "email" varchar NOT NULL, "remotely_signed_out" boolean, "permissions" text, "organisation_slug" varchar, "organisation_content_id" varchar, "disabled" boolean DEFAULT 'f') 
2
+  (5.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
3
3
   (0.1ms) select sqlite_version(*)
4
-  (3.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
4
+  (6.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
5
5
  User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "dummyapiuser@domain.com"]]
6
6
   (0.1ms) begin transaction
7
- SQL (0.2ms) INSERT INTO "users" ("email", "uid", "name", "permissions") VALUES (?, ?, ?, ?) [["email", "dummyapiuser@domain.com"], ["uid", "4384"], ["name", "Dummy API user created by gds-sso"], ["permissions", "---\n- signin\n"]]
8
-  (4.0ms) commit transaction
7
+ SQL (0.2ms) INSERT INTO "users" ("email", "uid", "name", "permissions") VALUES (?, ?, ?, ?) [["email", "dummyapiuser@domain.com"], ["uid", "7793"], ["name", "Dummy API user created by gds-sso"], ["permissions", "---\n- signin\n"]]
8
+  (8.0ms) commit transaction
9
9
   (0.0ms) begin transaction
10
10
  SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = ? [["permissions", "---\n- signin\n- extra_permission\n"], ["id", 1]]
11
-  (4.1ms) commit transaction
11
+  (6.1ms) commit transaction
12
+  (0.0ms) begin transaction
13
+ SQL (0.2ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d39531"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
14
+  (3.8ms) commit transaction
15
+  (0.1ms) begin transaction
16
+ SQL (0.2ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d33260"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
17
+  (4.9ms) commit transaction
18
+ Processing by Api::UserController#reauth as HTML
19
+ Parameters: {"uid"=>"a1s2d39531"}
20
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
21
+ Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.4ms)
22
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
23
+ Completed 403 Forbidden in 16ms (Views: 15.4ms | ActiveRecord: 0.0ms)
12
24
   (0.1ms) begin transaction
13
- SQL (0.2ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d38708"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
14
-  (3.4ms) commit transaction
25
+ SQL (0.2ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d31518"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
26
+  (5.0ms) commit transaction
15
27
   (0.1ms) begin transaction
16
- SQL (0.2ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d31275"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
17
-  (4.2ms) commit transaction
28
+ SQL (0.2ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d3998"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
29
+  (3.6ms) commit transaction
18
30
  Processing by Api::UserController#reauth as HTML
19
- Parameters: {"uid"=>"nonexistent-user"}
20
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "nonexistent-user"]]
21
- Completed 200 OK in 1ms (ActiveRecord: 0.2ms)
31
+ Parameters: {"uid"=>"a1s2d31518"}
32
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "a1s2d31518"]]
33
+  (0.0ms) begin transaction
34
+ SQL (0.2ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 4]]
35
+  (4.9ms) commit transaction
36
+ Completed 200 OK in 8ms (ActiveRecord: 5.3ms)
37
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]]
22
38
   (0.1ms) begin transaction
23
- SQL (0.2ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d38949"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
24
-  (6.1ms) commit transaction
39
+ SQL (0.2ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d3654"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
40
+  (4.6ms) commit transaction
25
41
   (0.1ms) begin transaction
26
- SQL (0.2ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d38757"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
27
-  (4.4ms) commit transaction
28
- Processing by Api::UserController#reauth as HTML
29
- Parameters: {"uid"=>"a1s2d38949"}
30
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "a1s2d38949"]]
31
-  (0.0ms) begin transaction
32
- SQL (0.2ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 4]]
42
+ SQL (0.2ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d39034"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
33
43
   (4.2ms) commit transaction
34
- Completed 200 OK in 8ms (ActiveRecord: 4.5ms)
35
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]]
36
-  (0.1ms) begin transaction
37
- SQL (0.2ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d36058"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
38
-  (5.2ms) commit transaction
39
-  (0.1ms) begin transaction
40
- SQL (0.2ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d39319"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
41
-  (3.9ms) commit transaction
42
44
  Processing by Api::UserController#reauth as HTML
43
- Parameters: {"uid"=>"a1s2d36058"}
44
- Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
45
- Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
46
- Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
47
- Completed 403 Forbidden in 14ms (Views: 14.0ms | ActiveRecord: 0.0ms)
45
+ Parameters: {"uid"=>"nonexistent-user"}
46
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "nonexistent-user"]]
47
+ Completed 200 OK in 1ms (ActiveRecord: 0.1ms)
48
48
   (0.1ms) begin transaction
49
- SQL (0.2ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d34081"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
50
-  (3.2ms) commit transaction
49
+ SQL (0.2ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d35460"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
50
+  (4.3ms) commit transaction
51
51
   (0.1ms) begin transaction
52
- SQL (0.2ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d32179"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
53
-  (3.9ms) commit transaction
52
+ SQL (0.2ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d33715"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
53
+  (6.7ms) commit transaction
54
54
  Processing by Api::UserController#update as HTML
55
- Parameters: {"uid"=>"a1s2d34081"}
56
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "a1s2d34081"]]
55
+ Parameters: {"uid"=>"a1s2d35460"}
56
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "a1s2d35460"]]
57
57
   (0.1ms) begin transaction
58
58
  SQL (0.2ms) UPDATE "users" SET "email" = ?, "name" = ?, "permissions" = ?, "organisation_slug" = ?, "organisation_content_id" = ? WHERE "users"."id" = ? [["email", "user@domain.com"], ["name", "Joshua Marshall"], ["permissions", "---\n- signin\n- new permission\n"], ["organisation_slug", "justice-league"], ["organisation_content_id", "aae1319e-5788-4677-998c-f1a53af528d0"], ["id", 8]]
59
-  (5.9ms) commit transaction
60
- Completed 200 OK in 9ms (ActiveRecord: 6.3ms)
59
+  (6.7ms) commit transaction
60
+ Completed 200 OK in 10ms (ActiveRecord: 7.1ms)
61
61
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 8]]
62
62
   (0.1ms) begin transaction
63
- SQL (0.2ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d33491"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
64
-  (13.7ms) commit transaction
63
+ SQL (0.2ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d38072"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
64
+  (4.3ms) commit transaction
65
65
   (0.1ms) begin transaction
66
- SQL (0.2ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d38692"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
67
-  (3.1ms) commit transaction
66
+ SQL (0.2ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d37281"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
67
+  (5.2ms) commit transaction
68
68
  Processing by Api::UserController#update as HTML
69
- Parameters: {"uid"=>"a1s2d33491"}
69
+ Parameters: {"uid"=>"a1s2d38072"}
70
70
  Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
71
- Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
71
+ Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
72
72
  Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
73
- Completed 403 Forbidden in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)
73
+ Completed 403 Forbidden in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
74
74
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "asd"]]
75
75
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "user@example.com"]]
76
76
   (0.0ms) begin transaction
77
77
  SQL (0.3ms) INSERT INTO "users" ("uid", "email", "name", "permissions", "organisation_slug", "organisation_content_id", "disabled") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "asd"], ["email", "user@example.com"], ["name", "A Name"], ["permissions", "---\n- signin\n"], ["organisation_slug", "hmrc"], ["organisation_content_id", "67a2b78d-eee3-45b3-80e2-792e7f71cecc"], ["disabled", nil]]
78
-  (3.5ms) commit transaction
78
+  (5.4ms) commit transaction
79
79
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "asd"]]
80
80
   (0.0ms) begin transaction
81
81
   (0.1ms) commit transaction
82
- Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:25:38 +0000
82
+ Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:35:57 +0000
83
83
  Processing by ExampleController#restricted as HTML
84
84
  Authenticating with gds_sso strategy
85
85
  Completed in 8ms (ActiveRecord: 0.0ms)
86
- Started GET "/auth/gds" for 127.0.0.1 at 2019-07-19 11:25:38 +0000
87
- Started GET "/auth/gds/callback?code=fbb8d4307c2fdd275fe442a5e566b856c86ff5ee5359b6ac3c13dd93ab56d794&state=6baf9387e2083581ddea707e4fd8f1ba2aac420fb3fb4f6b" for 127.0.0.1 at 2019-07-19 11:26:20 +0000
86
+ Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:35:57 +0000
87
+ Processing by ExampleController#restricted as HTML
88
+ Authenticating with gds_sso strategy
89
+ Completed in 0ms (ActiveRecord: 0.0ms)
90
+ Started GET "/auth/gds" for 127.0.0.1 at 2019-11-05 10:35:57 +0000
91
+ Started GET "/auth/gds/callback?code=e26a2839aa4d8a1fd984f4e7ced9827f43adc37aeaba0e5d3b4402afaf0b85ed&state=fa3ddb76496c2dd3571dbc9400be9cafc43abd306736c38b" for 127.0.0.1 at 2019-11-05 10:36:43 +0000
88
92
  Processing by AuthenticationsController#callback as HTML
89
- Parameters: {"code"=>"fbb8d4307c2fdd275fe442a5e566b856c86ff5ee5359b6ac3c13dd93ab56d794", "state"=>"6baf9387e2083581ddea707e4fd8f1ba2aac420fb3fb4f6b"}
93
+ Parameters: {"code"=>"e26a2839aa4d8a1fd984f4e7ced9827f43adc37aeaba0e5d3b4402afaf0b85ed", "state"=>"fa3ddb76496c2dd3571dbc9400be9cafc43abd306736c38b"}
90
94
  Authenticating with gds_sso strategy
91
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
95
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
92
96
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "test@example-client.com"]]
93
97
   (0.1ms) begin transaction
94
98
  SQL (0.2ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "integration-uid"], ["email", "test@example-client.com"], ["name", "Test User"], ["permissions", "---\n- signin\n"]]
95
-  (48.8ms) commit transaction
99
+  (14.6ms) commit transaction
96
100
   (0.0ms) begin transaction
97
101
  SQL (0.2ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "f"], ["id", 13]]
98
-  (18.4ms) commit transaction
102
+  (4.7ms) commit transaction
99
103
  Redirected to http://www.example-client.com/restricted
100
- Completed 302 Found in 73ms (ActiveRecord: 67.9ms)
101
- Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:20 +0000
104
+ Completed 302 Found in 25ms (ActiveRecord: 20.0ms)
105
+ Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:36:44 +0000
102
106
  Processing by ExampleController#restricted as HTML
103
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
107
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
104
108
  Rendered text template (0.0ms)
105
- Completed 200 OK in 5ms (Views: 3.7ms | ActiveRecord: 0.2ms)
106
- Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:20 +0000
109
+ Completed 200 OK in 5ms (Views: 3.6ms | ActiveRecord: 0.3ms)
110
+ Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:36:44 +0000
107
111
  Processing by ExampleController#restricted as HTML
108
112
  Authenticating with gds_sso strategy
109
113
  Completed in 0ms (ActiveRecord: 0.0ms)
110
- Started GET "/auth/gds" for 127.0.0.1 at 2019-07-19 11:26:20 +0000
111
- Started GET "/auth/gds/callback?code=8529a7a4a943ba21953f5adb145051ffe880e471a607ba8ca392718521a9b152&state=876ca422f3433c9b4c5a02eefeb4f9e03a3996ef94aa95a7" for 127.0.0.1 at 2019-07-19 11:26:20 +0000
114
+ Started GET "/auth/gds" for 127.0.0.1 at 2019-11-05 10:36:44 +0000
115
+ Started GET "/auth/gds/callback?code=b00bb56f7da9c89c3b5527bd05f65b98165246e5fd3d680a06b9c03de35f69ba&state=76885491b2691cad0481abc11e894a8fb38d5add678688c6" for 127.0.0.1 at 2019-11-05 10:36:44 +0000
112
116
  Processing by AuthenticationsController#callback as HTML
113
- Parameters: {"code"=>"8529a7a4a943ba21953f5adb145051ffe880e471a607ba8ca392718521a9b152", "state"=>"876ca422f3433c9b4c5a02eefeb4f9e03a3996ef94aa95a7"}
117
+ Parameters: {"code"=>"b00bb56f7da9c89c3b5527bd05f65b98165246e5fd3d680a06b9c03de35f69ba", "state"=>"76885491b2691cad0481abc11e894a8fb38d5add678688c6"}
114
118
  Authenticating with gds_sso strategy
115
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
119
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
116
120
   (0.1ms) begin transaction
117
-  (0.0ms) commit transaction
121
+  (0.1ms) commit transaction
118
122
   (0.0ms) begin transaction
119
123
   (0.0ms) commit transaction
120
124
  Redirected to http://www.example-client.com/restricted
121
- Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
122
- Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:20 +0000
125
+ Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
126
+ Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:36:44 +0000
123
127
  Processing by ExampleController#restricted as HTML
124
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
128
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
125
129
  Rendered text template (0.0ms)
126
- Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.1ms)
127
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-07-19 11:26:20 +0000
128
- Processing by ExampleController#this_requires_signin_permission as HTML
130
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.2ms)
131
+ Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:36:44 +0000
132
+ Processing by ExampleController#restricted as HTML
129
133
  Authenticating with gds_sso strategy
130
134
  Completed in 0ms (ActiveRecord: 0.0ms)
131
- Started GET "/auth/gds" for 127.0.0.1 at 2019-07-19 11:26:20 +0000
132
- Started GET "/auth/gds/callback?code=b9f216e19ba1a2c722018ff13af4210369ccaf9eb98fd6f4e630e2c7b05efc9a&state=fe719a7832263aec9fdd7ab7a7302b89930d488c84d40ad9" for 127.0.0.1 at 2019-07-19 11:26:20 +0000
135
+ Started GET "/auth/gds" for 127.0.0.1 at 2019-11-05 10:36:44 +0000
136
+ Started GET "/auth/gds/callback?code=96646ce0c89da1016212580c7c1578b05c1e60bf87517c7e2838020a4723a094&state=8f6876c00c44c5e0f1c8d189a6b0e931d05be98a10b3564e" for 127.0.0.1 at 2019-11-05 10:36:44 +0000
133
137
  Processing by AuthenticationsController#callback as HTML
134
- Parameters: {"code"=>"b9f216e19ba1a2c722018ff13af4210369ccaf9eb98fd6f4e630e2c7b05efc9a", "state"=>"fe719a7832263aec9fdd7ab7a7302b89930d488c84d40ad9"}
138
+ Parameters: {"code"=>"96646ce0c89da1016212580c7c1578b05c1e60bf87517c7e2838020a4723a094", "state"=>"8f6876c00c44c5e0f1c8d189a6b0e931d05be98a10b3564e"}
135
139
  Authenticating with gds_sso strategy
136
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
140
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
137
141
   (0.1ms) begin transaction
138
-  (0.1ms) commit transaction
142
+  (0.0ms) commit transaction
139
143
   (0.0ms) begin transaction
140
144
   (0.0ms) commit transaction
141
- Redirected to http://www.example-client.com/this_requires_signin_permission
145
+ Redirected to http://www.example-client.com/restricted
142
146
  Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
143
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-07-19 11:26:20 +0000
144
- Processing by ExampleController#this_requires_signin_permission as HTML
147
+ Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:36:44 +0000
148
+ Processing by ExampleController#restricted as HTML
145
149
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
146
150
  Rendered text template (0.0ms)
147
- Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
148
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-07-19 11:26:20 +0000
151
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
152
+ Started GET "/" for 127.0.0.1 at 2019-11-05 10:36:44 +0000
153
+ Processing by ExampleController#index as HTML
154
+ Rendered text template (0.0ms)
155
+ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
156
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-11-05 10:36:44 +0000
149
157
  Processing by ExampleController#this_requires_signin_permission as HTML
150
158
  Authenticating with gds_sso strategy
151
159
  Completed in 0ms (ActiveRecord: 0.0ms)
152
- Started GET "/auth/gds" for 127.0.0.1 at 2019-07-19 11:26:20 +0000
153
- Started GET "/auth/gds/callback?code=a0be5d9c9c06ccc9932a2b1e4510eb97e8388c6b8b30f3843adfbcc0dd80d8b8&state=f3618b335a95889c1708c9590205255410e7dabb15d0947e" for 127.0.0.1 at 2019-07-19 11:26:20 +0000
160
+ Started GET "/auth/gds" for 127.0.0.1 at 2019-11-05 10:36:44 +0000
161
+ Started GET "/auth/gds/callback?code=f0a4e0f5e3705292931e05573bf9798a6cc52df0518f7f6243c5eda88fe950de&state=daf77e0bf3c5c0eca9ab5fb5b0679be4401a7a5a8e906b40" for 127.0.0.1 at 2019-11-05 10:36:44 +0000
154
162
  Processing by AuthenticationsController#callback as HTML
155
- Parameters: {"code"=>"a0be5d9c9c06ccc9932a2b1e4510eb97e8388c6b8b30f3843adfbcc0dd80d8b8", "state"=>"f3618b335a95889c1708c9590205255410e7dabb15d0947e"}
163
+ Parameters: {"code"=>"f0a4e0f5e3705292931e05573bf9798a6cc52df0518f7f6243c5eda88fe950de", "state"=>"daf77e0bf3c5c0eca9ab5fb5b0679be4401a7a5a8e906b40"}
156
164
  Authenticating with gds_sso strategy
157
165
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
158
166
   (0.1ms) begin transaction
@@ -160,255 +168,252 @@ Authenticating with gds_sso strategy
160
168
   (0.0ms) begin transaction
161
169
   (0.0ms) commit transaction
162
170
  Redirected to http://www.example-client.com/this_requires_signin_permission
163
- Completed 302 Found in 6ms (ActiveRecord: 0.3ms)
164
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-07-19 11:26:20 +0000
171
+ Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
172
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-11-05 10:36:44 +0000
165
173
  Processing by ExampleController#this_requires_signin_permission as HTML
166
174
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
167
175
  Rendered text template (0.0ms)
168
- Completed 200 OK in 2ms (Views: 1.0ms | ActiveRecord: 0.1ms)
169
- Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:20 +0000
170
- Processing by ExampleController#restricted as HTML
176
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
177
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-11-05 10:36:44 +0000
178
+ Processing by ExampleController#this_requires_signin_permission as HTML
171
179
  Authenticating with gds_sso strategy
172
180
  Completed in 0ms (ActiveRecord: 0.0ms)
173
- Started GET "/auth/gds" for 127.0.0.1 at 2019-07-19 11:26:20 +0000
174
- Started GET "/auth/gds/callback?code=598e793cd9647b0b6b638603a39936be44ea312b07ed79e0b0be9dcb2f6be47c&state=3c80e27a90f70f0500e2d27d650b5f82763d08653323223f" for 127.0.0.1 at 2019-07-19 11:26:20 +0000
181
+ Started GET "/auth/gds" for 127.0.0.1 at 2019-11-05 10:36:44 +0000
182
+ Started GET "/auth/gds/callback?code=0ebf77356e6570617f8b270eced2aeab54a46a54eafa6c9ea48069b9eb89fc21&state=9c835892d4cfad360eee257d58b75aa2437de571dcda5243" for 127.0.0.1 at 2019-11-05 10:36:44 +0000
175
183
  Processing by AuthenticationsController#callback as HTML
176
- Parameters: {"code"=>"598e793cd9647b0b6b638603a39936be44ea312b07ed79e0b0be9dcb2f6be47c", "state"=>"3c80e27a90f70f0500e2d27d650b5f82763d08653323223f"}
184
+ Parameters: {"code"=>"0ebf77356e6570617f8b270eced2aeab54a46a54eafa6c9ea48069b9eb89fc21", "state"=>"9c835892d4cfad360eee257d58b75aa2437de571dcda5243"}
177
185
  Authenticating with gds_sso strategy
178
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
186
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
179
187
   (0.1ms) begin transaction
180
188
   (0.0ms) commit transaction
181
189
   (0.0ms) begin transaction
182
190
   (0.1ms) commit transaction
183
- Redirected to http://www.example-client.com/restricted
191
+ Redirected to http://www.example-client.com/this_requires_signin_permission
184
192
  Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
185
- Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:21 +0000
186
- Processing by ExampleController#restricted as HTML
193
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-11-05 10:36:44 +0000
194
+ Processing by ExampleController#this_requires_signin_permission as HTML
187
195
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
188
- Rendered text template (0.0ms)
196
+ Rendered text template (0.1ms)
189
197
  Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
190
- Started GET "/" for 127.0.0.1 at 2019-07-19 11:26:21 +0000
191
- Processing by ExampleController#index as HTML
192
- Rendered text template (0.0ms)
193
- Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
194
- Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:21 +0000
198
+ Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:36:44 +0000
195
199
  Processing by ExampleController#restricted as HTML
196
200
  Authenticating with gds_sso strategy
197
201
  Completed in 0ms (ActiveRecord: 0.0ms)
198
- Started GET "/auth/gds" for 127.0.0.1 at 2019-07-19 11:26:21 +0000
199
- Started GET "/auth/gds/callback?code=677c61dbc795e855d5e57c049356ba963546ebd9ae4aa3c5330d40ee8429035a&state=612df93287d65b72d5a98b66bdcfce8bd9843d28b8979986" for 127.0.0.1 at 2019-07-19 11:26:21 +0000
202
+ Started GET "/auth/gds" for 127.0.0.1 at 2019-11-05 10:36:44 +0000
203
+ Started GET "/auth/gds/callback?code=28baebd9049cd335acb77fc39f25deb13d94858a7b355e11e0d14b2ecb6c0446&state=e3d8db893276610d212d98274bf5c14a710d19c1c6cfb6b3" for 127.0.0.1 at 2019-11-05 10:36:44 +0000
200
204
  Processing by AuthenticationsController#callback as HTML
201
- Parameters: {"code"=>"677c61dbc795e855d5e57c049356ba963546ebd9ae4aa3c5330d40ee8429035a", "state"=>"612df93287d65b72d5a98b66bdcfce8bd9843d28b8979986"}
205
+ Parameters: {"code"=>"28baebd9049cd335acb77fc39f25deb13d94858a7b355e11e0d14b2ecb6c0446", "state"=>"e3d8db893276610d212d98274bf5c14a710d19c1c6cfb6b3"}
202
206
  Authenticating with gds_sso strategy
203
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
207
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
204
208
   (0.1ms) begin transaction
205
-  (0.1ms) commit transaction
209
+  (0.0ms) commit transaction
206
210
   (0.0ms) begin transaction
207
-  (0.1ms) commit transaction
211
+  (0.0ms) commit transaction
208
212
  Redirected to http://www.example-client.com/restricted
209
213
  Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
210
- Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:21 +0000
214
+ Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:36:44 +0000
211
215
  Processing by ExampleController#restricted as HTML
212
216
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
213
217
  Rendered text template (0.0ms)
214
218
  Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
215
219
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "test@example-client.com"]]
216
-  (0.1ms) begin transaction
220
+  (0.0ms) begin transaction
217
221
  SQL (0.2ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 13]]
218
-  (5.4ms) commit transaction
219
- Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:21 +0000
222
+  (10.5ms) commit transaction
223
+ Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:36:44 +0000
220
224
  Processing by ExampleController#restricted as HTML
221
225
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
222
226
  Authenticating with gds_sso strategy
223
227
  Completed in 1ms (ActiveRecord: 0.1ms)
224
- Started GET "/auth/gds" for 127.0.0.1 at 2019-07-19 11:26:21 +0000
225
- Started GET "/auth/gds/callback?code=394134dedb139a470475224132368b152f1063f79b5fdae2e4977b5f2ce7c617&state=e9de8c671c6db63407dbc56bbebde50e0415379a57094bff" for 127.0.0.1 at 2019-07-19 11:26:21 +0000
228
+ Started GET "/auth/gds" for 127.0.0.1 at 2019-11-05 10:36:44 +0000
229
+ Started GET "/auth/gds/callback?code=9276365039e856285ad76e2c22865d35df5c497ba3cb0bf826efcd7b724c05ca&state=0d906fc158a582e83a4fc8dcdb2e5bb0624f98e45a2dc6fb" for 127.0.0.1 at 2019-11-05 10:36:45 +0000
226
230
  Processing by AuthenticationsController#callback as HTML
227
- Parameters: {"code"=>"394134dedb139a470475224132368b152f1063f79b5fdae2e4977b5f2ce7c617", "state"=>"e9de8c671c6db63407dbc56bbebde50e0415379a57094bff"}
231
+ Parameters: {"code"=>"9276365039e856285ad76e2c22865d35df5c497ba3cb0bf826efcd7b724c05ca", "state"=>"0d906fc158a582e83a4fc8dcdb2e5bb0624f98e45a2dc6fb"}
228
232
  Authenticating with gds_sso strategy
229
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
233
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
230
234
   (0.1ms) begin transaction
231
-  (0.1ms) commit transaction
235
+  (0.0ms) commit transaction
232
236
   (0.0ms) begin transaction
233
237
  SQL (0.2ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "f"], ["id", 13]]
234
-  (4.0ms) commit transaction
238
+  (100.1ms) commit transaction
235
239
  Redirected to http://www.example-client.com/restricted
236
- Completed 302 Found in 8ms (ActiveRecord: 4.5ms)
237
- Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:21 +0000
240
+ Completed 302 Found in 105ms (ActiveRecord: 100.6ms)
241
+ Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:36:45 +0000
238
242
  Processing by ExampleController#restricted as HTML
239
243
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
240
244
  Rendered text template (0.0ms)
241
- Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
242
- Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:21 +0000
245
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
246
+ Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:36:45 +0000
243
247
  Processing by ExampleController#restricted as HTML
244
248
  Authenticating with gds_sso strategy
245
249
  Completed in 0ms (ActiveRecord: 0.0ms)
246
- Started GET "/auth/gds" for 127.0.0.1 at 2019-07-19 11:26:21 +0000
247
- Started GET "/auth/gds/callback?code=e67621665e1784bb93dd29187071779a3cd78d4fad1d3df8d83d28fdc667e712&state=170f6f22a08993c0d969f402dfd74aa571a93e0e660ad875" for 127.0.0.1 at 2019-07-19 11:26:21 +0000
250
+ Started GET "/auth/gds" for 127.0.0.1 at 2019-11-05 10:36:45 +0000
251
+ Started GET "/auth/gds/callback?code=07b5460a4dbb15ad451e7c0041d89a3650743bc25d2f934b4d2f15f4b8afb08c&state=86cd5b771ee6289f5c79bfbaf90b48317a3f5de08e683001" for 127.0.0.1 at 2019-11-05 10:36:45 +0000
248
252
  Processing by AuthenticationsController#callback as HTML
249
- Parameters: {"code"=>"e67621665e1784bb93dd29187071779a3cd78d4fad1d3df8d83d28fdc667e712", "state"=>"170f6f22a08993c0d969f402dfd74aa571a93e0e660ad875"}
253
+ Parameters: {"code"=>"07b5460a4dbb15ad451e7c0041d89a3650743bc25d2f934b4d2f15f4b8afb08c", "state"=>"86cd5b771ee6289f5c79bfbaf90b48317a3f5de08e683001"}
250
254
  Authenticating with gds_sso strategy
251
255
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
256
+  (0.1ms) begin transaction
257
+  (0.0ms) commit transaction
252
258
   (0.0ms) begin transaction
253
259
   (0.0ms) commit transaction
254
-  (0.1ms) begin transaction
255
-  (0.1ms) commit transaction
256
260
  Redirected to http://www.example-client.com/restricted
257
261
  Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
258
- Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:21 +0000
262
+ Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:36:45 +0000
259
263
  Processing by ExampleController#restricted as HTML
260
264
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
261
265
  Rendered text template (0.0ms)
262
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
263
- Started GET "/restricted" for 127.0.0.1 at 2019-07-20 07:31:21 +0000
266
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
267
+ Started GET "/restricted" for 127.0.0.1 at 2019-11-06 06:41:45 +0000
264
268
  Processing by ExampleController#restricted as HTML
265
269
  Authenticating with gds_sso strategy
266
270
  Completed in 0ms (ActiveRecord: 0.0ms)
267
- Started GET "/auth/gds" for 127.0.0.1 at 2019-07-20 07:31:21 +0000
268
- Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:21 +0000
271
+ Started GET "/auth/gds" for 127.0.0.1 at 2019-11-06 06:41:45 +0000
272
+ Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:36:45 +0000
269
273
  Processing by ExampleController#restricted as HTML
270
274
  Authenticating with gds_sso strategy
271
275
  Completed in 0ms (ActiveRecord: 0.0ms)
272
- Started GET "/auth/gds" for 127.0.0.1 at 2019-07-19 11:26:21 +0000
273
- Started GET "/auth/gds/callback?code=2e251537d340cfacd123bd9b66e52a214731b959b64982f8fa09a5af8b741d08&state=f6508620b6c6f5ee95731e73a418f73529981c5c15a23ac4" for 127.0.0.1 at 2019-07-19 11:26:21 +0000
276
+ Started GET "/auth/gds" for 127.0.0.1 at 2019-11-05 10:36:45 +0000
277
+ Started GET "/auth/gds/callback?code=f55be5cb7439c98de54393c012012a67df678a55a062095a08222dadaa36305f&state=5f8e3421c820ef5b7e016ede6b5c23b6c2f38b15452adfb0" for 127.0.0.1 at 2019-11-05 10:36:45 +0000
274
278
  Processing by AuthenticationsController#callback as HTML
275
- Parameters: {"code"=>"2e251537d340cfacd123bd9b66e52a214731b959b64982f8fa09a5af8b741d08", "state"=>"f6508620b6c6f5ee95731e73a418f73529981c5c15a23ac4"}
279
+ Parameters: {"code"=>"f55be5cb7439c98de54393c012012a67df678a55a062095a08222dadaa36305f", "state"=>"5f8e3421c820ef5b7e016ede6b5c23b6c2f38b15452adfb0"}
276
280
  Authenticating with gds_sso strategy
277
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
278
-  (0.0ms) begin transaction
279
-  (0.1ms) commit transaction
281
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
280
282
   (0.1ms) begin transaction
281
-  (0.1ms) commit transaction
283
+  (0.0ms) commit transaction
284
+  (0.0ms) begin transaction
285
+  (0.0ms) commit transaction
282
286
  Redirected to http://www.example-client.com/restricted
283
- Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
284
- Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:21 +0000
287
+ Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
288
+ Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:36:45 +0000
285
289
  Processing by ExampleController#restricted as HTML
286
290
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
287
291
  Rendered text template (0.0ms)
288
292
  Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
289
- Started GET "/restricted" for 127.0.0.1 at 2019-07-20 07:31:21 +0000
293
+ Started GET "/restricted" for 127.0.0.1 at 2019-11-06 06:31:45 +0000
294
+ Processing by ExampleController#restricted as HTML
295
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
296
+ Rendered text template (0.0ms)
297
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
298
+ Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:36:45 +0000
290
299
  Processing by ExampleController#restricted as HTML
291
300
  Authenticating with gds_sso strategy
292
301
  Completed in 0ms (ActiveRecord: 0.0ms)
293
- Started GET "/auth/gds" for 127.0.0.1 at 2019-07-20 07:31:21 +0000
294
- Started GET "/auth/gds/callback?code=16872e9d646aeb4524d6fd237a96bee8acefb2a657ff05416af5e8c310b4111f&state=2e2f3ada1d55bd05ebca28d803274ee11eaa54d0fed00112" for 127.0.0.1 at 2019-07-20 07:31:21 +0000
302
+ Started GET "/auth/gds" for 127.0.0.1 at 2019-11-05 10:36:45 +0000
303
+ Started GET "/auth/gds/callback?code=a10f54b3e687884a617a438a9de1dd30c59985e265ecd2ce774497587e725ab7&state=306c554964802cacf30180436cc4330bb517d504434ec88c" for 127.0.0.1 at 2019-11-05 10:36:45 +0000
295
304
  Processing by AuthenticationsController#callback as HTML
296
- Parameters: {"code"=>"16872e9d646aeb4524d6fd237a96bee8acefb2a657ff05416af5e8c310b4111f", "state"=>"2e2f3ada1d55bd05ebca28d803274ee11eaa54d0fed00112"}
305
+ Parameters: {"code"=>"a10f54b3e687884a617a438a9de1dd30c59985e265ecd2ce774497587e725ab7", "state"=>"306c554964802cacf30180436cc4330bb517d504434ec88c"}
297
306
  Authenticating with gds_sso strategy
298
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
299
-  (0.1ms) begin transaction
300
-  (0.1ms) commit transaction
301
-  (0.1ms) begin transaction
302
-  (0.1ms) commit transaction
307
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
308
+  (0.1ms) begin transaction
309
+  (0.0ms) commit transaction
310
+  (0.0ms) begin transaction
311
+  (0.0ms) commit transaction
303
312
  Redirected to http://www.example-client.com/restricted
304
313
  Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
305
- Started GET "/restricted" for 127.0.0.1 at 2019-07-20 07:31:21 +0000
314
+ Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:36:45 +0000
306
315
  Processing by ExampleController#restricted as HTML
307
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
316
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
308
317
  Rendered text template (0.0ms)
309
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
310
- Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:21 +0000
318
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
319
+ Started GET "/restricted" for 127.0.0.1 at 2019-11-06 06:41:45 +0000
311
320
  Processing by ExampleController#restricted as HTML
312
321
  Authenticating with gds_sso strategy
313
322
  Completed in 0ms (ActiveRecord: 0.0ms)
314
- Started GET "/auth/gds" for 127.0.0.1 at 2019-07-19 11:26:21 +0000
315
- Started GET "/auth/gds/callback?code=792cfc2584e8bcb217fed4c791a76a722200c04a87aad03e2cf5d2ed228d7e9d&state=d9ce97d145b5beebad889e2c33bfd7020965b094aae9554f" for 127.0.0.1 at 2019-07-19 11:26:21 +0000
323
+ Started GET "/auth/gds" for 127.0.0.1 at 2019-11-06 06:41:45 +0000
324
+ Started GET "/auth/gds/callback?code=f61a3fae0e6f379c8a721a6a6073e51b97ec84cfdbfeb0c04b7eab90898ba450&state=40e7abcdeecdf94beb7addfdb8522e25b65f540380a5f3dc" for 127.0.0.1 at 2019-11-06 06:41:45 +0000
316
325
  Processing by AuthenticationsController#callback as HTML
317
- Parameters: {"code"=>"792cfc2584e8bcb217fed4c791a76a722200c04a87aad03e2cf5d2ed228d7e9d", "state"=>"d9ce97d145b5beebad889e2c33bfd7020965b094aae9554f"}
326
+ Parameters: {"code"=>"f61a3fae0e6f379c8a721a6a6073e51b97ec84cfdbfeb0c04b7eab90898ba450", "state"=>"40e7abcdeecdf94beb7addfdb8522e25b65f540380a5f3dc"}
318
327
  Authenticating with gds_sso strategy
319
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
320
-  (0.1ms) begin transaction
321
-  (0.1ms) commit transaction
322
-  (0.1ms) begin transaction
323
-  (0.0ms) commit transaction
328
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
329
+  (0.1ms) begin transaction
330
+  (0.1ms) commit transaction
331
+  (0.1ms) begin transaction
332
+  (0.1ms) commit transaction
324
333
  Redirected to http://www.example-client.com/restricted
325
334
  Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
326
- Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:22 +0000
327
- Processing by ExampleController#restricted as HTML
328
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
329
- Rendered text template (0.0ms)
330
- Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
331
- Started GET "/restricted" for 127.0.0.1 at 2019-07-20 07:21:22 +0000
335
+ Started GET "/restricted" for 127.0.0.1 at 2019-11-06 06:41:45 +0000
332
336
  Processing by ExampleController#restricted as HTML
333
337
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
334
338
  Rendered text template (0.0ms)
335
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
336
- Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:22 +0000
337
- Processing by ExampleController#restricted as HTML
338
- Authenticating with gds_sso strategy
339
- Completed in 0ms (ActiveRecord: 0.0ms)
340
- Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:22 +0000
341
- Processing by ExampleController#restricted as JSON
342
- Completed in 20ms (ActiveRecord: 0.0ms)
343
- Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:22 +0000
344
- Processing by ExampleController#restricted as JSON
345
- Completed in 11ms (ActiveRecord: 0.0ms)
346
- Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:22 +0000
347
- Processing by ExampleController#restricted as JSON
339
+ Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
340
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-11-05 10:36:45 +0000
341
+ Processing by ExampleController#this_requires_signin_permission as JSON
348
342
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
349
-  (0.0ms) begin transaction
343
+  (0.1ms) begin transaction
350
344
  SQL (0.2ms) UPDATE "users" SET "disabled" = ? WHERE "users"."id" = ? [["disabled", nil], ["id", 13]]
351
-  (3.7ms) commit transaction
345
+  (5.5ms) commit transaction
352
346
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
353
347
   (0.0ms) begin transaction
354
-  (0.0ms) commit transaction
348
+  (0.1ms) commit transaction
355
349
  CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
356
350
   (0.1ms) begin transaction
357
351
   (0.0ms) commit transaction
358
352
  CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
359
-  (0.0ms) begin transaction
353
+  (0.1ms) begin transaction
360
354
   (0.0ms) commit transaction
361
355
   (0.0ms) begin transaction
362
356
   (0.0ms) commit transaction
363
357
  Rendered text template (0.0ms)
364
- Completed 200 OK in 55ms (Views: 0.3ms | ActiveRecord: 4.6ms)
365
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-07-19 11:26:22 +0000
366
- Processing by ExampleController#this_requires_signin_permission as JSON
358
+ Completed 200 OK in 59ms (Views: 0.3ms | ActiveRecord: 6.5ms)
359
+ Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:36:46 +0000
360
+ Processing by ExampleController#restricted as JSON
367
361
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
368
362
   (0.0ms) begin transaction
369
-  (0.1ms) commit transaction
363
+  (0.0ms) commit transaction
370
364
  CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
371
365
   (0.0ms) begin transaction
372
-  (0.1ms) commit transaction
366
+  (0.0ms) commit transaction
373
367
  CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
374
368
   (0.0ms) begin transaction
375
369
   (0.0ms) commit transaction
376
370
  CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
377
-  (0.0ms) begin transaction
378
-  (0.0ms) commit transaction
371
+  (0.1ms) begin transaction
372
+  (0.1ms) commit transaction
379
373
   (0.0ms) begin transaction
380
374
   (0.0ms) commit transaction
381
375
  Rendered text template (0.0ms)
382
- Completed 200 OK in 49ms (Views: 0.2ms | ActiveRecord: 0.6ms)
376
+ Completed 200 OK in 48ms (Views: 0.3ms | ActiveRecord: 0.6ms)
377
+ Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:36:46 +0000
378
+ Processing by ExampleController#restricted as JSON
379
+ Completed in 11ms (ActiveRecord: 0.0ms)
380
+ Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:36:46 +0000
381
+ Processing by ExampleController#restricted as JSON
382
+ Completed in 18ms (ActiveRecord: 0.0ms)
383
383
   (0.1ms) DROP TABLE IF EXISTS "users"
384
-  (1.6ms) SELECT sqlite_version(*)
385
-  (5.5ms) CREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "uid" varchar NOT NULL, "email" varchar NOT NULL, "remotely_signed_out" boolean, "permissions" text, "organisation_slug" varchar, "organisation_content_id" varchar, "disabled" boolean DEFAULT 'f')
386
-  (4.5ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
384
+  (1.7ms) SELECT sqlite_version(*)
385
+  (5.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')
386
+  (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)
387
387
  ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
388
388
   (0.1ms) begin transaction
389
- ActiveRecord::InternalMetadata Create (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2019-07-19 11:26:35.370566"], ["updated_at", "2019-07-19 11:26:35.370566"]]
390
-  (4.0ms) commit transaction
391
-  (3.3ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
389
+ ActiveRecord::InternalMetadata Create (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2019-11-05 10:36:56.473576"], ["updated_at", "2019-11-05 10:36:56.473576"]]
390
+  (5.1ms) commit transaction
391
+  (5.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
392
392
  ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
393
393
   (0.0ms) begin transaction
394
394
   (0.0ms) commit transaction
395
395
  User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "dummyapiuser@domain.com"], ["LIMIT", 1]]
396
396
   (0.1ms) begin transaction
397
- User Create (0.3ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Dummy API user created by gds-sso"], ["uid", "588"], ["email", "dummyapiuser@domain.com"], ["permissions", "---\n- signin\n"]]
398
-  (3.9ms) commit transaction
397
+ User Create (0.3ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Dummy API user created by gds-sso"], ["uid", "260"], ["email", "dummyapiuser@domain.com"], ["permissions", "---\n- signin\n"]]
398
+  (7.9ms) commit transaction
399
399
   (0.1ms) begin transaction
400
400
  User Update (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = ? [["permissions", "---\n- signin\n- extra_permission\n"], ["id", 1]]
401
-  (4.7ms) commit transaction
402
- Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:35 +0000
403
- Processing by ExampleController#restricted as JSON
404
- Completed in 29ms (ActiveRecord: 0.0ms)
405
- Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:36 +0000
401
+  (4.9ms) commit transaction
402
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "asd"], ["LIMIT", 1]]
403
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "user@example.com"], ["LIMIT", 1]]
404
+  (0.0ms) begin transaction
405
+ User Create (0.3ms) 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]]
406
+  (5.4ms) commit transaction
407
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "asd"], ["LIMIT", 1]]
408
+  (0.1ms) begin transaction
409
+  (0.1ms) commit transaction
410
+ Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:36:57 +0000
406
411
  Processing by ExampleController#restricted as JSON
407
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
412
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
408
413
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "test@example-client.com"], ["LIMIT", 1]]
409
-  (0.0ms) begin transaction
410
- 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]]
411
-  (4.6ms) commit transaction
414
+  (0.1ms) begin transaction
415
+ User Create (0.3ms) 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]]
416
+  (5.4ms) commit transaction
412
417
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
413
418
   (0.1ms) begin transaction
414
419
   (0.1ms) commit transaction
@@ -418,16 +423,13 @@ Processing by ExampleController#restricted as JSON
418
423
  CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
419
424
   (0.1ms) begin transaction
420
425
   (0.1ms) commit transaction
421
-  (0.1ms) begin transaction
422
- User Update (0.2ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "f"], ["id", 2]]
423
-  (4.5ms) commit transaction
426
+  (0.0ms) begin transaction
427
+ User Update (0.5ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "f"], ["id", 3]]
428
+  (3.9ms) commit transaction
424
429
  Rendering text template
425
430
  Rendered text template (0.0ms)
426
- Completed 200 OK in 68ms (Views: 4.6ms | ActiveRecord: 10.5ms)
427
- Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:36 +0000
428
- Processing by ExampleController#restricted as JSON
429
- Completed in 11ms (ActiveRecord: 0.0ms)
430
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-07-19 11:26:36 +0000
431
+ Completed 200 OK in 81ms (Views: 5.1ms | ActiveRecord: 10.9ms)
432
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-11-05 10:36:57 +0000
431
433
  Processing by ExampleController#this_requires_signin_permission as JSON
432
434
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
433
435
   (0.1ms) begin transaction
@@ -445,131 +447,141 @@ Processing by ExampleController#this_requires_signin_permission as JSON
445
447
   (0.1ms) commit transaction
446
448
  Rendering text template
447
449
  Rendered text template (0.0ms)
448
- Completed 200 OK in 50ms (Views: 0.3ms | ActiveRecord: 0.7ms)
449
- Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:36 +0000
450
+ Completed 200 OK in 51ms (Views: 0.3ms | ActiveRecord: 0.7ms)
451
+ Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:36:57 +0000
452
+ Processing by ExampleController#restricted as JSON
453
+ Completed in 18ms (ActiveRecord: 0.0ms)
454
+ Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:36:57 +0000
455
+ Processing by ExampleController#restricted as JSON
456
+ Completed in 11ms (ActiveRecord: 0.0ms)
457
+ Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:36:57 +0000
450
458
  Processing by ExampleController#restricted as HTML
451
459
  Authenticating with gds_sso strategy
452
460
  Completed in 0ms (ActiveRecord: 0.0ms)
453
- Started GET "/auth/gds" for 127.0.0.1 at 2019-07-19 11:26:36 +0000
454
- Started GET "/auth/gds/callback?code=0012adb6a6a047a6affe347cbed73f500b417d764425ac83b864d51268abb246&state=e95fad5c31cc5489f48e07d36f02584d4dee9106f7c5c43a" for 127.0.0.1 at 2019-07-19 11:26:36 +0000
461
+ Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:36:57 +0000
462
+ Processing by ExampleController#restricted as HTML
463
+ Authenticating with gds_sso strategy
464
+ Completed in 0ms (ActiveRecord: 0.0ms)
465
+ Started GET "/auth/gds" for 127.0.0.1 at 2019-11-05 10:36:57 +0000
466
+ Started GET "/auth/gds/callback?code=8417d3a8c5404071439ca0dfa70646880af054cdb1fcad3526895b259a868828&state=aaf589514a62bc8fdaca8760c2bfd215ba43e7d598323085" for 127.0.0.1 at 2019-11-05 10:36:57 +0000
455
467
  Processing by AuthenticationsController#callback as HTML
456
- Parameters: {"code"=>"0012adb6a6a047a6affe347cbed73f500b417d764425ac83b864d51268abb246", "state"=>"e95fad5c31cc5489f48e07d36f02584d4dee9106f7c5c43a"}
468
+ Parameters: {"code"=>"8417d3a8c5404071439ca0dfa70646880af054cdb1fcad3526895b259a868828", "state"=>"aaf589514a62bc8fdaca8760c2bfd215ba43e7d598323085"}
457
469
  Authenticating with gds_sso strategy
458
470
  User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
459
471
   (0.1ms) begin transaction
460
- User Update (0.2ms) UPDATE "users" SET "disabled" = ? WHERE "users"."id" = ? [["disabled", "f"], ["id", 2]]
461
-  (4.7ms) commit transaction
472
+ User Update (0.3ms) UPDATE "users" SET "disabled" = ? WHERE "users"."id" = ? [["disabled", "f"], ["id", 3]]
473
+  (4.5ms) commit transaction
462
474
   (0.0ms) begin transaction
463
475
   (0.1ms) commit transaction
464
476
  Redirected to http://www.example-client.com/restricted
465
- Completed 302 Found in 10ms (ActiveRecord: 5.3ms)
466
- Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:36 +0000
477
+ Completed 302 Found in 9ms (ActiveRecord: 5.1ms)
478
+ Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:36:57 +0000
467
479
  Processing by ExampleController#restricted as HTML
468
480
  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]]
469
481
  Rendering text template
470
482
  Rendered text template (0.0ms)
471
483
  Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
472
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-07-19 11:26:36 +0000
484
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-11-05 10:36:57 +0000
473
485
  Processing by ExampleController#this_requires_signin_permission as HTML
474
486
  Authenticating with gds_sso strategy
475
487
  Completed in 0ms (ActiveRecord: 0.0ms)
476
- Started GET "/auth/gds" for 127.0.0.1 at 2019-07-19 11:26:36 +0000
477
- Started GET "/auth/gds/callback?code=491743882f66eef9e4d03bcc98cb8095601af27d7192edbef81dfbc3be0c66cb&state=057c5f4c2c1b280a2796518f6ab93353102a71df5a9411d3" for 127.0.0.1 at 2019-07-19 11:26:36 +0000
488
+ Started GET "/auth/gds" for 127.0.0.1 at 2019-11-05 10:36:57 +0000
489
+ Started GET "/auth/gds/callback?code=231c4ad97849c253b552a504f10c24e3b60f0f36e1733bf4e46a85843af6c0f1&state=56783c285b1890579b0f11933e4511586c825d2e645c837e" for 127.0.0.1 at 2019-11-05 10:36:57 +0000
478
490
  Processing by AuthenticationsController#callback as HTML
479
- Parameters: {"code"=>"491743882f66eef9e4d03bcc98cb8095601af27d7192edbef81dfbc3be0c66cb", "state"=>"057c5f4c2c1b280a2796518f6ab93353102a71df5a9411d3"}
491
+ Parameters: {"code"=>"231c4ad97849c253b552a504f10c24e3b60f0f36e1733bf4e46a85843af6c0f1", "state"=>"56783c285b1890579b0f11933e4511586c825d2e645c837e"}
480
492
  Authenticating with gds_sso strategy
481
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
493
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
482
494
   (0.1ms) begin transaction
483
-  (0.0ms) commit transaction
484
-  (0.0ms) begin transaction
485
-  (0.0ms) commit transaction
495
+  (0.1ms) commit transaction
496
+  (0.1ms) begin transaction
497
+  (0.1ms) commit transaction
486
498
  Redirected to http://www.example-client.com/this_requires_signin_permission
487
- Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
488
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-07-19 11:26:36 +0000
499
+ Completed 302 Found in 4ms (ActiveRecord: 0.5ms)
500
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-11-05 10:36:57 +0000
489
501
  Processing by ExampleController#this_requires_signin_permission as HTML
490
502
  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]]
491
503
  Rendering text template
492
504
  Rendered text template (0.0ms)
493
- Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
494
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-07-19 11:26:36 +0000
505
+ Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
506
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-11-05 10:36:57 +0000
495
507
  Processing by ExampleController#this_requires_signin_permission as HTML
496
508
  Authenticating with gds_sso strategy
497
509
  Completed in 0ms (ActiveRecord: 0.0ms)
498
- Started GET "/auth/gds" for 127.0.0.1 at 2019-07-19 11:26:36 +0000
499
- Started GET "/auth/gds/callback?code=e8564eb0e0a2fbbda8bfd317a2347a88d6f35007a718e4d030e9a7de8674d5ca&state=03ef5f8b7653fb4db7f496c620183beeca4fe4834214d3f9" for 127.0.0.1 at 2019-07-19 11:26:36 +0000
510
+ Started GET "/auth/gds" for 127.0.0.1 at 2019-11-05 10:36:57 +0000
511
+ Started GET "/auth/gds/callback?code=fc50dbdd0434d4ca4e586edaee5d514225bb07afff3c04c35158f09f036a8e07&state=4e27d65b3904d6dc4b89dc74e472451d0fa4d1fae198b5e3" for 127.0.0.1 at 2019-11-05 10:36:57 +0000
500
512
  Processing by AuthenticationsController#callback as HTML
501
- Parameters: {"code"=>"e8564eb0e0a2fbbda8bfd317a2347a88d6f35007a718e4d030e9a7de8674d5ca", "state"=>"03ef5f8b7653fb4db7f496c620183beeca4fe4834214d3f9"}
513
+ Parameters: {"code"=>"fc50dbdd0434d4ca4e586edaee5d514225bb07afff3c04c35158f09f036a8e07", "state"=>"4e27d65b3904d6dc4b89dc74e472451d0fa4d1fae198b5e3"}
502
514
  Authenticating with gds_sso strategy
503
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
504
-  (0.0ms) begin transaction
505
-  (0.1ms) commit transaction
515
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
516
+  (0.1ms) begin transaction
517
+  (0.0ms) commit transaction
506
518
   (0.0ms) begin transaction
507
-  (0.1ms) commit transaction
519
+  (0.0ms) commit transaction
508
520
  Redirected to http://www.example-client.com/this_requires_signin_permission
509
- Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
510
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-07-19 11:26:36 +0000
521
+ Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
522
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-11-05 10:36:57 +0000
511
523
  Processing by ExampleController#this_requires_signin_permission as HTML
512
524
  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]]
513
525
  Rendering text template
514
526
  Rendered text template (0.0ms)
515
527
  Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
516
- Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:36 +0000
528
+ Started GET "/" for 127.0.0.1 at 2019-11-05 10:36:57 +0000
529
+ Processing by ExampleController#index as HTML
530
+ Rendering text template
531
+ Rendered text template (0.0ms)
532
+ Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
533
+ Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:36:57 +0000
517
534
  Processing by ExampleController#restricted as HTML
518
535
  Authenticating with gds_sso strategy
519
536
  Completed in 0ms (ActiveRecord: 0.0ms)
520
- Started GET "/auth/gds" for 127.0.0.1 at 2019-07-19 11:26:36 +0000
521
- Started GET "/auth/gds/callback?code=efc9ef7fe39829ad7749c7dc490924444e20aa5d2358ca6bbd777357d35c8900&state=61e5d724f46be0b2ae83bc6c8a759b8b664946d6466225ae" for 127.0.0.1 at 2019-07-19 11:26:36 +0000
537
+ Started GET "/auth/gds" for 127.0.0.1 at 2019-11-05 10:36:57 +0000
538
+ Started GET "/auth/gds/callback?code=761ba4a299ad51ea8e79ea2f80d72c507c5806a3dee6237c1134e543db472a98&state=0b19863e49a7660e41acdf3ccb06bda32f3565cbc71577df" for 127.0.0.1 at 2019-11-05 10:36:58 +0000
522
539
  Processing by AuthenticationsController#callback as HTML
523
- Parameters: {"code"=>"efc9ef7fe39829ad7749c7dc490924444e20aa5d2358ca6bbd777357d35c8900", "state"=>"61e5d724f46be0b2ae83bc6c8a759b8b664946d6466225ae"}
540
+ Parameters: {"code"=>"761ba4a299ad51ea8e79ea2f80d72c507c5806a3dee6237c1134e543db472a98", "state"=>"0b19863e49a7660e41acdf3ccb06bda32f3565cbc71577df"}
524
541
  Authenticating with gds_sso strategy
525
542
  User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
526
-  (0.0ms) begin transaction
527
-  (0.0ms) commit transaction
543
+  (0.1ms) begin transaction
544
+  (0.1ms) commit transaction
528
545
   (0.0ms) begin transaction
529
546
   (0.1ms) commit transaction
530
547
  Redirected to http://www.example-client.com/restricted
531
- Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
532
- Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:36 +0000
548
+ Completed 302 Found in 7ms (ActiveRecord: 0.4ms)
549
+ Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:36:58 +0000
533
550
  Processing by ExampleController#restricted as HTML
534
551
  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]]
535
552
  Rendering text template
536
553
  Rendered text template (0.0ms)
537
- Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
538
- Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:36 +0000
554
+ Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
555
+ Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:36:58 +0000
539
556
  Processing by ExampleController#restricted as HTML
540
557
  Authenticating with gds_sso strategy
541
558
  Completed in 0ms (ActiveRecord: 0.0ms)
542
- Started GET "/auth/gds" for 127.0.0.1 at 2019-07-19 11:26:36 +0000
543
- Started GET "/auth/gds/callback?code=7f20536fb710f51d674bfd314bee9a7ecb1c7e907299aad0bdfd2d294ca4426c&state=8cb2b639017dbe5997b6caabb8f9c507d9f3974b25e8050a" for 127.0.0.1 at 2019-07-19 11:26:37 +0000
559
+ Started GET "/auth/gds" for 127.0.0.1 at 2019-11-05 10:36:58 +0000
560
+ Started GET "/auth/gds/callback?code=d3730010dcd39bcda60bf0b40c9ba09485513cfae055dc991909e65b3114aaa0&state=8e07618c105f20a16502a24dc4b7b812c92b7bd37570f1e5" for 127.0.0.1 at 2019-11-05 10:36:58 +0000
544
561
  Processing by AuthenticationsController#callback as HTML
545
- Parameters: {"code"=>"7f20536fb710f51d674bfd314bee9a7ecb1c7e907299aad0bdfd2d294ca4426c", "state"=>"8cb2b639017dbe5997b6caabb8f9c507d9f3974b25e8050a"}
562
+ Parameters: {"code"=>"d3730010dcd39bcda60bf0b40c9ba09485513cfae055dc991909e65b3114aaa0", "state"=>"8e07618c105f20a16502a24dc4b7b812c92b7bd37570f1e5"}
546
563
  Authenticating with gds_sso strategy
547
564
  User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
548
565
   (0.1ms) begin transaction
549
-  (0.0ms) commit transaction
550
-  (0.0ms) begin transaction
551
-  (0.0ms) commit transaction
566
+  (0.1ms) commit transaction
567
+  (0.1ms) begin transaction
568
+  (0.1ms) commit transaction
552
569
  Redirected to http://www.example-client.com/restricted
553
570
  Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
554
- Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:37 +0000
571
+ Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:36:58 +0000
555
572
  Processing by ExampleController#restricted as HTML
556
573
  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]]
557
574
  Rendering text template
558
575
  Rendered text template (0.0ms)
559
576
  Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
560
- Started GET "/" for 127.0.0.1 at 2019-07-19 11:26:37 +0000
561
- Processing by ExampleController#index as HTML
562
- Rendering text template
563
- Rendered text template (0.0ms)
564
- Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
565
- Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:37 +0000
577
+ Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:36:58 +0000
566
578
  Processing by ExampleController#restricted as HTML
567
579
  Authenticating with gds_sso strategy
568
580
  Completed in 0ms (ActiveRecord: 0.0ms)
569
- Started GET "/auth/gds" for 127.0.0.1 at 2019-07-19 11:26:37 +0000
570
- Started GET "/auth/gds/callback?code=fc45f5524b68709e3a09578acc0a392938348efe71f42865968d0c20bc0ae9ec&state=6a83580cf0c11020d7edd96d3f44a1338c84f46b5272f1b4" for 127.0.0.1 at 2019-07-19 11:26:37 +0000
581
+ Started GET "/auth/gds" for 127.0.0.1 at 2019-11-05 10:36:58 +0000
582
+ Started GET "/auth/gds/callback?code=6e50a16cceabac45045094f24a4cf08b7a3ddfbf130144681e1ef26dec0b8b12&state=75f5d7023cbc6890898875d493f2d9c2961e7c762bf28b3b" for 127.0.0.1 at 2019-11-05 10:36:58 +0000
571
583
  Processing by AuthenticationsController#callback as HTML
572
- Parameters: {"code"=>"fc45f5524b68709e3a09578acc0a392938348efe71f42865968d0c20bc0ae9ec", "state"=>"6a83580cf0c11020d7edd96d3f44a1338c84f46b5272f1b4"}
584
+ Parameters: {"code"=>"6e50a16cceabac45045094f24a4cf08b7a3ddfbf130144681e1ef26dec0b8b12", "state"=>"75f5d7023cbc6890898875d493f2d9c2961e7c762bf28b3b"}
573
585
  Authenticating with gds_sso strategy
574
586
  User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
575
587
   (0.1ms) begin transaction
@@ -577,76 +589,77 @@ Authenticating with gds_sso strategy
577
589
   (0.0ms) begin transaction
578
590
   (0.0ms) commit transaction
579
591
  Redirected to http://www.example-client.com/restricted
580
- Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
581
- Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:37 +0000
592
+ Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
593
+ Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:36:58 +0000
582
594
  Processing by ExampleController#restricted as HTML
583
- 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]]
595
+ 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]]
584
596
  Rendering text template
585
597
  Rendered text template (0.0ms)
586
- Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
587
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "test@example-client.com"], ["LIMIT", 1]]
598
+ Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
599
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "test@example-client.com"], ["LIMIT", 1]]
588
600
   (0.0ms) begin transaction
589
- User Update (0.2ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 2]]
590
-  (5.3ms) commit transaction
591
- Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:37 +0000
601
+ User Update (0.3ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 3]]
602
+  (5.7ms) commit transaction
603
+ Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:36:58 +0000
592
604
  Processing by ExampleController#restricted as HTML
593
605
  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]]
594
606
  Authenticating with gds_sso strategy
595
607
  Completed in 1ms (ActiveRecord: 0.1ms)
596
- Started GET "/auth/gds" for 127.0.0.1 at 2019-07-19 11:26:37 +0000
597
- Started GET "/auth/gds/callback?code=21d6be0657ca17afde1c2376f29a3e4e2fe20a6d9a51dc126270d29838526c6a&state=138f9738a4a4755c19c118edf2f8de188c72c0dc5d074eee" for 127.0.0.1 at 2019-07-19 11:26:37 +0000
608
+ Started GET "/auth/gds" for 127.0.0.1 at 2019-11-05 10:36:58 +0000
609
+ Started GET "/auth/gds/callback?code=8893a521f415ed2d2f7ea78551e01ca7b57d992199582ce31bbc0eaa73c16b37&state=e4a3b135a1da78755d07dc4913fe45070cf96fe33083f966" for 127.0.0.1 at 2019-11-05 10:36:58 +0000
598
610
  Processing by AuthenticationsController#callback as HTML
599
- Parameters: {"code"=>"21d6be0657ca17afde1c2376f29a3e4e2fe20a6d9a51dc126270d29838526c6a", "state"=>"138f9738a4a4755c19c118edf2f8de188c72c0dc5d074eee"}
611
+ Parameters: {"code"=>"8893a521f415ed2d2f7ea78551e01ca7b57d992199582ce31bbc0eaa73c16b37", "state"=>"e4a3b135a1da78755d07dc4913fe45070cf96fe33083f966"}
600
612
  Authenticating with gds_sso strategy
601
613
  User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
602
614
   (0.1ms) begin transaction
603
615
   (0.1ms) commit transaction
604
616
   (0.0ms) begin transaction
605
- User Update (0.2ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "f"], ["id", 2]]
606
-  (6.6ms) commit transaction
617
+ User Update (0.3ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "f"], ["id", 3]]
618
+  (5.6ms) commit transaction
607
619
  Redirected to http://www.example-client.com/restricted
608
- Completed 302 Found in 11ms (ActiveRecord: 7.2ms)
609
- Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:37 +0000
620
+ Completed 302 Found in 10ms (ActiveRecord: 6.2ms)
621
+ Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:36:58 +0000
610
622
  Processing by ExampleController#restricted as HTML
611
623
  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]]
612
624
  Rendering text template
613
625
  Rendered text template (0.0ms)
614
626
  Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
615
- Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:37 +0000
627
+ Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:36:58 +0000
616
628
  Processing by ExampleController#restricted as HTML
617
629
  Authenticating with gds_sso strategy
618
630
  Completed in 0ms (ActiveRecord: 0.0ms)
619
- Started GET "/auth/gds" for 127.0.0.1 at 2019-07-19 11:26:37 +0000
620
- Started GET "/auth/gds/callback?code=a635eed314316682b07197ad261bdd39353d0372171f2c3cdc3b58b216c47cca&state=5e27068e841c4b6e765fe0c57819dc6f55da1eae2a7ea8ab" for 127.0.0.1 at 2019-07-19 11:26:37 +0000
631
+ Started GET "/auth/gds" for 127.0.0.1 at 2019-11-05 10:36:58 +0000
632
+ Started GET "/auth/gds/callback?code=f2e8ceb458c0d48a53ef450758922020273685229a1dd704af443eaac8ca868a&state=4a3c78d4f13f3bfdeb34caa8e7a9cc34ff51e7250a1aa114" for 127.0.0.1 at 2019-11-05 10:36:58 +0000
621
633
  Processing by AuthenticationsController#callback as HTML
622
- Parameters: {"code"=>"a635eed314316682b07197ad261bdd39353d0372171f2c3cdc3b58b216c47cca", "state"=>"5e27068e841c4b6e765fe0c57819dc6f55da1eae2a7ea8ab"}
634
+ Parameters: {"code"=>"f2e8ceb458c0d48a53ef450758922020273685229a1dd704af443eaac8ca868a", "state"=>"4a3c78d4f13f3bfdeb34caa8e7a9cc34ff51e7250a1aa114"}
623
635
  Authenticating with gds_sso strategy
624
636
  User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
625
637
   (0.1ms) begin transaction
626
-  (0.0ms) commit transaction
638
+  (0.1ms) commit transaction
627
639
   (0.0ms) begin transaction
628
-  (0.0ms) commit transaction
640
+  (0.1ms) commit transaction
629
641
  Redirected to http://www.example-client.com/restricted
630
642
  Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
631
- Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:37 +0000
643
+ Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:36:58 +0000
632
644
  Processing by ExampleController#restricted as HTML
633
645
  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]]
634
646
  Rendering text template
635
647
  Rendered text template (0.0ms)
636
- Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
637
- Started GET "/restricted" for 127.0.0.1 at 2019-07-20 07:31:37 +0000
648
+ Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
649
+ Started GET "/restricted" for 127.0.0.1 at 2019-11-06 06:31:58 +0000
638
650
  Processing by ExampleController#restricted as HTML
639
- Authenticating with gds_sso strategy
640
- Completed in 1ms (ActiveRecord: 0.0ms)
641
- Started GET "/auth/gds" for 127.0.0.1 at 2019-07-20 07:31:37 +0000
642
- Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:37 +0000
651
+ 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]]
652
+ Rendering text template
653
+ Rendered text template (0.0ms)
654
+ Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.1ms)
655
+ Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:36:58 +0000
643
656
  Processing by ExampleController#restricted as HTML
644
657
  Authenticating with gds_sso strategy
645
658
  Completed in 0ms (ActiveRecord: 0.0ms)
646
- Started GET "/auth/gds" for 127.0.0.1 at 2019-07-19 11:26:37 +0000
647
- Started GET "/auth/gds/callback?code=ca40aa30fb964ba5cd361184543601cc1b863dcccc03c1dcf8e0c6affa00a3ce&state=58a21355585a9e2fc0f526315479bf1f7bcb1a39c556bf44" for 127.0.0.1 at 2019-07-19 11:26:37 +0000
659
+ Started GET "/auth/gds" for 127.0.0.1 at 2019-11-05 10:36:58 +0000
660
+ Started GET "/auth/gds/callback?code=0c34b659cb41fca2cc7afd0e1152a681880300a1c0a9b4ced3aeb4c4c8c91d10&state=6055cd0ea4a4e1f6b5709a4b8e104a542f5eb986f54527cd" for 127.0.0.1 at 2019-11-05 10:36:59 +0000
648
661
  Processing by AuthenticationsController#callback as HTML
649
- Parameters: {"code"=>"ca40aa30fb964ba5cd361184543601cc1b863dcccc03c1dcf8e0c6affa00a3ce", "state"=>"58a21355585a9e2fc0f526315479bf1f7bcb1a39c556bf44"}
662
+ Parameters: {"code"=>"0c34b659cb41fca2cc7afd0e1152a681880300a1c0a9b4ced3aeb4c4c8c91d10", "state"=>"6055cd0ea4a4e1f6b5709a4b8e104a542f5eb986f54527cd"}
650
663
  Authenticating with gds_sso strategy
651
664
  User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
652
665
   (0.1ms) begin transaction
@@ -655,924 +668,911 @@ Authenticating with gds_sso strategy
655
668
   (0.0ms) commit transaction
656
669
  Redirected to http://www.example-client.com/restricted
657
670
  Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
658
- Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:37 +0000
671
+ Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:36:59 +0000
659
672
  Processing by ExampleController#restricted as HTML
660
- 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]]
673
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
661
674
  Rendering text template
662
675
  Rendered text template (0.0ms)
663
- Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.2ms)
664
- Started GET "/restricted" for 127.0.0.1 at 2019-07-20 07:31:37 +0000
676
+ Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
677
+ Started GET "/restricted" for 127.0.0.1 at 2019-11-06 06:41:59 +0000
665
678
  Processing by ExampleController#restricted as HTML
666
679
  Authenticating with gds_sso strategy
667
680
  Completed in 1ms (ActiveRecord: 0.0ms)
668
- Started GET "/auth/gds" for 127.0.0.1 at 2019-07-20 07:31:37 +0000
669
- Started GET "/auth/gds/callback?code=53d67701a72b7915a3ed0123f6ed0218efd6c8d3cda761eadcdc2fe07c7c2c3b&state=cfd24ecedc22e6f3f1b172beadf12314aec60bfcb22f6881" for 127.0.0.1 at 2019-07-20 07:31:37 +0000
681
+ Started GET "/auth/gds" for 127.0.0.1 at 2019-11-06 06:41:59 +0000
682
+ Started GET "/auth/gds/callback?code=3ce04ed5a5e9bd2ef870a951ce55476f4e9b2cc650f7f9ce93522a700438cdcd&state=15a787623a75992d694d65584705620f9565b074ed59b0bc" for 127.0.0.1 at 2019-11-06 06:41:59 +0000
670
683
  Processing by AuthenticationsController#callback as HTML
671
- Parameters: {"code"=>"53d67701a72b7915a3ed0123f6ed0218efd6c8d3cda761eadcdc2fe07c7c2c3b", "state"=>"cfd24ecedc22e6f3f1b172beadf12314aec60bfcb22f6881"}
684
+ Parameters: {"code"=>"3ce04ed5a5e9bd2ef870a951ce55476f4e9b2cc650f7f9ce93522a700438cdcd", "state"=>"15a787623a75992d694d65584705620f9565b074ed59b0bc"}
672
685
  Authenticating with gds_sso strategy
673
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
686
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
674
687
   (0.1ms) begin transaction
675
688
   (0.0ms) commit transaction
676
689
   (0.0ms) begin transaction
677
690
   (0.0ms) commit transaction
678
691
  Redirected to http://www.example-client.com/restricted
679
- Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
680
- Started GET "/restricted" for 127.0.0.1 at 2019-07-20 07:31:37 +0000
692
+ Completed 302 Found in 6ms (ActiveRecord: 0.4ms)
693
+ Started GET "/restricted" for 127.0.0.1 at 2019-11-06 06:41:59 +0000
681
694
  Processing by ExampleController#restricted as HTML
682
695
  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]]
683
696
  Rendering text template
684
697
  Rendered text template (0.0ms)
685
- Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
686
- Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:37 +0000
698
+ Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
699
+ Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:36:59 +0000
687
700
  Processing by ExampleController#restricted as HTML
688
701
  Authenticating with gds_sso strategy
689
702
  Completed in 0ms (ActiveRecord: 0.0ms)
690
- Started GET "/auth/gds" for 127.0.0.1 at 2019-07-19 11:26:37 +0000
691
- Started GET "/auth/gds/callback?code=a7d7a1fc47a22bb51de8afbfc3f311b20e4e8f4ada3f8b71698b681115a9b132&state=55575dbe38c4b3652a5ba2ba952d5ee410198fd5a725f66f" for 127.0.0.1 at 2019-07-19 11:26:38 +0000
703
+ Started GET "/auth/gds" for 127.0.0.1 at 2019-11-05 10:36:59 +0000
704
+ Started GET "/auth/gds/callback?code=a60f183429d93f0ff6b6093a6fe5076af39d01b0961bb8b88f816a68dde35b61&state=ab326e7608a6ab3763ae84c74ca0ef56b635ca845dae6d8a" for 127.0.0.1 at 2019-11-05 10:36:59 +0000
692
705
  Processing by AuthenticationsController#callback as HTML
693
- Parameters: {"code"=>"a7d7a1fc47a22bb51de8afbfc3f311b20e4e8f4ada3f8b71698b681115a9b132", "state"=>"55575dbe38c4b3652a5ba2ba952d5ee410198fd5a725f66f"}
706
+ Parameters: {"code"=>"a60f183429d93f0ff6b6093a6fe5076af39d01b0961bb8b88f816a68dde35b61", "state"=>"ab326e7608a6ab3763ae84c74ca0ef56b635ca845dae6d8a"}
694
707
  Authenticating with gds_sso strategy
695
708
  User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
696
709
   (0.1ms) begin transaction
697
710
   (0.0ms) commit transaction
698
-  (0.0ms) begin transaction
711
+  (0.1ms) begin transaction
699
712
   (0.0ms) commit transaction
700
713
  Redirected to http://www.example-client.com/restricted
701
- Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
702
- Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:38 +0000
703
- Processing by ExampleController#restricted as HTML
704
- 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]]
705
- Rendering text template
706
- Rendered text template (0.0ms)
707
- Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
708
- Started GET "/restricted" for 127.0.0.1 at 2019-07-20 07:21:38 +0000
714
+ Completed 302 Found in 5ms (ActiveRecord: 0.4ms)
715
+ Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:36:59 +0000
709
716
  Processing by ExampleController#restricted as HTML
710
717
  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]]
711
718
  Rendering text template
712
719
  Rendered text template (0.0ms)
713
- Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
714
- Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:38 +0000
720
+ Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
721
+ Started GET "/restricted" for 127.0.0.1 at 2019-11-06 06:41:59 +0000
715
722
  Processing by ExampleController#restricted as HTML
716
723
  Authenticating with gds_sso strategy
717
724
  Completed in 0ms (ActiveRecord: 0.0ms)
725
+ Started GET "/auth/gds" for 127.0.0.1 at 2019-11-06 06:41:59 +0000
726
+  (0.1ms) begin transaction
727
+ User Create (0.3ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d38035"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
728
+  (5.7ms) commit transaction
718
729
   (0.0ms) begin transaction
719
- User Create (0.3ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d34228"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
720
-  (4.0ms) commit transaction
721
-  (0.0ms) begin transaction
722
- User Create (0.5ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d33316"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
723
-  (3.3ms) commit transaction
724
- Processing by Api::UserController#update as HTML
725
- Parameters: {"uid"=>"a1s2d34228"}
726
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "a1s2d34228"], ["LIMIT", 1]]
727
-  (0.0ms) begin transaction
728
- 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]]
729
-  (4.1ms) commit transaction
730
- Completed 200 OK in 7ms (ActiveRecord: 4.5ms)
731
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]]
732
-  (0.0ms) begin transaction
733
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d32448"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
734
-  (4.2ms) commit transaction
735
-  (0.0ms) begin transaction
736
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d35385"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
737
-  (2.9ms) commit transaction
730
+ User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d33022"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
731
+  (4.6ms) commit transaction
738
732
  Processing by Api::UserController#update as HTML
739
- Parameters: {"uid"=>"a1s2d32448"}
740
- Rendering /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
733
+ Parameters: {"uid"=>"a1s2d38035"}
734
+ Rendering /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
741
735
  Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
742
- Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
736
+ Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.3ms)
743
737
  Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
744
- Completed 403 Forbidden in 6ms (Views: 5.7ms | ActiveRecord: 0.0ms)
738
+ Completed 403 Forbidden in 8ms (Views: 7.0ms | ActiveRecord: 0.0ms)
745
739
   (0.0ms) begin transaction
746
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d36336"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
747
-  (3.3ms) commit transaction
748
-  (0.0ms) begin transaction
749
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d3676"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
750
-  (3.0ms) commit transaction
751
- Processing by Api::UserController#reauth as HTML
752
- Parameters: {"uid"=>"a1s2d36336"}
753
- Rendering /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
754
- Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
755
- Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
756
- Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
757
- Completed 403 Forbidden in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
740
+ User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d37622"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
741
+  (5.0ms) commit transaction
758
742
   (0.0ms) begin transaction
759
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d39533"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
760
-  (4.3ms) commit transaction
743
+ User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d31596"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
744
+  (3.5ms) commit transaction
745
+ Processing by Api::UserController#update as HTML
746
+ Parameters: {"uid"=>"a1s2d37622"}
747
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "a1s2d37622"], ["LIMIT", 1]]
748
+  (0.1ms) begin transaction
749
+ 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]]
750
+  (4.1ms) commit transaction
751
+ Completed 200 OK in 7ms (ActiveRecord: 4.5ms)
752
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]]
753
+  (0.1ms) begin transaction
754
+ User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d3221"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
755
+  (3.7ms) commit transaction
761
756
   (0.0ms) begin transaction
762
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d33794"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
763
-  (3.1ms) commit transaction
757
+ User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d31690"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
758
+  (4.8ms) commit transaction
764
759
  Processing by Api::UserController#reauth as HTML
765
760
  Parameters: {"uid"=>"nonexistent-user"}
766
761
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "nonexistent-user"], ["LIMIT", 1]]
767
762
  Completed 200 OK in 1ms (ActiveRecord: 0.1ms)
768
763
   (0.1ms) begin transaction
769
- User Create (0.3ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d35568"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
770
-  (3.9ms) commit transaction
764
+ User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d35266"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
765
+  (4.9ms) commit transaction
771
766
   (0.0ms) begin transaction
772
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d38626"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
773
-  (3.3ms) commit transaction
767
+ User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d36395"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
768
+  (3.2ms) commit transaction
774
769
  Processing by Api::UserController#reauth as HTML
775
- Parameters: {"uid"=>"a1s2d35568"}
776
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "a1s2d35568"], ["LIMIT", 1]]
770
+ Parameters: {"uid"=>"a1s2d35266"}
771
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "a1s2d35266"], ["LIMIT", 1]]
777
772
   (0.0ms) begin transaction
778
- User Update (0.2ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 11]]
779
-  (3.6ms) commit transaction
780
- Completed 200 OK in 6ms (ActiveRecord: 4.0ms)
781
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 11], ["LIMIT", 1]]
782
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "asd"], ["LIMIT", 1]]
783
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "user@example.com"], ["LIMIT", 1]]
784
-  (0.1ms) begin transaction
785
- 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]]
786
-  (4.3ms) commit transaction
787
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "asd"], ["LIMIT", 1]]
773
+ User Update (0.2ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 10]]
774
+  (4.1ms) commit transaction
775
+ Completed 200 OK in 6ms (ActiveRecord: 4.5ms)
776
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 10], ["LIMIT", 1]]
788
777
   (0.0ms) begin transaction
789
-  (0.0ms) commit transaction
778
+ User Create (0.3ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d35714"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
779
+  (4.7ms) commit transaction
780
+  (0.0ms) begin transaction
781
+ User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d35711"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
782
+  (4.1ms) commit transaction
783
+ Processing by Api::UserController#reauth as HTML
784
+ Parameters: {"uid"=>"a1s2d35714"}
785
+ Rendering /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
786
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
787
+ Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
788
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
789
+ Completed 403 Forbidden in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
790
790
   (4.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "uid" varchar NOT NULL, "email" varchar NOT NULL, "remotely_signed_out" boolean, "permissions" text, "organisation_slug" varchar, "organisation_content_id" varchar, "disabled" boolean DEFAULT 'f') 
791
-  (4.5ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
791
+  (5.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
792
792
   (0.1ms) select sqlite_version(*)
793
-  (3.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
794
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "asd"]]
795
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "user@example.com"]]
793
+  (5.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
794
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "dummyapiuser@domain.com"]]
795
+  (0.1ms) begin transaction
796
+ SQL (0.3ms) INSERT INTO "users" ("email", "uid", "name", "permissions") VALUES (?, ?, ?, ?) [["email", "dummyapiuser@domain.com"], ["uid", "5322"], ["name", "Dummy API user created by gds-sso"], ["permissions", "---\n- signin\n"]]
797
+  (6.1ms) commit transaction
796
798
   (0.1ms) begin transaction
797
- SQL (0.2ms) INSERT INTO "users" ("uid", "email", "name", "permissions", "organisation_slug", "organisation_content_id", "disabled") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "asd"], ["email", "user@example.com"], ["name", "A Name"], ["permissions", "---\n- signin\n"], ["organisation_slug", "hmrc"], ["organisation_content_id", "67a2b78d-eee3-45b3-80e2-792e7f71cecc"], ["disabled", nil]]
798
-  (3.6ms) commit transaction
799
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "asd"]]
800
-  (0.0ms) begin transaction
801
-  (0.1ms) commit transaction
802
- Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:45 +0000
803
- Processing by ExampleController#restricted as JSON
804
- Completed in 34ms (ActiveRecord: 0.0ms)
805
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-07-19 11:26:45 +0000
799
+ SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = ? [["permissions", "---\n- signin\n- extra_permission\n"], ["id", 1]]
800
+  (4.9ms) commit transaction
801
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "asd"]]
802
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "user@example.com"]]
803
+  (0.1ms) begin transaction
804
+ SQL (0.7ms) INSERT INTO "users" ("uid", "email", "name", "permissions", "organisation_slug", "organisation_content_id", "disabled") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "asd"], ["email", "user@example.com"], ["name", "A Name"], ["permissions", "---\n- signin\n"], ["organisation_slug", "hmrc"], ["organisation_content_id", "67a2b78d-eee3-45b3-80e2-792e7f71cecc"], ["disabled", nil]]
805
+  (5.6ms) commit transaction
806
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "asd"]]
807
+  (0.0ms) begin transaction
808
+  (0.1ms) commit transaction
809
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-11-05 10:37:07 +0000
806
810
  Processing by ExampleController#this_requires_signin_permission as JSON
807
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
808
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "test@example-client.com"]]
809
-  (0.0ms) begin transaction
810
- SQL (0.2ms) INSERT INTO "users" ("uid", "email", "name", "permissions", "disabled") VALUES (?, ?, ?, ?, ?) [["uid", "integration-uid"], ["email", "test@example-client.com"], ["name", "Test User"], ["permissions", "---\n- signin\n"], ["disabled", nil]]
811
-  (5.1ms) commit transaction
812
811
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
813
-  (0.0ms) begin transaction
814
-  (0.0ms) commit transaction
815
- CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
812
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "test@example-client.com"]]
816
813
   (0.1ms) begin transaction
817
-  (0.0ms) commit transaction
814
+ SQL (0.3ms) INSERT INTO "users" ("uid", "email", "name", "permissions", "disabled") VALUES (?, ?, ?, ?, ?) [["uid", "integration-uid"], ["email", "test@example-client.com"], ["name", "Test User"], ["permissions", "---\n- signin\n"], ["disabled", nil]]
815
+  (6.0ms) commit transaction
816
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
817
+  (0.0ms) begin transaction
818
+  (0.1ms) commit transaction
818
819
  CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
819
820
   (0.1ms) begin transaction
820
821
   (0.1ms) commit transaction
821
-  (0.1ms) begin transaction
822
- SQL (0.2ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "f"], ["id", 2]]
823
-  (3.7ms) commit transaction
822
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
823
+  (0.1ms) begin transaction
824
+  (0.1ms) commit transaction
825
+  (0.1ms) begin transaction
826
+ SQL (0.2ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "f"], ["id", 3]]
827
+  (5.9ms) commit transaction
824
828
  Rendered text template (0.0ms)
825
- Completed 200 OK in 72ms (Views: 10.4ms | ActiveRecord: 10.1ms)
826
- Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:45 +0000
829
+ Completed 200 OK in 113ms (Views: 12.6ms | ActiveRecord: 13.4ms)
830
+ Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:37:07 +0000
827
831
  Processing by ExampleController#restricted as JSON
828
- Completed in 11ms (ActiveRecord: 0.0ms)
829
- Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:45 +0000
832
+ Completed in 13ms (ActiveRecord: 0.0ms)
833
+ Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:37:07 +0000
830
834
  Processing by ExampleController#restricted as JSON
831
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
832
-  (0.1ms) begin transaction
833
-  (0.0ms) commit transaction
834
- CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
835
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
835
836
   (0.1ms) begin transaction
836
837
   (0.1ms) commit transaction
837
838
  CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
838
-  (0.1ms) begin transaction
839
-  (0.0ms) commit transaction
839
+  (0.0ms) begin transaction
840
+  (0.1ms) commit transaction
840
841
  CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
841
842
   (0.1ms) begin transaction
842
-  (0.0ms) commit transaction
843
-  (0.0ms) begin transaction
844
-  (0.0ms) commit transaction
843
+  (0.1ms) commit transaction
844
+ CACHE (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
845
+  (0.1ms) begin transaction
846
+  (0.0ms) commit transaction
847
+  (0.0ms) begin transaction
848
+  (0.1ms) commit transaction
845
849
  Rendered text template (0.0ms)
846
- Completed 200 OK in 51ms (Views: 0.2ms | ActiveRecord: 0.7ms)
847
- Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:46 +0000
850
+ Completed 200 OK in 53ms (Views: 0.3ms | ActiveRecord: 0.8ms)
851
+ Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:37:07 +0000
852
+ Processing by ExampleController#restricted as JSON
853
+ Completed in 18ms (ActiveRecord: 0.0ms)
854
+ Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:37:07 +0000
855
+ Processing by ExampleController#restricted as HTML
856
+ Authenticating with gds_sso strategy
857
+ Completed in 0ms (ActiveRecord: 0.0ms)
858
+ Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:37:07 +0000
848
859
  Processing by ExampleController#restricted as HTML
849
860
  Authenticating with gds_sso strategy
850
861
  Completed in 0ms (ActiveRecord: 0.0ms)
851
- Started GET "/auth/gds" for 127.0.0.1 at 2019-07-19 11:26:46 +0000
852
- Started GET "/auth/gds/callback?code=46491738f1aaddfb6b3ea4738a6a7bdec78409001eb1fa35af500390d47874a5&state=893a3935dda233f21be1a28576524d7ba723084adcf2bcd3" for 127.0.0.1 at 2019-07-19 11:26:46 +0000
862
+ Started GET "/auth/gds" for 127.0.0.1 at 2019-11-05 10:37:07 +0000
863
+ Started GET "/auth/gds/callback?code=65f0532d51b84821696b65646d3488c2b65db8be6d7a56090a5acc58996c0d6a&state=542207dc7276283bc1eff1b9ea6a354be2fccfd4856166ab" for 127.0.0.1 at 2019-11-05 10:37:07 +0000
853
864
  Processing by AuthenticationsController#callback as HTML
854
- Parameters: {"code"=>"46491738f1aaddfb6b3ea4738a6a7bdec78409001eb1fa35af500390d47874a5", "state"=>"893a3935dda233f21be1a28576524d7ba723084adcf2bcd3"}
865
+ Parameters: {"code"=>"65f0532d51b84821696b65646d3488c2b65db8be6d7a56090a5acc58996c0d6a", "state"=>"542207dc7276283bc1eff1b9ea6a354be2fccfd4856166ab"}
855
866
  Authenticating with gds_sso strategy
856
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
867
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
868
+  (0.1ms) begin transaction
869
+ SQL (0.3ms) UPDATE "users" SET "disabled" = ? WHERE "users"."id" = ? [["disabled", "f"], ["id", 3]]
870
+  (5.9ms) commit transaction
857
871
   (0.1ms) begin transaction
858
- SQL (0.2ms) UPDATE "users" SET "disabled" = ? WHERE "users"."id" = ? [["disabled", "f"], ["id", 2]]
859
-  (3.5ms) commit transaction
860
-  (0.0ms) begin transaction
861
-  (0.8ms) commit transaction
872
+  (0.1ms) commit transaction
862
873
  Redirected to http://www.example-client.com/restricted
863
- Completed 302 Found in 10ms (ActiveRecord: 4.8ms)
864
- Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:46 +0000
874
+ Completed 302 Found in 11ms (ActiveRecord: 6.6ms)
875
+ Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:37:07 +0000
865
876
  Processing by ExampleController#restricted as HTML
866
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
877
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
867
878
  Rendered text template (0.0ms)
868
- Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.2ms)
869
- Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:46 +0000
879
+ Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
880
+ Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:37:07 +0000
870
881
  Processing by ExampleController#restricted as HTML
871
882
  Authenticating with gds_sso strategy
872
- Completed in 1ms (ActiveRecord: 0.0ms)
873
- Started GET "/auth/gds" for 127.0.0.1 at 2019-07-19 11:26:46 +0000
874
- Started GET "/auth/gds/callback?code=278b47d54129f3dd2bad638d0a46a7053f2c7be1b862e8ddff5cf33a23dd98e8&state=31513a37b3ea74a950c3de0164cc26a17715c2847b201edf" for 127.0.0.1 at 2019-07-19 11:26:46 +0000
883
+ Completed in 0ms (ActiveRecord: 0.0ms)
884
+ Started GET "/auth/gds" for 127.0.0.1 at 2019-11-05 10:37:07 +0000
885
+ Started GET "/auth/gds/callback?code=47970ddb0e24fe2b0a216f0ef7d8585257bfba4dc8a88713af3cb010a14d24dd&state=875701d7f824e509016238c4e374d89fa633e28ba8a1bda5" for 127.0.0.1 at 2019-11-05 10:37:07 +0000
875
886
  Processing by AuthenticationsController#callback as HTML
876
- Parameters: {"code"=>"278b47d54129f3dd2bad638d0a46a7053f2c7be1b862e8ddff5cf33a23dd98e8", "state"=>"31513a37b3ea74a950c3de0164cc26a17715c2847b201edf"}
887
+ Parameters: {"code"=>"47970ddb0e24fe2b0a216f0ef7d8585257bfba4dc8a88713af3cb010a14d24dd", "state"=>"875701d7f824e509016238c4e374d89fa633e28ba8a1bda5"}
877
888
  Authenticating with gds_sso strategy
878
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
879
-  (0.1ms) begin transaction
880
-  (0.0ms) commit transaction
881
-  (0.0ms) begin transaction
882
-  (0.0ms) commit transaction
889
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
890
+  (0.1ms) begin transaction
891
+  (0.1ms) commit transaction
892
+  (0.1ms) begin transaction
893
+  (0.1ms) commit transaction
883
894
  Redirected to http://www.example-client.com/restricted
884
- Completed 302 Found in 6ms (ActiveRecord: 0.3ms)
885
- Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:46 +0000
895
+ Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
896
+ Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:37:07 +0000
886
897
  Processing by ExampleController#restricted as HTML
887
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
888
- Rendered text template (0.0ms)
889
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
890
- Started GET "/" for 127.0.0.1 at 2019-07-19 11:26:46 +0000
891
- Processing by ExampleController#index as HTML
898
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
892
899
  Rendered text template (0.0ms)
893
- Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
894
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-07-19 11:26:46 +0000
900
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
901
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-11-05 10:37:07 +0000
895
902
  Processing by ExampleController#this_requires_signin_permission as HTML
896
903
  Authenticating with gds_sso strategy
897
904
  Completed in 0ms (ActiveRecord: 0.0ms)
898
- Started GET "/auth/gds" for 127.0.0.1 at 2019-07-19 11:26:46 +0000
899
- Started GET "/auth/gds/callback?code=a05dea05377b77097cf1d1a787a42a6a257fa8b649771b02480ec3639380f69c&state=f06d1e2b7dcee87954727a48556fe69ff1aad3ed826200dc" for 127.0.0.1 at 2019-07-19 11:26:46 +0000
905
+ Started GET "/auth/gds" for 127.0.0.1 at 2019-11-05 10:37:07 +0000
906
+ Started GET "/auth/gds/callback?code=26847ed8dbe9621e9a46675fd9bbc4b18fbe56221a332926f27cc9afb14fdd39&state=c395c444a6019e0f8f7406be93f4f957dbfe0c443f93f8fc" for 127.0.0.1 at 2019-11-05 10:37:08 +0000
900
907
  Processing by AuthenticationsController#callback as HTML
901
- Parameters: {"code"=>"a05dea05377b77097cf1d1a787a42a6a257fa8b649771b02480ec3639380f69c", "state"=>"f06d1e2b7dcee87954727a48556fe69ff1aad3ed826200dc"}
908
+ Parameters: {"code"=>"26847ed8dbe9621e9a46675fd9bbc4b18fbe56221a332926f27cc9afb14fdd39", "state"=>"c395c444a6019e0f8f7406be93f4f957dbfe0c443f93f8fc"}
902
909
  Authenticating with gds_sso strategy
903
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
904
-  (0.1ms) begin transaction
905
-  (0.1ms) commit transaction
906
-  (0.0ms) begin transaction
907
-  (0.1ms) commit transaction
910
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
911
+  (0.1ms) begin transaction
912
+  (0.0ms) commit transaction
913
+  (0.1ms) begin transaction
914
+  (0.1ms) commit transaction
908
915
  Redirected to http://www.example-client.com/this_requires_signin_permission
909
- Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
910
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-07-19 11:26:46 +0000
916
+ Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
917
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-11-05 10:37:08 +0000
911
918
  Processing by ExampleController#this_requires_signin_permission as HTML
912
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
919
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
913
920
  Rendered text template (0.0ms)
914
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
915
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-07-19 11:26:46 +0000
921
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
922
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-11-05 10:37:08 +0000
916
923
  Processing by ExampleController#this_requires_signin_permission as HTML
917
924
  Authenticating with gds_sso strategy
918
925
  Completed in 0ms (ActiveRecord: 0.0ms)
919
- Started GET "/auth/gds" for 127.0.0.1 at 2019-07-19 11:26:46 +0000
920
- Started GET "/auth/gds/callback?code=78fd4c0dfda27773d11b80e8a676f87bf352ea9dd6663a1cf982c7bfbf5da528&state=bc56e631805f2d03729c6768484c09c7a3d4062949f55aa3" for 127.0.0.1 at 2019-07-19 11:26:46 +0000
926
+ Started GET "/auth/gds" for 127.0.0.1 at 2019-11-05 10:37:08 +0000
927
+ Started GET "/auth/gds/callback?code=0c38c6a2b81cf239e53e051d8445d4904faa7c6e7f7094a8ab1a122046f4e04e&state=878a64c2b1a2569a27d5d597bcfcf2af9d9b950541d07fa8" for 127.0.0.1 at 2019-11-05 10:37:08 +0000
921
928
  Processing by AuthenticationsController#callback as HTML
922
- Parameters: {"code"=>"78fd4c0dfda27773d11b80e8a676f87bf352ea9dd6663a1cf982c7bfbf5da528", "state"=>"bc56e631805f2d03729c6768484c09c7a3d4062949f55aa3"}
929
+ Parameters: {"code"=>"0c38c6a2b81cf239e53e051d8445d4904faa7c6e7f7094a8ab1a122046f4e04e", "state"=>"878a64c2b1a2569a27d5d597bcfcf2af9d9b950541d07fa8"}
923
930
  Authenticating with gds_sso strategy
924
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
925
-  (0.1ms) begin transaction
926
-  (0.1ms) commit transaction
927
-  (0.0ms) begin transaction
928
-  (0.0ms) commit transaction
931
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
932
+  (0.1ms) begin transaction
933
+  (0.1ms) commit transaction
934
+  (0.1ms) begin transaction
935
+  (0.1ms) commit transaction
929
936
  Redirected to http://www.example-client.com/this_requires_signin_permission
930
- Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
931
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-07-19 11:26:46 +0000
937
+ Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
938
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-11-05 10:37:08 +0000
932
939
  Processing by ExampleController#this_requires_signin_permission as HTML
933
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
940
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
934
941
  Rendered text template (0.0ms)
935
942
  Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
936
- Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:46 +0000
943
+ Started GET "/" for 127.0.0.1 at 2019-11-05 10:37:08 +0000
944
+ Processing by ExampleController#index as HTML
945
+ Rendered text template (0.0ms)
946
+ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
947
+ Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:37:08 +0000
937
948
  Processing by ExampleController#restricted as HTML
938
949
  Authenticating with gds_sso strategy
939
950
  Completed in 0ms (ActiveRecord: 0.0ms)
940
- Started GET "/auth/gds" for 127.0.0.1 at 2019-07-19 11:26:46 +0000
941
- Started GET "/auth/gds/callback?code=4ebaa83e246a308282e405b5fa0d67fd9b94a7ae97883460d2b3270ec6b0342b&state=d73a86aa2c6b4cb1d8311d775aac6d3c39010f11750115d3" for 127.0.0.1 at 2019-07-19 11:26:46 +0000
951
+ Started GET "/auth/gds" for 127.0.0.1 at 2019-11-05 10:37:08 +0000
952
+ Started GET "/auth/gds/callback?code=70f890c37306f6a5847e7fc45efd74c818ac579937c406189bf2725e0976ba7e&state=3810aa6604f0446ea31f28ed3ae675050cf45142413ced60" for 127.0.0.1 at 2019-11-05 10:37:08 +0000
942
953
  Processing by AuthenticationsController#callback as HTML
943
- Parameters: {"code"=>"4ebaa83e246a308282e405b5fa0d67fd9b94a7ae97883460d2b3270ec6b0342b", "state"=>"d73a86aa2c6b4cb1d8311d775aac6d3c39010f11750115d3"}
954
+ Parameters: {"code"=>"70f890c37306f6a5847e7fc45efd74c818ac579937c406189bf2725e0976ba7e", "state"=>"3810aa6604f0446ea31f28ed3ae675050cf45142413ced60"}
944
955
  Authenticating with gds_sso strategy
945
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
946
-  (0.0ms) begin transaction
947
-  (0.1ms) commit transaction
948
-  (0.0ms) begin transaction
949
-  (0.0ms) commit transaction
956
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
957
+  (0.1ms) begin transaction
958
+  (0.1ms) commit transaction
959
+  (0.0ms) begin transaction
960
+  (0.0ms) commit transaction
961
+ Redirected to http://www.example-client.com/restricted
962
+ Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
963
+ Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:37:08 +0000
964
+ Processing by ExampleController#restricted as HTML
965
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
966
+ Rendered text template (0.0ms)
967
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
968
+ Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:37:08 +0000
969
+ Processing by ExampleController#restricted as HTML
970
+ Authenticating with gds_sso strategy
971
+ Completed in 0ms (ActiveRecord: 0.0ms)
972
+ Started GET "/auth/gds" for 127.0.0.1 at 2019-11-05 10:37:08 +0000
973
+ Started GET "/auth/gds/callback?code=8363cb484649d75ddc86f9176a100ece790303ee103be7b0ff73988c29d8bbd7&state=20782fda4f3d4c602ef93c9ee09841f445d62fbdaefad370" for 127.0.0.1 at 2019-11-05 10:37:08 +0000
974
+ Processing by AuthenticationsController#callback as HTML
975
+ Parameters: {"code"=>"8363cb484649d75ddc86f9176a100ece790303ee103be7b0ff73988c29d8bbd7", "state"=>"20782fda4f3d4c602ef93c9ee09841f445d62fbdaefad370"}
976
+ Authenticating with gds_sso strategy
977
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
978
+  (0.1ms) begin transaction
979
+  (0.1ms) commit transaction
980
+  (0.1ms) begin transaction
981
+  (0.1ms) commit transaction
950
982
  Redirected to http://www.example-client.com/restricted
951
- Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
952
- Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:46 +0000
983
+ Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
984
+ Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:37:08 +0000
985
+ Processing by ExampleController#restricted as HTML
986
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
987
+ Rendered text template (0.0ms)
988
+ Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.1ms)
989
+ Started GET "/restricted" for 127.0.0.1 at 2019-11-06 06:32:08 +0000
953
990
  Processing by ExampleController#restricted as HTML
954
991
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
955
992
  Rendered text template (0.0ms)
956
993
  Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
957
- Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:46 +0000
994
+ Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:37:08 +0000
958
995
  Processing by ExampleController#restricted as HTML
959
996
  Authenticating with gds_sso strategy
960
997
  Completed in 0ms (ActiveRecord: 0.0ms)
961
- Started GET "/auth/gds" for 127.0.0.1 at 2019-07-19 11:26:46 +0000
962
- Started GET "/auth/gds/callback?code=72595e36995298969be3e0e57c14e3bc110dc3352ee056555ee1a96621fe2fd5&state=68cbe4da58fb5978ead14a7cee63f44dc10f9d30258f42b1" for 127.0.0.1 at 2019-07-19 11:26:47 +0000
998
+ Started GET "/auth/gds" for 127.0.0.1 at 2019-11-05 10:37:08 +0000
999
+ Started GET "/auth/gds/callback?code=754071cdf58d47b324fe03ccc52d23a31c4ff6ebae4048d48ba9c4d77652ebe6&state=77285998fb01c1418d985d3781fdfb01bf8eac9c657b1215" for 127.0.0.1 at 2019-11-05 10:37:08 +0000
963
1000
  Processing by AuthenticationsController#callback as HTML
964
- Parameters: {"code"=>"72595e36995298969be3e0e57c14e3bc110dc3352ee056555ee1a96621fe2fd5", "state"=>"68cbe4da58fb5978ead14a7cee63f44dc10f9d30258f42b1"}
1001
+ Parameters: {"code"=>"754071cdf58d47b324fe03ccc52d23a31c4ff6ebae4048d48ba9c4d77652ebe6", "state"=>"77285998fb01c1418d985d3781fdfb01bf8eac9c657b1215"}
965
1002
  Authenticating with gds_sso strategy
966
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
1003
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
967
1004
   (0.1ms) begin transaction
968
-  (0.1ms) commit transaction
1005
+  (0.0ms) commit transaction
969
1006
   (0.0ms) begin transaction
970
-  (0.1ms) commit transaction
1007
+  (0.0ms) commit transaction
971
1008
  Redirected to http://www.example-client.com/restricted
972
- Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
973
- Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:47 +0000
1009
+ Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
1010
+ Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:37:08 +0000
974
1011
  Processing by ExampleController#restricted as HTML
975
1012
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
976
1013
  Rendered text template (0.0ms)
977
1014
  Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
978
- Started GET "/restricted" for 127.0.0.1 at 2019-07-20 07:31:47 +0000
1015
+ Started GET "/restricted" for 127.0.0.1 at 2019-11-06 06:42:08 +0000
1016
+ Processing by ExampleController#restricted as HTML
1017
+ Authenticating with gds_sso strategy
1018
+ Completed in 0ms (ActiveRecord: 0.0ms)
1019
+ Started GET "/auth/gds" for 127.0.0.1 at 2019-11-06 06:42:08 +0000
1020
+ Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:37:08 +0000
979
1021
  Processing by ExampleController#restricted as HTML
980
1022
  Authenticating with gds_sso strategy
981
1023
  Completed in 0ms (ActiveRecord: 0.0ms)
982
- Started GET "/auth/gds" for 127.0.0.1 at 2019-07-20 07:31:47 +0000
983
- Started GET "/auth/gds/callback?code=5e3aae247f586f8b66e8b3435c40eadd94306eb1228b18083c23a7f5c6505de0&state=9877cea207b7932fac6c73e7476c0e8d556fc58b89f482e0" for 127.0.0.1 at 2019-07-20 07:31:47 +0000
1024
+ Started GET "/auth/gds" for 127.0.0.1 at 2019-11-05 10:37:08 +0000
1025
+ Started GET "/auth/gds/callback?code=791d52d3c37c24bd5cc03d4695b7fd0a52277c378c2542af00dffeaeeba9b28f&state=32208253b8e8dbcc2b0397cf8b0adf8dadf08fdf85e07201" for 127.0.0.1 at 2019-11-05 10:37:08 +0000
984
1026
  Processing by AuthenticationsController#callback as HTML
985
- Parameters: {"code"=>"5e3aae247f586f8b66e8b3435c40eadd94306eb1228b18083c23a7f5c6505de0", "state"=>"9877cea207b7932fac6c73e7476c0e8d556fc58b89f482e0"}
1027
+ Parameters: {"code"=>"791d52d3c37c24bd5cc03d4695b7fd0a52277c378c2542af00dffeaeeba9b28f", "state"=>"32208253b8e8dbcc2b0397cf8b0adf8dadf08fdf85e07201"}
986
1028
  Authenticating with gds_sso strategy
987
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
1029
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
988
1030
   (0.1ms) begin transaction
989
-  (0.1ms) commit transaction
1031
+  (0.0ms) commit transaction
990
1032
   (0.1ms) begin transaction
991
-  (0.1ms) commit transaction
1033
+  (0.0ms) commit transaction
992
1034
  Redirected to http://www.example-client.com/restricted
993
- Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
994
- Started GET "/restricted" for 127.0.0.1 at 2019-07-20 07:31:47 +0000
1035
+ Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
1036
+ Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:37:09 +0000
995
1037
  Processing by ExampleController#restricted as HTML
996
1038
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
997
1039
  Rendered text template (0.0ms)
998
1040
  Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
999
- Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:47 +0000
1041
+ Started GET "/restricted" for 127.0.0.1 at 2019-11-06 06:42:09 +0000
1000
1042
  Processing by ExampleController#restricted as HTML
1001
1043
  Authenticating with gds_sso strategy
1002
1044
  Completed in 0ms (ActiveRecord: 0.0ms)
1003
- Started GET "/auth/gds" for 127.0.0.1 at 2019-07-19 11:26:47 +0000
1004
- Started GET "/auth/gds/callback?code=ba3c185aaf43f4e8cc0a3cdbb5b2aaa3b937f1851a05cf9733b34599c5e0deb8&state=ffd2d8c355fb34666ae467cd78ac26b51034736fbdb2c38c" for 127.0.0.1 at 2019-07-19 11:26:47 +0000
1045
+ Started GET "/auth/gds" for 127.0.0.1 at 2019-11-06 06:42:09 +0000
1046
+ Started GET "/auth/gds/callback?code=d276d5d03cc7ba7a594ee4ee7044b4efe034434d589aa54c835d8301a312e3f0&state=8b0ee869793cea797d0a4f1d57c32371aee69282bfc7a061" for 127.0.0.1 at 2019-11-06 06:42:09 +0000
1005
1047
  Processing by AuthenticationsController#callback as HTML
1006
- Parameters: {"code"=>"ba3c185aaf43f4e8cc0a3cdbb5b2aaa3b937f1851a05cf9733b34599c5e0deb8", "state"=>"ffd2d8c355fb34666ae467cd78ac26b51034736fbdb2c38c"}
1048
+ Parameters: {"code"=>"d276d5d03cc7ba7a594ee4ee7044b4efe034434d589aa54c835d8301a312e3f0", "state"=>"8b0ee869793cea797d0a4f1d57c32371aee69282bfc7a061"}
1007
1049
  Authenticating with gds_sso strategy
1008
1050
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
1009
-  (0.0ms) begin transaction
1051
+  (0.1ms) begin transaction
1010
1052
   (0.1ms) commit transaction
1011
1053
   (0.1ms) begin transaction
1012
1054
   (0.1ms) commit transaction
1013
1055
  Redirected to http://www.example-client.com/restricted
1014
- Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
1015
- Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:47 +0000
1056
+ Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
1057
+ Started GET "/restricted" for 127.0.0.1 at 2019-11-06 06:42:09 +0000
1016
1058
  Processing by ExampleController#restricted as HTML
1017
1059
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
1018
1060
  Rendered text template (0.0ms)
1019
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
1020
- Started GET "/restricted" for 127.0.0.1 at 2019-07-20 07:21:47 +0000
1021
- Processing by ExampleController#restricted as HTML
1022
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
1023
- Rendered text template (0.0ms)
1024
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
1025
- Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:47 +0000
1061
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
1062
+ Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:37:09 +0000
1026
1063
  Processing by ExampleController#restricted as HTML
1027
1064
  Authenticating with gds_sso strategy
1028
1065
  Completed in 0ms (ActiveRecord: 0.0ms)
1029
- Started GET "/auth/gds" for 127.0.0.1 at 2019-07-19 11:26:47 +0000
1030
- Started GET "/auth/gds/callback?code=1dfe530737f211bd9a913fa02b68fd7f638a3be297beb3402524249abdfa449c&state=b379062b6bb4c84dbf5f0704e2c8064fef216b66389dce09" for 127.0.0.1 at 2019-07-19 11:26:47 +0000
1066
+ Started GET "/auth/gds" for 127.0.0.1 at 2019-11-05 10:37:09 +0000
1067
+ Started GET "/auth/gds/callback?code=1b3fd05a055e9c704be76891b72bf1ac9bf62c8a8483d8c6349a1087618af5e6&state=484476ed341b3343fa78a4aeef1091a32aa34782fefd867c" for 127.0.0.1 at 2019-11-05 10:37:09 +0000
1031
1068
  Processing by AuthenticationsController#callback as HTML
1032
- Parameters: {"code"=>"1dfe530737f211bd9a913fa02b68fd7f638a3be297beb3402524249abdfa449c", "state"=>"b379062b6bb4c84dbf5f0704e2c8064fef216b66389dce09"}
1069
+ Parameters: {"code"=>"1b3fd05a055e9c704be76891b72bf1ac9bf62c8a8483d8c6349a1087618af5e6", "state"=>"484476ed341b3343fa78a4aeef1091a32aa34782fefd867c"}
1033
1070
  Authenticating with gds_sso strategy
1034
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
1035
-  (0.1ms) begin transaction
1036
-  (0.1ms) commit transaction
1037
-  (0.1ms) begin transaction
1038
-  (0.1ms) commit transaction
1071
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
1072
+  (0.1ms) begin transaction
1073
+  (0.0ms) commit transaction
1074
+  (0.0ms) begin transaction
1075
+  (0.0ms) commit transaction
1039
1076
  Redirected to http://www.example-client.com/restricted
1040
- Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
1041
- Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:47 +0000
1077
+ Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
1078
+ Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:37:09 +0000
1042
1079
  Processing by ExampleController#restricted as HTML
1043
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
1080
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
1044
1081
  Rendered text template (0.0ms)
1045
1082
  Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
1046
- Started GET "/restricted" for 127.0.0.1 at 2019-07-20 07:31:47 +0000
1047
- Processing by ExampleController#restricted as HTML
1048
- Authenticating with gds_sso strategy
1049
- Completed in 0ms (ActiveRecord: 0.0ms)
1050
- Started GET "/auth/gds" for 127.0.0.1 at 2019-07-20 07:31:47 +0000
1051
- Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:47 +0000
1083
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "test@example-client.com"]]
1084
+  (0.0ms) begin transaction
1085
+ SQL (0.2ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 3]]
1086
+  (5.7ms) commit transaction
1087
+ Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:37:09 +0000
1052
1088
  Processing by ExampleController#restricted as HTML
1089
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
1053
1090
  Authenticating with gds_sso strategy
1054
- Completed in 0ms (ActiveRecord: 0.0ms)
1055
- Started GET "/auth/gds" for 127.0.0.1 at 2019-07-19 11:26:47 +0000
1056
- Started GET "/auth/gds/callback?code=cc580a0f368a72a4ebcbb72025608f86068af9270475f95b901115159cf3f8f2&state=5220d96d9701fe227cc6f8979240d05dc630cfdf4bfcc3d6" for 127.0.0.1 at 2019-07-19 11:26:47 +0000
1091
+ Completed in 1ms (ActiveRecord: 0.1ms)
1092
+ Started GET "/auth/gds" for 127.0.0.1 at 2019-11-05 10:37:09 +0000
1093
+ Started GET "/auth/gds/callback?code=774988f3c64378d72974ef2cf91381de0f7128f10c1da845bb742da0778d9500&state=48999f245a06b1b4c4841b7aeaf4a55471f5a3195e74eff8" for 127.0.0.1 at 2019-11-05 10:37:09 +0000
1057
1094
  Processing by AuthenticationsController#callback as HTML
1058
- Parameters: {"code"=>"cc580a0f368a72a4ebcbb72025608f86068af9270475f95b901115159cf3f8f2", "state"=>"5220d96d9701fe227cc6f8979240d05dc630cfdf4bfcc3d6"}
1095
+ Parameters: {"code"=>"774988f3c64378d72974ef2cf91381de0f7128f10c1da845bb742da0778d9500", "state"=>"48999f245a06b1b4c4841b7aeaf4a55471f5a3195e74eff8"}
1059
1096
  Authenticating with gds_sso strategy
1060
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
1097
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
1061
1098
   (0.1ms) begin transaction
1062
1099
   (0.0ms) commit transaction
1063
1100
   (0.0ms) begin transaction
1064
-  (0.1ms) commit transaction
1101
+ SQL (0.2ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "f"], ["id", 3]]
1102
+  (4.7ms) commit transaction
1065
1103
  Redirected to http://www.example-client.com/restricted
1066
- Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
1067
- Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:47 +0000
1068
- Processing by ExampleController#restricted as HTML
1069
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
1070
- Rendered text template (0.0ms)
1071
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
1072
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "test@example-client.com"]]
1073
-  (0.0ms) begin transaction
1074
- SQL (0.2ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 2]]
1075
-  (4.6ms) commit transaction
1076
- Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:47 +0000
1104
+ Completed 302 Found in 9ms (ActiveRecord: 5.2ms)
1105
+ Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:37:09 +0000
1077
1106
  Processing by ExampleController#restricted as HTML
1078
1107
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
1079
- Authenticating with gds_sso strategy
1080
- Completed in 1ms (ActiveRecord: 0.1ms)
1081
- Started GET "/auth/gds" for 127.0.0.1 at 2019-07-19 11:26:47 +0000
1082
- Started GET "/auth/gds/callback?code=bb9e4a1274526f706447b6fa318b3560a622f09c28290d9c47c7f5173c002925&state=cc568eb11fc265c2c4a6eb6a5bca4b08923b83dca0c7fb66" for 127.0.0.1 at 2019-07-19 11:26:47 +0000
1083
- Processing by AuthenticationsController#callback as HTML
1084
- Parameters: {"code"=>"bb9e4a1274526f706447b6fa318b3560a622f09c28290d9c47c7f5173c002925", "state"=>"cc568eb11fc265c2c4a6eb6a5bca4b08923b83dca0c7fb66"}
1085
- Authenticating with gds_sso strategy
1086
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
1087
-  (0.1ms) begin transaction
1088
-  (0.0ms) commit transaction
1089
-  (0.0ms) begin transaction
1090
- SQL (0.2ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "f"], ["id", 2]]
1091
-  (4.5ms) commit transaction
1092
- Redirected to http://www.example-client.com/restricted
1093
- Completed 302 Found in 8ms (ActiveRecord: 4.9ms)
1094
- Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:47 +0000
1095
- Processing by ExampleController#restricted as HTML
1096
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
1097
1108
  Rendered text template (0.0ms)
1098
1109
  Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
1099
- Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:47 +0000
1100
- Processing by ExampleController#restricted as HTML
1101
- Authenticating with gds_sso strategy
1102
- Completed in 0ms (ActiveRecord: 0.0ms)
1103
-  (0.1ms) begin transaction
1104
- SQL (0.2ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d35190"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
1105
-  (5.4ms) commit transaction
1106
-  (0.0ms) begin transaction
1107
- SQL (0.2ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d36517"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1108
-  (7.9ms) commit transaction
1109
- Processing by Api::UserController#reauth as HTML
1110
- Parameters: {"uid"=>"a1s2d35190"}
1111
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "a1s2d35190"]]
1112
-  (0.0ms) begin transaction
1113
- SQL (0.2ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 3]]
1114
-  (4.1ms) commit transaction
1115
- Completed 200 OK in 6ms (ActiveRecord: 4.4ms)
1116
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
1117
-  (0.0ms) begin transaction
1118
- SQL (0.2ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d39409"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
1119
-  (4.0ms) commit transaction
1120
-  (0.0ms) begin transaction
1121
- SQL (0.2ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d37934"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1122
-  (3.6ms) commit transaction
1123
- Processing by Api::UserController#reauth as HTML
1124
- Parameters: {"uid"=>"a1s2d39409"}
1125
- Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
1126
- Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
1127
- Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
1128
- Completed 403 Forbidden in 6ms (Views: 6.0ms | ActiveRecord: 0.0ms)
1129
-  (0.1ms) begin transaction
1130
- SQL (0.2ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d34378"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
1131
-  (3.5ms) commit transaction
1132
-  (0.1ms) begin transaction
1133
- SQL (0.2ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d34681"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1134
-  (4.2ms) commit transaction
1135
- Processing by Api::UserController#reauth as HTML
1136
- Parameters: {"uid"=>"nonexistent-user"}
1137
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "nonexistent-user"]]
1138
- Completed 200 OK in 1ms (ActiveRecord: 0.1ms)
1139
-  (0.0ms) begin transaction
1140
- SQL (0.2ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d38945"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
1141
-  (4.5ms) commit transaction
1142
-  (0.0ms) begin transaction
1143
- SQL (0.2ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d31389"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1144
-  (3.4ms) commit transaction
1145
- Processing by Api::UserController#update as HTML
1146
- Parameters: {"uid"=>"a1s2d38945"}
1147
- Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
1148
- Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
1149
- Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
1150
- Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
1151
-  (0.1ms) begin transaction
1152
- SQL (0.2ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d31593"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
1153
-  (3.6ms) commit transaction
1154
-  (0.0ms) begin transaction
1155
- SQL (0.2ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d35797"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1156
-  (4.1ms) commit transaction
1157
- Processing by Api::UserController#update as HTML
1158
- Parameters: {"uid"=>"a1s2d31593"}
1159
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "a1s2d31593"]]
1160
1110
   (0.0ms) begin transaction
1161
- SQL (0.2ms) UPDATE "users" SET "email" = ?, "name" = ?, "permissions" = ?, "organisation_slug" = ?, "organisation_content_id" = ? WHERE "users"."id" = ? [["email", "user@domain.com"], ["name", "Joshua Marshall"], ["permissions", "---\n- signin\n- new permission\n"], ["organisation_slug", "justice-league"], ["organisation_content_id", "aae1319e-5788-4677-998c-f1a53af528d0"], ["id", 11]]
1162
-  (3.4ms) commit transaction
1163
- Completed 200 OK in 6ms (ActiveRecord: 3.8ms)
1164
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 11]]
1165
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "dummyapiuser@domain.com"]]
1166
-  (0.3ms) begin transaction
1167
- SQL (0.2ms) INSERT INTO "users" ("email", "uid", "name", "permissions") VALUES (?, ?, ?, ?) [["email", "dummyapiuser@domain.com"], ["uid", "3224"], ["name", "Dummy API user created by gds-sso"], ["permissions", "---\n- signin\n"]]
1168
-  (3.9ms) commit transaction
1169
-  (0.1ms) begin transaction
1170
- SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = ? [["permissions", "---\n- signin\n- extra_permission\n"], ["id", 13]]
1171
-  (4.5ms) commit transaction
1172
-  (0.1ms) DROP TABLE IF EXISTS "users"
1173
-  (1.6ms) SELECT sqlite_version(*)
1174
-  (5.3ms) CREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "uid" varchar NOT NULL, "email" varchar NOT NULL, "remotely_signed_out" boolean, "permissions" text, "organisation_slug" varchar, "organisation_content_id" varchar, "disabled" boolean DEFAULT 'f')
1175
-  (5.9ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1176
- ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
1177
-  (0.1ms) begin transaction
1178
- ActiveRecord::InternalMetadata Create (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2019-07-19 11:26:54.144424"], ["updated_at", "2019-07-19 11:26:54.144424"]]
1179
-  (4.8ms) commit transaction
1180
-  (5.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
1181
- ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
1182
-  (0.0ms) begin transaction
1183
-  (0.0ms) commit transaction
1184
-  (0.1ms) begin transaction
1185
- User Create (0.3ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d37605"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
1186
-  (5.2ms) commit transaction
1187
-  (0.1ms) begin transaction
1188
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d31300"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1189
-  (3.3ms) commit transaction
1190
- Processing by Api::UserController#update as HTML
1191
- Parameters: {"uid"=>"a1s2d37605"}
1192
- Rendering /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
1193
- Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
1194
- Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
1195
- Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
1196
- Completed 403 Forbidden in 9ms (Views: 8.6ms | ActiveRecord: 0.0ms)
1197
-  (0.0ms) begin transaction
1198
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d39703"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
1199
-  (3.8ms) commit transaction
1200
-  (0.0ms) begin transaction
1201
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d33001"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1202
-  (3.4ms) commit transaction
1111
+ SQL (0.2ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d33715"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
1112
+  (4.0ms) commit transaction
1113
+  (0.3ms) begin transaction
1114
+ SQL (0.2ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d31363"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1115
+  (4.7ms) commit transaction
1203
1116
  Processing by Api::UserController#update as HTML
1204
- Parameters: {"uid"=>"a1s2d39703"}
1205
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "a1s2d39703"], ["LIMIT", 1]]
1206
-  (0.1ms) begin transaction
1207
- 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]]
1208
-  (4.7ms) commit transaction
1209
- Completed 200 OK in 8ms (ActiveRecord: 5.2ms)
1210
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]]
1211
-  (0.1ms) begin transaction
1212
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d37686"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
1213
-  (4.6ms) commit transaction
1214
-  (0.0ms) begin transaction
1215
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d34277"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1216
-  (3.5ms) commit transaction
1217
- Processing by Api::UserController#reauth as HTML
1218
- Parameters: {"uid"=>"a1s2d37686"}
1219
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "a1s2d37686"], ["LIMIT", 1]]
1220
-  (0.1ms) begin transaction
1221
- User Update (0.2ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 5]]
1222
-  (4.7ms) commit transaction
1223
- Completed 200 OK in 7ms (ActiveRecord: 5.1ms)
1224
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]]
1225
-  (0.1ms) begin transaction
1226
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d37925"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
1227
-  (4.7ms) commit transaction
1228
-  (0.0ms) begin transaction
1229
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d34651"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1230
-  (3.7ms) commit transaction
1231
- Processing by Api::UserController#reauth as HTML
1232
- Parameters: {"uid"=>"a1s2d37925"}
1233
- Rendering /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
1117
+ Parameters: {"uid"=>"a1s2d33715"}
1234
1118
  Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
1235
- Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.8ms)
1119
+ Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.3ms)
1236
1120
  Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
1237
- Completed 403 Forbidden in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)
1238
-  (0.1ms) begin transaction
1239
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d34735"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
1240
-  (5.2ms) commit transaction
1241
-  (0.0ms) begin transaction
1242
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d38075"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1243
-  (3.8ms) commit transaction
1121
+ Completed 403 Forbidden in 8ms (Views: 7.5ms | ActiveRecord: 0.0ms)
1122
+  (0.0ms) begin transaction
1123
+ SQL (0.2ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d3115"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
1124
+  (4.7ms) commit transaction
1125
+  (0.0ms) begin transaction
1126
+ SQL (0.2ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d38221"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1127
+  (3.4ms) commit transaction
1128
+ Processing by Api::UserController#update as HTML
1129
+ Parameters: {"uid"=>"a1s2d3115"}
1130
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "a1s2d3115"]]
1131
+  (0.0ms) begin transaction
1132
+ SQL (0.2ms) UPDATE "users" SET "email" = ?, "name" = ?, "permissions" = ?, "organisation_slug" = ?, "organisation_content_id" = ? WHERE "users"."id" = ? [["email", "user@domain.com"], ["name", "Joshua Marshall"], ["permissions", "---\n- signin\n- new permission\n"], ["organisation_slug", "justice-league"], ["organisation_content_id", "aae1319e-5788-4677-998c-f1a53af528d0"], ["id", 6]]
1133
+  (3.7ms) commit transaction
1134
+ Completed 200 OK in 7ms (ActiveRecord: 4.1ms)
1135
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 6]]
1136
+  (0.0ms) begin transaction
1137
+ SQL (0.2ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d34531"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
1138
+  (3.8ms) commit transaction
1139
+  (0.0ms) begin transaction
1140
+ SQL (0.2ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d31528"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1141
+  (5.4ms) commit transaction
1244
1142
  Processing by Api::UserController#reauth as HTML
1245
1143
  Parameters: {"uid"=>"nonexistent-user"}
1246
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "nonexistent-user"], ["LIMIT", 1]]
1144
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "nonexistent-user"]]
1247
1145
  Completed 200 OK in 1ms (ActiveRecord: 0.1ms)
1248
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "dummyapiuser@domain.com"], ["LIMIT", 1]]
1146
+  (0.0ms) begin transaction
1147
+ SQL (0.2ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d3743"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
1148
+  (3.7ms) commit transaction
1149
+  (0.0ms) begin transaction
1150
+ SQL (0.2ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d37037"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1151
+  (3.5ms) commit transaction
1152
+ Processing by Api::UserController#reauth as HTML
1153
+ Parameters: {"uid"=>"a1s2d3743"}
1154
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "a1s2d3743"]]
1155
+  (0.1ms) begin transaction
1156
+ SQL (0.2ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 10]]
1157
+  (3.2ms) commit transaction
1158
+ Completed 200 OK in 5ms (ActiveRecord: 3.5ms)
1159
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 10]]
1160
+  (0.0ms) begin transaction
1161
+ SQL (0.2ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d3892"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
1162
+  (4.9ms) commit transaction
1163
+  (0.0ms) begin transaction
1164
+ SQL (0.2ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d35421"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1165
+  (3.9ms) commit transaction
1166
+ Processing by Api::UserController#reauth as HTML
1167
+ Parameters: {"uid"=>"a1s2d3892"}
1168
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
1169
+ Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.3ms)
1170
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
1171
+ Completed 403 Forbidden in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
1172
+  (0.2ms) DROP TABLE IF EXISTS "users"
1173
+  (1.7ms) SELECT sqlite_version(*)
1174
+  (3.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')
1175
+  (5.0ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1176
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
1249
1177
   (0.1ms) begin transaction
1250
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Dummy API user created by gds-sso"], ["uid", "8130"], ["email", "dummyapiuser@domain.com"], ["permissions", "---\n- signin\n"]]
1251
-  (5.2ms) commit transaction
1178
+ ActiveRecord::InternalMetadata Create (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2019-11-05 10:37:16.110864"], ["updated_at", "2019-11-05 10:37:16.110864"]]
1179
+  (4.2ms) commit transaction
1180
+  (4.6ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
1181
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
1252
1182
   (0.1ms) begin transaction
1253
- User Update (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = ? [["permissions", "---\n- signin\n- extra_permission\n"], ["id", 11]]
1254
-  (5.4ms) commit transaction
1255
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "asd"], ["LIMIT", 1]]
1256
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "user@example.com"], ["LIMIT", 1]]
1183
+  (0.1ms) commit transaction
1184
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "asd"], ["LIMIT", 1]]
1185
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "user@example.com"], ["LIMIT", 1]]
1257
1186
   (0.1ms) begin transaction
1258
1187
  User Create (0.3ms) 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]]
1259
-  (5.4ms) commit transaction
1260
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "asd"], ["LIMIT", 1]]
1261
-  (0.1ms) begin transaction
1188
+  (3.8ms) commit transaction
1189
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "asd"], ["LIMIT", 1]]
1190
+  (0.0ms) begin transaction
1262
1191
   (0.1ms) commit transaction
1263
- Started GET "/" for 127.0.0.1 at 2019-07-19 11:26:54 +0000
1192
+ Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:37:16 +0000
1193
+ Processing by ExampleController#restricted as HTML
1194
+ Authenticating with gds_sso strategy
1195
+ Completed in 5ms (ActiveRecord: 0.0ms)
1196
+ Started GET "/" for 127.0.0.1 at 2019-11-05 10:37:16 +0000
1264
1197
  Processing by ExampleController#index as HTML
1265
1198
  Rendering text template
1266
1199
  Rendered text template (0.0ms)
1267
- Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)
1268
- Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:54 +0000
1200
+ Completed 200 OK in 4ms (Views: 4.2ms | ActiveRecord: 0.0ms)
1201
+ Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:37:16 +0000
1269
1202
  Processing by ExampleController#restricted as HTML
1270
1203
  Authenticating with gds_sso strategy
1271
- Completed in 4ms (ActiveRecord: 0.0ms)
1272
- Started GET "/auth/gds" for 127.0.0.1 at 2019-07-19 11:26:54 +0000
1273
- Started GET "/auth/gds/callback?code=d91419d9d1ed524cf71a9ecab46b4ec9eb27a8a8ca600b6b585c399c4e9c9c7f&state=a6ba4a3ae92f7ea8aaf8278b6e9833f5064b46ae1aa26217" for 127.0.0.1 at 2019-07-19 11:26:55 +0000
1204
+ Completed in 0ms (ActiveRecord: 0.0ms)
1205
+ Started GET "/auth/gds" for 127.0.0.1 at 2019-11-05 10:37:16 +0000
1206
+ Started GET "/auth/gds/callback?code=b2e081a01c55852ec968628695b40215d03080d7531026c03f97d2ac5c871013&state=249ab4ad21fe2e9024498cdd741f8717458f8aa3f3deaa0a" for 127.0.0.1 at 2019-11-05 10:37:16 +0000
1274
1207
  Processing by AuthenticationsController#callback as HTML
1275
- Parameters: {"code"=>"d91419d9d1ed524cf71a9ecab46b4ec9eb27a8a8ca600b6b585c399c4e9c9c7f", "state"=>"a6ba4a3ae92f7ea8aaf8278b6e9833f5064b46ae1aa26217"}
1208
+ Parameters: {"code"=>"b2e081a01c55852ec968628695b40215d03080d7531026c03f97d2ac5c871013", "state"=>"249ab4ad21fe2e9024498cdd741f8717458f8aa3f3deaa0a"}
1276
1209
  Authenticating with gds_sso strategy
1277
1210
  User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1278
1211
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "test@example-client.com"], ["LIMIT", 1]]
1279
1212
   (0.1ms) begin transaction
1280
1213
  User Create (0.3ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Test User"], ["uid", "integration-uid"], ["email", "test@example-client.com"], ["permissions", "---\n- signin\n"]]
1281
-  (4.8ms) commit transaction
1214
+  (3.9ms) commit transaction
1282
1215
   (0.0ms) begin transaction
1283
- User Update (0.2ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "f"], ["id", 13]]
1284
-  (3.6ms) commit transaction
1216
+ User Update (0.2ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "f"], ["id", 2]]
1217
+  (4.1ms) commit transaction
1285
1218
  Redirected to http://www.example-client.com/restricted
1286
- Completed 302 Found in 15ms (ActiveRecord: 9.3ms)
1287
- Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:55 +0000
1219
+ Completed 302 Found in 13ms (ActiveRecord: 8.9ms)
1220
+ Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:37:16 +0000
1288
1221
  Processing by ExampleController#restricted as HTML
1289
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
1222
+ 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]]
1290
1223
  Rendering text template
1291
1224
  Rendered text template (0.0ms)
1292
- Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.3ms)
1293
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-07-19 11:26:55 +0000
1294
- Processing by ExampleController#this_requires_signin_permission as HTML
1225
+ Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
1226
+ Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:37:16 +0000
1227
+ Processing by ExampleController#restricted as HTML
1295
1228
  Authenticating with gds_sso strategy
1296
1229
  Completed in 0ms (ActiveRecord: 0.0ms)
1297
- Started GET "/auth/gds" for 127.0.0.1 at 2019-07-19 11:26:55 +0000
1298
- Started GET "/auth/gds/callback?code=5dc889012262516e49c995500209e1100a2a9789c0ef30c2832dd509e420f9bb&state=99bcb84816bcf2a092aa87f8b1948b620e8417c3af17ad42" for 127.0.0.1 at 2019-07-19 11:26:55 +0000
1230
+ Started GET "/auth/gds" for 127.0.0.1 at 2019-11-05 10:37:16 +0000
1231
+ Started GET "/auth/gds/callback?code=7df0dd3451444a31de346f5b20a14c71527ed8b036a039e0cac40beec027eca4&state=291ed638f67556685ff7799b4fa5fa0f6d521bf97f0ac862" for 127.0.0.1 at 2019-11-05 10:37:17 +0000
1299
1232
  Processing by AuthenticationsController#callback as HTML
1300
- Parameters: {"code"=>"5dc889012262516e49c995500209e1100a2a9789c0ef30c2832dd509e420f9bb", "state"=>"99bcb84816bcf2a092aa87f8b1948b620e8417c3af17ad42"}
1233
+ Parameters: {"code"=>"7df0dd3451444a31de346f5b20a14c71527ed8b036a039e0cac40beec027eca4", "state"=>"291ed638f67556685ff7799b4fa5fa0f6d521bf97f0ac862"}
1301
1234
  Authenticating with gds_sso strategy
1302
1235
  User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1303
1236
   (0.1ms) begin transaction
1304
-  (0.0ms) commit transaction
1237
+  (0.1ms) commit transaction
1305
1238
   (0.0ms) begin transaction
1306
-  (0.0ms) commit transaction
1307
- Redirected to http://www.example-client.com/this_requires_signin_permission
1308
- Completed 302 Found in 5ms (ActiveRecord: 0.4ms)
1309
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-07-19 11:26:55 +0000
1310
- Processing by ExampleController#this_requires_signin_permission as HTML
1239
+  (0.1ms) commit transaction
1240
+ Redirected to http://www.example-client.com/restricted
1241
+ Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
1242
+ Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:37:17 +0000
1243
+ Processing by ExampleController#restricted as HTML
1311
1244
  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]]
1312
1245
  Rendering text template
1313
1246
  Rendered text template (0.0ms)
1314
- Completed 200 OK in 3ms (Views: 0.9ms | ActiveRecord: 0.1ms)
1315
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-07-19 11:26:55 +0000
1316
- Processing by ExampleController#this_requires_signin_permission as HTML
1247
+ Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
1248
+ Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:37:17 +0000
1249
+ Processing by ExampleController#restricted as HTML
1317
1250
  Authenticating with gds_sso strategy
1318
1251
  Completed in 0ms (ActiveRecord: 0.0ms)
1319
- Started GET "/auth/gds" for 127.0.0.1 at 2019-07-19 11:26:55 +0000
1320
- Started GET "/auth/gds/callback?code=91c0c976c74c6be97ea3ee4de5129873b52c146817592b0bb7cc939fe716d283&state=b837df18c315ea5f940db30a0a4d4160c751ebc654148a13" for 127.0.0.1 at 2019-07-19 11:26:55 +0000
1252
+ Started GET "/auth/gds" for 127.0.0.1 at 2019-11-05 10:37:17 +0000
1253
+ Started GET "/auth/gds/callback?code=4de88ba0ebc5c15a6099eabf2a2fafabcd21b5f5e7d75ae37ec2cd2d9b78eac0&state=51f49ecc9afa91d10d125c173901b82c833fabe9502c8bb7" for 127.0.0.1 at 2019-11-05 10:37:17 +0000
1321
1254
  Processing by AuthenticationsController#callback as HTML
1322
- Parameters: {"code"=>"91c0c976c74c6be97ea3ee4de5129873b52c146817592b0bb7cc939fe716d283", "state"=>"b837df18c315ea5f940db30a0a4d4160c751ebc654148a13"}
1255
+ Parameters: {"code"=>"4de88ba0ebc5c15a6099eabf2a2fafabcd21b5f5e7d75ae37ec2cd2d9b78eac0", "state"=>"51f49ecc9afa91d10d125c173901b82c833fabe9502c8bb7"}
1323
1256
  Authenticating with gds_sso strategy
1324
1257
  User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1325
1258
   (0.1ms) begin transaction
1326
-  (0.1ms) commit transaction
1259
+  (0.0ms) commit transaction
1327
1260
   (0.0ms) begin transaction
1328
-  (0.1ms) commit transaction
1329
- Redirected to http://www.example-client.com/this_requires_signin_permission
1330
- Completed 302 Found in 4ms (ActiveRecord: 0.5ms)
1331
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-07-19 11:26:55 +0000
1332
- Processing by ExampleController#this_requires_signin_permission as HTML
1261
+  (0.0ms) commit transaction
1262
+ Redirected to http://www.example-client.com/restricted
1263
+ Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
1264
+ Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:37:17 +0000
1265
+ Processing by ExampleController#restricted as HTML
1333
1266
  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]]
1334
1267
  Rendering text template
1335
1268
  Rendered text template (0.0ms)
1336
1269
  Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
1337
- Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:55 +0000
1338
- Processing by ExampleController#restricted as HTML
1270
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-11-05 10:37:17 +0000
1271
+ Processing by ExampleController#this_requires_signin_permission as HTML
1339
1272
  Authenticating with gds_sso strategy
1340
1273
  Completed in 0ms (ActiveRecord: 0.0ms)
1341
- Started GET "/auth/gds" for 127.0.0.1 at 2019-07-19 11:26:55 +0000
1342
- Started GET "/auth/gds/callback?code=4ca028d7ee7b476394cbf8bf9ac445fbea75af04b456a5325a95ee72c4757dd6&state=2a2e2707e608c0f8fa30758bfb18eeff968f748fa37e944d" for 127.0.0.1 at 2019-07-19 11:26:55 +0000
1274
+ Started GET "/auth/gds" for 127.0.0.1 at 2019-11-05 10:37:17 +0000
1275
+ Started GET "/auth/gds/callback?code=20f4fe844a3dc8b6dcdb1e7eb96c9e91cbd7c897cf3360d3232733b83ee63934&state=eb5558636d7cb4b0d399be8c0b48d6fd186e01667f9f1170" for 127.0.0.1 at 2019-11-05 10:37:17 +0000
1343
1276
  Processing by AuthenticationsController#callback as HTML
1344
- Parameters: {"code"=>"4ca028d7ee7b476394cbf8bf9ac445fbea75af04b456a5325a95ee72c4757dd6", "state"=>"2a2e2707e608c0f8fa30758bfb18eeff968f748fa37e944d"}
1277
+ Parameters: {"code"=>"20f4fe844a3dc8b6dcdb1e7eb96c9e91cbd7c897cf3360d3232733b83ee63934", "state"=>"eb5558636d7cb4b0d399be8c0b48d6fd186e01667f9f1170"}
1345
1278
  Authenticating with gds_sso strategy
1346
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1347
-  (0.0ms) begin transaction
1279
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1280
+  (0.1ms) begin transaction
1348
1281
   (0.0ms) commit transaction
1349
1282
   (0.0ms) begin transaction
1350
-  (0.1ms) commit transaction
1351
- Redirected to http://www.example-client.com/restricted
1352
- Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
1353
- Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:55 +0000
1354
- Processing by ExampleController#restricted as HTML
1283
+  (0.0ms) commit transaction
1284
+ Redirected to http://www.example-client.com/this_requires_signin_permission
1285
+ Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
1286
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-11-05 10:37:17 +0000
1287
+ Processing by ExampleController#this_requires_signin_permission as HTML
1355
1288
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
1356
1289
  Rendering text template
1357
1290
  Rendered text template (0.0ms)
1358
1291
  Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
1359
- Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:55 +0000
1360
- Processing by ExampleController#restricted as HTML
1292
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-11-05 10:37:17 +0000
1293
+ Processing by ExampleController#this_requires_signin_permission as HTML
1361
1294
  Authenticating with gds_sso strategy
1362
1295
  Completed in 0ms (ActiveRecord: 0.0ms)
1363
- Started GET "/auth/gds" for 127.0.0.1 at 2019-07-19 11:26:55 +0000
1364
- Started GET "/auth/gds/callback?code=d88d75aa083d9084c03adcaab9b2d4d62782d19480f8db93eb97f6df90460cc9&state=1bb6e3d5c333b4344918ce4a167186442ec76644e9cd0bdc" for 127.0.0.1 at 2019-07-19 11:26:55 +0000
1296
+ Started GET "/auth/gds" for 127.0.0.1 at 2019-11-05 10:37:17 +0000
1297
+ Started GET "/auth/gds/callback?code=0ae763a239c7b43caf93cfaee132480e286f5dc230ae5bb32e03c66dfe41b683&state=0b60eb44ef52a74ac1ebb901c641ca79cb6a8feddccd58bd" for 127.0.0.1 at 2019-11-05 10:37:17 +0000
1365
1298
  Processing by AuthenticationsController#callback as HTML
1366
- Parameters: {"code"=>"d88d75aa083d9084c03adcaab9b2d4d62782d19480f8db93eb97f6df90460cc9", "state"=>"1bb6e3d5c333b4344918ce4a167186442ec76644e9cd0bdc"}
1299
+ Parameters: {"code"=>"0ae763a239c7b43caf93cfaee132480e286f5dc230ae5bb32e03c66dfe41b683", "state"=>"0b60eb44ef52a74ac1ebb901c641ca79cb6a8feddccd58bd"}
1367
1300
  Authenticating with gds_sso strategy
1368
1301
  User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1369
1302
   (0.1ms) begin transaction
1370
1303
   (0.1ms) commit transaction
1371
-  (0.1ms) begin transaction
1372
-  (0.1ms) commit transaction
1373
- Redirected to http://www.example-client.com/restricted
1374
- Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
1375
- Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:55 +0000
1376
- Processing by ExampleController#restricted as HTML
1304
+  (0.0ms) begin transaction
1305
+  (0.0ms) commit transaction
1306
+ Redirected to http://www.example-client.com/this_requires_signin_permission
1307
+ Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
1308
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-11-05 10:37:17 +0000
1309
+ Processing by ExampleController#this_requires_signin_permission as HTML
1377
1310
  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]]
1378
1311
  Rendering text template
1379
1312
  Rendered text template (0.0ms)
1380
1313
  Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
1381
- Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:55 +0000
1314
+ Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:37:17 +0000
1382
1315
  Processing by ExampleController#restricted as HTML
1383
1316
  Authenticating with gds_sso strategy
1384
1317
  Completed in 0ms (ActiveRecord: 0.0ms)
1385
- Started GET "/auth/gds" for 127.0.0.1 at 2019-07-19 11:26:55 +0000
1386
- Started GET "/auth/gds/callback?code=dcf7afaee1cf9dda09ad071b0dde16aef6f0311221c5816222b4df37dcab910c&state=1c7258e1dd0b5e5a44eded341edd52b57134b295727962dd" for 127.0.0.1 at 2019-07-19 11:26:55 +0000
1318
+ Started GET "/auth/gds" for 127.0.0.1 at 2019-11-05 10:37:17 +0000
1319
+ Started GET "/auth/gds/callback?code=78691f45bb1ed98b1a2fed82c0baad5fde2ede137e6e65e6b527042415effc36&state=18ff591da4849b7c6838d2060d95b8791c30931d92884246" for 127.0.0.1 at 2019-11-05 10:37:17 +0000
1387
1320
  Processing by AuthenticationsController#callback as HTML
1388
- Parameters: {"code"=>"dcf7afaee1cf9dda09ad071b0dde16aef6f0311221c5816222b4df37dcab910c", "state"=>"1c7258e1dd0b5e5a44eded341edd52b57134b295727962dd"}
1321
+ Parameters: {"code"=>"78691f45bb1ed98b1a2fed82c0baad5fde2ede137e6e65e6b527042415effc36", "state"=>"18ff591da4849b7c6838d2060d95b8791c30931d92884246"}
1389
1322
  Authenticating with gds_sso strategy
1390
1323
  User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1391
1324
   (0.1ms) begin transaction
1392
-  (0.1ms) commit transaction
1393
-  (0.1ms) begin transaction
1325
+  (0.0ms) commit transaction
1326
+  (0.0ms) begin transaction
1394
1327
   (0.0ms) commit transaction
1395
1328
  Redirected to http://www.example-client.com/restricted
1396
- Completed 302 Found in 4ms (ActiveRecord: 0.5ms)
1397
- Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:56 +0000
1329
+ Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
1330
+ Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:37:17 +0000
1398
1331
  Processing by ExampleController#restricted as HTML
1399
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
1332
+ 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]]
1400
1333
  Rendering text template
1401
1334
  Rendered text template (0.0ms)
1402
- Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.2ms)
1403
- Started GET "/restricted" for 127.0.0.1 at 2019-07-20 07:31:56 +0000
1335
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
1336
+ Started GET "/restricted" for 127.0.0.1 at 2019-11-06 06:42:17 +0000
1404
1337
  Processing by ExampleController#restricted as HTML
1405
1338
  Authenticating with gds_sso strategy
1406
- Completed in 1ms (ActiveRecord: 0.0ms)
1407
- Started GET "/auth/gds" for 127.0.0.1 at 2019-07-20 07:31:56 +0000
1408
- Started GET "/auth/gds/callback?code=cf0e35f4d703af8d490e8d8fbf87f29d04ad1c6f031884dbaf14a94a5dd6059d&state=3729185ec81911c097e929fcf60705b07a97c37d51fad8f7" for 127.0.0.1 at 2019-07-20 07:31:56 +0000
1339
+ Completed in 0ms (ActiveRecord: 0.0ms)
1340
+ Started GET "/auth/gds" for 127.0.0.1 at 2019-11-06 06:42:17 +0000
1341
+ Started GET "/auth/gds/callback?code=7dc0f6a4d4f88dcad43ea690887235dc7b8cf82f811c502f7609a95180869731&state=1636d454b8dfd92f7ef19ef7b79cf57f6e60036baa1bc9a5" for 127.0.0.1 at 2019-11-06 06:42:17 +0000
1409
1342
  Processing by AuthenticationsController#callback as HTML
1410
- Parameters: {"code"=>"cf0e35f4d703af8d490e8d8fbf87f29d04ad1c6f031884dbaf14a94a5dd6059d", "state"=>"3729185ec81911c097e929fcf60705b07a97c37d51fad8f7"}
1343
+ Parameters: {"code"=>"7dc0f6a4d4f88dcad43ea690887235dc7b8cf82f811c502f7609a95180869731", "state"=>"1636d454b8dfd92f7ef19ef7b79cf57f6e60036baa1bc9a5"}
1411
1344
  Authenticating with gds_sso strategy
1412
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1413
-  (0.0ms) begin transaction
1414
-  (0.1ms) commit transaction
1345
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1415
1346
   (0.1ms) begin transaction
1416
1347
   (0.0ms) commit transaction
1348
+  (0.0ms) begin transaction
1349
+  (0.0ms) commit transaction
1417
1350
  Redirected to http://www.example-client.com/restricted
1418
- Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
1419
- Started GET "/restricted" for 127.0.0.1 at 2019-07-20 07:31:56 +0000
1351
+ Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
1352
+ Started GET "/restricted" for 127.0.0.1 at 2019-11-06 06:42:17 +0000
1420
1353
  Processing by ExampleController#restricted as HTML
1421
1354
  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]]
1422
1355
  Rendering text template
1423
1356
  Rendered text template (0.0ms)
1424
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
1425
- Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:56 +0000
1357
+ Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
1358
+ Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:37:17 +0000
1426
1359
  Processing by ExampleController#restricted as HTML
1427
1360
  Authenticating with gds_sso strategy
1428
1361
  Completed in 0ms (ActiveRecord: 0.0ms)
1429
- Started GET "/auth/gds" for 127.0.0.1 at 2019-07-19 11:26:56 +0000
1430
- Started GET "/auth/gds/callback?code=b7d5b81e4754fa04645a68efe8b0d2ed1c619937c59bf2057e6bf0a6cd90d8c1&state=81466a51d136642f1f288bb8f27337d2c4cc5c86ecfd1460" for 127.0.0.1 at 2019-07-19 11:26:56 +0000
1362
+ Started GET "/auth/gds" for 127.0.0.1 at 2019-11-05 10:37:17 +0000
1363
+ Started GET "/auth/gds/callback?code=496d67acf30546bde6deb88e4c61a94ddb0d2a704879ccde618123523c9d0e77&state=0356c4f71f5602aeb4d69ae588a39ebb795907cb50f770a8" for 127.0.0.1 at 2019-11-05 10:37:18 +0000
1431
1364
  Processing by AuthenticationsController#callback as HTML
1432
- Parameters: {"code"=>"b7d5b81e4754fa04645a68efe8b0d2ed1c619937c59bf2057e6bf0a6cd90d8c1", "state"=>"81466a51d136642f1f288bb8f27337d2c4cc5c86ecfd1460"}
1365
+ Parameters: {"code"=>"496d67acf30546bde6deb88e4c61a94ddb0d2a704879ccde618123523c9d0e77", "state"=>"0356c4f71f5602aeb4d69ae588a39ebb795907cb50f770a8"}
1433
1366
  Authenticating with gds_sso strategy
1434
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1435
-  (0.1ms) begin transaction
1436
-  (0.1ms) commit transaction
1367
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1437
1368
   (0.1ms) begin transaction
1438
1369
   (0.0ms) commit transaction
1370
+  (0.0ms) begin transaction
1371
+  (0.0ms) commit transaction
1439
1372
  Redirected to http://www.example-client.com/restricted
1440
- Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
1441
- Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:56 +0000
1373
+ Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
1374
+ Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:37:18 +0000
1442
1375
  Processing by ExampleController#restricted as HTML
1443
- 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]]
1376
+ 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]]
1444
1377
  Rendering text template
1445
1378
  Rendered text template (0.0ms)
1446
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
1447
- Started GET "/restricted" for 127.0.0.1 at 2019-07-20 07:31:56 +0000
1379
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
1380
+ Started GET "/restricted" for 127.0.0.1 at 2019-11-06 06:42:18 +0000
1448
1381
  Processing by ExampleController#restricted as HTML
1449
1382
  Authenticating with gds_sso strategy
1450
- Completed in 0ms (ActiveRecord: 0.0ms)
1451
- Started GET "/auth/gds" for 127.0.0.1 at 2019-07-20 07:31:56 +0000
1452
- Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:56 +0000
1383
+ Completed in 1ms (ActiveRecord: 0.0ms)
1384
+ Started GET "/auth/gds" for 127.0.0.1 at 2019-11-06 06:42:18 +0000
1385
+ Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:37:18 +0000
1453
1386
  Processing by ExampleController#restricted as HTML
1454
1387
  Authenticating with gds_sso strategy
1455
1388
  Completed in 0ms (ActiveRecord: 0.0ms)
1456
- Started GET "/auth/gds" for 127.0.0.1 at 2019-07-19 11:26:56 +0000
1457
- Started GET "/auth/gds/callback?code=32df99fa134867a69e7dff16854ace74bee9e80e91d60bd530b5e6a3e501a050&state=7ef5b5a430660affcb058778e266b0bda9b0339ef48c5e15" for 127.0.0.1 at 2019-07-19 11:26:56 +0000
1389
+ Started GET "/auth/gds" for 127.0.0.1 at 2019-11-05 10:37:18 +0000
1390
+ Started GET "/auth/gds/callback?code=4980c916a888a66457c5c984268d7867a04bb14c635a06ec75075f73beb6a0ec&state=fd0776eb9d3c5dda9207e87e3878d7353df8534299dafd65" for 127.0.0.1 at 2019-11-05 10:37:18 +0000
1458
1391
  Processing by AuthenticationsController#callback as HTML
1459
- Parameters: {"code"=>"32df99fa134867a69e7dff16854ace74bee9e80e91d60bd530b5e6a3e501a050", "state"=>"7ef5b5a430660affcb058778e266b0bda9b0339ef48c5e15"}
1392
+ Parameters: {"code"=>"4980c916a888a66457c5c984268d7867a04bb14c635a06ec75075f73beb6a0ec", "state"=>"fd0776eb9d3c5dda9207e87e3878d7353df8534299dafd65"}
1460
1393
  Authenticating with gds_sso strategy
1461
1394
  User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1395
+  (0.1ms) begin transaction
1396
+  (0.0ms) commit transaction
1462
1397
   (0.0ms) begin transaction
1463
-  (0.1ms) commit transaction
1464
-  (0.0ms) begin transaction
1465
-  (0.1ms) commit transaction
1398
+  (0.0ms) commit transaction
1466
1399
  Redirected to http://www.example-client.com/restricted
1467
1400
  Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
1468
- Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:56 +0000
1401
+ Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:37:18 +0000
1469
1402
  Processing by ExampleController#restricted as HTML
1470
- 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]]
1403
+ 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]]
1471
1404
  Rendering text template
1472
1405
  Rendered text template (0.0ms)
1473
- Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.2ms)
1474
- Started GET "/restricted" for 127.0.0.1 at 2019-07-20 07:21:56 +0000
1406
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
1407
+ Started GET "/restricted" for 127.0.0.1 at 2019-11-06 06:32:18 +0000
1475
1408
  Processing by ExampleController#restricted as HTML
1476
1409
  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]]
1477
1410
  Rendering text template
1478
1411
  Rendered text template (0.0ms)
1479
- Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
1480
- Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:56 +0000
1412
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
1413
+ Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:37:18 +0000
1481
1414
  Processing by ExampleController#restricted as HTML
1482
1415
  Authenticating with gds_sso strategy
1483
1416
  Completed in 0ms (ActiveRecord: 0.0ms)
1484
- Started GET "/auth/gds" for 127.0.0.1 at 2019-07-19 11:26:56 +0000
1485
- Started GET "/auth/gds/callback?code=c0b01132a50a82493bc6e3df15541f70d8aad7723c56eaa2cfbec1e585ccdf88&state=2bcc8baf563dd7cdb8b615cecd3004a3cc865f6c678c965a" for 127.0.0.1 at 2019-07-19 11:26:56 +0000
1417
+ Started GET "/auth/gds" for 127.0.0.1 at 2019-11-05 10:37:18 +0000
1418
+ Started GET "/auth/gds/callback?code=b194100bb695bc4201debbe43d10fefca7155102e2c51d312e96687375df6a38&state=9b50e61bdf56172092baac1246ea661e96f88d0bf6789b6b" for 127.0.0.1 at 2019-11-05 10:37:18 +0000
1486
1419
  Processing by AuthenticationsController#callback as HTML
1487
- Parameters: {"code"=>"c0b01132a50a82493bc6e3df15541f70d8aad7723c56eaa2cfbec1e585ccdf88", "state"=>"2bcc8baf563dd7cdb8b615cecd3004a3cc865f6c678c965a"}
1420
+ Parameters: {"code"=>"b194100bb695bc4201debbe43d10fefca7155102e2c51d312e96687375df6a38", "state"=>"9b50e61bdf56172092baac1246ea661e96f88d0bf6789b6b"}
1488
1421
  Authenticating with gds_sso strategy
1489
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1490
-  (0.1ms) begin transaction
1491
-  (0.1ms) commit transaction
1422
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1492
1423
   (0.1ms) begin transaction
1493
-  (0.1ms) commit transaction
1424
+  (0.0ms) commit transaction
1425
+  (0.0ms) begin transaction
1426
+  (0.0ms) commit transaction
1494
1427
  Redirected to http://www.example-client.com/restricted
1495
- Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
1496
- Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:56 +0000
1428
+ Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
1429
+ Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:37:18 +0000
1497
1430
  Processing by ExampleController#restricted as HTML
1498
- 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]]
1431
+ 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]]
1499
1432
  Rendering text template
1500
1433
  Rendered text template (0.0ms)
1501
- Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
1434
+ Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
1502
1435
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "test@example-client.com"], ["LIMIT", 1]]
1503
-  (0.0ms) begin transaction
1504
- User Update (0.2ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 13]]
1505
-  (4.2ms) commit transaction
1506
- Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:56 +0000
1436
+  (0.1ms) begin transaction
1437
+ User Update (0.2ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 2]]
1438
+  (4.5ms) commit transaction
1439
+ Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:37:18 +0000
1507
1440
  Processing by ExampleController#restricted as HTML
1508
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", "f"], ["LIMIT", 1]]
1509
1442
  Authenticating with gds_sso strategy
1510
1443
  Completed in 1ms (ActiveRecord: 0.1ms)
1511
- Started GET "/auth/gds" for 127.0.0.1 at 2019-07-19 11:26:56 +0000
1512
- Started GET "/auth/gds/callback?code=d989689c488ffa44762c71b2bbe3aa26bfb11739a18d7025faf4d1341ac17c1a&state=590e39ae909689a98c4ee001cddccb689e9b825e8d10628f" for 127.0.0.1 at 2019-07-19 11:26:56 +0000
1444
+ Started GET "/auth/gds" for 127.0.0.1 at 2019-11-05 10:37:18 +0000
1445
+ Started GET "/auth/gds/callback?code=41604fc965529d3edf884d099dceea04f3426d635fd37c51a3ff8ae6229e497a&state=18d1c74926dbea628bd8ccd9b2b584931ba5bef91bc83b43" for 127.0.0.1 at 2019-11-05 10:37:18 +0000
1513
1446
  Processing by AuthenticationsController#callback as HTML
1514
- Parameters: {"code"=>"d989689c488ffa44762c71b2bbe3aa26bfb11739a18d7025faf4d1341ac17c1a", "state"=>"590e39ae909689a98c4ee001cddccb689e9b825e8d10628f"}
1447
+ Parameters: {"code"=>"41604fc965529d3edf884d099dceea04f3426d635fd37c51a3ff8ae6229e497a", "state"=>"18d1c74926dbea628bd8ccd9b2b584931ba5bef91bc83b43"}
1515
1448
  Authenticating with gds_sso strategy
1516
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1449
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1517
1450
   (0.1ms) begin transaction
1518
1451
   (0.1ms) commit transaction
1519
1452
   (0.0ms) begin transaction
1520
- User Update (0.2ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "f"], ["id", 13]]
1521
-  (5.3ms) commit transaction
1453
+ User Update (0.3ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "f"], ["id", 2]]
1454
+  (3.8ms) commit transaction
1522
1455
  Redirected to http://www.example-client.com/restricted
1523
- Completed 302 Found in 9ms (ActiveRecord: 5.8ms)
1524
- Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:56 +0000
1456
+ Completed 302 Found in 8ms (ActiveRecord: 4.5ms)
1457
+ Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:37:18 +0000
1525
1458
  Processing by ExampleController#restricted as HTML
1526
1459
  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]]
1527
1460
  Rendering text template
1528
1461
  Rendered text template (0.0ms)
1529
- Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
1530
- Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:56 +0000
1531
- Processing by ExampleController#restricted as HTML
1532
- Authenticating with gds_sso strategy
1533
- Completed in 0ms (ActiveRecord: 0.0ms)
1534
- Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:56 +0000
1535
- Processing by ExampleController#restricted as JSON
1536
- Completed in 22ms (ActiveRecord: 0.0ms)
1537
- Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:56 +0000
1538
- Processing by ExampleController#restricted as JSON
1539
- Completed in 12ms (ActiveRecord: 0.0ms)
1540
- Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:56 +0000
1541
- Processing by ExampleController#restricted as JSON
1462
+ Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
1463
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-11-05 10:37:18 +0000
1464
+ Processing by ExampleController#this_requires_signin_permission as JSON
1542
1465
  User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1543
1466
   (0.1ms) begin transaction
1544
- User Update (0.2ms) UPDATE "users" SET "disabled" = ? WHERE "users"."id" = ? [["disabled", nil], ["id", 13]]
1545
-  (4.0ms) commit transaction
1467
+ User Update (0.3ms) UPDATE "users" SET "disabled" = ? WHERE "users"."id" = ? [["disabled", nil], ["id", 2]]
1468
+  (5.0ms) commit transaction
1546
1469
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1547
-  (0.0ms) begin transaction
1470
+  (0.1ms) begin transaction
1548
1471
   (0.0ms) commit transaction
1549
1472
  CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1550
1473
   (0.1ms) begin transaction
1551
1474
   (0.0ms) commit transaction
1552
1475
  CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1553
-  (0.0ms) begin transaction
1554
-  (0.0ms) commit transaction
1476
+  (0.1ms) begin transaction
1477
+  (0.1ms) commit transaction
1555
1478
   (0.0ms) begin transaction
1556
1479
   (0.0ms) commit transaction
1557
1480
  Rendering text template
1558
1481
  Rendered text template (0.0ms)
1559
- Completed 200 OK in 58ms (Views: 0.3ms | ActiveRecord: 4.9ms)
1560
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-07-19 11:26:57 +0000
1561
- Processing by ExampleController#this_requires_signin_permission as JSON
1562
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1563
-  (0.0ms) begin transaction
1564
-  (0.0ms) commit transaction
1565
- CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1566
-  (0.0ms) begin transaction
1482
+ Completed 200 OK in 66ms (Views: 0.3ms | ActiveRecord: 6.1ms)
1483
+ Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:37:18 +0000
1484
+ Processing by ExampleController#restricted as JSON
1485
+ Completed in 12ms (ActiveRecord: 0.0ms)
1486
+ Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:37:18 +0000
1487
+ Processing by ExampleController#restricted as JSON
1488
+ Completed in 19ms (ActiveRecord: 0.0ms)
1489
+ Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:37:18 +0000
1490
+ Processing by ExampleController#restricted as JSON
1491
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1492
+  (0.1ms) begin transaction
1567
1493
   (0.1ms) commit transaction
1568
1494
  CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1495
+  (0.1ms) begin transaction
1496
+  (0.0ms) commit transaction
1497
+ CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1569
1498
   (0.0ms) begin transaction
1570
1499
   (0.0ms) commit transaction
1571
1500
  CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1572
-  (0.3ms) begin transaction
1501
+  (0.0ms) begin transaction
1573
1502
   (0.0ms) commit transaction
1574
1503
   (0.0ms) begin transaction
1575
1504
   (0.0ms) commit transaction
1576
1505
  Rendering text template
1577
1506
  Rendered text template (0.0ms)
1578
- Completed 200 OK in 53ms (Views: 0.2ms | ActiveRecord: 0.9ms)
1507
+ Completed 200 OK in 51ms (Views: 0.3ms | ActiveRecord: 0.7ms)
1508
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "dummyapiuser@domain.com"], ["LIMIT", 1]]
1509
+  (0.1ms) begin transaction
1510
+ User Create (0.3ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Dummy API user created by gds-sso"], ["uid", "1607"], ["email", "dummyapiuser@domain.com"], ["permissions", "---\n- signin\n"]]
1511
+  (3.9ms) commit transaction
1512
+  (0.0ms) begin transaction
1513
+ User Update (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = ? [["permissions", "---\n- signin\n- extra_permission\n"], ["id", 3]]
1514
+  (4.9ms) commit transaction
1515
+  (0.0ms) begin transaction
1516
+ User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d31530"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
1517
+  (3.8ms) commit transaction
1518
+  (0.0ms) begin transaction
1519
+ User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d37459"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1520
+  (3.3ms) commit transaction
1521
+ Processing by Api::UserController#update as HTML
1522
+ Parameters: {"uid"=>"a1s2d31530"}
1523
+ Rendering /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
1524
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
1525
+ Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
1526
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
1527
+ Completed 403 Forbidden in 7ms (Views: 6.9ms | ActiveRecord: 0.0ms)
1528
+  (0.0ms) begin transaction
1529
+ User Create (0.3ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d36308"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
1530
+  (4.9ms) commit transaction
1531
+  (0.0ms) begin transaction
1532
+ User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d37479"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1533
+  (4.5ms) commit transaction
1534
+ Processing by Api::UserController#update as HTML
1535
+ Parameters: {"uid"=>"a1s2d36308"}
1536
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "a1s2d36308"], ["LIMIT", 1]]
1537
+  (0.0ms) begin transaction
1538
+ User Update (0.3ms) 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]]
1539
+  (3.4ms) commit transaction
1540
+ Completed 200 OK in 6ms (ActiveRecord: 3.8ms)
1541
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]]
1542
+  (0.0ms) begin transaction
1543
+ User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d39422"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
1544
+  (4.3ms) commit transaction
1545
+  (0.0ms) begin transaction
1546
+ User Create (0.3ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d34116"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1547
+  (3.1ms) commit transaction
1548
+ Processing by Api::UserController#reauth as HTML
1549
+ Parameters: {"uid"=>"a1s2d39422"}
1550
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "a1s2d39422"], ["LIMIT", 1]]
1551
+  (0.0ms) begin transaction
1552
+ User Update (0.2ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 8]]
1553
+  (4.1ms) commit transaction
1554
+ Completed 200 OK in 6ms (ActiveRecord: 4.5ms)
1555
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 8], ["LIMIT", 1]]
1556
+  (0.0ms) begin transaction
1557
+ User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d32983"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
1558
+  (3.3ms) commit transaction
1559
+  (0.0ms) begin transaction
1560
+ User Create (0.3ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d34457"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1561
+  (3.9ms) commit transaction
1562
+ Processing by Api::UserController#reauth as HTML
1563
+ Parameters: {"uid"=>"nonexistent-user"}
1564
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "nonexistent-user"], ["LIMIT", 1]]
1565
+ Completed 200 OK in 1ms (ActiveRecord: 0.1ms)
1566
+  (0.0ms) begin transaction
1567
+ User Create (0.3ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d36303"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
1568
+  (4.7ms) commit transaction
1569
+  (0.0ms) begin transaction
1570
+ User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d37837"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1571
+  (3.7ms) commit transaction
1572
+ Processing by Api::UserController#reauth as HTML
1573
+ Parameters: {"uid"=>"a1s2d36303"}
1574
+ Rendering /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
1575
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
1576
+ Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
1577
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
1578
+ Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)