gds-sso 14.3.0 → 15.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b52e95e5c04761c7ee185a3ca4dca19430eef37d12d8a35cfa2b88269f94e31f
4
- data.tar.gz: 7e5f31789917125be6019b9c130f82441bca12ae22f1e426a525a2a760ef5865
3
+ metadata.gz: 2f6e8e343ed76d12863efbbaa32b8cad40f6f1c089e425a4e9fa3fdde95ee0c8
4
+ data.tar.gz: c1556af8d9f7fb3a17708796e4ab5e63d00f57b1b05e67123eea37baacd77994
5
5
  SHA512:
6
- metadata.gz: 68cb0541a42c76c9141deab5cb9baba1806c2815a668192cc0fef2a2edafe24e7563b33206250f382bfe5a0b6c2c83544b3b4bf719c58ef7e1eec7ebf29575ce
7
- data.tar.gz: 716775197b9749e0d8760c1890d4a1661d1a676db7d92a22b79296254745eae6d14ade4ceac1fe674c9c6d62f8c7032cb38a8d5b01773ad8f063b600cb921e8b
6
+ metadata.gz: 7d6c7c78f8f04bbb7d19ed8dfb60427b0b16441206f14828f46edd46d4b94a0beab11c0b2697bc3677e0b711a9b8fcb80109b83eef7a272aca16d409be6fd831
7
+ data.tar.gz: e22e4728bc10f3f4b0c0ba791566512c5b855f80666dbc76e9abea6cdf17eb52a8d77d1ab37a2e3e95042bd80f19cc3cd769e3018c6603538455602ea17a9394
@@ -7,7 +7,7 @@
7
7
  <%= yield %>
8
8
  </div>
9
9
  <div id="footer" class="cf">
10
- &copy; <%= Date.today.year %> <a href="http://digital.cabinetoffice.gov.uk/"><abbr title="Government Digital Service">GDS</abbr></a>.
10
+ &copy; <%= Date.today.year %> <a href="https://www.gov.uk/government/organisations/government-digital-service">Government Digital Service</a>
11
11
  </div>
12
12
  </body>
13
13
  </html>
@@ -15,8 +15,8 @@ RSpec.shared_examples "a gds-sso user class" do
15
15
  expect(subject).to be_remotely_signed_out
16
16
  end
17
17
 
18
- it "implements #update_attributes" do
19
- subject.update_attributes(email: "ab@c.com")
18
+ it "implements #update!" do
19
+ subject.update!(email: "ab@c.com")
20
20
  expect(subject.email).to eq("ab@c.com")
21
21
  end
22
22
 
@@ -30,19 +30,19 @@ RSpec.shared_examples "a gds-sso user class" do
30
30
 
31
31
  describe "#has_all_permissions?" do
32
32
  it "is false when there are no permissions" do
33
- subject.update_attributes(permissions: nil)
33
+ subject.update!(permissions: nil)
34
34
  required_permissions = ["signin"]
35
35
  expect(subject.has_all_permissions?(required_permissions)).to be_falsy
36
36
  end
37
37
 
38
38
  it "is false when it does not have all required permissions" do
39
- subject.update_attributes(permissions: ["signin"])
39
+ subject.update!(permissions: ["signin"])
40
40
  required_permissions = ["signin", "not_granted_permission_one", "not_granted_permission_two"]
41
41
  expect(subject.has_all_permissions?(required_permissions)).to be false
42
42
  end
43
43
 
44
44
  it "is true when it has all required permissions" do
45
- subject.update_attributes(permissions: ["signin", "internal_app"])
45
+ subject.update!(permissions: ["signin", "internal_app"])
46
46
  required_permissions = ["signin", "internal_app"]
47
47
  expect(subject.has_all_permissions?(required_permissions)).to be true
48
48
  end
@@ -34,8 +34,8 @@ module GDS
34
34
  assert @lint_user.remotely_signed_out?
35
35
  end
36
36
 
37
- test 'implement #update_attributes' do
38
- @lint_user.update_attributes(email: 'test@example.com')
37
+ test 'implement #update!' do
38
+ @lint_user.update!(email: 'test@example.com')
39
39
  assert_equal @lint_user.email, 'test@example.com'
40
40
  end
41
41
 
@@ -46,7 +46,7 @@ module GDS
46
46
  self.where(:email => user_params['email']).first
47
47
 
48
48
  if user
49
- user.update_attributes(user_params)
49
+ user.update!(user_params)
50
50
  user
51
51
  else # Create a new user.
52
52
  create!(user_params)
@@ -1,5 +1,5 @@
1
1
  module GDS
2
2
  module SSO
3
- VERSION = "14.3.0"
3
+ VERSION = "15.0.0"
4
4
  end
5
5
  end
@@ -1,4 +1,7 @@
1
+ # frozen_string_literal: true
2
+
1
3
  Rails.application.routes.draw do
4
+ # Add your own routes here, or remove this file if you don't have need for it.
2
5
  root :to => 'example#index'
3
6
  get "/restricted" => 'example#restricted'
4
7
  get "/this_requires_signin_permission" => "example#this_requires_signin_permission"
@@ -0,0 +1,3 @@
1
+ test:
2
+ service: Disk
3
+ root: <%= Rails.root.join("tmp/storage") %>
@@ -1,4 +1,8 @@
1
+ # frozen_string_literal: true
2
+
1
3
  ActiveRecord::Schema.define do
4
+ # Set up any tables you need to exist for your test suite that don't belong
5
+ # in migrations.
2
6
  create_table "users", :force => true do |t|
3
7
  t.string "name", :null => false
4
8
  t.string "uid", :null => false
@@ -1,1578 +1,1512 @@
1
-  (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') 
2
-  (3.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
3
-  (0.1ms) select sqlite_version(*)
4
-  (3.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
5
- Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:29:05 +0000
6
- Processing by ExampleController#restricted as HTML
7
- Authenticating with gds_sso strategy
8
- Completed in 8ms (ActiveRecord: 0.0ms)
9
- Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:29:05 +0000
10
- Processing by ExampleController#restricted as JSON
11
- Completed in 131ms (ActiveRecord: 0.0ms)
12
- Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:29:05 +0000
13
- Processing by ExampleController#restricted as JSON
14
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
15
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "test@example-client.com"]]
16
-  (0.1ms) begin transaction
17
- 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]]
18
-  (6.2ms) commit transaction
19
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
20
-  (0.0ms) begin transaction
21
-  (0.1ms) commit transaction
22
- CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
23
-  (0.1ms) begin transaction
24
-  (0.1ms) commit transaction
25
- CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
26
-  (0.1ms) begin transaction
27
-  (0.1ms) commit transaction
28
-  (0.1ms) begin transaction
29
- SQL (0.3ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "f"], ["id", 1]]
30
-  (3.6ms) commit transaction
31
- Rendered text template (0.0ms)
32
- Completed 200 OK in 239ms (Views: 8.5ms | ActiveRecord: 11.8ms)
33
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-03-02 14:29:05 +0000
1
+  (0.1ms) DROP TABLE IF EXISTS "users"
2
+  (1.3ms) SELECT sqlite_version(*)
3
+  (13.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')
4
+  (6.6ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
5
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
6
+  (0.1ms) begin transaction
7
+ ActiveRecord::InternalMetadata Create (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2020-06-12 15:52:40.841962"], ["updated_at", "2020-06-12 15:52:40.841962"]]
8
+  (4.8ms) commit transaction
9
+  (7.3ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
10
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
11
+  (0.0ms) begin transaction
12
+  (0.0ms) commit transaction
13
+  (0.0ms) begin transaction
14
+ User Create (0.3ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d33734"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
15
+  (5.9ms) commit transaction
16
+  (0.0ms) begin transaction
17
+ User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d34315"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
18
+  (3.6ms) commit transaction
19
+ Processing by Api::UserController#update as HTML
20
+ Parameters: {"uid"=>"a1s2d33734"}
21
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "a1s2d33734"], ["LIMIT", 1]]
22
+  (0.0ms) begin transaction
23
+ 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", 1]]
24
+  (3.9ms) commit transaction
25
+ Completed 200 OK in 7ms (ActiveRecord: 4.5ms)
26
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
27
+  (0.1ms) begin transaction
28
+ User Create (0.3ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d33539"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
29
+  (7.7ms) commit transaction
30
+  (0.0ms) begin transaction
31
+ User Create (0.3ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d35648"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
32
+  (5.0ms) commit transaction
33
+ Processing by Api::UserController#update as HTML
34
+ Parameters: {"uid"=>"a1s2d33539"}
35
+ Rendering /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
36
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
37
+ Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
38
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
39
+ Completed 403 Forbidden in 18ms (Views: 17.9ms | ActiveRecord: 0.0ms)
40
+  (0.0ms) begin transaction
41
+ User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d3721"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
42
+  (5.8ms) commit transaction
43
+  (0.0ms) begin transaction
44
+ User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d37894"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
45
+  (6.4ms) commit transaction
46
+ Processing by Api::UserController#reauth as HTML
47
+ Parameters: {"uid"=>"a1s2d3721"}
48
+ Rendering /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
49
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
50
+ Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
51
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
52
+ Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
53
+  (0.0ms) begin transaction
54
+ User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d35360"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
55
+  (5.3ms) commit transaction
56
+  (0.0ms) begin transaction
57
+ User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d34311"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
58
+  (5.9ms) commit transaction
59
+ Processing by Api::UserController#reauth as HTML
60
+ Parameters: {"uid"=>"nonexistent-user"}
61
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "nonexistent-user"], ["LIMIT", 1]]
62
+ Completed 200 OK in 1ms (ActiveRecord: 0.1ms)
63
+  (0.0ms) begin transaction
64
+ User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d34411"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
65
+  (4.5ms) commit transaction
66
+  (0.0ms) begin transaction
67
+ User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d36843"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
68
+  (11.2ms) commit transaction
69
+ Processing by Api::UserController#reauth as HTML
70
+ Parameters: {"uid"=>"a1s2d34411"}
71
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "a1s2d34411"], ["LIMIT", 1]]
72
+  (0.0ms) begin transaction
73
+ User Update (0.2ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 9]]
74
+  (32.6ms) commit transaction
75
+ Completed 200 OK in 35ms (ActiveRecord: 33.0ms)
76
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 9], ["LIMIT", 1]]
77
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "asd"], ["LIMIT", 1]]
78
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "user@example.com"], ["LIMIT", 1]]
79
+  (0.0ms) begin transaction
80
+ User Create (0.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]]
81
+  (36.0ms) commit transaction
82
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "asd"], ["LIMIT", 1]]
83
+  (0.0ms) begin transaction
84
+  (0.0ms) commit transaction
85
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-06-12 15:52:41 +0000
34
86
  Processing by ExampleController#this_requires_signin_permission as JSON
35
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
36
-  (0.1ms) begin transaction
37
-  (0.1ms) commit transaction
38
- CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
39
-  (0.1ms) begin transaction
40
-  (0.1ms) commit transaction
41
- CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
42
-  (0.1ms) begin transaction
43
-  (0.1ms) commit transaction
44
- CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
45
-  (0.1ms) begin transaction
46
-  (0.1ms) commit transaction
47
-  (0.1ms) begin transaction
48
-  (0.1ms) commit transaction
87
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
88
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "test@example-client.com"], ["LIMIT", 1]]
89
+  (0.1ms) begin transaction
90
+ User Create (0.4ms) 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]]
91
+  (7.6ms) commit transaction
92
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
93
+  (0.1ms) begin transaction
94
+  (0.1ms) commit transaction
95
+ CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
96
+  (0.1ms) begin transaction
97
+  (0.1ms) commit transaction
98
+ CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
99
+  (0.1ms) begin transaction
100
+  (0.1ms) commit transaction
101
+  (0.1ms) begin transaction
102
+ User Update (2.9ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "f"], ["id", 12]]
103
+  (6.2ms) commit transaction
104
+ Rendering text template
49
105
  Rendered text template (0.0ms)
50
- Completed 200 OK in 53ms (Views: 0.3ms | ActiveRecord: 0.8ms)
51
- Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:29:06 +0000
106
+ Completed 200 OK in 572ms (Views: 4.5ms | ActiveRecord: 18.4ms)
107
+ Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:52:42 +0000
52
108
  Processing by ExampleController#restricted as JSON
53
- Completed in 21ms (ActiveRecord: 0.0ms)
54
- Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:29:06 +0000
55
- Processing by ExampleController#restricted as HTML
56
- Authenticating with gds_sso strategy
57
- Completed in 0ms (ActiveRecord: 0.0ms)
58
- Started GET "/auth/gds" for 127.0.0.1 at 2020-03-02 14:29:06 +0000
59
- Started GET "/auth/gds/callback?code=e1b59076e4f7d7e7f0de46ea514f6009dc4db8bf1ffa612872c13a6db67cc298&state=ba536dc898d9e9d5f62f9b7dcb2308aafa10d8018be7c2fa" for 127.0.0.1 at 2020-03-02 14:29:49 +0000
60
- Processing by AuthenticationsController#callback as HTML
61
- Parameters: {"code"=>"e1b59076e4f7d7e7f0de46ea514f6009dc4db8bf1ffa612872c13a6db67cc298", "state"=>"ba536dc898d9e9d5f62f9b7dcb2308aafa10d8018be7c2fa"}
62
- Authenticating with gds_sso strategy
63
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
64
-  (0.1ms) begin transaction
65
- SQL (0.2ms) UPDATE "users" SET "disabled" = ? WHERE "users"."id" = ? [["disabled", "f"], ["id", 1]]
66
-  (7.4ms) commit transaction
67
-  (0.0ms) begin transaction
68
-  (0.1ms) commit transaction
69
- Redirected to http://www.example-client.com/restricted
70
- Completed 302 Found in 13ms (ActiveRecord: 7.9ms)
71
- Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:29:49 +0000
72
- Processing by ExampleController#restricted as HTML
73
- 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"]]
109
+ Completed in 49ms (ActiveRecord: 0.0ms)
110
+ Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:52:42 +0000
111
+ Processing by ExampleController#restricted as JSON
112
+ Completed in 85ms (ActiveRecord: 0.0ms)
113
+ Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:52:42 +0000
114
+ Processing by ExampleController#restricted as JSON
115
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
116
+  (2.8ms) begin transaction
117
+  (0.1ms) commit transaction
118
+ CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
119
+  (0.2ms) begin transaction
120
+  (0.2ms) commit transaction
121
+ CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
122
+  (0.1ms) begin transaction
123
+  (0.1ms) commit transaction
124
+ CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
125
+  (0.1ms) begin transaction
126
+  (0.2ms) commit transaction
127
+  (0.2ms) begin transaction
128
+  (0.1ms) commit transaction
129
+ Rendering text template
74
130
  Rendered text template (0.0ms)
75
- Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.2ms)
76
- Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:29:49 +0000
131
+ Completed 200 OK in 192ms (Views: 2.2ms | ActiveRecord: 4.5ms)
132
+ Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:52:42 +0000
77
133
  Processing by ExampleController#restricted as HTML
78
134
  Authenticating with gds_sso strategy
79
- Completed in 0ms (ActiveRecord: 0.0ms)
80
- Started GET "/auth/gds" for 127.0.0.1 at 2020-03-02 14:29:49 +0000
81
- Started GET "/auth/gds/callback?code=b8e1009bf9f623a1f56e714f506ec4ce849db7417a5a87bce5ebdec7ad49bca5&state=d70f4e5897597b11c93c7161370fbb89bbe2bd4ed611981d" for 127.0.0.1 at 2020-03-02 14:29:49 +0000
82
- Processing by AuthenticationsController#callback as HTML
83
- Parameters: {"code"=>"b8e1009bf9f623a1f56e714f506ec4ce849db7417a5a87bce5ebdec7ad49bca5", "state"=>"d70f4e5897597b11c93c7161370fbb89bbe2bd4ed611981d"}
84
- Authenticating with gds_sso strategy
85
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
86
-  (0.1ms) begin transaction
87
-  (0.1ms) commit transaction
88
-  (0.0ms) begin transaction
89
-  (0.1ms) commit transaction
90
- Redirected to http://www.example-client.com/restricted
91
- Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
92
- Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:29:50 +0000
93
- Processing by ExampleController#restricted as HTML
94
- 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"]]
95
- Rendered text template (0.0ms)
96
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
97
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-03-02 14:29:50 +0000
135
+ Completed in 1ms (ActiveRecord: 0.0ms)
136
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-06-12 15:52:43 +0000
98
137
  Processing by ExampleController#this_requires_signin_permission as HTML
99
138
  Authenticating with gds_sso strategy
100
139
  Completed in 0ms (ActiveRecord: 0.0ms)
101
- Started GET "/auth/gds" for 127.0.0.1 at 2020-03-02 14:29:50 +0000
102
- Started GET "/auth/gds/callback?code=0468fef77903cb3307e1d8c25284fc29f55bd5f1d9c962abfa642198f188f92d&state=a89a83e83d4bc04bf70fbb55094aaf9e81e929da27b0a113" for 127.0.0.1 at 2020-03-02 14:29:50 +0000
140
+ Started GET "/auth/gds" for 127.0.0.1 at 2020-06-12 15:52:43 +0000
141
+ Started GET "/auth/gds/callback?code=AbT8SXs2YjD7WJqWc0VjMLIEqVD8gd3rLKwX4q7o6Pc&state=942a5af1a1114e63d229a53a3aabe299e05a74e59d19ad3b" for 127.0.0.1 at 2020-06-12 15:52:43 +0000
103
142
  Processing by AuthenticationsController#callback as HTML
104
- Parameters: {"code"=>"0468fef77903cb3307e1d8c25284fc29f55bd5f1d9c962abfa642198f188f92d", "state"=>"a89a83e83d4bc04bf70fbb55094aaf9e81e929da27b0a113"}
143
+ Parameters: {"code"=>"AbT8SXs2YjD7WJqWc0VjMLIEqVD8gd3rLKwX4q7o6Pc", "state"=>"942a5af1a1114e63d229a53a3aabe299e05a74e59d19ad3b"}
105
144
  Authenticating with gds_sso strategy
106
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
107
-  (0.2ms) begin transaction
108
-  (0.1ms) commit transaction
109
-  (0.0ms) begin transaction
110
-  (0.1ms) commit transaction
145
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
146
+  (0.1ms) begin transaction
147
+ User Update (0.5ms) UPDATE "users" SET "disabled" = ? WHERE "users"."id" = ? [["disabled", "f"], ["id", 12]]
148
+  (9.7ms) commit transaction
149
+  (0.1ms) begin transaction
150
+  (0.1ms) commit transaction
111
151
  Redirected to http://www.example-client.com/this_requires_signin_permission
112
- Completed 302 Found in 4ms (ActiveRecord: 0.5ms)
113
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-03-02 14:29:50 +0000
152
+ Completed 302 Found in 19ms (ActiveRecord: 10.9ms)
153
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-06-12 15:52:43 +0000
114
154
  Processing by ExampleController#this_requires_signin_permission as HTML
115
- 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"]]
155
+ User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
156
+ Rendering text template
116
157
  Rendered text template (0.0ms)
117
- Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
118
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-03-02 14:29:50 +0000
158
+ Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.5ms)
159
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-06-12 15:52:43 +0000
119
160
  Processing by ExampleController#this_requires_signin_permission as HTML
120
161
  Authenticating with gds_sso strategy
121
162
  Completed in 0ms (ActiveRecord: 0.0ms)
122
- Started GET "/auth/gds" for 127.0.0.1 at 2020-03-02 14:29:50 +0000
123
- Started GET "/auth/gds/callback?code=92a9a318a2f438c1dd7b2c3160ae98a5374fa20c35b02a88df2270325ea0ed43&state=cb74969030c3d92af529044423c4853d3ea4c8031c927ada" for 127.0.0.1 at 2020-03-02 14:29:50 +0000
163
+ Started GET "/auth/gds" for 127.0.0.1 at 2020-06-12 15:52:43 +0000
164
+ Started GET "/auth/gds/callback?code=gCzNxa0UYS9v1u34NFcJQBGWHthk7SL6AQp_IFUHTkQ&state=c33f8168dbdb2f49c4ea77084f5b3c640e941cae38533aad" for 127.0.0.1 at 2020-06-12 15:52:43 +0000
124
165
  Processing by AuthenticationsController#callback as HTML
125
- Parameters: {"code"=>"92a9a318a2f438c1dd7b2c3160ae98a5374fa20c35b02a88df2270325ea0ed43", "state"=>"cb74969030c3d92af529044423c4853d3ea4c8031c927ada"}
166
+ Parameters: {"code"=>"gCzNxa0UYS9v1u34NFcJQBGWHthk7SL6AQp_IFUHTkQ", "state"=>"c33f8168dbdb2f49c4ea77084f5b3c640e941cae38533aad"}
126
167
  Authenticating with gds_sso strategy
127
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
128
-  (0.1ms) begin transaction
129
-  (0.0ms) commit transaction
130
-  (0.0ms) begin transaction
131
-  (0.0ms) commit transaction
168
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
169
+  (0.1ms) begin transaction
170
+  (0.2ms) commit transaction
171
+  (0.1ms) begin transaction
172
+  (0.1ms) commit transaction
132
173
  Redirected to http://www.example-client.com/this_requires_signin_permission
133
- Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
134
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-03-02 14:29:50 +0000
174
+ Completed 302 Found in 7ms (ActiveRecord: 0.8ms)
175
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-06-12 15:52:43 +0000
135
176
  Processing by ExampleController#this_requires_signin_permission as HTML
136
- 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"]]
177
+ 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]]
178
+ Rendering text template
137
179
  Rendered text template (0.0ms)
138
- Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
139
- Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:29:50 +0000
180
+ Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.3ms)
181
+ Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:52:43 +0000
140
182
  Processing by ExampleController#restricted as HTML
141
183
  Authenticating with gds_sso strategy
142
184
  Completed in 0ms (ActiveRecord: 0.0ms)
143
- Started GET "/auth/gds" for 127.0.0.1 at 2020-03-02 14:29:50 +0000
144
- Started GET "/auth/gds/callback?code=88875f3fc0462f6c47a3e5199156d94fafaad97b4dc4b808cca257d0806c5e42&state=4aface7075e9f989d578d26c0058afe5764e6cc66af83c09" for 127.0.0.1 at 2020-03-02 14:29:50 +0000
185
+ Started GET "/auth/gds" for 127.0.0.1 at 2020-06-12 15:52:43 +0000
186
+ Started GET "/auth/gds/callback?code=D6vj8aToDosrjQog3mwDKymQBj5G6Nv9sd7lDD7C7vI&state=11faee918652964aede9dc6ac351b1a31333cabea007ce37" for 127.0.0.1 at 2020-06-12 15:52:44 +0000
145
187
  Processing by AuthenticationsController#callback as HTML
146
- Parameters: {"code"=>"88875f3fc0462f6c47a3e5199156d94fafaad97b4dc4b808cca257d0806c5e42", "state"=>"4aface7075e9f989d578d26c0058afe5764e6cc66af83c09"}
188
+ Parameters: {"code"=>"D6vj8aToDosrjQog3mwDKymQBj5G6Nv9sd7lDD7C7vI", "state"=>"11faee918652964aede9dc6ac351b1a31333cabea007ce37"}
147
189
  Authenticating with gds_sso strategy
148
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
149
-  (0.1ms) begin transaction
150
-  (0.0ms) commit transaction
151
-  (0.0ms) begin transaction
152
-  (0.0ms) commit transaction
190
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
191
+  (0.1ms) begin transaction
192
+  (0.1ms) commit transaction
193
+  (0.1ms) begin transaction
194
+  (0.1ms) commit transaction
153
195
  Redirected to http://www.example-client.com/restricted
154
- Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
155
- Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:29:50 +0000
196
+ Completed 302 Found in 8ms (ActiveRecord: 0.9ms)
197
+ Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:52:44 +0000
156
198
  Processing by ExampleController#restricted as HTML
157
- 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"]]
158
- Rendered text template (0.0ms)
159
- Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
160
- Started GET "/" for 127.0.0.1 at 2020-03-02 14:29:50 +0000
161
- Processing by ExampleController#index as HTML
199
+ 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]]
200
+ Rendering text template
162
201
  Rendered text template (0.0ms)
163
- Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
164
- Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:29:50 +0000
202
+ Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.3ms)
203
+ Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:52:44 +0000
165
204
  Processing by ExampleController#restricted as HTML
166
205
  Authenticating with gds_sso strategy
167
- Completed in 0ms (ActiveRecord: 0.0ms)
168
- Started GET "/auth/gds" for 127.0.0.1 at 2020-03-02 14:29:50 +0000
169
- Started GET "/auth/gds/callback?code=85391d3bf603207eb36a90fd7fb0a988c0e22f569c7247f086954ea511d6fd05&state=96ccf264e2be29f11731d57701c1e85e2d84204e3cae4082" for 127.0.0.1 at 2020-03-02 14:29:50 +0000
206
+ Completed in 1ms (ActiveRecord: 0.0ms)
207
+ Started GET "/auth/gds" for 127.0.0.1 at 2020-06-12 15:52:44 +0000
208
+ Started GET "/auth/gds/callback?code=GgVBx-pk8SdrXsHbI01gIAgtXSBJms0gCtHAjVNxF18&state=6b4c711f8a12ef292ee88de78c83b99a975fa2c9a123022d" for 127.0.0.1 at 2020-06-12 15:52:44 +0000
170
209
  Processing by AuthenticationsController#callback as HTML
171
- Parameters: {"code"=>"85391d3bf603207eb36a90fd7fb0a988c0e22f569c7247f086954ea511d6fd05", "state"=>"96ccf264e2be29f11731d57701c1e85e2d84204e3cae4082"}
210
+ Parameters: {"code"=>"GgVBx-pk8SdrXsHbI01gIAgtXSBJms0gCtHAjVNxF18", "state"=>"6b4c711f8a12ef292ee88de78c83b99a975fa2c9a123022d"}
172
211
  Authenticating with gds_sso strategy
173
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
174
-  (0.1ms) begin transaction
175
-  (0.0ms) commit transaction
176
-  (0.0ms) begin transaction
177
-  (0.0ms) commit transaction
212
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
213
+  (0.2ms) begin transaction
214
+  (0.2ms) commit transaction
215
+  (0.1ms) begin transaction
216
+  (0.1ms) commit transaction
178
217
  Redirected to http://www.example-client.com/restricted
179
- Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
180
- Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:29:50 +0000
218
+ Completed 302 Found in 8ms (ActiveRecord: 1.0ms)
219
+ Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:52:44 +0000
181
220
  Processing by ExampleController#restricted as HTML
182
- 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"]]
221
+ 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]]
222
+ Rendering text template
183
223
  Rendered text template (0.0ms)
184
- Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
185
- Started GET "/restricted" for 127.0.0.1 at 2020-03-03 10:34:50 +0000
224
+ Completed 200 OK in 3ms (Views: 0.7ms | ActiveRecord: 0.3ms)
225
+ Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:52:44 +0000
186
226
  Processing by ExampleController#restricted as HTML
187
227
  Authenticating with gds_sso strategy
188
- Completed in 0ms (ActiveRecord: 0.0ms)
189
- Started GET "/auth/gds" for 127.0.0.1 at 2020-03-03 10:34:50 +0000
190
- Started GET "/auth/gds/callback?code=26b6691d6ecd3c02df89d664e862dc07f8e65dc0c7ed6a6ad8651aded9b11a78&state=0a4d99e830d75ac5d8635078b8b43579373dc4eab819d658" for 127.0.0.1 at 2020-03-03 10:34:50 +0000
228
+ Completed in 1ms (ActiveRecord: 0.0ms)
229
+ Started GET "/auth/gds" for 127.0.0.1 at 2020-06-12 15:52:44 +0000
230
+ Started GET "/auth/gds/callback?code=OCGbbCIr-vDoYGR_2sRzEFYdDFr7x9TP4fc2p16jWE8&state=3e3cb71f323db6b923ffdf61d0418b264a5ffebf6160f63d" for 127.0.0.1 at 2020-06-12 15:52:44 +0000
191
231
  Processing by AuthenticationsController#callback as HTML
192
- Parameters: {"code"=>"26b6691d6ecd3c02df89d664e862dc07f8e65dc0c7ed6a6ad8651aded9b11a78", "state"=>"0a4d99e830d75ac5d8635078b8b43579373dc4eab819d658"}
232
+ Parameters: {"code"=>"OCGbbCIr-vDoYGR_2sRzEFYdDFr7x9TP4fc2p16jWE8", "state"=>"3e3cb71f323db6b923ffdf61d0418b264a5ffebf6160f63d"}
193
233
  Authenticating with gds_sso strategy
194
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
195
-  (0.1ms) begin transaction
196
-  (0.1ms) commit transaction
197
-  (0.1ms) begin transaction
198
-  (0.1ms) commit transaction
234
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
235
+  (0.1ms) begin transaction
236
+  (0.1ms) commit transaction
237
+  (0.1ms) begin transaction
238
+  (0.1ms) commit transaction
199
239
  Redirected to http://www.example-client.com/restricted
200
- Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
201
- Started GET "/restricted" for 127.0.0.1 at 2020-03-03 10:34:50 +0000
240
+ Completed 302 Found in 8ms (ActiveRecord: 0.9ms)
241
+ Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:52:44 +0000
202
242
  Processing by ExampleController#restricted as HTML
203
- 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"]]
243
+ 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]]
244
+ Rendering text template
245
+ Rendered text template (0.0ms)
246
+ Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.3ms)
247
+ Started GET "/" for 127.0.0.1 at 2020-06-12 15:52:44 +0000
248
+ Processing by ExampleController#index as HTML
249
+ Rendering text template
204
250
  Rendered text template (0.0ms)
205
- Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
206
- Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:29:50 +0000
251
+ Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
252
+ Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:52:44 +0000
207
253
  Processing by ExampleController#restricted as HTML
208
254
  Authenticating with gds_sso strategy
209
255
  Completed in 0ms (ActiveRecord: 0.0ms)
210
- Started GET "/auth/gds" for 127.0.0.1 at 2020-03-02 14:29:50 +0000
211
- Started GET "/auth/gds/callback?code=a511233760c58ed49bc2248c2af21616413b693372d304be4cfc8f17e8eb9679&state=55f11ffda7c6ed29b0de0e6bb2fbeb7264ff8840f51a6039" for 127.0.0.1 at 2020-03-02 14:29:51 +0000
256
+ Started GET "/auth/gds" for 127.0.0.1 at 2020-06-12 15:52:44 +0000
257
+ Started GET "/auth/gds/callback?code=NsjNUHfVtSG4vhV7N62Qa7PdOg7fEXWd_5P_PB67O7g&state=cc1ccab0a203831db61f52a6027fb073078780d82473dcb1" for 127.0.0.1 at 2020-06-12 15:52:45 +0000
212
258
  Processing by AuthenticationsController#callback as HTML
213
- Parameters: {"code"=>"a511233760c58ed49bc2248c2af21616413b693372d304be4cfc8f17e8eb9679", "state"=>"55f11ffda7c6ed29b0de0e6bb2fbeb7264ff8840f51a6039"}
259
+ Parameters: {"code"=>"NsjNUHfVtSG4vhV7N62Qa7PdOg7fEXWd_5P_PB67O7g", "state"=>"cc1ccab0a203831db61f52a6027fb073078780d82473dcb1"}
214
260
  Authenticating with gds_sso strategy
215
- User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
216
-  (0.1ms) begin transaction
217
-  (0.0ms) commit transaction
218
-  (0.0ms) begin transaction
219
-  (0.0ms) commit transaction
261
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
262
+  (0.2ms) begin transaction
263
+  (0.1ms) commit transaction
264
+  (0.1ms) begin transaction
265
+  (0.1ms) commit transaction
220
266
  Redirected to http://www.example-client.com/restricted
221
- Completed 302 Found in 4ms (ActiveRecord: 0.5ms)
222
- Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:29:51 +0000
267
+ Completed 302 Found in 8ms (ActiveRecord: 1.0ms)
268
+ Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:52:45 +0000
223
269
  Processing by ExampleController#restricted as HTML
224
- 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"]]
270
+ 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]]
271
+ Rendering text template
225
272
  Rendered text template (0.0ms)
226
- Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
227
- Started GET "/restricted" for 127.0.0.1 at 2020-03-03 10:34:51 +0000
273
+ Completed 200 OK in 4ms (Views: 1.0ms | ActiveRecord: 0.3ms)
274
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "test@example-client.com"], ["LIMIT", 1]]
275
+  (0.2ms) begin transaction
276
+ User Update (0.6ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 12]]
277
+  (8.7ms) commit transaction
278
+ Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:52:45 +0000
228
279
  Processing by ExampleController#restricted as HTML
280
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
229
281
  Authenticating with gds_sso strategy
230
- Completed in 1ms (ActiveRecord: 0.0ms)
231
- Started GET "/auth/gds" for 127.0.0.1 at 2020-03-03 10:34:51 +0000
232
- Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:29:51 +0000
282
+ Completed in 3ms (ActiveRecord: 0.4ms)
283
+ Started GET "/auth/gds" for 127.0.0.1 at 2020-06-12 15:52:45 +0000
284
+ Started GET "/auth/gds/callback?code=AAHc6IBqdonjmnnQpy6FsaMe2irrObVMsXS454Jys0A&state=0cf6b1709a48471c092563aff55cc600aa927a910c57837b" for 127.0.0.1 at 2020-06-12 15:52:45 +0000
285
+ Processing by AuthenticationsController#callback as HTML
286
+ Parameters: {"code"=>"AAHc6IBqdonjmnnQpy6FsaMe2irrObVMsXS454Jys0A", "state"=>"0cf6b1709a48471c092563aff55cc600aa927a910c57837b"}
287
+ Authenticating with gds_sso strategy
288
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
289
+  (0.2ms) begin transaction
290
+  (0.1ms) commit transaction
291
+  (0.1ms) begin transaction
292
+ User Update (0.5ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "f"], ["id", 12]]
293
+  (8.0ms) commit transaction
294
+ Redirected to http://www.example-client.com/restricted
295
+ Completed 302 Found in 17ms (ActiveRecord: 9.3ms)
296
+ Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:52:45 +0000
297
+ Processing by ExampleController#restricted as HTML
298
+ User Load (0.4ms) 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]]
299
+ Rendering text template
300
+ Rendered text template (0.0ms)
301
+ Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.4ms)
302
+ Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:52:45 +0000
233
303
  Processing by ExampleController#restricted as HTML
234
304
  Authenticating with gds_sso strategy
235
305
  Completed in 0ms (ActiveRecord: 0.0ms)
236
- Started GET "/auth/gds" for 127.0.0.1 at 2020-03-02 14:29:51 +0000
237
- Started GET "/auth/gds/callback?code=37bb3145b691628a0fc5750413e5d6898c65255cc91d932b63b0f7f80f7c93a1&state=df00753a2f20674d122e783451254b90c53d08215b7126ce" for 127.0.0.1 at 2020-03-02 14:29:51 +0000
306
+ Started GET "/auth/gds" for 127.0.0.1 at 2020-06-12 15:52:45 +0000
307
+ Started GET "/auth/gds/callback?code=9BOJnQTFGfLiQWtAWiryzU939095WY-FKCVh3f9WayI&state=d2123ae28df5944198b5ea755b51895a76fbeaf5aa945c75" for 127.0.0.1 at 2020-06-12 15:52:46 +0000
238
308
  Processing by AuthenticationsController#callback as HTML
239
- Parameters: {"code"=>"37bb3145b691628a0fc5750413e5d6898c65255cc91d932b63b0f7f80f7c93a1", "state"=>"df00753a2f20674d122e783451254b90c53d08215b7126ce"}
309
+ Parameters: {"code"=>"9BOJnQTFGfLiQWtAWiryzU939095WY-FKCVh3f9WayI", "state"=>"d2123ae28df5944198b5ea755b51895a76fbeaf5aa945c75"}
240
310
  Authenticating with gds_sso strategy
241
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
242
-  (0.1ms) begin transaction
243
-  (0.0ms) commit transaction
244
-  (0.1ms) begin transaction
245
-  (0.0ms) commit transaction
311
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
312
+  (0.1ms) begin transaction
313
+  (0.1ms) commit transaction
314
+  (0.1ms) begin transaction
315
+  (0.1ms) commit transaction
246
316
  Redirected to http://www.example-client.com/restricted
247
- Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
248
- Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:29:51 +0000
317
+ Completed 302 Found in 6ms (ActiveRecord: 0.7ms)
318
+ Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:52:46 +0000
249
319
  Processing by ExampleController#restricted as HTML
250
- 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"]]
320
+ 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]]
321
+ Rendering text template
251
322
  Rendered text template (0.0ms)
252
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
253
- Started GET "/restricted" for 127.0.0.1 at 2020-03-03 10:24:51 +0000
323
+ Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.3ms)
324
+ Started GET "/restricted" for 127.0.0.1 at 2020-06-13 11:57:46 +0000
254
325
  Processing by ExampleController#restricted as HTML
255
- 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"]]
256
- Rendered text template (0.0ms)
257
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
258
- Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:29:51 +0000
326
+ Authenticating with gds_sso strategy
327
+ Completed in 1ms (ActiveRecord: 0.0ms)
328
+ Started GET "/auth/gds" for 127.0.0.1 at 2020-06-13 11:57:46 +0000
329
+ Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:52:46 +0000
259
330
  Processing by ExampleController#restricted as HTML
260
331
  Authenticating with gds_sso strategy
261
332
  Completed in 0ms (ActiveRecord: 0.0ms)
262
- Started GET "/auth/gds" for 127.0.0.1 at 2020-03-02 14:29:51 +0000
263
- Started GET "/auth/gds/callback?code=a9045f07f86382c5448721355c2726a8a72437cb892b98fb57489a64ce9f63fc&state=2f3cc07d8eb63374a87b786b70f095f14efc89696fa9c95a" for 127.0.0.1 at 2020-03-02 14:29:51 +0000
333
+ Started GET "/auth/gds" for 127.0.0.1 at 2020-06-12 15:52:46 +0000
334
+ Started GET "/auth/gds/callback?code=AWNqZG3m-uIGse3YK1Rej37QoMdQjrZPyLc2xrbb5mY&state=c3aedbbad6bf9a88f2e32e1d7351acbb7fc1080e85baa97d" for 127.0.0.1 at 2020-06-12 15:52:46 +0000
264
335
  Processing by AuthenticationsController#callback as HTML
265
- Parameters: {"code"=>"a9045f07f86382c5448721355c2726a8a72437cb892b98fb57489a64ce9f63fc", "state"=>"2f3cc07d8eb63374a87b786b70f095f14efc89696fa9c95a"}
336
+ Parameters: {"code"=>"AWNqZG3m-uIGse3YK1Rej37QoMdQjrZPyLc2xrbb5mY", "state"=>"c3aedbbad6bf9a88f2e32e1d7351acbb7fc1080e85baa97d"}
266
337
  Authenticating with gds_sso strategy
267
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
268
-  (0.1ms) begin transaction
269
-  (0.0ms) commit transaction
270
-  (0.0ms) begin transaction
271
-  (0.1ms) commit transaction
338
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
339
+  (0.1ms) begin transaction
340
+  (0.1ms) commit transaction
341
+  (0.1ms) begin transaction
342
+  (0.1ms) commit transaction
272
343
  Redirected to http://www.example-client.com/restricted
273
- Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
274
- Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:29:51 +0000
344
+ Completed 302 Found in 7ms (ActiveRecord: 0.7ms)
345
+ Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:52:46 +0000
275
346
  Processing by ExampleController#restricted as HTML
276
- 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"]]
347
+ 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]]
348
+ Rendering text template
277
349
  Rendered text template (0.0ms)
278
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
279
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "test@example-client.com"]]
280
-  (0.0ms) begin transaction
281
- SQL (0.2ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 1]]
282
-  (4.6ms) commit transaction
283
- Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:29:51 +0000
284
- Processing by ExampleController#restricted as HTML
285
- 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"]]
286
- Authenticating with gds_sso strategy
287
- Completed in 1ms (ActiveRecord: 0.1ms)
288
- Started GET "/auth/gds" for 127.0.0.1 at 2020-03-02 14:29:51 +0000
289
- Started GET "/auth/gds/callback?code=d0346b4fc520ec80b1f696dcd4af42a7b1bad2245256910e243220ead50dfbe8&state=c09460cc3bfbc7967bcf913f08846fb2f1906eaa661c6072" for 127.0.0.1 at 2020-03-02 14:29:51 +0000
290
- Processing by AuthenticationsController#callback as HTML
291
- Parameters: {"code"=>"d0346b4fc520ec80b1f696dcd4af42a7b1bad2245256910e243220ead50dfbe8", "state"=>"c09460cc3bfbc7967bcf913f08846fb2f1906eaa661c6072"}
292
- Authenticating with gds_sso strategy
293
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
294
-  (0.1ms) begin transaction
295
-  (0.0ms) commit transaction
296
-  (0.1ms) begin transaction
297
- SQL (0.2ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "f"], ["id", 1]]
298
-  (4.5ms) commit transaction
299
- Redirected to http://www.example-client.com/restricted
300
- Completed 302 Found in 9ms (ActiveRecord: 5.0ms)
301
- Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:29:51 +0000
350
+ Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.3ms)
351
+ Started GET "/restricted" for 127.0.0.1 at 2020-06-13 11:57:46 +0000
302
352
  Processing by ExampleController#restricted as HTML
303
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
304
- Rendered text template (0.0ms)
305
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
306
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "dummyapiuser@domain.com"]]
307
-  (0.0ms) begin transaction
308
- SQL (0.2ms) INSERT INTO "users" ("email", "uid", "name", "permissions") VALUES (?, ?, ?, ?) [["email", "dummyapiuser@domain.com"], ["uid", "8633"], ["name", "Dummy API user created by gds-sso"], ["permissions", "---\n- signin\n"]]
309
-  (9.3ms) commit transaction
310
-  (0.0ms) begin transaction
311
- SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = ? [["permissions", "---\n- signin\n- extra_permission\n"], ["id", 2]]
312
-  (5.1ms) commit transaction
313
-  (0.0ms) begin transaction
314
- SQL (0.2ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d39674"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
315
-  (3.7ms) commit transaction
316
-  (0.0ms) begin transaction
317
- SQL (0.2ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d32273"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
318
-  (4.8ms) commit transaction
319
- Processing by Api::UserController#reauth as HTML
320
- Parameters: {"uid"=>"a1s2d39674"}
321
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "a1s2d39674"]]
322
-  (0.0ms) begin transaction
323
- SQL (0.2ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 3]]
324
-  (3.5ms) commit transaction
325
- Completed 200 OK in 6ms (ActiveRecord: 3.9ms)
326
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
327
-  (0.0ms) begin transaction
328
- SQL (0.2ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d37530"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
329
-  (3.2ms) commit transaction
330
-  (0.0ms) begin transaction
331
- SQL (0.2ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d31850"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
332
-  (3.4ms) commit transaction
333
- Processing by Api::UserController#reauth as HTML
334
- Parameters: {"uid"=>"nonexistent-user"}
335
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "nonexistent-user"]]
336
- Completed 200 OK in 1ms (ActiveRecord: 0.1ms)
337
-  (0.0ms) begin transaction
338
- SQL (0.2ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d3143"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
339
-  (3.8ms) commit transaction
340
-  (0.0ms) begin transaction
341
- SQL (0.2ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d34529"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
342
-  (4.3ms) commit transaction
343
- Processing by Api::UserController#reauth as HTML
344
- Parameters: {"uid"=>"a1s2d3143"}
345
- Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
346
- Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.3ms)
347
- Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
348
- Completed 403 Forbidden in 7ms (Views: 6.3ms | ActiveRecord: 0.0ms)
349
-  (0.1ms) begin transaction
350
- SQL (0.2ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d33656"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
351
-  (3.5ms) commit transaction
352
-  (0.0ms) begin transaction
353
- SQL (0.2ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d31326"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
354
-  (5.1ms) commit transaction
355
- Processing by Api::UserController#update as HTML
356
- Parameters: {"uid"=>"a1s2d33656"}
357
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "a1s2d33656"]]
358
-  (0.0ms) begin transaction
359
- 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", 9]]
360
-  (4.1ms) commit transaction
361
- Completed 200 OK in 7ms (ActiveRecord: 4.5ms)
362
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 9]]
363
-  (0.1ms) begin transaction
364
- SQL (0.2ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d34761"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
365
-  (3.6ms) commit transaction
366
-  (0.1ms) begin transaction
367
- SQL (0.2ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d36956"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
368
-  (3.7ms) commit transaction
369
- Processing by Api::UserController#update as HTML
370
- Parameters: {"uid"=>"a1s2d34761"}
371
- Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
372
- Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
373
- Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
374
- Completed 403 Forbidden in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
375
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "asd"]]
376
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "user@example.com"]]
377
-  (0.0ms) begin transaction
378
- 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]]
379
-  (3.8ms) commit transaction
380
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "asd"]]
381
-  (0.0ms) begin transaction
382
-  (0.0ms) commit transaction
383
-  (0.1ms) DROP TABLE IF EXISTS "users"
384
-  (1.1ms) SELECT sqlite_version(*)
385
-  (6.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')
386
-  (4.9ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
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
-  (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", "2020-03-02 14:30:02.427819"], ["updated_at", "2020-03-02 14:30:02.427819"]]
390
-  (3.1ms) commit transaction
391
-  (4.5ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
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
-  (0.0ms) begin transaction
394
-  (0.0ms) commit transaction
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
-  (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", "2768"], ["email", "dummyapiuser@domain.com"], ["permissions", "---\n- signin\n"]]
398
-  (3.9ms) commit transaction
399
-  (0.1ms) begin transaction
400
- User Update (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = ? [["permissions", "---\n- signin\n- extra_permission\n"], ["id", 1]]
401
-  (3.9ms) commit transaction
402
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-03-02 14:30:03 +0000
403
- Processing by ExampleController#this_requires_signin_permission as JSON
353
+ Authenticating with gds_sso strategy
354
+ Completed in 1ms (ActiveRecord: 0.0ms)
355
+ Started GET "/auth/gds" for 127.0.0.1 at 2020-06-13 11:57:46 +0000
356
+ Started GET "/auth/gds/callback?code=hnnbJVh7CLnARnqDPgl46iljnXXzRik6SpMXuknRRdg&state=4a9222d796b215689061c58a212391c4e3349824aebf6754" for 127.0.0.1 at 2020-06-13 11:57:46 +0000
357
+ Processing by AuthenticationsController#callback as HTML
358
+ Parameters: {"code"=>"hnnbJVh7CLnARnqDPgl46iljnXXzRik6SpMXuknRRdg", "state"=>"4a9222d796b215689061c58a212391c4e3349824aebf6754"}
359
+ Authenticating with gds_sso strategy
404
360
  User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
405
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "test@example-client.com"], ["LIMIT", 1]]
406
-  (0.0ms) begin transaction
407
- 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]]
408
-  (3.3ms) commit transaction
409
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
410
361
   (0.1ms) begin transaction
411
362
   (0.1ms) commit transaction
412
- CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
413
363
   (0.1ms) begin transaction
414
364
   (0.1ms) commit transaction
415
- CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
416
-  (0.1ms) begin transaction
417
-  (0.1ms) commit transaction
418
-  (0.0ms) begin transaction
419
- User Update (0.3ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "f"], ["id", 2]]
420
-  (4.3ms) commit transaction
365
+ Redirected to http://www.example-client.com/restricted
366
+ Completed 302 Found in 7ms (ActiveRecord: 0.7ms)
367
+ Started GET "/restricted" for 127.0.0.1 at 2020-06-13 11:57:46 +0000
368
+ Processing by ExampleController#restricted as HTML
369
+ 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]]
421
370
  Rendering text template
422
371
  Rendered text template (0.0ms)
423
- Completed 200 OK in 85ms (Views: 3.0ms | ActiveRecord: 9.1ms)
424
- Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:03 +0000
425
- Processing by ExampleController#restricted as JSON
426
- Completed in 21ms (ActiveRecord: 0.0ms)
427
- Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:03 +0000
428
- Processing by ExampleController#restricted as JSON
429
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
372
+ Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.3ms)
373
+ Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:52:46 +0000
374
+ Processing by ExampleController#restricted as HTML
375
+ Authenticating with gds_sso strategy
376
+ Completed in 0ms (ActiveRecord: 0.0ms)
377
+ Started GET "/auth/gds" for 127.0.0.1 at 2020-06-12 15:52:46 +0000
378
+ Started GET "/auth/gds/callback?code=QpWFyXKxMVR094o1oISpgUJkKFDvfKV0900glRtQq1M&state=6ed8d7e0a8936f57670b834b8102d232165219569bd5dd69" for 127.0.0.1 at 2020-06-12 15:52:46 +0000
379
+ Processing by AuthenticationsController#callback as HTML
380
+ Parameters: {"code"=>"QpWFyXKxMVR094o1oISpgUJkKFDvfKV0900glRtQq1M", "state"=>"6ed8d7e0a8936f57670b834b8102d232165219569bd5dd69"}
381
+ Authenticating with gds_sso strategy
382
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
430
383
   (0.1ms) begin transaction
431
384
   (0.1ms) commit transaction
432
- CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
433
-  (0.1ms) begin transaction
434
-  (0.0ms) commit transaction
435
- CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
436
385
   (0.1ms) begin transaction
437
-  (0.0ms) commit transaction
438
- CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
439
-  (0.1ms) begin transaction
440
-  (0.0ms) commit transaction
441
-  (0.0ms) begin transaction
442
386
   (0.1ms) commit transaction
387
+ Redirected to http://www.example-client.com/restricted
388
+ Completed 302 Found in 7ms (ActiveRecord: 0.7ms)
389
+ Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:52:46 +0000
390
+ Processing by ExampleController#restricted as HTML
391
+ 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]]
392
+ Rendering text template
393
+ Rendered text template (0.0ms)
394
+ Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.3ms)
395
+ Started GET "/restricted" for 127.0.0.1 at 2020-06-13 11:47:46 +0000
396
+ Processing by ExampleController#restricted as HTML
397
+ 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]]
443
398
  Rendering text template
444
399
  Rendered text template (0.0ms)
445
- Completed 200 OK in 65ms (Views: 0.4ms | ActiveRecord: 0.9ms)
446
- Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:03 +0000
400
+ Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.3ms)
401
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "dummyapiuser@domain.com"], ["LIMIT", 1]]
402
+  (0.1ms) begin transaction
403
+ User Create (0.6ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Dummy API user created by gds-sso"], ["uid", "290"], ["email", "dummyapiuser@domain.com"], ["permissions", "---\n- signin\n"]]
404
+  (7.0ms) commit transaction
405
+  (0.1ms) begin transaction
406
+ User Update (0.5ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = ? [["permissions", "---\n- signin\n- extra_permission\n"], ["id", 13]]
407
+  (6.3ms) commit transaction
408
+  (1.4ms) SELECT sqlite_version(*)
409
+  (0.1ms) SELECT sqlite_version(*)
410
+  (0.2ms) DROP TABLE IF EXISTS "users"
411
+  (7.3ms) CREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "uid" varchar NOT NULL, "email" varchar NOT NULL, "remotely_signed_out" boolean, "permissions" text, "organisation_slug" varchar, "organisation_content_id" varchar, "disabled" boolean DEFAULT 0)
412
+  (4.9ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)
413
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
414
+  (0.1ms) begin transaction
415
+ ActiveRecord::InternalMetadata Create (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2020-06-12 15:52:54.919134"], ["updated_at", "2020-06-12 15:52:54.919134"]]
416
+  (4.2ms) commit transaction
417
+  (5.4ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
418
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
419
+  (0.1ms) SELECT sqlite_version(*)
420
+ Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:52:55 +0000
421
+ Processing by ExampleController#restricted as JSON
422
+ Completed in 43ms (ActiveRecord: 0.0ms | Allocations: 3118)
423
+ Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:52:55 +0000
424
+ Processing by ExampleController#restricted as JSON
425
+ Completed in 21ms (ActiveRecord: 0.0ms | Allocations: 1962)
426
+ Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:52:55 +0000
447
427
  Processing by ExampleController#restricted as JSON
448
- Completed in 13ms (ActiveRecord: 0.0ms)
449
- Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:03 +0000
428
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
429
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "test@example-client.com"], ["LIMIT", 1]]
430
+  (0.1ms) begin transaction
431
+ User Create (0.6ms) 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]]
432
+  (5.0ms) commit transaction
433
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
434
+ CACHE User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
435
+ CACHE User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
436
+  (0.1ms) begin transaction
437
+ User Update (0.5ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", 0], ["id", 1]]
438
+  (7.7ms) commit transaction
439
+ Rendering text template
440
+ Rendered text template (Duration: 0.1ms | Allocations: 3)
441
+ Completed 200 OK in 161ms (Views: 7.4ms | ActiveRecord: 17.6ms | Allocations: 16448)
442
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-06-12 15:52:55 +0000
443
+ Processing by ExampleController#this_requires_signin_permission as JSON
444
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
445
+ CACHE User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
446
+ CACHE User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
447
+ CACHE User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
448
+ Rendering text template
449
+ Rendered text template (Duration: 0.1ms | Allocations: 1)
450
+ Completed 200 OK in 113ms (Views: 0.7ms | ActiveRecord: 0.6ms | Allocations: 6800)
451
+ Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:52:56 +0000
450
452
  Processing by ExampleController#restricted as HTML
451
453
  Authenticating with gds_sso strategy
452
- Completed in 0ms (ActiveRecord: 0.0ms)
453
- Started GET "/auth/gds" for 127.0.0.1 at 2020-03-02 14:30:03 +0000
454
- Started GET "/auth/gds/callback?code=26a437ebf35d91ccbbf3931bc52805af65db4af865f181516715c0b5ecee486b&state=202432597d5ac66426c29d82fb60e04328247fb9ed9d5090" for 127.0.0.1 at 2020-03-02 14:30:03 +0000
454
+ Completed in 1ms (ActiveRecord: 0.0ms | Allocations: 118)
455
+ Started GET "/auth/gds" for 127.0.0.1 at 2020-06-12 15:52:56 +0000
456
+ Started GET "/auth/gds/callback?code=b_2-Ib_r2oPjmZBVJNOIlRKR8KuTEsRD6FAPBlgj3uA&state=ef5ed429ff69d99cd311f3c998a730fea024b5bb42461073" for 127.0.0.1 at 2020-06-12 15:52:56 +0000
455
457
  Processing by AuthenticationsController#callback as HTML
456
- Parameters: {"code"=>"26a437ebf35d91ccbbf3931bc52805af65db4af865f181516715c0b5ecee486b", "state"=>"202432597d5ac66426c29d82fb60e04328247fb9ed9d5090"}
458
+ Parameters: {"code"=>"b_2-Ib_r2oPjmZBVJNOIlRKR8KuTEsRD6FAPBlgj3uA", "state"=>"ef5ed429ff69d99cd311f3c998a730fea024b5bb42461073"}
457
459
  Authenticating with gds_sso strategy
458
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
459
-  (0.1ms) begin transaction
460
- User Update (0.3ms) UPDATE "users" SET "disabled" = ? WHERE "users"."id" = ? [["disabled", "f"], ["id", 2]]
461
-  (9.5ms) commit transaction
462
-  (0.0ms) begin transaction
463
-  (0.0ms) commit transaction
460
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
461
+  (0.2ms) begin transaction
462
+ User Update (0.6ms) UPDATE "users" SET "disabled" = ? WHERE "users"."id" = ? [["disabled", 0], ["id", 1]]
463
+  (5.7ms) commit transaction
464
464
  Redirected to http://www.example-client.com/restricted
465
- Completed 302 Found in 16ms (ActiveRecord: 10.0ms)
466
- Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:03 +0000
465
+ Completed 302 Found in 19ms (ActiveRecord: 6.9ms | Allocations: 1273)
466
+ Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:52:56 +0000
467
467
  Processing by ExampleController#restricted as HTML
468
- 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]]
468
+ User Load (2.6ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
469
469
  Rendering text template
470
- Rendered text template (0.0ms)
471
- Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.2ms)
472
- Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:03 +0000
470
+ Rendered text template (Duration: 0.1ms | Allocations: 1)
471
+ Completed 200 OK in 9ms (Views: 0.8ms | ActiveRecord: 2.6ms | Allocations: 778)
472
+ Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:52:56 +0000
473
473
  Processing by ExampleController#restricted as HTML
474
474
  Authenticating with gds_sso strategy
475
- Completed in 1ms (ActiveRecord: 0.0ms)
476
- Started GET "/auth/gds" for 127.0.0.1 at 2020-03-02 14:30:03 +0000
477
- Started GET "/auth/gds/callback?code=9b8f1f2e4a4263d42da6783bd6f3bad776977eca11a787750a9c3e5f1c5aa736&state=69e48656f18319e86e10e48b15d1fcbf57b5b87a86957cc3" for 127.0.0.1 at 2020-03-02 14:30:03 +0000
475
+ Completed in 1ms (ActiveRecord: 0.0ms | Allocations: 117)
476
+ Started GET "/auth/gds" for 127.0.0.1 at 2020-06-12 15:52:56 +0000
477
+ Started GET "/auth/gds/callback?code=AJZBakZ1kYOAjgThoZP9jDQzffzNHapklcR02rTxEsY&state=70e7030a9f25bf91b727397b6b26e8bc55d1ab7eb3eb17a3" for 127.0.0.1 at 2020-06-12 15:52:56 +0000
478
478
  Processing by AuthenticationsController#callback as HTML
479
- Parameters: {"code"=>"9b8f1f2e4a4263d42da6783bd6f3bad776977eca11a787750a9c3e5f1c5aa736", "state"=>"69e48656f18319e86e10e48b15d1fcbf57b5b87a86957cc3"}
479
+ Parameters: {"code"=>"AJZBakZ1kYOAjgThoZP9jDQzffzNHapklcR02rTxEsY", "state"=>"70e7030a9f25bf91b727397b6b26e8bc55d1ab7eb3eb17a3"}
480
480
  Authenticating with gds_sso strategy
481
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
482
-  (0.1ms) begin transaction
483
-  (0.0ms) commit transaction
484
-  (0.1ms) begin transaction
485
-  (0.1ms) commit transaction
481
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
486
482
  Redirected to http://www.example-client.com/restricted
487
- Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
488
- Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:03 +0000
483
+ Completed 302 Found in 6ms (ActiveRecord: 0.4ms | Allocations: 1020)
484
+ Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:52:56 +0000
489
485
  Processing by ExampleController#restricted as HTML
490
- 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]]
486
+ 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", 0], ["LIMIT", 1]]
491
487
  Rendering text template
492
- Rendered text template (0.0ms)
493
- Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
494
- Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:03 +0000
488
+ Rendered text template (Duration: 0.1ms | Allocations: 1)
489
+ Completed 200 OK in 4ms (Views: 0.6ms | ActiveRecord: 0.3ms | Allocations: 716)
490
+ Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:52:56 +0000
495
491
  Processing by ExampleController#restricted as HTML
496
492
  Authenticating with gds_sso strategy
497
- Completed in 0ms (ActiveRecord: 0.0ms)
498
- Started GET "/auth/gds" for 127.0.0.1 at 2020-03-02 14:30:03 +0000
499
- Started GET "/auth/gds/callback?code=ee4a57e58116494d0c02166c5a05c4ad933cc5aa0aab93f77daea0a374b0ca2a&state=c47303624bb886942aa490907c2ff490aa2833fa4c124ea0" for 127.0.0.1 at 2020-03-02 14:30:03 +0000
493
+ Completed in 1ms (ActiveRecord: 0.0ms | Allocations: 117)
494
+ Started GET "/auth/gds" for 127.0.0.1 at 2020-06-12 15:52:56 +0000
495
+ Started GET "/auth/gds/callback?code=DPCDsQu1AQQBnstzhyy8JQj49qACdapfJIWdPPri0f4&state=88752f4326da8a89f89eac02f30f2b38aaccf23d149ad603" for 127.0.0.1 at 2020-06-12 15:52:57 +0000
500
496
  Processing by AuthenticationsController#callback as HTML
501
- Parameters: {"code"=>"ee4a57e58116494d0c02166c5a05c4ad933cc5aa0aab93f77daea0a374b0ca2a", "state"=>"c47303624bb886942aa490907c2ff490aa2833fa4c124ea0"}
497
+ Parameters: {"code"=>"DPCDsQu1AQQBnstzhyy8JQj49qACdapfJIWdPPri0f4", "state"=>"88752f4326da8a89f89eac02f30f2b38aaccf23d149ad603"}
502
498
  Authenticating with gds_sso strategy
503
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
504
-  (0.1ms) begin transaction
505
-  (0.1ms) commit transaction
506
-  (0.1ms) begin transaction
507
-  (0.0ms) commit transaction
499
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
508
500
  Redirected to http://www.example-client.com/restricted
509
- Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
510
- Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:03 +0000
501
+ Completed 302 Found in 6ms (ActiveRecord: 0.4ms | Allocations: 1016)
502
+ Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:52:57 +0000
511
503
  Processing by ExampleController#restricted as HTML
512
- 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]]
504
+ 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", 0], ["LIMIT", 1]]
513
505
  Rendering text template
514
- Rendered text template (0.0ms)
515
- Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
516
- Started GET "/" for 127.0.0.1 at 2020-03-02 14:30:03 +0000
506
+ Rendered text template (Duration: 0.1ms | Allocations: 1)
507
+ Completed 200 OK in 4ms (Views: 0.6ms | ActiveRecord: 0.3ms | Allocations: 714)
508
+ Started GET "/" for 127.0.0.1 at 2020-06-12 15:52:57 +0000
517
509
  Processing by ExampleController#index as HTML
518
510
  Rendering text template
519
- Rendered text template (0.0ms)
520
- Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
521
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-03-02 14:30:03 +0000
511
+ Rendered text template (Duration: 0.1ms | Allocations: 1)
512
+ Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms | Allocations: 153)
513
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-06-12 15:52:57 +0000
522
514
  Processing by ExampleController#this_requires_signin_permission as HTML
523
515
  Authenticating with gds_sso strategy
524
- Completed in 0ms (ActiveRecord: 0.0ms)
525
- Started GET "/auth/gds" for 127.0.0.1 at 2020-03-02 14:30:03 +0000
526
- Started GET "/auth/gds/callback?code=1bfb6cff5b56de209f2a3562e97990f1fd5db0e301c941a9ec7b69b9e68d68a7&state=cb4ff4eaf6107b43a2bb7865e85070c44fbd401dfdba0a8e" for 127.0.0.1 at 2020-03-02 14:30:04 +0000
516
+ Completed in 1ms (ActiveRecord: 0.0ms | Allocations: 117)
517
+ Started GET "/auth/gds" for 127.0.0.1 at 2020-06-12 15:52:57 +0000
518
+ Started GET "/auth/gds/callback?code=k-RDkHpeXDmdhstyHWuZ-Ow_UnlRhftWFB5Hmr19woo&state=42671e294792aec9bd0270d48a5c921f5119fe389c35a95c" for 127.0.0.1 at 2020-06-12 15:52:57 +0000
527
519
  Processing by AuthenticationsController#callback as HTML
528
- Parameters: {"code"=>"1bfb6cff5b56de209f2a3562e97990f1fd5db0e301c941a9ec7b69b9e68d68a7", "state"=>"cb4ff4eaf6107b43a2bb7865e85070c44fbd401dfdba0a8e"}
520
+ Parameters: {"code"=>"k-RDkHpeXDmdhstyHWuZ-Ow_UnlRhftWFB5Hmr19woo", "state"=>"42671e294792aec9bd0270d48a5c921f5119fe389c35a95c"}
529
521
  Authenticating with gds_sso strategy
530
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
531
-  (0.1ms) begin transaction
532
-  (0.1ms) commit transaction
533
-  (0.1ms) begin transaction
534
-  (0.1ms) commit transaction
522
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
535
523
  Redirected to http://www.example-client.com/this_requires_signin_permission
536
- Completed 302 Found in 4ms (ActiveRecord: 0.5ms)
537
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-03-02 14:30:04 +0000
524
+ Completed 302 Found in 7ms (ActiveRecord: 0.4ms | Allocations: 1016)
525
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-06-12 15:52:57 +0000
538
526
  Processing by ExampleController#this_requires_signin_permission as HTML
539
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
527
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
540
528
  Rendering text template
541
- Rendered text template (0.0ms)
542
- Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.1ms)
543
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-03-02 14:30:04 +0000
529
+ Rendered text template (Duration: 0.1ms | Allocations: 1)
530
+ Completed 200 OK in 4ms (Views: 0.7ms | ActiveRecord: 0.4ms | Allocations: 714)
531
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-06-12 15:52:57 +0000
544
532
  Processing by ExampleController#this_requires_signin_permission as HTML
545
533
  Authenticating with gds_sso strategy
546
- Completed in 0ms (ActiveRecord: 0.0ms)
547
- Started GET "/auth/gds" for 127.0.0.1 at 2020-03-02 14:30:04 +0000
548
- Started GET "/auth/gds/callback?code=59b4eec00cf9f5c691224cccfe2ac7679b4a7ec5450a9605c616e94c1681cb8f&state=210750d633ae672abec2eadc7f94c982b8164af6b5635fc4" for 127.0.0.1 at 2020-03-02 14:30:04 +0000
534
+ Completed in 1ms (ActiveRecord: 0.0ms | Allocations: 117)
535
+ Started GET "/auth/gds" for 127.0.0.1 at 2020-06-12 15:52:57 +0000
536
+ Started GET "/auth/gds/callback?code=q5639lKIR09UopFgnm45-ZfwfHAiytUMJGvXZenppbQ&state=e7cddc284afd633a1da4cbbe6531e0bb0cbb306796328249" for 127.0.0.1 at 2020-06-12 15:52:57 +0000
549
537
  Processing by AuthenticationsController#callback as HTML
550
- Parameters: {"code"=>"59b4eec00cf9f5c691224cccfe2ac7679b4a7ec5450a9605c616e94c1681cb8f", "state"=>"210750d633ae672abec2eadc7f94c982b8164af6b5635fc4"}
538
+ Parameters: {"code"=>"q5639lKIR09UopFgnm45-ZfwfHAiytUMJGvXZenppbQ", "state"=>"e7cddc284afd633a1da4cbbe6531e0bb0cbb306796328249"}
551
539
  Authenticating with gds_sso strategy
552
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
553
-  (0.1ms) begin transaction
554
-  (0.1ms) commit transaction
555
-  (0.1ms) begin transaction
556
-  (0.1ms) commit transaction
540
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
557
541
  Redirected to http://www.example-client.com/this_requires_signin_permission
558
- Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
559
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-03-02 14:30:04 +0000
542
+ Completed 302 Found in 7ms (ActiveRecord: 0.4ms | Allocations: 1016)
543
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-06-12 15:52:57 +0000
560
544
  Processing by ExampleController#this_requires_signin_permission as HTML
561
- 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]]
545
+ 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", 0], ["LIMIT", 1]]
562
546
  Rendering text template
563
- Rendered text template (0.0ms)
564
- Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
565
- Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:04 +0000
547
+ Rendered text template (Duration: 0.1ms | Allocations: 1)
548
+ Completed 200 OK in 4ms (Views: 0.8ms | ActiveRecord: 0.3ms | Allocations: 714)
549
+ Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:52:57 +0000
566
550
  Processing by ExampleController#restricted as HTML
567
551
  Authenticating with gds_sso strategy
568
- Completed in 0ms (ActiveRecord: 0.0ms)
569
- Started GET "/auth/gds" for 127.0.0.1 at 2020-03-02 14:30:04 +0000
570
- Started GET "/auth/gds/callback?code=fb866fa3f163776f28651689f620cb13d78a33d5a3efc09035312160fd6a0c72&state=56bb89cf61c27e21844485e510c5c404b3983e53d969baeb" for 127.0.0.1 at 2020-03-02 14:30:04 +0000
552
+ Completed in 1ms (ActiveRecord: 0.0ms | Allocations: 117)
553
+ Started GET "/auth/gds" for 127.0.0.1 at 2020-06-12 15:52:57 +0000
554
+ Started GET "/auth/gds/callback?code=N7bL-VXztK2wSG1Ggj72eOeXbR4t-IiNtNmvPpTDGAs&state=f0b15534380aeb9a3da9fee4d669204f5e206fe9ab5090e4" for 127.0.0.1 at 2020-06-12 15:52:58 +0000
571
555
  Processing by AuthenticationsController#callback as HTML
572
- Parameters: {"code"=>"fb866fa3f163776f28651689f620cb13d78a33d5a3efc09035312160fd6a0c72", "state"=>"56bb89cf61c27e21844485e510c5c404b3983e53d969baeb"}
556
+ Parameters: {"code"=>"N7bL-VXztK2wSG1Ggj72eOeXbR4t-IiNtNmvPpTDGAs", "state"=>"f0b15534380aeb9a3da9fee4d669204f5e206fe9ab5090e4"}
573
557
  Authenticating with gds_sso strategy
574
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
575
-  (0.1ms) begin transaction
576
-  (0.1ms) commit transaction
577
-  (0.1ms) begin transaction
578
-  (0.1ms) commit transaction
558
+ User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
579
559
  Redirected to http://www.example-client.com/restricted
580
- Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
581
- Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:04 +0000
560
+ Completed 302 Found in 7ms (ActiveRecord: 0.5ms | Allocations: 1016)
561
+ Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:52:58 +0000
582
562
  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]]
563
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
584
564
  Rendering text template
585
- Rendered text template (0.0ms)
586
- Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
587
- Started GET "/restricted" for 127.0.0.1 at 2020-03-03 10:25:04 +0000
565
+ Rendered text template (Duration: 0.1ms | Allocations: 1)
566
+ Completed 200 OK in 4ms (Views: 0.7ms | ActiveRecord: 0.4ms | Allocations: 714)
567
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "test@example-client.com"], ["LIMIT", 1]]
568
+  (0.2ms) begin transaction
569
+ User Update (0.6ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", 1], ["id", 1]]
570
+  (7.5ms) commit transaction
571
+ Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:52:58 +0000
572
+ Processing by ExampleController#restricted as HTML
573
+ 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", 0], ["LIMIT", 1]]
574
+ Authenticating with gds_sso strategy
575
+ Completed in 3ms (ActiveRecord: 0.3ms | Allocations: 583)
576
+ Started GET "/auth/gds" for 127.0.0.1 at 2020-06-12 15:52:58 +0000
577
+ Started GET "/auth/gds/callback?code=7QHUtQfh2XG49CTFR8aw-2iTd6QOjfWBiWDrHihsE2Y&state=a559f084d4105bb1a40f327b63614cca5e0020555cfa08af" for 127.0.0.1 at 2020-06-12 15:52:58 +0000
578
+ Processing by AuthenticationsController#callback as HTML
579
+ Parameters: {"code"=>"7QHUtQfh2XG49CTFR8aw-2iTd6QOjfWBiWDrHihsE2Y", "state"=>"a559f084d4105bb1a40f327b63614cca5e0020555cfa08af"}
580
+ Authenticating with gds_sso strategy
581
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
582
+  (0.2ms) begin transaction
583
+ User Update (0.6ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", 0], ["id", 1]]
584
+  (6.5ms) commit transaction
585
+ Redirected to http://www.example-client.com/restricted
586
+ Completed 302 Found in 16ms (ActiveRecord: 7.7ms | Allocations: 1226)
587
+ Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:52:58 +0000
588
588
  Processing by ExampleController#restricted as HTML
589
- 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]]
589
+ 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", 0], ["LIMIT", 1]]
590
590
  Rendering text template
591
- Rendered text template (0.0ms)
592
- Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.1ms)
593
- Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:04 +0000
591
+ Rendered text template (Duration: 0.1ms | Allocations: 1)
592
+ Completed 200 OK in 4ms (Views: 0.7ms | ActiveRecord: 0.3ms | Allocations: 712)
593
+ Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:52:58 +0000
594
594
  Processing by ExampleController#restricted as HTML
595
595
  Authenticating with gds_sso strategy
596
- Completed in 0ms (ActiveRecord: 0.0ms)
597
- Started GET "/auth/gds" for 127.0.0.1 at 2020-03-02 14:30:04 +0000
598
- Started GET "/auth/gds/callback?code=c8bc30a8a3b0e975ad27dbd80f796a0d85a1bdb8019608b7f74a2bcac1b78fe6&state=124ddb579e2e70c527e4b46d00ea0884951a3b3782eee0f5" for 127.0.0.1 at 2020-03-02 14:30:04 +0000
596
+ Completed in 1ms (ActiveRecord: 0.0ms | Allocations: 117)
597
+ Started GET "/auth/gds" for 127.0.0.1 at 2020-06-12 15:52:58 +0000
598
+ Started GET "/auth/gds/callback?code=xqlgPJm49_cEnbmq9W3ecIyz1-hRRCmwO8iOKM5Ldng&state=009439f00c662ca83b0bab98b996536e179293a5622ae9e7" for 127.0.0.1 at 2020-06-12 15:52:58 +0000
599
599
  Processing by AuthenticationsController#callback as HTML
600
- Parameters: {"code"=>"c8bc30a8a3b0e975ad27dbd80f796a0d85a1bdb8019608b7f74a2bcac1b78fe6", "state"=>"124ddb579e2e70c527e4b46d00ea0884951a3b3782eee0f5"}
600
+ Parameters: {"code"=>"xqlgPJm49_cEnbmq9W3ecIyz1-hRRCmwO8iOKM5Ldng", "state"=>"009439f00c662ca83b0bab98b996536e179293a5622ae9e7"}
601
601
  Authenticating with gds_sso strategy
602
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
603
-  (0.1ms) begin transaction
604
-  (0.1ms) commit transaction
605
-  (0.0ms) begin transaction
606
-  (0.1ms) commit transaction
602
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
607
603
  Redirected to http://www.example-client.com/restricted
608
- Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
609
- Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:04 +0000
604
+ Completed 302 Found in 7ms (ActiveRecord: 0.4ms | Allocations: 1016)
605
+ Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:52:58 +0000
610
606
  Processing by ExampleController#restricted as HTML
611
- 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]]
607
+ 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", 0], ["LIMIT", 1]]
612
608
  Rendering text template
613
- Rendered text template (0.0ms)
614
- Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
615
- Started GET "/restricted" for 127.0.0.1 at 2020-03-03 10:35:04 +0000
609
+ Rendered text template (Duration: 0.0ms | Allocations: 1)
610
+ Completed 200 OK in 4ms (Views: 0.7ms | ActiveRecord: 0.3ms | Allocations: 714)
611
+ Started GET "/restricted" for 127.0.0.1 at 2020-06-13 11:57:58 +0000
616
612
  Processing by ExampleController#restricted as HTML
617
613
  Authenticating with gds_sso strategy
618
- Completed in 0ms (ActiveRecord: 0.0ms)
619
- Started GET "/auth/gds" for 127.0.0.1 at 2020-03-03 10:35:04 +0000
620
- Started GET "/auth/gds/callback?code=8d42028ea4207552ef2a41da9ac8989ff64fd60c564ccf6bc6930ea68faf5f49&state=caa3f5b0e77db2055efc6fc6d4571b9a28d9a0ff6aeb2376" for 127.0.0.1 at 2020-03-03 10:35:04 +0000
614
+ Completed in 1ms (ActiveRecord: 0.0ms | Allocations: 507)
615
+ Started GET "/auth/gds" for 127.0.0.1 at 2020-06-13 11:57:58 +0000
616
+ Started GET "/auth/gds/callback?code=z1291mcVUg_s8ksaI-nNIokU7ECu3yv1YDNQiFa8i50&state=1ea28baeb6876edadccf890a879f7d369f750f9f3f27b31f" for 127.0.0.1 at 2020-06-13 11:57:58 +0000
621
617
  Processing by AuthenticationsController#callback as HTML
622
- Parameters: {"code"=>"8d42028ea4207552ef2a41da9ac8989ff64fd60c564ccf6bc6930ea68faf5f49", "state"=>"caa3f5b0e77db2055efc6fc6d4571b9a28d9a0ff6aeb2376"}
618
+ Parameters: {"code"=>"z1291mcVUg_s8ksaI-nNIokU7ECu3yv1YDNQiFa8i50", "state"=>"1ea28baeb6876edadccf890a879f7d369f750f9f3f27b31f"}
623
619
  Authenticating with gds_sso strategy
624
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
625
-  (0.1ms) begin transaction
626
-  (0.1ms) commit transaction
627
-  (0.1ms) begin transaction
628
-  (0.1ms) commit transaction
620
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
629
621
  Redirected to http://www.example-client.com/restricted
630
- Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
631
- Started GET "/restricted" for 127.0.0.1 at 2020-03-03 10:35:04 +0000
622
+ Completed 302 Found in 5ms (ActiveRecord: 0.3ms | Allocations: 1218)
623
+ Started GET "/restricted" for 127.0.0.1 at 2020-06-13 11:57:58 +0000
632
624
  Processing by ExampleController#restricted as HTML
633
- 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]]
625
+ 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", 0], ["LIMIT", 1]]
634
626
  Rendering text template
635
- Rendered text template (0.0ms)
636
- Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
637
- Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:04 +0000
627
+ Rendered text template (Duration: 0.0ms | Allocations: 1)
628
+ Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.3ms | Allocations: 939)
629
+ Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:52:58 +0000
638
630
  Processing by ExampleController#restricted as HTML
639
631
  Authenticating with gds_sso strategy
640
- Completed in 0ms (ActiveRecord: 0.0ms)
641
- Started GET "/auth/gds" for 127.0.0.1 at 2020-03-02 14:30:04 +0000
642
- Started GET "/auth/gds/callback?code=ba05f6ebbe9f543a6c59a5c2cbc61afac6dff2159199f41ee4fb45d0890ec208&state=0dc638a61e688a2095707f7546b6639392594e66291441c1" for 127.0.0.1 at 2020-03-02 14:30:04 +0000
632
+ Completed in 1ms (ActiveRecord: 0.0ms | Allocations: 117)
633
+ Started GET "/auth/gds" for 127.0.0.1 at 2020-06-12 15:52:58 +0000
634
+ Started GET "/auth/gds/callback?code=aaiEaWwk7_R0hXY0cdRRKscYM5RoxBuKEeSzkJzMrbo&state=5986582c6f804fbf03b80e2b1c92ff6cf3011ad9e32474f7" for 127.0.0.1 at 2020-06-12 15:52:59 +0000
643
635
  Processing by AuthenticationsController#callback as HTML
644
- Parameters: {"code"=>"ba05f6ebbe9f543a6c59a5c2cbc61afac6dff2159199f41ee4fb45d0890ec208", "state"=>"0dc638a61e688a2095707f7546b6639392594e66291441c1"}
636
+ Parameters: {"code"=>"aaiEaWwk7_R0hXY0cdRRKscYM5RoxBuKEeSzkJzMrbo", "state"=>"5986582c6f804fbf03b80e2b1c92ff6cf3011ad9e32474f7"}
645
637
  Authenticating with gds_sso strategy
646
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
647
-  (0.1ms) begin transaction
648
-  (0.1ms) commit transaction
649
-  (0.0ms) begin transaction
650
-  (0.0ms) commit transaction
638
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
651
639
  Redirected to http://www.example-client.com/restricted
652
- Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
653
- Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:04 +0000
640
+ Completed 302 Found in 31ms (ActiveRecord: 0.3ms | Allocations: 1020)
641
+ Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:52:59 +0000
654
642
  Processing by ExampleController#restricted as HTML
655
- 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]]
643
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
656
644
  Rendering text template
657
- Rendered text template (0.0ms)
658
- Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
659
- Started GET "/restricted" for 127.0.0.1 at 2020-03-03 10:35:04 +0000
645
+ Rendered text template (Duration: 0.0ms | Allocations: 1)
646
+ Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.4ms | Allocations: 716)
647
+ Started GET "/restricted" for 127.0.0.1 at 2020-06-13 11:57:59 +0000
660
648
  Processing by ExampleController#restricted as HTML
661
649
  Authenticating with gds_sso strategy
662
- Completed in 1ms (ActiveRecord: 0.0ms)
663
- Started GET "/auth/gds" for 127.0.0.1 at 2020-03-03 10:35:04 +0000
664
- Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:04 +0000
650
+ Completed in 1ms (ActiveRecord: 0.0ms | Allocations: 507)
651
+ Started GET "/auth/gds" for 127.0.0.1 at 2020-06-13 11:57:59 +0000
652
+ Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:52:59 +0000
665
653
  Processing by ExampleController#restricted as HTML
666
654
  Authenticating with gds_sso strategy
667
- Completed in 0ms (ActiveRecord: 0.0ms)
668
- Started GET "/auth/gds" for 127.0.0.1 at 2020-03-02 14:30:04 +0000
669
- Started GET "/auth/gds/callback?code=f25757c86feb7dbc4bd328b8e8e80d9f0aa61a22cce18138b1f9ffaa906dd450&state=cfa3eede7cc3af1f8c800b96f7209b56067057ceac272a4c" for 127.0.0.1 at 2020-03-02 14:30:04 +0000
655
+ Completed in 1ms (ActiveRecord: 0.0ms | Allocations: 117)
656
+ Started GET "/auth/gds" for 127.0.0.1 at 2020-06-12 15:52:59 +0000
657
+ Started GET "/auth/gds/callback?code=CZGHcjZyGZDtRxEXepFZBkZn6RSGHZ8qgoJuFElI0AA&state=892b5375f170b477e9da34b832557ee1532a8fa048ed8e81" for 127.0.0.1 at 2020-06-12 15:52:59 +0000
670
658
  Processing by AuthenticationsController#callback as HTML
671
- Parameters: {"code"=>"f25757c86feb7dbc4bd328b8e8e80d9f0aa61a22cce18138b1f9ffaa906dd450", "state"=>"cfa3eede7cc3af1f8c800b96f7209b56067057ceac272a4c"}
659
+ Parameters: {"code"=>"CZGHcjZyGZDtRxEXepFZBkZn6RSGHZ8qgoJuFElI0AA", "state"=>"892b5375f170b477e9da34b832557ee1532a8fa048ed8e81"}
672
660
  Authenticating with gds_sso strategy
673
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
674
-  (0.1ms) begin transaction
675
-  (0.0ms) commit transaction
676
-  (0.0ms) begin transaction
677
-  (0.0ms) commit transaction
661
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
678
662
  Redirected to http://www.example-client.com/restricted
679
- Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
680
- Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:04 +0000
663
+ Completed 302 Found in 8ms (ActiveRecord: 0.4ms | Allocations: 1016)
664
+ Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:52:59 +0000
681
665
  Processing by ExampleController#restricted as HTML
682
- 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]]
666
+ 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", 0], ["LIMIT", 1]]
683
667
  Rendering text template
684
- Rendered text template (0.0ms)
685
- Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
686
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "test@example-client.com"], ["LIMIT", 1]]
687
-  (0.1ms) begin transaction
688
- User Update (0.2ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 2]]
689
-  (5.4ms) commit transaction
690
- Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:05 +0000
668
+ Rendered text template (Duration: 0.1ms | Allocations: 1)
669
+ Completed 200 OK in 4ms (Views: 0.7ms | ActiveRecord: 0.3ms | Allocations: 714)
670
+ Started GET "/restricted" for 127.0.0.1 at 2020-06-13 11:47:59 +0000
691
671
  Processing by ExampleController#restricted as HTML
692
- 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]]
693
- Authenticating with gds_sso strategy
694
- Completed in 1ms (ActiveRecord: 0.1ms)
695
- Started GET "/auth/gds" for 127.0.0.1 at 2020-03-02 14:30:05 +0000
696
- Started GET "/auth/gds/callback?code=2f18120d84e864a48f8f0d9abdf73868f1377630d70b779735a50ab304e20026&state=3806da0be94442742b5dff39d7928a0aaa3c8f424d58db63" for 127.0.0.1 at 2020-03-02 14:30:05 +0000
697
- Processing by AuthenticationsController#callback as HTML
698
- Parameters: {"code"=>"2f18120d84e864a48f8f0d9abdf73868f1377630d70b779735a50ab304e20026", "state"=>"3806da0be94442742b5dff39d7928a0aaa3c8f424d58db63"}
699
- Authenticating with gds_sso strategy
700
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
701
-  (0.1ms) begin transaction
702
-  (0.0ms) commit transaction
703
-  (0.0ms) begin transaction
704
- User Update (0.3ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "f"], ["id", 2]]
705
-  (3.1ms) commit transaction
706
- Redirected to http://www.example-client.com/restricted
707
- Completed 302 Found in 7ms (ActiveRecord: 3.7ms)
708
- Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:05 +0000
709
- Processing by ExampleController#restricted as HTML
710
- 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]]
672
+ 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", 0], ["LIMIT", 1]]
711
673
  Rendering text template
712
- Rendered text template (0.1ms)
713
- Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
714
- Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:05 +0000
674
+ Rendered text template (Duration: 0.1ms | Allocations: 1)
675
+ Completed 200 OK in 4ms (Views: 0.6ms | ActiveRecord: 0.3ms | Allocations: 937)
676
+ Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:52:59 +0000
715
677
  Processing by ExampleController#restricted as HTML
716
678
  Authenticating with gds_sso strategy
717
- Completed in 0ms (ActiveRecord: 0.0ms)
679
+ Completed in 1ms (ActiveRecord: 0.0ms | Allocations: 119)
680
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "dummyapiuser@domain.com"], ["LIMIT", 1]]
681
+  (0.2ms) begin transaction
682
+ User Create (0.7ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Dummy API user created by gds-sso"], ["uid", "3196"], ["email", "dummyapiuser@domain.com"], ["permissions", "---\n- signin\n"]]
683
+  (9.5ms) commit transaction
684
+  (0.2ms) begin transaction
685
+ User Update (0.6ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = ? [["permissions", "---\n- signin\n- extra_permission\n"], ["id", 2]]
686
+  (6.6ms) commit transaction
687
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "asd"], ["LIMIT", 1]]
688
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "user@example.com"], ["LIMIT", 1]]
718
689
   (0.1ms) begin transaction
719
- User Create (0.3ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d39360"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
720
-  (4.6ms) commit transaction
721
-  (0.0ms) begin transaction
722
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d37317"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
723
-  (4.1ms) commit transaction
724
- Processing by Api::UserController#reauth as HTML
725
- Parameters: {"uid"=>"a1s2d39360"}
726
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "a1s2d39360"], ["LIMIT", 1]]
690
+ User Create (0.6ms) INSERT INTO "users" ("name", "uid", "email", "permissions", "organisation_slug", "organisation_content_id", "disabled") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "A Name"], ["uid", "asd"], ["email", "user@example.com"], ["permissions", "---\n- signin\n"], ["organisation_slug", "hmrc"], ["organisation_content_id", "67a2b78d-eee3-45b3-80e2-792e7f71cecc"], ["disabled", nil]]
691
+  (6.6ms) commit transaction
692
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "asd"], ["LIMIT", 1]]
693
+  (0.2ms) begin transaction
694
+ User Create (0.6ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d38009"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
695
+  (7.0ms) commit transaction
727
696
   (0.1ms) begin transaction
728
- User Update (0.2ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 3]]
729
-  (3.6ms) commit transaction
730
- Completed 200 OK in 6ms (ActiveRecord: 4.0ms)
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.3ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d33753"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
697
+ User Create (0.6ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d39701"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
698
+  (7.9ms) commit transaction
699
+ Processing by Api::UserController#update as HTML
700
+ Parameters: {"uid"=>"a1s2d38009"}
701
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "a1s2d38009"], ["LIMIT", 1]]
702
+  (0.1ms) begin transaction
703
+ User Update (0.6ms) 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", 4]]
734
704
   (7.3ms) 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", "a1s2d3305"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
737
-  (8.5ms) commit transaction
738
- Processing by Api::UserController#reauth as HTML
739
- Parameters: {"uid"=>"a1s2d33753"}
740
- Rendering /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
705
+ Completed 200 OK in 14ms (ActiveRecord: 8.4ms | Allocations: 1323)
706
+ User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]]
707
+  (0.2ms) begin transaction
708
+ User Create (0.6ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d34812"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
709
+  (13.9ms) commit transaction
710
+  (0.1ms) begin transaction
711
+ User Create (0.6ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d35460"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
712
+  (16.3ms) commit transaction
713
+ Processing by Api::UserController#update as HTML
714
+ Parameters: {"uid"=>"a1s2d34812"}
715
+ Rendering /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
741
716
  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.3ms)
717
+ Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (Duration: 1.7ms | Allocations: 263)
743
718
  Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
744
- Completed 403 Forbidden in 7ms (Views: 6.1ms | ActiveRecord: 0.0ms)
719
+ Completed 403 Forbidden in 9ms (Views: 8.2ms | ActiveRecord: 0.0ms | Allocations: 1558)
720
+  (0.2ms) begin transaction
721
+ User Create (0.6ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d33055"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
722
+  (7.9ms) commit transaction
723
+  (0.1ms) begin transaction
724
+ User Create (0.6ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d32228"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
725
+  (5.4ms) commit transaction
726
+ Processing by Api::UserController#reauth as HTML
727
+ Parameters: {"uid"=>"a1s2d33055"}
728
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "a1s2d33055"], ["LIMIT", 1]]
745
729
   (0.1ms) begin transaction
746
- User Create (0.3ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d32284"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
747
-  (4.6ms) commit transaction
730
+ User Update (0.5ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", 1], ["id", 8]]
731
+  (6.6ms) commit transaction
732
+ Completed 200 OK in 12ms (ActiveRecord: 7.6ms | Allocations: 920)
733
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 8], ["LIMIT", 1]]
748
734
   (0.1ms) begin transaction
749
- User Create (0.3ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d32264"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
750
-  (3.9ms) commit transaction
735
+ User Create (0.6ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d37302"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
736
+  (10.9ms) commit transaction
737
+  (0.1ms) begin transaction
738
+ User Create (0.6ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d39587"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
739
+  (5.5ms) commit transaction
751
740
  Processing by Api::UserController#reauth as HTML
752
741
  Parameters: {"uid"=>"nonexistent-user"}
753
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "nonexistent-user"], ["LIMIT", 1]]
754
- Completed 200 OK in 1ms (ActiveRecord: 0.1ms)
742
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "nonexistent-user"], ["LIMIT", 1]]
743
+ Completed 200 OK in 2ms (ActiveRecord: 0.3ms | Allocations: 521)
744
+  (0.1ms) begin transaction
745
+ User Create (0.6ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d33190"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
746
+  (15.2ms) commit transaction
747
+  (0.1ms) begin transaction
748
+ User Create (0.6ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d39267"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
749
+  (4.9ms) commit transaction
750
+ Processing by Api::UserController#reauth as HTML
751
+ Parameters: {"uid"=>"a1s2d33190"}
752
+ Rendering /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
753
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
754
+ Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (Duration: 0.4ms | Allocations: 56)
755
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
756
+ Completed 403 Forbidden in 3ms (Views: 1.6ms | ActiveRecord: 0.0ms | Allocations: 514)
757
+  (0.1ms) DROP TABLE IF EXISTS "users"
758
+  (1.2ms) SELECT sqlite_version(*)
759
+  (17.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')
760
+  (6.2ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
761
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
762
+  (0.1ms) begin transaction
763
+ ActiveRecord::InternalMetadata Create (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2020-06-12 15:53:04.271891"], ["updated_at", "2020-06-12 15:53:04.271891"]]
764
+  (5.4ms) commit transaction
765
+  (4.6ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
766
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
755
767
   (0.0ms) begin transaction
756
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d35431"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
757
-  (4.6ms) commit transaction
768
+  (0.1ms) commit transaction
758
769
   (0.0ms) begin transaction
759
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d37098"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
760
-  (3.7ms) commit transaction
761
- Processing by Api::UserController#update as HTML
762
- Parameters: {"uid"=>"a1s2d35431"}
763
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "a1s2d35431"], ["LIMIT", 1]]
770
+ User Create (0.3ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d37361"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
771
+  (10.4ms) commit transaction
764
772
   (0.0ms) begin transaction
765
- 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", 9]]
766
-  (3.5ms) commit transaction
767
- Completed 200 OK in 7ms (ActiveRecord: 3.9ms)
768
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 9], ["LIMIT", 1]]
773
+ User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d31973"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
774
+  (6.9ms) commit transaction
775
+ Processing by Api::UserController#reauth as HTML
776
+ Parameters: {"uid"=>"nonexistent-user"}
777
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "nonexistent-user"], ["LIMIT", 1]]
778
+ Completed 200 OK in 1ms (ActiveRecord: 0.2ms)
779
+  (0.1ms) begin transaction
780
+ User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d37358"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
781
+  (6.6ms) commit transaction
769
782
   (0.0ms) begin transaction
770
- User Create (0.3ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d31403"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
771
-  (7.4ms) commit transaction
783
+ User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d3930"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
784
+  (6.1ms) commit transaction
785
+ Processing by Api::UserController#reauth as HTML
786
+ Parameters: {"uid"=>"a1s2d37358"}
787
+ Rendering /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
788
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
789
+ Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
790
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
791
+ Completed 403 Forbidden in 7ms (Views: 6.6ms | ActiveRecord: 0.0ms)
792
+  (0.1ms) begin transaction
793
+ User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d3777"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
794
+  (50.2ms) commit transaction
795
+  (0.1ms) begin transaction
796
+ User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d32893"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
797
+  (4.4ms) commit transaction
798
+ Processing by Api::UserController#reauth as HTML
799
+ Parameters: {"uid"=>"a1s2d3777"}
800
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "a1s2d3777"], ["LIMIT", 1]]
772
801
   (0.0ms) begin transaction
773
- User Create (0.3ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d36303"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
774
-  (4.0ms) commit transaction
802
+ User Update (0.2ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 5]]
803
+  (14.2ms) commit transaction
804
+ Completed 200 OK in 17ms (ActiveRecord: 14.6ms)
805
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]]
806
+  (0.1ms) begin transaction
807
+ User Create (0.5ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d37594"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
808
+  (13.7ms) commit transaction
809
+  (0.1ms) begin transaction
810
+ User Create (0.5ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d31086"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
811
+  (36.2ms) commit transaction
812
+ Processing by Api::UserController#update as HTML
813
+ Parameters: {"uid"=>"a1s2d37594"}
814
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "a1s2d37594"], ["LIMIT", 1]]
815
+  (0.1ms) begin transaction
816
+ User Update (0.5ms) UPDATE "users" SET "email" = ?, "name" = ?, "permissions" = ?, "organisation_slug" = ?, "organisation_content_id" = ? WHERE "users"."id" = ? [["email", "user@domain.com"], ["name", "Joshua Marshall"], ["permissions", "---\n- signin\n- new permission\n"], ["organisation_slug", "justice-league"], ["organisation_content_id", "aae1319e-5788-4677-998c-f1a53af528d0"], ["id", 7]]
817
+  (10.1ms) commit transaction
818
+ Completed 200 OK in 16ms (ActiveRecord: 10.9ms)
819
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 7], ["LIMIT", 1]]
820
+  (0.1ms) begin transaction
821
+ User Create (0.5ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d32536"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
822
+  (10.6ms) commit transaction
823
+  (0.1ms) begin transaction
824
+ User Create (0.5ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d35031"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
825
+  (8.3ms) commit transaction
775
826
  Processing by Api::UserController#update as HTML
776
- Parameters: {"uid"=>"a1s2d31403"}
777
- Rendering /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
827
+ Parameters: {"uid"=>"a1s2d32536"}
828
+ Rendering /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
778
829
  Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
779
- Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
830
+ Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.4ms)
780
831
  Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
781
- Completed 403 Forbidden in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)
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]]
832
+ Completed 403 Forbidden in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)
833
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "asd"], ["LIMIT", 1]]
834
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "user@example.com"], ["LIMIT", 1]]
784
835
   (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
-  (3.6ms) commit transaction
787
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "asd"], ["LIMIT", 1]]
788
-  (0.0ms) begin transaction
789
-  (0.0ms) commit transaction
790
-  (3.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') 
791
-  (3.6ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
792
-  (0.1ms) select sqlite_version(*)
793
-  (3.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
794
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-03-02 14:30:11 +0000
795
- Processing by ExampleController#this_requires_signin_permission as JSON
796
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
797
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "test@example-client.com"]]
798
-  (0.1ms) begin transaction
799
- 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]]
800
-  (4.5ms) commit transaction
801
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
802
-  (0.0ms) begin transaction
803
-  (0.1ms) commit transaction
804
- CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
805
-  (0.1ms) begin transaction
806
-  (0.1ms) commit transaction
807
- CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
808
-  (0.1ms) begin transaction
809
-  (0.1ms) commit transaction
810
-  (0.0ms) begin transaction
811
- SQL (0.3ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "f"], ["id", 1]]
812
-  (6.1ms) commit transaction
813
- Rendered text template (0.0ms)
814
- Completed 200 OK in 108ms (Views: 9.1ms | ActiveRecord: 12.7ms)
815
- Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:11 +0000
836
+ User Create (0.5ms) 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]]
837
+  (7.5ms) commit transaction
838
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "asd"], ["LIMIT", 1]]
839
+  (0.1ms) begin transaction
840
+  (0.1ms) commit transaction
841
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "dummyapiuser@domain.com"], ["LIMIT", 1]]
842
+  (0.1ms) begin transaction
843
+ User Create (0.6ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Dummy API user created by gds-sso"], ["uid", "7241"], ["email", "dummyapiuser@domain.com"], ["permissions", "---\n- signin\n"]]
844
+  (7.5ms) commit transaction
845
+  (0.1ms) begin transaction
846
+ User Update (0.5ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = ? [["permissions", "---\n- signin\n- extra_permission\n"], ["id", 12]]
847
+  (5.9ms) commit transaction
848
+ Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:53:05 +0000
816
849
  Processing by ExampleController#restricted as JSON
817
- Completed in 13ms (ActiveRecord: 0.0ms)
818
- Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:11 +0000
850
+ Completed in 61ms (ActiveRecord: 0.0ms)
851
+ Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:53:05 +0000
819
852
  Processing by ExampleController#restricted as JSON
820
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
821
-  (0.1ms) begin transaction
822
-  (0.1ms) commit transaction
823
- CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
824
-  (0.1ms) begin transaction
825
-  (0.1ms) commit transaction
826
- CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
827
-  (0.1ms) begin transaction
828
-  (0.1ms) commit transaction
829
- CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
830
-  (0.1ms) begin transaction
831
-  (0.1ms) commit transaction
832
-  (0.0ms) begin transaction
833
-  (0.1ms) commit transaction
853
+ Completed in 41ms (ActiveRecord: 0.0ms)
854
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-06-12 15:53:05 +0000
855
+ Processing by ExampleController#this_requires_signin_permission as JSON
856
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
857
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "test@example-client.com"], ["LIMIT", 1]]
858
+  (0.2ms) begin transaction
859
+ User Create (0.7ms) 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]]
860
+  (6.1ms) commit transaction
861
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
862
+  (0.1ms) begin transaction
863
+  (0.1ms) commit transaction
864
+ CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
865
+  (0.1ms) begin transaction
866
+  (0.1ms) commit transaction
867
+ CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
868
+  (0.1ms) begin transaction
869
+  (0.1ms) commit transaction
870
+  (0.1ms) begin transaction
871
+ User Update (0.5ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "f"], ["id", 13]]
872
+  (5.2ms) commit transaction
873
+ Rendering text template
834
874
  Rendered text template (0.0ms)
835
- Completed 200 OK in 63ms (Views: 0.3ms | ActiveRecord: 0.8ms)
836
- Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:12 +0000
875
+ Completed 200 OK in 132ms (Views: 2.9ms | ActiveRecord: 14.6ms)
876
+ Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:53:05 +0000
837
877
  Processing by ExampleController#restricted as JSON
838
- Completed in 19ms (ActiveRecord: 0.0ms)
839
- Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:12 +0000
878
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
879
+  (0.2ms) begin transaction
880
+  (0.1ms) commit transaction
881
+ CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
882
+  (0.1ms) begin transaction
883
+  (0.1ms) commit transaction
884
+ CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
885
+  (0.1ms) begin transaction
886
+  (0.1ms) commit transaction
887
+ CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
888
+  (0.2ms) begin transaction
889
+  (0.1ms) commit transaction
890
+  (0.1ms) begin transaction
891
+  (0.1ms) commit transaction
892
+ Rendering text template
893
+ Rendered text template (0.0ms)
894
+ Completed 200 OK in 112ms (Views: 0.5ms | ActiveRecord: 1.5ms)
895
+ Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:53:05 +0000
840
896
  Processing by ExampleController#restricted as HTML
841
897
  Authenticating with gds_sso strategy
842
- Completed in 0ms (ActiveRecord: 0.0ms)
843
- Started GET "/auth/gds" for 127.0.0.1 at 2020-03-02 14:30:12 +0000
844
- Started GET "/auth/gds/callback?code=dd812cdd5e46a8c52a3ecb64c9c8f864289af877d65ef992e6dd215eb9fce143&state=626d7df0b26b8530d06e1f84ea52490395c8be1ecbe1cfe4" for 127.0.0.1 at 2020-03-02 14:30:12 +0000
898
+ Completed in 1ms (ActiveRecord: 0.0ms)
899
+ Started GET "/auth/gds" for 127.0.0.1 at 2020-06-12 15:53:05 +0000
900
+ Started GET "/auth/gds/callback?code=bjI_ceXsizPvpTz1U0YSB4Cwt9fKMxXZWQJaDDqfNng&state=e698ab11f0a258b5a4c69d8cb4435400168b2eae2be9c8a4" for 127.0.0.1 at 2020-06-12 15:53:06 +0000
845
901
  Processing by AuthenticationsController#callback as HTML
846
- Parameters: {"code"=>"dd812cdd5e46a8c52a3ecb64c9c8f864289af877d65ef992e6dd215eb9fce143", "state"=>"626d7df0b26b8530d06e1f84ea52490395c8be1ecbe1cfe4"}
847
- Authenticating with gds_sso strategy
848
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
849
-  (0.1ms) begin transaction
850
- SQL (0.3ms) UPDATE "users" SET "disabled" = ? WHERE "users"."id" = ? [["disabled", "f"], ["id", 1]]
851
-  (4.1ms) commit transaction
852
-  (0.0ms) begin transaction
853
-  (0.0ms) commit transaction
902
+ Parameters: {"code"=>"bjI_ceXsizPvpTz1U0YSB4Cwt9fKMxXZWQJaDDqfNng", "state"=>"e698ab11f0a258b5a4c69d8cb4435400168b2eae2be9c8a4"}
903
+ Authenticating with gds_sso strategy
904
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
905
+  (0.1ms) begin transaction
906
+ User Update (0.5ms) UPDATE "users" SET "disabled" = ? WHERE "users"."id" = ? [["disabled", "f"], ["id", 13]]
907
+  (7.0ms) commit transaction
908
+  (0.1ms) begin transaction
909
+  (0.1ms) commit transaction
854
910
  Redirected to http://www.example-client.com/restricted
855
- Completed 302 Found in 9ms (ActiveRecord: 4.6ms)
856
- Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:12 +0000
911
+ Completed 302 Found in 15ms (ActiveRecord: 8.2ms)
912
+ Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:53:06 +0000
857
913
  Processing by ExampleController#restricted as HTML
858
- 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"]]
914
+ User Load (0.5ms) 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]]
915
+ Rendering text template
859
916
  Rendered text template (0.0ms)
860
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
861
- Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:12 +0000
917
+ Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.5ms)
918
+ Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:53:06 +0000
862
919
  Processing by ExampleController#restricted as HTML
863
920
  Authenticating with gds_sso strategy
864
921
  Completed in 0ms (ActiveRecord: 0.0ms)
865
- Started GET "/auth/gds" for 127.0.0.1 at 2020-03-02 14:30:12 +0000
866
- Started GET "/auth/gds/callback?code=ece0516949048a45623b71c607301ba87f2aa846f7ae0cd685d11791a1d8799f&state=39485c198da19461794feb47b78bb6fa2f3d0f6d64019e0e" for 127.0.0.1 at 2020-03-02 14:30:12 +0000
922
+ Started GET "/auth/gds" for 127.0.0.1 at 2020-06-12 15:53:06 +0000
923
+ Started GET "/auth/gds/callback?code=6UF383V2LfNJLXSSjk-vOupjhyRqkB2sfBysq3BlvvI&state=8dc485e29051ccdbe8f96311ef12c46ab663d1888646cd34" for 127.0.0.1 at 2020-06-12 15:53:06 +0000
867
924
  Processing by AuthenticationsController#callback as HTML
868
- Parameters: {"code"=>"ece0516949048a45623b71c607301ba87f2aa846f7ae0cd685d11791a1d8799f", "state"=>"39485c198da19461794feb47b78bb6fa2f3d0f6d64019e0e"}
925
+ Parameters: {"code"=>"6UF383V2LfNJLXSSjk-vOupjhyRqkB2sfBysq3BlvvI", "state"=>"8dc485e29051ccdbe8f96311ef12c46ab663d1888646cd34"}
869
926
  Authenticating with gds_sso strategy
870
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
871
-  (0.1ms) begin transaction
872
-  (0.0ms) commit transaction
873
-  (0.0ms) begin transaction
874
-  (0.0ms) commit transaction
927
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
928
+  (0.1ms) begin transaction
929
+  (0.1ms) commit transaction
930
+  (0.1ms) begin transaction
931
+  (0.1ms) commit transaction
875
932
  Redirected to http://www.example-client.com/restricted
876
- Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
877
- Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:12 +0000
933
+ Completed 302 Found in 7ms (ActiveRecord: 0.7ms)
934
+ Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:53:06 +0000
878
935
  Processing by ExampleController#restricted as HTML
879
- 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"]]
936
+ 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]]
937
+ Rendering text template
880
938
  Rendered text template (0.0ms)
881
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
882
- Started GET "/" for 127.0.0.1 at 2020-03-02 14:30:12 +0000
883
- Processing by ExampleController#index as HTML
939
+ Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.3ms)
940
+ Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:53:06 +0000
941
+ Processing by ExampleController#restricted as HTML
942
+ Authenticating with gds_sso strategy
943
+ Completed in 0ms (ActiveRecord: 0.0ms)
944
+ Started GET "/auth/gds" for 127.0.0.1 at 2020-06-12 15:53:06 +0000
945
+ Started GET "/auth/gds/callback?code=8Yu6eBcuRtDZstiqQJq9D21l_Tzye552Eyl7G6bphMI&state=27e8d11cbed016081d0028122b0bc5b0d9fb0a03cd5ed66f" for 127.0.0.1 at 2020-06-12 15:53:06 +0000
946
+ Processing by AuthenticationsController#callback as HTML
947
+ Parameters: {"code"=>"8Yu6eBcuRtDZstiqQJq9D21l_Tzye552Eyl7G6bphMI", "state"=>"27e8d11cbed016081d0028122b0bc5b0d9fb0a03cd5ed66f"}
948
+ Authenticating with gds_sso strategy
949
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
950
+  (0.1ms) begin transaction
951
+  (0.1ms) commit transaction
952
+  (0.1ms) begin transaction
953
+  (0.1ms) commit transaction
954
+ Redirected to http://www.example-client.com/restricted
955
+ Completed 302 Found in 7ms (ActiveRecord: 0.7ms)
956
+ Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:53:06 +0000
957
+ Processing by ExampleController#restricted as HTML
958
+ 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]]
959
+ Rendering text template
884
960
  Rendered text template (0.0ms)
885
- Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
886
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-03-02 14:30:12 +0000
961
+ Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.3ms)
962
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-06-12 15:53:06 +0000
887
963
  Processing by ExampleController#this_requires_signin_permission as HTML
888
964
  Authenticating with gds_sso strategy
889
965
  Completed in 0ms (ActiveRecord: 0.0ms)
890
- Started GET "/auth/gds" for 127.0.0.1 at 2020-03-02 14:30:12 +0000
891
- Started GET "/auth/gds/callback?code=32380e0a6d719ec148ad119535ea4f817709a52ee13cf32a5a1f5d70b55fd503&state=21eb58a67be5eb8098d7970bf6bc70a8f266441561a711a9" for 127.0.0.1 at 2020-03-02 14:30:12 +0000
966
+ Started GET "/auth/gds" for 127.0.0.1 at 2020-06-12 15:53:06 +0000
967
+ Started GET "/auth/gds/callback?code=FHDMxIdFF5ZsScwzPVp_AhyI2xtEZlMnwVnRI37mE4g&state=cad6735ea6598ad5d31fadda0e445da56e0118e68e17b06c" for 127.0.0.1 at 2020-06-12 15:53:07 +0000
892
968
  Processing by AuthenticationsController#callback as HTML
893
- Parameters: {"code"=>"32380e0a6d719ec148ad119535ea4f817709a52ee13cf32a5a1f5d70b55fd503", "state"=>"21eb58a67be5eb8098d7970bf6bc70a8f266441561a711a9"}
969
+ Parameters: {"code"=>"FHDMxIdFF5ZsScwzPVp_AhyI2xtEZlMnwVnRI37mE4g", "state"=>"cad6735ea6598ad5d31fadda0e445da56e0118e68e17b06c"}
894
970
  Authenticating with gds_sso strategy
895
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
896
-  (0.1ms) begin transaction
897
-  (0.1ms) commit transaction
898
-  (0.0ms) begin transaction
899
-  (0.0ms) commit transaction
971
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
972
+  (0.1ms) begin transaction
973
+  (0.1ms) commit transaction
974
+  (0.1ms) begin transaction
975
+  (0.1ms) commit transaction
900
976
  Redirected to http://www.example-client.com/this_requires_signin_permission
901
- Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
902
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-03-02 14:30:12 +0000
977
+ Completed 302 Found in 8ms (ActiveRecord: 0.8ms)
978
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-06-12 15:53:07 +0000
903
979
  Processing by ExampleController#this_requires_signin_permission as HTML
904
- 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"]]
980
+ 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]]
981
+ Rendering text template
905
982
  Rendered text template (0.0ms)
906
- Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
907
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-03-02 14:30:12 +0000
983
+ Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.3ms)
984
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-06-12 15:53:07 +0000
908
985
  Processing by ExampleController#this_requires_signin_permission as HTML
909
986
  Authenticating with gds_sso strategy
910
- Completed in 0ms (ActiveRecord: 0.0ms)
911
- Started GET "/auth/gds" for 127.0.0.1 at 2020-03-02 14:30:12 +0000
912
- Started GET "/auth/gds/callback?code=1b1fc01302bd1bc079f28eb2d0d054484b95b30e8db51dcd95281fc89e8666f3&state=fd73f5c93e145753164fa8d43dd9cc60dba86eb3ba6bf226" for 127.0.0.1 at 2020-03-02 14:30:12 +0000
987
+ Completed in 2ms (ActiveRecord: 0.0ms)
988
+ Started GET "/auth/gds" for 127.0.0.1 at 2020-06-12 15:53:07 +0000
989
+ Started GET "/auth/gds/callback?code=SVLWJfMVq0vmSYJMoQvqkYLBeq_qU27ZR8c0Brx5D_c&state=96b0ce01c9307651dbbb7b78701d8fb5d53d402320f6c877" for 127.0.0.1 at 2020-06-12 15:53:07 +0000
913
990
  Processing by AuthenticationsController#callback as HTML
914
- Parameters: {"code"=>"1b1fc01302bd1bc079f28eb2d0d054484b95b30e8db51dcd95281fc89e8666f3", "state"=>"fd73f5c93e145753164fa8d43dd9cc60dba86eb3ba6bf226"}
991
+ Parameters: {"code"=>"SVLWJfMVq0vmSYJMoQvqkYLBeq_qU27ZR8c0Brx5D_c", "state"=>"96b0ce01c9307651dbbb7b78701d8fb5d53d402320f6c877"}
915
992
  Authenticating with gds_sso strategy
916
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
917
-  (0.1ms) begin transaction
918
-  (0.0ms) commit transaction
919
-  (0.1ms) begin transaction
920
-  (0.1ms) commit transaction
993
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
994
+  (0.2ms) begin transaction
995
+  (0.1ms) commit transaction
996
+  (0.1ms) begin transaction
997
+  (0.1ms) commit transaction
921
998
  Redirected to http://www.example-client.com/this_requires_signin_permission
922
- Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
923
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-03-02 14:30:12 +0000
999
+ Completed 302 Found in 8ms (ActiveRecord: 0.8ms)
1000
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-06-12 15:53:07 +0000
924
1001
  Processing by ExampleController#this_requires_signin_permission as HTML
925
- 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"]]
1002
+ 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]]
1003
+ Rendering text template
1004
+ Rendered text template (0.0ms)
1005
+ Completed 200 OK in 3ms (Views: 0.7ms | ActiveRecord: 0.3ms)
1006
+ Started GET "/" for 127.0.0.1 at 2020-06-12 15:53:07 +0000
1007
+ Processing by ExampleController#index as HTML
1008
+ Rendering text template
926
1009
  Rendered text template (0.0ms)
927
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
928
- Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:12 +0000
1010
+ Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
1011
+ Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:53:07 +0000
929
1012
  Processing by ExampleController#restricted as HTML
930
1013
  Authenticating with gds_sso strategy
931
1014
  Completed in 0ms (ActiveRecord: 0.0ms)
932
- Started GET "/auth/gds" for 127.0.0.1 at 2020-03-02 14:30:12 +0000
933
- Started GET "/auth/gds/callback?code=79bcc1397f0c11b5303566dc40bdb7b4b58049757112daef86f414f5334b3b99&state=830bc8243c62b9320b873e83ba04c94e36044c30aa0255fc" for 127.0.0.1 at 2020-03-02 14:30:12 +0000
1015
+ Started GET "/auth/gds" for 127.0.0.1 at 2020-06-12 15:53:07 +0000
1016
+ Started GET "/auth/gds/callback?code=1J6HGaqkvp3MFCsjQCxbIQqjht8ofLBCnPISK26EQog&state=993f0c8343a134923faeb160a904d98eb4c06abc543d1f5c" for 127.0.0.1 at 2020-06-12 15:53:07 +0000
934
1017
  Processing by AuthenticationsController#callback as HTML
935
- Parameters: {"code"=>"79bcc1397f0c11b5303566dc40bdb7b4b58049757112daef86f414f5334b3b99", "state"=>"830bc8243c62b9320b873e83ba04c94e36044c30aa0255fc"}
1018
+ Parameters: {"code"=>"1J6HGaqkvp3MFCsjQCxbIQqjht8ofLBCnPISK26EQog", "state"=>"993f0c8343a134923faeb160a904d98eb4c06abc543d1f5c"}
936
1019
  Authenticating with gds_sso strategy
937
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
938
-  (0.1ms) begin transaction
939
-  (0.1ms) commit transaction
940
-  (0.0ms) begin transaction
941
-  (0.0ms) commit transaction
1020
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1021
+  (0.1ms) begin transaction
1022
+  (0.1ms) commit transaction
1023
+  (0.1ms) begin transaction
1024
+  (0.1ms) commit transaction
942
1025
  Redirected to http://www.example-client.com/restricted
943
- Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
944
- Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:12 +0000
1026
+ Completed 302 Found in 7ms (ActiveRecord: 0.7ms)
1027
+ Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:53:07 +0000
945
1028
  Processing by ExampleController#restricted as HTML
946
- 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"]]
1029
+ 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]]
1030
+ Rendering text template
947
1031
  Rendered text template (0.0ms)
948
- Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
949
- Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:12 +0000
1032
+ Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.3ms)
1033
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "test@example-client.com"], ["LIMIT", 1]]
1034
+  (0.3ms) begin transaction
1035
+ User Update (0.5ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 13]]
1036
+  (7.3ms) commit transaction
1037
+ Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:53:07 +0000
950
1038
  Processing by ExampleController#restricted as HTML
1039
+ 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]]
951
1040
  Authenticating with gds_sso strategy
952
- Completed in 0ms (ActiveRecord: 0.0ms)
953
- Started GET "/auth/gds" for 127.0.0.1 at 2020-03-02 14:30:12 +0000
954
- Started GET "/auth/gds/callback?code=a85d986c64bcd23d6ac88f6d6879f0d0c72396e7bc5372a406c9a9b72bc4fe25&state=5617262dffa6731048617294e6a233f068b014b1a35ce823" for 127.0.0.1 at 2020-03-02 14:30:13 +0000
1041
+ Completed in 2ms (ActiveRecord: 0.3ms)
1042
+ Started GET "/auth/gds" for 127.0.0.1 at 2020-06-12 15:53:07 +0000
1043
+ Started GET "/auth/gds/callback?code=0x1W0ttUBAP8Aik9xYzUqLZUFJ3vqI5gNlbRYFY1ino&state=ee6515ecfaf837dc2b27cbdf8e370ed833b57d42c55949d0" for 127.0.0.1 at 2020-06-12 15:53:08 +0000
955
1044
  Processing by AuthenticationsController#callback as HTML
956
- Parameters: {"code"=>"a85d986c64bcd23d6ac88f6d6879f0d0c72396e7bc5372a406c9a9b72bc4fe25", "state"=>"5617262dffa6731048617294e6a233f068b014b1a35ce823"}
1045
+ Parameters: {"code"=>"0x1W0ttUBAP8Aik9xYzUqLZUFJ3vqI5gNlbRYFY1ino", "state"=>"ee6515ecfaf837dc2b27cbdf8e370ed833b57d42c55949d0"}
957
1046
  Authenticating with gds_sso strategy
958
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
959
-  (0.1ms) begin transaction
960
-  (0.0ms) commit transaction
961
-  (0.0ms) begin transaction
962
-  (0.0ms) commit transaction
1047
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1048
+  (0.1ms) begin transaction
1049
+  (0.1ms) commit transaction
1050
+  (0.1ms) begin transaction
1051
+ User Update (0.5ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "f"], ["id", 13]]
1052
+  (6.7ms) commit transaction
963
1053
  Redirected to http://www.example-client.com/restricted
964
- Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
965
- Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:13 +0000
966
- Processing by ExampleController#restricted as HTML
967
- 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"]]
968
- Rendered text template (0.0ms)
969
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
970
- Started GET "/restricted" for 127.0.0.1 at 2020-03-03 10:25:13 +0000
1054
+ Completed 302 Found in 15ms (ActiveRecord: 7.9ms)
1055
+ Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:53:08 +0000
971
1056
  Processing by ExampleController#restricted as HTML
972
- 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"]]
1057
+ 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]]
1058
+ Rendering text template
973
1059
  Rendered text template (0.0ms)
974
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
975
- Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:13 +0000
1060
+ Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.3ms)
1061
+ Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:53:08 +0000
976
1062
  Processing by ExampleController#restricted as HTML
977
1063
  Authenticating with gds_sso strategy
978
- Completed in 0ms (ActiveRecord: 0.0ms)
979
- Started GET "/auth/gds" for 127.0.0.1 at 2020-03-02 14:30:13 +0000
980
- Started GET "/auth/gds/callback?code=cd337cef55f20dbb455571c6882f0182824a8193a3476077b64826d8abc1a2b3&state=74f60128482fb3095cf8075baf672f84ae42c7de839e3368" for 127.0.0.1 at 2020-03-02 14:30:13 +0000
1064
+ Completed in 1ms (ActiveRecord: 0.0ms)
1065
+ Started GET "/auth/gds" for 127.0.0.1 at 2020-06-12 15:53:08 +0000
1066
+ Started GET "/auth/gds/callback?code=3n8AMpshXipGkCHo4mwdhXlVJOjYeRcHfK16hOHtjFo&state=4cb08cbedb17637a81ffde266b19c5329d7bee83d0c5fa7c" for 127.0.0.1 at 2020-06-12 15:53:08 +0000
981
1067
  Processing by AuthenticationsController#callback as HTML
982
- Parameters: {"code"=>"cd337cef55f20dbb455571c6882f0182824a8193a3476077b64826d8abc1a2b3", "state"=>"74f60128482fb3095cf8075baf672f84ae42c7de839e3368"}
1068
+ Parameters: {"code"=>"3n8AMpshXipGkCHo4mwdhXlVJOjYeRcHfK16hOHtjFo", "state"=>"4cb08cbedb17637a81ffde266b19c5329d7bee83d0c5fa7c"}
983
1069
  Authenticating with gds_sso strategy
984
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
985
-  (0.1ms) begin transaction
986
-  (0.0ms) commit transaction
987
-  (0.0ms) begin transaction
988
-  (0.0ms) commit transaction
1070
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1071
+  (0.1ms) begin transaction
1072
+  (0.2ms) commit transaction
1073
+  (0.2ms) begin transaction
1074
+  (0.1ms) commit transaction
989
1075
  Redirected to http://www.example-client.com/restricted
990
- Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
991
- Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:13 +0000
1076
+ Completed 302 Found in 10ms (ActiveRecord: 1.0ms)
1077
+ Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:53:08 +0000
992
1078
  Processing by ExampleController#restricted as HTML
993
- 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
+ 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]]
1080
+ Rendering text template
994
1081
  Rendered text template (0.0ms)
995
- Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
996
- Started GET "/restricted" for 127.0.0.1 at 2020-03-03 10:35:13 +0000
1082
+ Completed 200 OK in 3ms (Views: 0.7ms | ActiveRecord: 0.3ms)
1083
+ Started GET "/restricted" for 127.0.0.1 at 2020-06-13 11:58:08 +0000
1084
+ Processing by ExampleController#restricted as HTML
1085
+ Authenticating with gds_sso strategy
1086
+ Completed in 1ms (ActiveRecord: 0.0ms)
1087
+ Started GET "/auth/gds" for 127.0.0.1 at 2020-06-13 11:58:08 +0000
1088
+ Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:53:08 +0000
997
1089
  Processing by ExampleController#restricted as HTML
998
1090
  Authenticating with gds_sso strategy
999
1091
  Completed in 0ms (ActiveRecord: 0.0ms)
1000
- Started GET "/auth/gds" for 127.0.0.1 at 2020-03-03 10:35:13 +0000
1001
- Started GET "/auth/gds/callback?code=768f547a0848cbf0440df0ed7630a4bb35c2bb4331ed4477365bebc9df96b844&state=547ea3f901138f73c5b206a53ec5e35e49a4b84800b06e53" for 127.0.0.1 at 2020-03-03 10:35:13 +0000
1092
+ Started GET "/auth/gds" for 127.0.0.1 at 2020-06-12 15:53:08 +0000
1093
+ Started GET "/auth/gds/callback?code=3F14h1SKW91GoJr6E0tRWSoav6dac_d2w12bKwyQoaY&state=54af2282af2d9b98f286688d66131b7dbd825e179a0e34e7" for 127.0.0.1 at 2020-06-12 15:53:08 +0000
1002
1094
  Processing by AuthenticationsController#callback as HTML
1003
- Parameters: {"code"=>"768f547a0848cbf0440df0ed7630a4bb35c2bb4331ed4477365bebc9df96b844", "state"=>"547ea3f901138f73c5b206a53ec5e35e49a4b84800b06e53"}
1095
+ Parameters: {"code"=>"3F14h1SKW91GoJr6E0tRWSoav6dac_d2w12bKwyQoaY", "state"=>"54af2282af2d9b98f286688d66131b7dbd825e179a0e34e7"}
1004
1096
  Authenticating with gds_sso strategy
1005
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
1006
-  (0.1ms) begin transaction
1007
-  (0.1ms) commit transaction
1008
-  (0.1ms) begin transaction
1009
-  (0.1ms) commit transaction
1097
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1098
+  (0.1ms) begin transaction
1099
+  (0.1ms) commit transaction
1100
+  (0.1ms) begin transaction
1101
+  (0.1ms) commit transaction
1010
1102
  Redirected to http://www.example-client.com/restricted
1011
- Completed 302 Found in 4ms (ActiveRecord: 0.5ms)
1012
- Started GET "/restricted" for 127.0.0.1 at 2020-03-03 10:35:13 +0000
1103
+ Completed 302 Found in 7ms (ActiveRecord: 0.7ms)
1104
+ Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:53:08 +0000
1013
1105
  Processing by ExampleController#restricted as HTML
1014
- 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"]]
1106
+ 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]]
1107
+ Rendering text template
1015
1108
  Rendered text template (0.0ms)
1016
- Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
1017
- Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:13 +0000
1109
+ Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.3ms)
1110
+ Started GET "/restricted" for 127.0.0.1 at 2020-06-13 11:58:08 +0000
1018
1111
  Processing by ExampleController#restricted as HTML
1019
1112
  Authenticating with gds_sso strategy
1020
- Completed in 0ms (ActiveRecord: 0.0ms)
1021
- Started GET "/auth/gds" for 127.0.0.1 at 2020-03-02 14:30:13 +0000
1022
- Started GET "/auth/gds/callback?code=15b9ba3e07690c6db51b357a084750c4f0d2bcb6687acb93d5a64074c38b7cf4&state=13016dbd3c76bd970b967c37c6e6db88e55df6e956f65e16" for 127.0.0.1 at 2020-03-02 14:30:13 +0000
1113
+ Completed in 1ms (ActiveRecord: 0.0ms)
1114
+ Started GET "/auth/gds" for 127.0.0.1 at 2020-06-13 11:58:08 +0000
1115
+ Started GET "/auth/gds/callback?code=L1Mu5ugstZ29bDh7W2cPsc73mgwqOyRx5ATOwncknmA&state=5fcad2700c5c36f2f6135d6bc7b9161d69858a7727be8a6b" for 127.0.0.1 at 2020-06-13 11:58:08 +0000
1023
1116
  Processing by AuthenticationsController#callback as HTML
1024
- Parameters: {"code"=>"15b9ba3e07690c6db51b357a084750c4f0d2bcb6687acb93d5a64074c38b7cf4", "state"=>"13016dbd3c76bd970b967c37c6e6db88e55df6e956f65e16"}
1117
+ Parameters: {"code"=>"L1Mu5ugstZ29bDh7W2cPsc73mgwqOyRx5ATOwncknmA", "state"=>"5fcad2700c5c36f2f6135d6bc7b9161d69858a7727be8a6b"}
1025
1118
  Authenticating with gds_sso strategy
1026
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
1027
-  (0.1ms) begin transaction
1028
-  (0.0ms) commit transaction
1029
-  (0.0ms) begin transaction
1030
-  (0.0ms) commit transaction
1119
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1120
+  (0.1ms) begin transaction
1121
+  (0.1ms) commit transaction
1122
+  (0.1ms) begin transaction
1123
+  (0.1ms) commit transaction
1031
1124
  Redirected to http://www.example-client.com/restricted
1032
- Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
1033
- Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:13 +0000
1125
+ Completed 302 Found in 7ms (ActiveRecord: 0.6ms)
1126
+ Started GET "/restricted" for 127.0.0.1 at 2020-06-13 11:58:08 +0000
1034
1127
  Processing by ExampleController#restricted as HTML
1035
- 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"]]
1128
+ 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]]
1129
+ Rendering text template
1036
1130
  Rendered text template (0.0ms)
1037
- Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
1038
- Started GET "/restricted" for 127.0.0.1 at 2020-03-03 10:35:13 +0000
1039
- Processing by ExampleController#restricted as HTML
1040
- Authenticating with gds_sso strategy
1041
- Completed in 0ms (ActiveRecord: 0.0ms)
1042
- Started GET "/auth/gds" for 127.0.0.1 at 2020-03-03 10:35:13 +0000
1043
- Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:13 +0000
1131
+ Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.3ms)
1132
+ Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:53:09 +0000
1044
1133
  Processing by ExampleController#restricted as HTML
1045
1134
  Authenticating with gds_sso strategy
1046
1135
  Completed in 0ms (ActiveRecord: 0.0ms)
1047
- Started GET "/auth/gds" for 127.0.0.1 at 2020-03-02 14:30:13 +0000
1048
- Started GET "/auth/gds/callback?code=95669eeef70fddf935f37a9e082a21c4d4d29f30ff355011aee035459a209941&state=190ad76b731783db4fb8201905d65d645e815e20be639000" for 127.0.0.1 at 2020-03-02 14:30:13 +0000
1136
+ Started GET "/auth/gds" for 127.0.0.1 at 2020-06-12 15:53:09 +0000
1137
+ Started GET "/auth/gds/callback?code=ei9-4sfSh4LyZ966JaoZ3WPoQ_yI5Cp1hCO9UKucCtA&state=b03f9265ace717461a7346f5ccff6795d3dddb5918008087" for 127.0.0.1 at 2020-06-12 15:53:09 +0000
1049
1138
  Processing by AuthenticationsController#callback as HTML
1050
- Parameters: {"code"=>"95669eeef70fddf935f37a9e082a21c4d4d29f30ff355011aee035459a209941", "state"=>"190ad76b731783db4fb8201905d65d645e815e20be639000"}
1139
+ Parameters: {"code"=>"ei9-4sfSh4LyZ966JaoZ3WPoQ_yI5Cp1hCO9UKucCtA", "state"=>"b03f9265ace717461a7346f5ccff6795d3dddb5918008087"}
1051
1140
  Authenticating with gds_sso strategy
1052
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
1053
-  (0.1ms) begin transaction
1054
-  (0.0ms) commit transaction
1055
-  (0.0ms) begin transaction
1056
-  (0.0ms) commit transaction
1141
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1142
+  (0.1ms) begin transaction
1143
+  (0.1ms) commit transaction
1144
+  (0.1ms) begin transaction
1145
+  (0.1ms) commit transaction
1057
1146
  Redirected to http://www.example-client.com/restricted
1058
- Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
1059
- Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:13 +0000
1147
+ Completed 302 Found in 7ms (ActiveRecord: 0.7ms)
1148
+ Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:53:09 +0000
1060
1149
  Processing by ExampleController#restricted as HTML
1061
- 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"]]
1150
+ 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]]
1151
+ Rendering text template
1062
1152
  Rendered text template (0.0ms)
1063
- Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
1064
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "test@example-client.com"]]
1065
-  (0.0ms) begin transaction
1066
- SQL (0.2ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 1]]
1067
-  (5.9ms) commit transaction
1068
- Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:13 +0000
1069
- Processing by ExampleController#restricted as HTML
1070
- 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"]]
1071
- Authenticating with gds_sso strategy
1072
- Completed in 1ms (ActiveRecord: 0.1ms)
1073
- Started GET "/auth/gds" for 127.0.0.1 at 2020-03-02 14:30:13 +0000
1074
- Started GET "/auth/gds/callback?code=3a476b2813ed5ee3c0192a09318149e921a04fc20da35f0bee773ea5dd4260a7&state=98cd0ee42509e856d23aab42d6bb804f4094de674b7cf362" for 127.0.0.1 at 2020-03-02 14:30:13 +0000
1075
- Processing by AuthenticationsController#callback as HTML
1076
- Parameters: {"code"=>"3a476b2813ed5ee3c0192a09318149e921a04fc20da35f0bee773ea5dd4260a7", "state"=>"98cd0ee42509e856d23aab42d6bb804f4094de674b7cf362"}
1077
- Authenticating with gds_sso strategy
1078
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
1079
-  (0.1ms) begin transaction
1080
-  (0.0ms) commit transaction
1081
-  (0.0ms) begin transaction
1082
- SQL (0.2ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "f"], ["id", 1]]
1083
-  (18.8ms) commit transaction
1084
- Redirected to http://www.example-client.com/restricted
1085
- Completed 302 Found in 23ms (ActiveRecord: 19.3ms)
1086
- Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:14 +0000
1153
+ Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.3ms)
1154
+ Started GET "/restricted" for 127.0.0.1 at 2020-06-13 11:48:09 +0000
1087
1155
  Processing by ExampleController#restricted as HTML
1088
- 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"]]
1156
+ 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]]
1157
+ Rendering text template
1089
1158
  Rendered text template (0.0ms)
1090
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
1091
- Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:14 +0000
1159
+ Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.3ms)
1160
+ Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:53:09 +0000
1092
1161
  Processing by ExampleController#restricted as HTML
1093
1162
  Authenticating with gds_sso strategy
1094
1163
  Completed in 0ms (ActiveRecord: 0.0ms)
1095
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "asd"]]
1096
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "user@example.com"]]
1097
-  (0.0ms) begin transaction
1098
- 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]]
1099
-  (3.7ms) commit transaction
1100
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "asd"]]
1101
-  (0.1ms) begin transaction
1102
-  (0.0ms) commit transaction
1103
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "dummyapiuser@domain.com"]]
1104
-  (0.0ms) begin transaction
1105
- SQL (0.2ms) INSERT INTO "users" ("email", "uid", "name", "permissions") VALUES (?, ?, ?, ?) [["email", "dummyapiuser@domain.com"], ["uid", "2118"], ["name", "Dummy API user created by gds-sso"], ["permissions", "---\n- signin\n"]]
1106
-  (3.9ms) commit transaction
1107
-  (0.0ms) begin transaction
1108
- SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = ? [["permissions", "---\n- signin\n- extra_permission\n"], ["id", 3]]
1109
-  (3.5ms) commit transaction
1110
-  (0.0ms) begin transaction
1111
- SQL (0.2ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d37628"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
1112
-  (3.7ms) commit transaction
1113
-  (0.0ms) begin transaction
1114
- SQL (0.2ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d34291"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1115
-  (3.9ms) commit transaction
1164
+  (1.4ms) SELECT sqlite_version(*)
1165
+  (0.1ms) SELECT sqlite_version(*)
1166
+  (0.2ms) DROP TABLE IF EXISTS "users"
1167
+  (6.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 0)
1168
+  (6.6ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)
1169
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
1170
+  (0.1ms) begin transaction
1171
+ ActiveRecord::InternalMetadata Create (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2020-06-12 15:53:13.980372"], ["updated_at", "2020-06-12 15:53:13.980372"]]
1172
+  (5.9ms) commit transaction
1173
+  (5.5ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
1174
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
1175
+  (0.2ms) SELECT sqlite_version(*)
1176
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "asd"], ["LIMIT", 1]]
1177
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "user@example.com"], ["LIMIT", 1]]
1178
+  (0.2ms) begin transaction
1179
+ User Create (0.7ms) INSERT INTO "users" ("name", "uid", "email", "permissions", "organisation_slug", "organisation_content_id", "disabled") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "A Name"], ["uid", "asd"], ["email", "user@example.com"], ["permissions", "---\n- signin\n"], ["organisation_slug", "hmrc"], ["organisation_content_id", "67a2b78d-eee3-45b3-80e2-792e7f71cecc"], ["disabled", nil]]
1180
+  (6.0ms) commit transaction
1181
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "asd"], ["LIMIT", 1]]
1182
+  (0.2ms) begin transaction
1183
+ User Create (0.6ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d33599"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
1184
+  (5.4ms) commit transaction
1185
+  (0.2ms) begin transaction
1186
+ User Create (0.6ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d37485"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1187
+  (5.1ms) commit transaction
1116
1188
  Processing by Api::UserController#reauth as HTML
1117
- Parameters: {"uid"=>"a1s2d37628"}
1118
- Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
1119
- Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.3ms)
1120
- Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
1121
- Completed 403 Forbidden in 7ms (Views: 6.5ms | ActiveRecord: 0.0ms)
1122
-  (0.1ms) begin transaction
1123
- SQL (0.2ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d35348"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
1124
-  (3.7ms) commit transaction
1125
-  (0.0ms) begin transaction
1126
- SQL (0.2ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d35349"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1127
-  (4.0ms) commit transaction
1189
+ Parameters: {"uid"=>"a1s2d33599"}
1190
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "a1s2d33599"], ["LIMIT", 1]]
1191
+  (0.2ms) begin transaction
1192
+ User Update (0.5ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", 1], ["id", 2]]
1193
+  (5.8ms) commit transaction
1194
+ Completed 200 OK in 15ms (ActiveRecord: 6.8ms | Allocations: 1660)
1195
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
1196
+  (0.2ms) begin transaction
1197
+ User Create (0.6ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d39371"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
1198
+  (13.3ms) commit transaction
1199
+  (0.2ms) begin transaction
1200
+ User Create (0.6ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d38792"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1201
+  (7.9ms) commit transaction
1128
1202
  Processing by Api::UserController#reauth as HTML
1129
1203
  Parameters: {"uid"=>"nonexistent-user"}
1130
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "nonexistent-user"]]
1131
- Completed 200 OK in 1ms (ActiveRecord: 0.1ms)
1132
-  (0.0ms) begin transaction
1133
- SQL (0.2ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d37757"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
1134
-  (5.4ms) commit transaction
1135
-  (0.0ms) begin transaction
1136
- SQL (0.2ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d39708"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1137
-  (3.9ms) commit transaction
1204
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "nonexistent-user"], ["LIMIT", 1]]
1205
+ Completed 200 OK in 2ms (ActiveRecord: 0.3ms | Allocations: 525)
1206
+  (0.2ms) begin transaction
1207
+ User Create (0.6ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d34995"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
1208
+  (8.1ms) commit transaction
1209
+  (0.2ms) begin transaction
1210
+ User Create (0.6ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d31450"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1211
+  (6.8ms) commit transaction
1138
1212
  Processing by Api::UserController#reauth as HTML
1139
- Parameters: {"uid"=>"a1s2d37757"}
1140
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "a1s2d37757"]]
1141
-  (0.0ms) begin transaction
1142
- SQL (0.2ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 8]]
1143
-  (2.5ms) commit transaction
1144
- Completed 200 OK in 4ms (ActiveRecord: 2.8ms)
1145
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 8]]
1146
-  (0.0ms) begin transaction
1147
- SQL (0.2ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d36279"], ["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", "a1s2d3930"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1151
-  (3.4ms) commit transaction
1213
+ Parameters: {"uid"=>"a1s2d34995"}
1214
+ Rendering /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
1215
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
1216
+ Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (Duration: 1.7ms | Allocations: 201)
1217
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
1218
+ Completed 403 Forbidden in 14ms (Views: 12.7ms | ActiveRecord: 0.0ms | Allocations: 1977)
1219
+  (0.2ms) begin transaction
1220
+ User Create (0.6ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d37968"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
1221
+  (7.2ms) commit transaction
1222
+  (0.2ms) begin transaction
1223
+ User Create (0.6ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d34897"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1224
+  (5.3ms) commit transaction
1152
1225
  Processing by Api::UserController#update as HTML
1153
- Parameters: {"uid"=>"a1s2d36279"}
1226
+ Parameters: {"uid"=>"a1s2d37968"}
1227
+ Rendering /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
1154
1228
  Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
1155
- Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
1229
+ Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (Duration: 0.4ms | Allocations: 47)
1156
1230
  Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
1157
- Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
1158
-  (0.0ms) begin transaction
1159
- SQL (0.2ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d33911"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
1160
-  (6.8ms) commit transaction
1161
-  (0.1ms) begin transaction
1162
- SQL (0.2ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d32990"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1163
-  (4.8ms) commit transaction
1231
+ Completed 403 Forbidden in 3ms (Views: 1.6ms | ActiveRecord: 0.0ms | Allocations: 510)
1232
+  (0.2ms) begin transaction
1233
+ User Create (0.6ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d33600"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
1234
+  (5.7ms) commit transaction
1235
+  (0.2ms) begin transaction
1236
+ User Create (0.6ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d3220"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1237
+  (4.9ms) commit transaction
1164
1238
  Processing by Api::UserController#update as HTML
1165
- Parameters: {"uid"=>"a1s2d33911"}
1166
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "a1s2d33911"]]
1167
-  (0.1ms) begin transaction
1168
- SQL (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", 12]]
1169
-  (6.5ms) commit transaction
1170
- Completed 200 OK in 10ms (ActiveRecord: 6.9ms)
1171
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 12]]
1172
-  (0.1ms) DROP TABLE IF EXISTS "users"
1173
-  (1.2ms) SELECT sqlite_version(*)
1174
-  (3.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')
1175
-  (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)
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", "2020-03-02 14:30:20.186663"], ["updated_at", "2020-03-02 14:30:20.186663"]]
1179
-  (3.2ms) commit transaction
1180
-  (5.7ms) 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
- 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]]
1186
-  (0.1ms) begin transaction
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]]
1188
-  (3.9ms) 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
1191
-  (0.1ms) commit transaction
1192
- Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:20 +0000
1193
- Processing by ExampleController#restricted as HTML
1194
- Authenticating with gds_sso strategy
1195
- Completed in 5ms (ActiveRecord: 0.0ms)
1196
- Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:20 +0000
1197
- Processing by ExampleController#restricted as HTML
1198
- Authenticating with gds_sso strategy
1199
- Completed in 0ms (ActiveRecord: 0.0ms)
1200
- Started GET "/auth/gds" for 127.0.0.1 at 2020-03-02 14:30:20 +0000
1201
- Started GET "/auth/gds/callback?code=626790cbc5ceba33fa24e7224b17c82d37bc78f8df92274c1c794222f36f96ff&state=9bb03a8550932fe10fc993b13a886530d8e2467c3401a2c5" for 127.0.0.1 at 2020-03-02 14:30:20 +0000
1202
- Processing by AuthenticationsController#callback as HTML
1203
- Parameters: {"code"=>"626790cbc5ceba33fa24e7224b17c82d37bc78f8df92274c1c794222f36f96ff", "state"=>"9bb03a8550932fe10fc993b13a886530d8e2467c3401a2c5"}
1204
- Authenticating with gds_sso strategy
1205
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1206
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "test@example-client.com"], ["LIMIT", 1]]
1207
-  (0.1ms) begin transaction
1208
- 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"]]
1209
-  (5.1ms) commit transaction
1210
-  (0.1ms) begin transaction
1211
- User Update (0.2ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "f"], ["id", 2]]
1212
-  (5.2ms) commit transaction
1213
- Redirected to http://www.example-client.com/restricted
1214
- Completed 302 Found in 16ms (ActiveRecord: 11.3ms)
1215
- Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:21 +0000
1216
- Processing by ExampleController#restricted as HTML
1217
- 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]]
1239
+ Parameters: {"uid"=>"a1s2d33600"}
1240
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "a1s2d33600"], ["LIMIT", 1]]
1241
+  (0.2ms) begin transaction
1242
+ User Update (0.5ms) UPDATE "users" SET "email" = ?, "name" = ?, "permissions" = ?, "organisation_slug" = ?, "organisation_content_id" = ? WHERE "users"."id" = ? [["email", "user@domain.com"], ["name", "Joshua Marshall"], ["permissions", "---\n- signin\n- new permission\n"], ["organisation_slug", "justice-league"], ["organisation_content_id", "aae1319e-5788-4677-998c-f1a53af528d0"], ["id", 10]]
1243
+  (6.0ms) commit transaction
1244
+ Completed 200 OK in 13ms (ActiveRecord: 7.0ms | Allocations: 1222)
1245
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 10], ["LIMIT", 1]]
1246
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "dummyapiuser@domain.com"], ["LIMIT", 1]]
1247
+  (0.2ms) begin transaction
1248
+ User Create (0.6ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Dummy API user created by gds-sso"], ["uid", "9706"], ["email", "dummyapiuser@domain.com"], ["permissions", "---\n- signin\n"]]
1249
+  (6.6ms) commit transaction
1250
+  (0.2ms) begin transaction
1251
+ User Update (0.5ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = ? [["permissions", "---\n- signin\n- extra_permission\n"], ["id", 12]]
1252
+  (6.8ms) commit transaction
1253
+ Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:53:15 +0000
1254
+ Processing by ExampleController#restricted as HTML
1255
+ Authenticating with gds_sso strategy
1256
+ Completed in 11ms (ActiveRecord: 0.0ms | Allocations: 155)
1257
+ Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:53:15 +0000
1258
+ Processing by ExampleController#restricted as JSON
1259
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1260
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "test@example-client.com"], ["LIMIT", 1]]
1261
+  (0.2ms) begin transaction
1262
+ User Create (0.6ms) 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]]
1263
+  (7.2ms) commit transaction
1264
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1265
+ CACHE User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1266
+ CACHE User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1267
+  (0.2ms) begin transaction
1268
+ User Update (0.5ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", 0], ["id", 13]]
1269
+  (6.2ms) commit transaction
1218
1270
  Rendering text template
1219
- Rendered text template (0.0ms)
1220
- Completed 200 OK in 4ms (Views: 2.6ms | ActiveRecord: 0.2ms)
1221
- Started GET "/" for 127.0.0.1 at 2020-03-02 14:30:21 +0000
1222
- Processing by ExampleController#index as HTML
1271
+ Rendered text template (Duration: 0.1ms | Allocations: 1)
1272
+ Completed 200 OK in 148ms (Views: 2.3ms | ActiveRecord: 16.0ms | Allocations: 8171)
1273
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-06-12 15:53:15 +0000
1274
+ Processing by ExampleController#this_requires_signin_permission as JSON
1275
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1276
+ CACHE User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1277
+ CACHE User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1278
+ CACHE User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1223
1279
  Rendering text template
1224
- Rendered text template (0.0ms)
1225
- Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1226
- Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:21 +0000
1280
+ Rendered text template (Duration: 0.0ms | Allocations: 1)
1281
+ Completed 200 OK in 113ms (Views: 0.7ms | ActiveRecord: 0.5ms | Allocations: 6340)
1282
+ Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:53:15 +0000
1283
+ Processing by ExampleController#restricted as JSON
1284
+ Completed in 50ms (ActiveRecord: 0.0ms | Allocations: 1863)
1285
+ Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:53:15 +0000
1286
+ Processing by ExampleController#restricted as JSON
1287
+ Completed in 45ms (ActiveRecord: 0.0ms | Allocations: 1760)
1288
+ Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:53:15 +0000
1227
1289
  Processing by ExampleController#restricted as HTML
1228
1290
  Authenticating with gds_sso strategy
1229
- Completed in 0ms (ActiveRecord: 0.0ms)
1230
- Started GET "/auth/gds" for 127.0.0.1 at 2020-03-02 14:30:21 +0000
1231
- Started GET "/auth/gds/callback?code=7a1ca26d7a6215c7696dbea073651aabf12a9476c14f3261329d857fcfe58530&state=7f9ab544e0b3ba84927f418032838afef62945a7eb4348da" for 127.0.0.1 at 2020-03-02 14:30:21 +0000
1291
+ Completed in 1ms (ActiveRecord: 0.0ms | Allocations: 107)
1292
+ Started GET "/auth/gds" for 127.0.0.1 at 2020-06-12 15:53:15 +0000
1293
+ Started GET "/auth/gds/callback?code=W7vSSyNRyTbSAwSR2KnZoFtV_OFBTIJUZv1EMxVVqXc&state=2633af08a5bea3c181f197487f4fc7504753c22c2bf938dd" for 127.0.0.1 at 2020-06-12 15:53:16 +0000
1232
1294
  Processing by AuthenticationsController#callback as HTML
1233
- Parameters: {"code"=>"7a1ca26d7a6215c7696dbea073651aabf12a9476c14f3261329d857fcfe58530", "state"=>"7f9ab544e0b3ba84927f418032838afef62945a7eb4348da"}
1295
+ Parameters: {"code"=>"W7vSSyNRyTbSAwSR2KnZoFtV_OFBTIJUZv1EMxVVqXc", "state"=>"2633af08a5bea3c181f197487f4fc7504753c22c2bf938dd"}
1234
1296
  Authenticating with gds_sso strategy
1235
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1236
-  (0.1ms) begin transaction
1237
-  (0.1ms) commit transaction
1238
-  (0.1ms) begin transaction
1239
-  (0.1ms) commit transaction
1297
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1298
+  (0.2ms) begin transaction
1299
+ User Update (0.6ms) UPDATE "users" SET "disabled" = ? WHERE "users"."id" = ? [["disabled", 0], ["id", 13]]
1300
+  (7.4ms) commit transaction
1240
1301
  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 2020-03-02 14:30:21 +0000
1302
+ Completed 302 Found in 17ms (ActiveRecord: 8.7ms | Allocations: 1150)
1303
+ Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:53:16 +0000
1243
1304
  Processing by ExampleController#restricted as HTML
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]]
1305
+ User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
1245
1306
  Rendering text template
1246
- Rendered text template (0.0ms)
1247
- Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
1248
- Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:21 +0000
1307
+ Rendered text template (Duration: 0.0ms | Allocations: 1)
1308
+ Completed 200 OK in 5ms (Views: 0.7ms | ActiveRecord: 0.5ms | Allocations: 687)
1309
+ Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:53:16 +0000
1249
1310
  Processing by ExampleController#restricted as HTML
1250
1311
  Authenticating with gds_sso strategy
1251
- Completed in 0ms (ActiveRecord: 0.0ms)
1252
- Started GET "/auth/gds" for 127.0.0.1 at 2020-03-02 14:30:21 +0000
1253
- Started GET "/auth/gds/callback?code=b16dcb8e40320f38403e25cd0c23c56e5a3480752a950a5fc212fc875daefde0&state=04a2f73151bfd8a64f2ff4241c137eb3e42328102142c300" for 127.0.0.1 at 2020-03-02 14:30:21 +0000
1312
+ Completed in 1ms (ActiveRecord: 0.0ms | Allocations: 107)
1313
+ Started GET "/auth/gds" for 127.0.0.1 at 2020-06-12 15:53:16 +0000
1314
+ Started GET "/auth/gds/callback?code=lSGnnvs1TIVC0NtmtPLtidkJLiw0f7Po8vHnxeqh60g&state=8631a4e65b3c22c555f7f744c276f98d51906f91a4956085" for 127.0.0.1 at 2020-06-12 15:53:16 +0000
1254
1315
  Processing by AuthenticationsController#callback as HTML
1255
- Parameters: {"code"=>"b16dcb8e40320f38403e25cd0c23c56e5a3480752a950a5fc212fc875daefde0", "state"=>"04a2f73151bfd8a64f2ff4241c137eb3e42328102142c300"}
1316
+ Parameters: {"code"=>"lSGnnvs1TIVC0NtmtPLtidkJLiw0f7Po8vHnxeqh60g", "state"=>"8631a4e65b3c22c555f7f744c276f98d51906f91a4956085"}
1256
1317
  Authenticating with gds_sso strategy
1257
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1258
-  (0.1ms) begin transaction
1259
-  (0.0ms) commit transaction
1260
-  (0.0ms) begin transaction
1261
-  (0.0ms) commit transaction
1318
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1262
1319
  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 2020-03-02 14:30:21 +0000
1320
+ Completed 302 Found in 11ms (ActiveRecord: 0.4ms | Allocations: 913)
1321
+ Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:53:16 +0000
1265
1322
  Processing by ExampleController#restricted as HTML
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]]
1323
+ 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", 0], ["LIMIT", 1]]
1267
1324
  Rendering text template
1268
- Rendered text template (0.0ms)
1269
- Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
1270
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-03-02 14:30:21 +0000
1325
+ Rendered text template (Duration: 0.0ms | Allocations: 1)
1326
+ Completed 200 OK in 8ms (Views: 0.6ms | ActiveRecord: 0.3ms | Allocations: 660)
1327
+ Started GET "/" for 127.0.0.1 at 2020-06-12 15:53:16 +0000
1328
+ Processing by ExampleController#index as HTML
1329
+ Rendering text template
1330
+ Rendered text template (Duration: 0.0ms | Allocations: 1)
1331
+ Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms | Allocations: 137)
1332
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-06-12 15:53:16 +0000
1271
1333
  Processing by ExampleController#this_requires_signin_permission as HTML
1272
1334
  Authenticating with gds_sso strategy
1273
- Completed in 0ms (ActiveRecord: 0.0ms)
1274
- Started GET "/auth/gds" for 127.0.0.1 at 2020-03-02 14:30:21 +0000
1275
- Started GET "/auth/gds/callback?code=c5067ee091130c71216b3b8b91b03b96a72786634d88126fc1daac4dd7c73746&state=c279600a9c2ba5699334bfc8945825e5bde3472b484d0ee5" for 127.0.0.1 at 2020-03-02 14:30:21 +0000
1335
+ Completed in 1ms (ActiveRecord: 0.0ms | Allocations: 107)
1336
+ Started GET "/auth/gds" for 127.0.0.1 at 2020-06-12 15:53:16 +0000
1337
+ Started GET "/auth/gds/callback?code=srhBFzpduyKjzzV545wFhqWPazPjCPHuJTcqX2kS1j8&state=789e31843ac918b99054f737f0b94538af247e387289da52" for 127.0.0.1 at 2020-06-12 15:53:16 +0000
1276
1338
  Processing by AuthenticationsController#callback as HTML
1277
- Parameters: {"code"=>"c5067ee091130c71216b3b8b91b03b96a72786634d88126fc1daac4dd7c73746", "state"=>"c279600a9c2ba5699334bfc8945825e5bde3472b484d0ee5"}
1339
+ Parameters: {"code"=>"srhBFzpduyKjzzV545wFhqWPazPjCPHuJTcqX2kS1j8", "state"=>"789e31843ac918b99054f737f0b94538af247e387289da52"}
1278
1340
  Authenticating with gds_sso strategy
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
1281
-  (0.0ms) commit transaction
1282
-  (0.0ms) begin transaction
1283
-  (0.0ms) commit transaction
1341
+ User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1284
1342
  Redirected to http://www.example-client.com/this_requires_signin_permission
1285
- Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
1286
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-03-02 14:30:21 +0000
1343
+ Completed 302 Found in 10ms (ActiveRecord: 0.5ms | Allocations: 913)
1344
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-06-12 15:53:17 +0000
1287
1345
  Processing by ExampleController#this_requires_signin_permission as HTML
1288
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
1346
+ 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", 0], ["LIMIT", 1]]
1289
1347
  Rendering text template
1290
- Rendered text template (0.0ms)
1291
- Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
1292
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-03-02 14:30:21 +0000
1348
+ Rendered text template (Duration: 0.0ms | Allocations: 1)
1349
+ Completed 200 OK in 7ms (Views: 2.5ms | ActiveRecord: 0.3ms | Allocations: 660)
1350
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-06-12 15:53:17 +0000
1293
1351
  Processing by ExampleController#this_requires_signin_permission as HTML
1294
1352
  Authenticating with gds_sso strategy
1295
- Completed in 0ms (ActiveRecord: 0.0ms)
1296
- Started GET "/auth/gds" for 127.0.0.1 at 2020-03-02 14:30:21 +0000
1297
- Started GET "/auth/gds/callback?code=ce170146f1a9fc5c8b1ca145de07d59f0db643828a1f59af5081c5278e00de6d&state=bd1c94079d6f5db32407967b9c274ad8e62eb4f2db479bcd" for 127.0.0.1 at 2020-03-02 14:30:21 +0000
1353
+ Completed in 2ms (ActiveRecord: 0.0ms | Allocations: 107)
1354
+ Started GET "/auth/gds" for 127.0.0.1 at 2020-06-12 15:53:17 +0000
1355
+ Started GET "/auth/gds/callback?code=MQQwzTrOSdneS05LCO3R2hl3WQhuhBTeymL6yvgZrf8&state=68e70b571e14bfd852320305f4cc83283160ba2db776919d" for 127.0.0.1 at 2020-06-12 15:53:17 +0000
1298
1356
  Processing by AuthenticationsController#callback as HTML
1299
- Parameters: {"code"=>"ce170146f1a9fc5c8b1ca145de07d59f0db643828a1f59af5081c5278e00de6d", "state"=>"bd1c94079d6f5db32407967b9c274ad8e62eb4f2db479bcd"}
1357
+ Parameters: {"code"=>"MQQwzTrOSdneS05LCO3R2hl3WQhuhBTeymL6yvgZrf8", "state"=>"68e70b571e14bfd852320305f4cc83283160ba2db776919d"}
1300
1358
  Authenticating with gds_sso strategy
1301
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1302
-  (0.1ms) begin transaction
1303
-  (0.0ms) commit transaction
1304
-  (0.0ms) begin transaction
1305
-  (0.0ms) commit transaction
1359
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1306
1360
  Redirected to http://www.example-client.com/this_requires_signin_permission
1307
- Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
1308
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-03-02 14:30:21 +0000
1361
+ Completed 302 Found in 7ms (ActiveRecord: 0.4ms | Allocations: 914)
1362
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-06-12 15:53:17 +0000
1309
1363
  Processing by ExampleController#this_requires_signin_permission as HTML
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]]
1364
+ 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", 0], ["LIMIT", 1]]
1311
1365
  Rendering text template
1312
- Rendered text template (0.0ms)
1313
- Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
1314
- Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:21 +0000
1366
+ Rendered text template (Duration: 0.1ms | Allocations: 1)
1367
+ Completed 200 OK in 4ms (Views: 0.7ms | ActiveRecord: 0.3ms | Allocations: 661)
1368
+ Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:53:17 +0000
1315
1369
  Processing by ExampleController#restricted as HTML
1316
1370
  Authenticating with gds_sso strategy
1317
- Completed in 0ms (ActiveRecord: 0.0ms)
1318
- Started GET "/auth/gds" for 127.0.0.1 at 2020-03-02 14:30:21 +0000
1319
- Started GET "/auth/gds/callback?code=8e00c01772841ff655c5d18d34825c00956262dacb5bc11c8964766111fa5207&state=ec05d99780afc9407694c9127cd060c0324cd7121b2a7b69" for 127.0.0.1 at 2020-03-02 14:30:21 +0000
1371
+ Completed in 1ms (ActiveRecord: 0.0ms | Allocations: 107)
1372
+ Started GET "/auth/gds" for 127.0.0.1 at 2020-06-12 15:53:17 +0000
1373
+ Started GET "/auth/gds/callback?code=4C_71P-J5dq9_bUhH8QmniqRnTNUJy2qkBaqefJCTNE&state=752143947f64c36048fdd7078fb383922893539fc3ee3434" for 127.0.0.1 at 2020-06-12 15:53:17 +0000
1320
1374
  Processing by AuthenticationsController#callback as HTML
1321
- Parameters: {"code"=>"8e00c01772841ff655c5d18d34825c00956262dacb5bc11c8964766111fa5207", "state"=>"ec05d99780afc9407694c9127cd060c0324cd7121b2a7b69"}
1375
+ Parameters: {"code"=>"4C_71P-J5dq9_bUhH8QmniqRnTNUJy2qkBaqefJCTNE", "state"=>"752143947f64c36048fdd7078fb383922893539fc3ee3434"}
1322
1376
  Authenticating with gds_sso strategy
1323
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1324
-  (0.1ms) begin transaction
1325
-  (0.0ms) commit transaction
1326
-  (0.0ms) begin transaction
1327
-  (0.0ms) commit transaction
1377
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1328
1378
  Redirected to http://www.example-client.com/restricted
1329
- Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
1330
- Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:22 +0000
1379
+ Completed 302 Found in 6ms (ActiveRecord: 0.4ms | Allocations: 913)
1380
+ Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:53:17 +0000
1331
1381
  Processing by ExampleController#restricted as HTML
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]]
1382
+ 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", 0], ["LIMIT", 1]]
1333
1383
  Rendering text template
1334
- Rendered text template (0.0ms)
1335
- Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
1336
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "test@example-client.com"], ["LIMIT", 1]]
1337
-  (0.1ms) begin transaction
1338
- User Update (0.3ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 2]]
1339
-  (3.3ms) commit transaction
1340
- Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:22 +0000
1384
+ Rendered text template (Duration: 0.0ms | Allocations: 1)
1385
+ Completed 200 OK in 4ms (Views: 0.6ms | ActiveRecord: 0.3ms | Allocations: 660)
1386
+ Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:53:17 +0000
1341
1387
  Processing by ExampleController#restricted as HTML
1342
- 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]]
1343
1388
  Authenticating with gds_sso strategy
1344
- Completed in 1ms (ActiveRecord: 0.2ms)
1345
- Started GET "/auth/gds" for 127.0.0.1 at 2020-03-02 14:30:22 +0000
1346
- Started GET "/auth/gds/callback?code=a837e0cb98b649eced542dee4503af1d5d69c71f3b06e9f283b391c17045d839&state=b5cc52d039fed338ce80f9fd2a9e7af207922325a01ca0c4" for 127.0.0.1 at 2020-03-02 14:30:22 +0000
1389
+ Completed in 1ms (ActiveRecord: 0.0ms | Allocations: 107)
1390
+ Started GET "/auth/gds" for 127.0.0.1 at 2020-06-12 15:53:17 +0000
1391
+ Started GET "/auth/gds/callback?code=ObbYxDZpDpftZjnl2Oi0oOk_C0LStQpGZSp2rteFh6A&state=b8306e3d0119e9a94493bc7523154afafe46053c4f525e1c" for 127.0.0.1 at 2020-06-12 15:53:17 +0000
1347
1392
  Processing by AuthenticationsController#callback as HTML
1348
- Parameters: {"code"=>"a837e0cb98b649eced542dee4503af1d5d69c71f3b06e9f283b391c17045d839", "state"=>"b5cc52d039fed338ce80f9fd2a9e7af207922325a01ca0c4"}
1393
+ Parameters: {"code"=>"ObbYxDZpDpftZjnl2Oi0oOk_C0LStQpGZSp2rteFh6A", "state"=>"b8306e3d0119e9a94493bc7523154afafe46053c4f525e1c"}
1349
1394
  Authenticating with gds_sso strategy
1350
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1351
-  (0.1ms) begin transaction
1352
-  (0.1ms) commit transaction
1353
-  (0.0ms) begin transaction
1354
- User Update (0.2ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "f"], ["id", 2]]
1355
-  (7.3ms) commit transaction
1395
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1356
1396
  Redirected to http://www.example-client.com/restricted
1357
- Completed 302 Found in 11ms (ActiveRecord: 7.9ms)
1358
- Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:22 +0000
1397
+ Completed 302 Found in 6ms (ActiveRecord: 0.4ms | Allocations: 913)
1398
+ Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:53:17 +0000
1359
1399
  Processing by ExampleController#restricted as HTML
1360
- 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
+ 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", 0], ["LIMIT", 1]]
1361
1401
  Rendering text template
1362
- Rendered text template (0.0ms)
1363
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
1364
- Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:22 +0000
1365
- Processing by ExampleController#restricted as HTML
1366
- Authenticating with gds_sso strategy
1367
- Completed in 0ms (ActiveRecord: 0.0ms)
1368
- Started GET "/auth/gds" for 127.0.0.1 at 2020-03-02 14:30:22 +0000
1369
- Started GET "/auth/gds/callback?code=09bb090192a3fb641c49521957157840b3250ccda499b4ccdd5aaf3797b7cec5&state=8a26a0f2a5c76d7081c032c348e7563af4cb3d1bcc72190a" for 127.0.0.1 at 2020-03-02 14:30:22 +0000
1402
+ Rendered text template (Duration: 0.0ms | Allocations: 1)
1403
+ Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.3ms | Allocations: 660)
1404
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "test@example-client.com"], ["LIMIT", 1]]
1405
+  (0.2ms) begin transaction
1406
+ User Update (0.6ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", 1], ["id", 13]]
1407
+  (6.6ms) commit transaction
1408
+ Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:53:18 +0000
1409
+ Processing by ExampleController#restricted as HTML
1410
+ 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", 0], ["LIMIT", 1]]
1411
+ Authenticating with gds_sso strategy
1412
+ Completed in 3ms (ActiveRecord: 0.3ms | Allocations: 541)
1413
+ Started GET "/auth/gds" for 127.0.0.1 at 2020-06-12 15:53:18 +0000
1414
+ Started GET "/auth/gds/callback?code=oGxc5oQFpaRmmpxPCFpS3dXS8jdkX0K63pQcI9rBY_0&state=2e1ac2b93711b33056a11361943688f7c24acb3f52920d6a" for 127.0.0.1 at 2020-06-12 15:53:18 +0000
1370
1415
  Processing by AuthenticationsController#callback as HTML
1371
- Parameters: {"code"=>"09bb090192a3fb641c49521957157840b3250ccda499b4ccdd5aaf3797b7cec5", "state"=>"8a26a0f2a5c76d7081c032c348e7563af4cb3d1bcc72190a"}
1416
+ Parameters: {"code"=>"oGxc5oQFpaRmmpxPCFpS3dXS8jdkX0K63pQcI9rBY_0", "state"=>"2e1ac2b93711b33056a11361943688f7c24acb3f52920d6a"}
1372
1417
  Authenticating with gds_sso strategy
1373
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1418
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1374
1419
   (0.1ms) begin transaction
1375
-  (0.1ms) commit transaction
1376
-  (0.0ms) begin transaction
1377
-  (0.1ms) commit transaction
1420
+ User Update (0.7ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", 0], ["id", 13]]
1421
+  (7.3ms) commit transaction
1378
1422
  Redirected to http://www.example-client.com/restricted
1379
- Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
1380
- Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:22 +0000
1423
+ Completed 302 Found in 15ms (ActiveRecord: 8.5ms | Allocations: 1105)
1424
+ Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:53:18 +0000
1381
1425
  Processing by ExampleController#restricted as HTML
1382
- 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]]
1426
+ 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", 0], ["LIMIT", 1]]
1383
1427
  Rendering text template
1384
- Rendered text template (0.0ms)
1385
- Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
1386
- Started GET "/restricted" for 127.0.0.1 at 2020-03-03 10:35:22 +0000
1428
+ Rendered text template (Duration: 0.0ms | Allocations: 1)
1429
+ Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.3ms | Allocations: 659)
1430
+ Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:53:18 +0000
1387
1431
  Processing by ExampleController#restricted as HTML
1388
1432
  Authenticating with gds_sso strategy
1389
- Completed in 1ms (ActiveRecord: 0.0ms)
1390
- Started GET "/auth/gds" for 127.0.0.1 at 2020-03-03 10:35:22 +0000
1391
- Started GET "/auth/gds/callback?code=c9423215c28c868fccb983d4ca9d72d3a7d88e4f6ef854e1c558e9e1f8afc0a9&state=c93fe7a89ba326850f02ebac1ad95edca138e89cae6be8bc" for 127.0.0.1 at 2020-03-03 10:35:22 +0000
1433
+ Completed in 1ms (ActiveRecord: 0.0ms | Allocations: 107)
1434
+ Started GET "/auth/gds" for 127.0.0.1 at 2020-06-12 15:53:18 +0000
1435
+ Started GET "/auth/gds/callback?code=z344M9hbOvtkT1OLxs6uFRY5fsqk7h0Jk43RBJcekEQ&state=389c84a4d79f48469a3e97a360f890979ab45cc02e633a38" for 127.0.0.1 at 2020-06-12 15:53:18 +0000
1392
1436
  Processing by AuthenticationsController#callback as HTML
1393
- Parameters: {"code"=>"c9423215c28c868fccb983d4ca9d72d3a7d88e4f6ef854e1c558e9e1f8afc0a9", "state"=>"c93fe7a89ba326850f02ebac1ad95edca138e89cae6be8bc"}
1437
+ Parameters: {"code"=>"z344M9hbOvtkT1OLxs6uFRY5fsqk7h0Jk43RBJcekEQ", "state"=>"389c84a4d79f48469a3e97a360f890979ab45cc02e633a38"}
1394
1438
  Authenticating with gds_sso strategy
1395
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1396
-  (0.1ms) begin transaction
1397
-  (0.0ms) commit transaction
1398
-  (0.0ms) begin transaction
1399
-  (0.0ms) commit transaction
1439
+ User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1400
1440
  Redirected to http://www.example-client.com/restricted
1401
- Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
1402
- Started GET "/restricted" for 127.0.0.1 at 2020-03-03 10:35:22 +0000
1441
+ Completed 302 Found in 7ms (ActiveRecord: 0.5ms | Allocations: 913)
1442
+ Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:53:18 +0000
1403
1443
  Processing by ExampleController#restricted as HTML
1404
- 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
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
1405
1445
  Rendering text template
1406
- Rendered text template (0.0ms)
1407
- Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
1408
- Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:22 +0000
1446
+ Rendered text template (Duration: 0.1ms | Allocations: 1)
1447
+ Completed 200 OK in 4ms (Views: 0.8ms | ActiveRecord: 0.4ms | Allocations: 661)
1448
+ Started GET "/restricted" for 127.0.0.1 at 2020-06-13 11:48:18 +0000
1449
+ Processing by ExampleController#restricted as HTML
1450
+ 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", 0], ["LIMIT", 1]]
1451
+ Rendering text template
1452
+ Rendered text template (Duration: 0.0ms | Allocations: 1)
1453
+ Completed 200 OK in 4ms (Views: 0.7ms | ActiveRecord: 0.3ms | Allocations: 883)
1454
+ Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:53:18 +0000
1409
1455
  Processing by ExampleController#restricted as HTML
1410
1456
  Authenticating with gds_sso strategy
1411
- Completed in 0ms (ActiveRecord: 0.0ms)
1412
- Started GET "/auth/gds" for 127.0.0.1 at 2020-03-02 14:30:22 +0000
1413
- Started GET "/auth/gds/callback?code=fc42762943c3692c1bac1d077ce46106280af432c787a006968631eca7f18a8e&state=46ee961f49dee5ee19c62b5fc7ce19b947da04b571fdedfd" for 127.0.0.1 at 2020-03-02 14:30:22 +0000
1457
+ Completed in 1ms (ActiveRecord: 0.0ms | Allocations: 107)
1458
+ Started GET "/auth/gds" for 127.0.0.1 at 2020-06-12 15:53:18 +0000
1459
+ Started GET "/auth/gds/callback?code=2wWd42zSW5fe0LTYAtEZ_aHyHYxtOlpndfvPTy4cmLc&state=b444bf0a9c25f1c0d30b5a1f6e9a89beabefd3b3e8dd6a01" for 127.0.0.1 at 2020-06-12 15:53:18 +0000
1414
1460
  Processing by AuthenticationsController#callback as HTML
1415
- Parameters: {"code"=>"fc42762943c3692c1bac1d077ce46106280af432c787a006968631eca7f18a8e", "state"=>"46ee961f49dee5ee19c62b5fc7ce19b947da04b571fdedfd"}
1461
+ Parameters: {"code"=>"2wWd42zSW5fe0LTYAtEZ_aHyHYxtOlpndfvPTy4cmLc", "state"=>"b444bf0a9c25f1c0d30b5a1f6e9a89beabefd3b3e8dd6a01"}
1416
1462
  Authenticating with gds_sso strategy
1417
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1418
-  (0.1ms) begin transaction
1419
-  (0.0ms) commit transaction
1420
-  (0.0ms) begin transaction
1421
-  (0.0ms) commit transaction
1463
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1422
1464
  Redirected to http://www.example-client.com/restricted
1423
- Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
1424
- Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:22 +0000
1465
+ Completed 302 Found in 7ms (ActiveRecord: 0.4ms | Allocations: 913)
1466
+ Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:53:19 +0000
1425
1467
  Processing by ExampleController#restricted as HTML
1426
- 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]]
1468
+ 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", 0], ["LIMIT", 1]]
1427
1469
  Rendering text template
1428
- Rendered text template (0.0ms)
1429
- Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
1430
- Started GET "/restricted" for 127.0.0.1 at 2020-03-03 10:35:22 +0000
1470
+ Rendered text template (Duration: 0.1ms | Allocations: 1)
1471
+ Completed 200 OK in 4ms (Views: 0.7ms | ActiveRecord: 0.3ms | Allocations: 660)
1472
+ Started GET "/restricted" for 127.0.0.1 at 2020-06-13 11:58:19 +0000
1431
1473
  Processing by ExampleController#restricted as HTML
1432
1474
  Authenticating with gds_sso strategy
1433
- Completed in 1ms (ActiveRecord: 0.0ms)
1434
- Started GET "/auth/gds" for 127.0.0.1 at 2020-03-03 10:35:22 +0000
1435
- Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:22 +0000
1475
+ Completed in 2ms (ActiveRecord: 0.0ms | Allocations: 488)
1476
+ Started GET "/auth/gds" for 127.0.0.1 at 2020-06-13 11:58:19 +0000
1477
+ Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:53:19 +0000
1436
1478
  Processing by ExampleController#restricted as HTML
1437
1479
  Authenticating with gds_sso strategy
1438
- Completed in 0ms (ActiveRecord: 0.0ms)
1439
- Started GET "/auth/gds" for 127.0.0.1 at 2020-03-02 14:30:22 +0000
1440
- Started GET "/auth/gds/callback?code=10ac9f7faf9d82745efd4d8c9964a65a31fa5559dbf3945c94f91b8aa28eb737&state=19ef884d3d6f613b15aede46430ada937b86469378a5da77" for 127.0.0.1 at 2020-03-02 14:30:22 +0000
1480
+ Completed in 1ms (ActiveRecord: 0.0ms | Allocations: 107)
1481
+ Started GET "/auth/gds" for 127.0.0.1 at 2020-06-12 15:53:19 +0000
1482
+ Started GET "/auth/gds/callback?code=wG6dOgcCevXcttMKMMYwQUrqa5A3G846P6O8KcufIn4&state=72b9665daca597fa81a3fbaac0611bb9558b460d5e349a83" for 127.0.0.1 at 2020-06-12 15:53:19 +0000
1441
1483
  Processing by AuthenticationsController#callback as HTML
1442
- Parameters: {"code"=>"10ac9f7faf9d82745efd4d8c9964a65a31fa5559dbf3945c94f91b8aa28eb737", "state"=>"19ef884d3d6f613b15aede46430ada937b86469378a5da77"}
1484
+ Parameters: {"code"=>"wG6dOgcCevXcttMKMMYwQUrqa5A3G846P6O8KcufIn4", "state"=>"72b9665daca597fa81a3fbaac0611bb9558b460d5e349a83"}
1443
1485
  Authenticating with gds_sso strategy
1444
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1445
-  (0.1ms) begin transaction
1446
-  (0.1ms) commit transaction
1447
-  (0.1ms) begin transaction
1448
-  (0.0ms) commit transaction
1486
+ User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1449
1487
  Redirected to http://www.example-client.com/restricted
1450
- Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
1451
- Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:22 +0000
1488
+ Completed 302 Found in 7ms (ActiveRecord: 0.5ms | Allocations: 913)
1489
+ Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:53:19 +0000
1452
1490
  Processing by ExampleController#restricted as HTML
1453
- 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]]
1491
+ 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", 0], ["LIMIT", 1]]
1454
1492
  Rendering text template
1455
- Rendered text template (0.0ms)
1456
- Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
1457
- Started GET "/restricted" for 127.0.0.1 at 2020-03-03 10:25:22 +0000
1493
+ Rendered text template (Duration: 0.0ms | Allocations: 1)
1494
+ Completed 200 OK in 4ms (Views: 0.7ms | ActiveRecord: 0.3ms | Allocations: 660)
1495
+ Started GET "/restricted" for 127.0.0.1 at 2020-06-13 11:58:19 +0000
1458
1496
  Processing by ExampleController#restricted as HTML
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]]
1460
- Rendering text template
1461
- Rendered text template (0.0ms)
1462
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
1463
- Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:22 +0000
1464
- Processing by ExampleController#restricted as JSON
1465
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1466
-  (0.0ms) begin transaction
1467
- User Update (0.2ms) UPDATE "users" SET "disabled" = ? WHERE "users"."id" = ? [["disabled", nil], ["id", 2]]
1468
-  (7.4ms) commit transaction
1469
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1470
-  (0.0ms) begin transaction
1471
-  (0.0ms) commit transaction
1472
- CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1473
-  (0.0ms) begin transaction
1474
-  (0.0ms) commit transaction
1475
- CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1476
-  (0.0ms) begin transaction
1477
-  (0.0ms) commit transaction
1478
-  (0.0ms) begin transaction
1479
-  (0.0ms) commit transaction
1480
- Rendering text template
1481
- Rendered text template (0.0ms)
1482
- Completed 200 OK in 62ms (Views: 0.3ms | ActiveRecord: 8.3ms)
1483
- Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:22 +0000
1484
- Processing by ExampleController#restricted as JSON
1485
- Completed in 12ms (ActiveRecord: 0.0ms)
1486
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-03-02 14:30:23 +0000
1487
- Processing by ExampleController#this_requires_signin_permission as JSON
1488
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1489
-  (0.1ms) begin transaction
1490
-  (0.0ms) commit transaction
1491
- CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1492
-  (0.0ms) begin transaction
1493
-  (0.0ms) commit transaction
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.0ms) 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]]
1498
-  (0.0ms) begin transaction
1499
-  (0.0ms) commit transaction
1500
-  (0.0ms) begin transaction
1501
-  (0.0ms) commit transaction
1497
+ Authenticating with gds_sso strategy
1498
+ Completed in 1ms (ActiveRecord: 0.0ms | Allocations: 488)
1499
+ Started GET "/auth/gds" for 127.0.0.1 at 2020-06-13 11:58:19 +0000
1500
+ Started GET "/auth/gds/callback?code=GiTqxrVxxVNTmCM6yrBIbdrOiMIpRawIQ0iadBH1pls&state=f7efb007e1a1bc5cbf001a76d2163b4a5561f49a8f6914bb" for 127.0.0.1 at 2020-06-13 11:58:19 +0000
1501
+ Processing by AuthenticationsController#callback as HTML
1502
+ Parameters: {"code"=>"GiTqxrVxxVNTmCM6yrBIbdrOiMIpRawIQ0iadBH1pls", "state"=>"f7efb007e1a1bc5cbf001a76d2163b4a5561f49a8f6914bb"}
1503
+ Authenticating with gds_sso strategy
1504
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1505
+ Redirected to http://www.example-client.com/restricted
1506
+ Completed 302 Found in 7ms (ActiveRecord: 0.4ms | Allocations: 1115)
1507
+ Started GET "/restricted" for 127.0.0.1 at 2020-06-13 11:58:19 +0000
1508
+ Processing by ExampleController#restricted as HTML
1509
+ 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", 0], ["LIMIT", 1]]
1502
1510
  Rendering text template
1503
- Rendered text template (0.0ms)
1504
- Completed 200 OK in 57ms (Views: 0.3ms | ActiveRecord: 0.6ms)
1505
- Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:23 +0000
1506
- Processing by ExampleController#restricted as JSON
1507
- Completed in 18ms (ActiveRecord: 0.0ms)
1508
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "dummyapiuser@domain.com"], ["LIMIT", 1]]
1509
-  (0.0ms) begin transaction
1510
- User Create (0.3ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Dummy API user created by gds-sso"], ["uid", "2217"], ["email", "dummyapiuser@domain.com"], ["permissions", "---\n- signin\n"]]
1511
-  (6.0ms) 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
-  (5.4ms) commit transaction
1515
-  (0.0ms) begin transaction
1516
- User Create (0.3ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d33333"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
1517
-  (11.3ms) 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", "a1s2d34038"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1520
-  (5.7ms) commit transaction
1521
- Processing by Api::UserController#update as HTML
1522
- Parameters: {"uid"=>"a1s2d33333"}
1523
- Rendering /var/lib/jenkins/workspace/gds-sso_master/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/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 6ms (Views: 6.0ms | ActiveRecord: 0.0ms)
1528
-  (0.0ms) begin transaction
1529
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d34776"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
1530
-  (8.7ms) 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", "a1s2d34840"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1533
-  (4.4ms) commit transaction
1534
- Processing by Api::UserController#update as HTML
1535
- Parameters: {"uid"=>"a1s2d34776"}
1536
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "a1s2d34776"], ["LIMIT", 1]]
1537
-  (0.0ms) begin transaction
1538
- 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]]
1539
-  (3.1ms) commit transaction
1540
- Completed 200 OK in 6ms (ActiveRecord: 3.5ms)
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", "a1s2d33605"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
1544
-  (2.7ms) commit transaction
1545
-  (0.0ms) begin transaction
1546
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d37908"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1547
-  (5.1ms) commit transaction
1548
- Processing by Api::UserController#reauth as HTML
1549
- Parameters: {"uid"=>"nonexistent-user"}
1550
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "nonexistent-user"], ["LIMIT", 1]]
1551
- Completed 200 OK in 1ms (ActiveRecord: 0.1ms)
1552
-  (0.1ms) begin transaction
1553
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d35409"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
1554
-  (4.5ms) commit transaction
1555
-  (0.1ms) begin transaction
1556
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d35522"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1557
-  (12.4ms) commit transaction
1558
- Processing by Api::UserController#reauth as HTML
1559
- Parameters: {"uid"=>"a1s2d35409"}
1560
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "a1s2d35409"], ["LIMIT", 1]]
1561
-  (0.0ms) begin transaction
1562
- User Update (0.2ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 10]]
1563
-  (3.0ms) commit transaction
1564
- Completed 200 OK in 5ms (ActiveRecord: 3.4ms)
1565
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 10], ["LIMIT", 1]]
1566
-  (0.0ms) begin transaction
1567
- User Create (0.3ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d33382"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
1568
-  (4.2ms) 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", "a1s2d35766"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1571
-  (2.9ms) commit transaction
1572
- Processing by Api::UserController#reauth as HTML
1573
- Parameters: {"uid"=>"a1s2d33382"}
1574
- Rendering /var/lib/jenkins/workspace/gds-sso_master/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/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.8ms | ActiveRecord: 0.0ms)
1511
+ Rendered text template (Duration: 0.1ms | Allocations: 1)
1512
+ Completed 200 OK in 4ms (Views: 0.7ms | ActiveRecord: 0.3ms | Allocations: 885)