gds-sso 15.0.0 → 15.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (36) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +11 -6
  3. data/app/controllers/api/user_controller.rb +30 -28
  4. data/app/controllers/authentications_controller.rb +3 -5
  5. data/config/routes.rb +6 -5
  6. data/lib/gds-sso.rb +24 -23
  7. data/lib/gds-sso/api_access.rb +1 -1
  8. data/lib/gds-sso/bearer_token.rb +24 -24
  9. data/lib/gds-sso/config.rb +9 -5
  10. data/lib/gds-sso/controller_methods.rb +5 -6
  11. data/lib/gds-sso/failure_app.rb +7 -7
  12. data/lib/gds-sso/lint/user_spec.rb +24 -25
  13. data/lib/gds-sso/lint/user_test.rb +28 -28
  14. data/lib/gds-sso/user.rb +12 -12
  15. data/lib/gds-sso/version.rb +1 -1
  16. data/lib/gds-sso/warden_config.rb +21 -31
  17. data/spec/controller/api_user_controller_spec.rb +40 -37
  18. data/spec/controller/controller_methods_spec.rb +28 -28
  19. data/spec/internal/app/controllers/application_controller.rb +1 -1
  20. data/spec/internal/app/controllers/example_controller.rb +1 -2
  21. data/spec/internal/config/initializers/gds-sso.rb +2 -2
  22. data/spec/internal/config/routes.rb +2 -2
  23. data/spec/internal/db/combustion_test.sqlite +0 -0
  24. data/spec/internal/db/schema.rb +5 -5
  25. data/spec/internal/log/test.log +1079 -1079
  26. data/spec/requests/end_to_end_spec.rb +44 -45
  27. data/spec/spec_helper.rb +12 -13
  28. data/spec/support/signon_integration_helpers.rb +9 -7
  29. data/spec/support/timecop.rb +1 -1
  30. data/spec/unit/api_access_spec.rb +7 -7
  31. data/spec/unit/bearer_token_spec.rb +14 -15
  32. data/spec/unit/config_spec.rb +5 -5
  33. data/spec/unit/mock_bearer_token_spec.rb +4 -4
  34. data/spec/unit/session_serialisation_spec.rb +5 -5
  35. data/spec/unit/user_spec.rb +22 -23
  36. metadata +71 -57
@@ -1,3 +1,3 @@
1
1
  class ApplicationController < ActionController::Base
2
2
  include GDS::SSO::ControllerMethods
3
- end
3
+ end
@@ -1,6 +1,5 @@
1
1
  class ExampleController < ApplicationController
2
-
3
- before_action :authenticate_user!, :only => [:restricted, :this_requires_signin_permission]
2
+ before_action :authenticate_user!, only: %i[restricted this_requires_signin_permission]
4
3
 
5
4
  def index
6
5
  render body: "jabberwocky"
@@ -1,6 +1,6 @@
1
1
  GDS::SSO.config do |config|
2
2
  config.user_model = "User"
3
- config.oauth_id = 'gds-sso-test'
4
- config.oauth_secret = 'secret'
3
+ config.oauth_id = "gds-sso-test"
4
+ config.oauth_secret = "secret"
5
5
  config.oauth_root_url = "http://localhost:4567"
6
6
  end
@@ -2,7 +2,7 @@
2
2
 
3
3
  Rails.application.routes.draw do
4
4
  # Add your own routes here, or remove this file if you don't have need for it.
5
- root :to => 'example#index'
6
- get "/restricted" => 'example#restricted'
5
+ root to: "example#index"
6
+ get "/restricted" => "example#restricted"
7
7
  get "/this_requires_signin_permission" => "example#this_requires_signin_permission"
8
8
  end
@@ -3,14 +3,14 @@
3
3
  ActiveRecord::Schema.define do
4
4
  # Set up any tables you need to exist for your test suite that don't belong
5
5
  # in migrations.
6
- create_table "users", :force => true do |t|
7
- t.string "name", :null => false
8
- t.string "uid", :null => false
9
- t.string "email", :null => false
6
+ create_table "users", force: true do |t|
7
+ t.string "name", null: false
8
+ t.string "uid", null: false
9
+ t.string "email", null: false
10
10
  t.boolean "remotely_signed_out"
11
11
  t.text "permissions"
12
12
  t.string "organisation_slug"
13
13
  t.string "organisation_content_id"
14
- t.boolean "disabled", :default => false
14
+ t.boolean "disabled", default: false
15
15
  end
16
16
  end
@@ -1,1512 +1,1512 @@
1
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)
2
+  (1.1ms) SELECT sqlite_version(*)
3
+  (6.0ms) CREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "uid" varchar NOT NULL, "email" varchar NOT NULL, "remotely_signed_out" boolean, "permissions" text, "organisation_slug" varchar, "organisation_content_id" varchar, "disabled" boolean DEFAULT 'f')
4
+  (5.4ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
5
5
  ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
6
6
   (0.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)
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-07-28 10:10:58.659218"], ["updated_at", "2020-07-28 10:10:58.659218"]]
8
+  (5.4ms) commit transaction
9
+  (4.2ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
10
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
11
+  (0.1ms) begin transaction
12
12
   (0.0ms) commit transaction
13
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "asd"], ["LIMIT", 1]]
14
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "user@example.com"], ["LIMIT", 1]]
13
15
   (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]]
16
+ 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]]
17
+  (4.2ms) commit transaction
18
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "asd"], ["LIMIT", 1]]
22
19
   (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]]
20
+  (0.1ms) commit transaction
27
21
   (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
22
+ User Create (0.3ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d33188"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
23
+  (4.4ms) commit transaction
43
24
   (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
25
+ User Create (0.3ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d32885"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
26
+  (3.4ms) commit transaction
46
27
  Processing by Api::UserController#reauth as HTML
47
- Parameters: {"uid"=>"a1s2d3721"}
28
+ Parameters: {"uid"=>"a1s2d33188"}
48
29
  Rendering /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
49
30
  Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
50
31
  Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
51
32
  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
33
+ Completed 403 Forbidden in 7ms (Views: 6.9ms | ActiveRecord: 0.0ms)
56
34
   (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
35
+ User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d39666"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
36
+  (4.0ms) commit transaction
37
+  (0.1ms) begin transaction
38
+ User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d35794"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
39
+  (4.3ms) commit transaction
59
40
  Processing by Api::UserController#reauth as HTML
60
41
  Parameters: {"uid"=>"nonexistent-user"}
61
42
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "nonexistent-user"], ["LIMIT", 1]]
62
43
  Completed 200 OK in 1ms (ActiveRecord: 0.1ms)
44
+  (0.1ms) begin transaction
45
+ User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d32544"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
46
+  (4.3ms) commit transaction
47
+  (0.1ms) begin transaction
48
+ User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d3705"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
49
+  (3.3ms) commit transaction
50
+ Processing by Api::UserController#reauth as HTML
51
+ Parameters: {"uid"=>"a1s2d32544"}
52
+ User Load (11.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "a1s2d32544"], ["LIMIT", 1]]
53
+  (0.5ms) begin transaction
54
+ User Update (0.2ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 6]]
55
+  (4.0ms) commit transaction
56
+ Completed 200 OK in 18ms (ActiveRecord: 16.0ms)
57
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]]
63
58
   (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
59
+ User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d32525"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
60
+  (3.6ms) commit transaction
66
61
   (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]]
62
+ User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d38924"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
63
+  (4.0ms) commit transaction
64
+ Processing by Api::UserController#update as HTML
65
+ Parameters: {"uid"=>"a1s2d32525"}
66
+ Rendering /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
67
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
68
+ Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
69
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
70
+ Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
71
+  (0.1ms) begin transaction
72
+ User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d33880"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
73
+  (4.4ms) commit transaction
72
74
   (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]]
75
+ User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d31256"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
76
+  (3.3ms) commit transaction
77
+ Processing by Api::UserController#update as HTML
78
+ Parameters: {"uid"=>"a1s2d33880"}
79
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "a1s2d33880"], ["LIMIT", 1]]
79
80
   (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]]
81
+ 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", 10]]
82
+  (4.4ms) commit transaction
83
+ Completed 200 OK in 7ms (ActiveRecord: 4.8ms)
84
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 10], ["LIMIT", 1]]
85
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "dummyapiuser@domain.com"], ["LIMIT", 1]]
83
86
   (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
86
- Processing by ExampleController#this_requires_signin_permission as JSON
87
+ User Create (0.3ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Dummy API user created by gds-sso"], ["uid", "4114"], ["email", "dummyapiuser@domain.com"], ["permissions", "---\n- signin\n"]]
88
+  (3.6ms) commit transaction
89
+  (0.0ms) begin transaction
90
+ User Update (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = ? [["permissions", "---\n- signin\n- extra_permission\n"], ["id", 12]]
91
+  (4.5ms) commit transaction
92
+ Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:10:59 +0000
93
+ Processing by ExampleController#restricted as HTML
94
+ Authenticating with gds_sso strategy
95
+ Completed in 5ms (ActiveRecord: 0.0ms)
96
+ Started GET "/" for 127.0.0.1 at 2020-07-28 10:10:59 +0000
97
+ Processing by ExampleController#index as HTML
98
+ Rendering text template
99
+ Rendered text template (0.0ms)
100
+ Completed 200 OK in 2ms (Views: 2.2ms | ActiveRecord: 0.0ms)
101
+ Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:10:59 +0000
102
+ Processing by ExampleController#restricted as HTML
103
+ Authenticating with gds_sso strategy
104
+ Completed in 0ms (ActiveRecord: 0.0ms)
105
+ Started GET "/auth/gds" for 127.0.0.1 at 2020-07-28 10:10:59 +0000
106
+ Started GET "/auth/gds/callback?code=XIrk0A1OcJZLjwOKsphEfEP_i18paaY1G6XKN85PNoA&state=a663c9e16160f9fd0c5ed4cb4ded2075230c98d848c828cc" for 127.0.0.1 at 2020-07-28 10:11:00 +0000
107
+ Processing by AuthenticationsController#callback as HTML
108
+ Parameters: {"code"=>"XIrk0A1OcJZLjwOKsphEfEP_i18paaY1G6XKN85PNoA", "state"=>"a663c9e16160f9fd0c5ed4cb4ded2075230c98d848c828cc"}
109
+ Authenticating with gds_sso strategy
87
110
  User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
88
111
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "test@example-client.com"], ["LIMIT", 1]]
112
+  (0.0ms) begin transaction
113
+ User Create (0.8ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Test User"], ["uid", "integration-uid"], ["email", "test@example-client.com"], ["permissions", "---\n- signin\n"]]
114
+  (8.4ms) commit transaction
89
115
   (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
116
+ User Update (0.2ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "f"], ["id", 13]]
117
+  (3.3ms) commit transaction
118
+ Redirected to http://www.example-client.com/restricted
119
+ Completed 302 Found in 17ms (ActiveRecord: 13.1ms)
120
+ Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:00 +0000
121
+ Processing by ExampleController#restricted as HTML
122
+ 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]]
104
123
  Rendering text template
105
124
  Rendered text template (0.0ms)
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
108
- Processing by ExampleController#restricted as JSON
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]]
125
+ Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
126
+ Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:00 +0000
127
+ Processing by ExampleController#restricted as HTML
128
+ Authenticating with gds_sso strategy
129
+ Completed in 0ms (ActiveRecord: 0.0ms)
130
+ Started GET "/auth/gds" for 127.0.0.1 at 2020-07-28 10:11:00 +0000
131
+ Started GET "/auth/gds/callback?code=WD6GHKCg2CceSXQtOxpX5uX5Q52y3tLAYG4nJAjNBVw&state=64085a336fb8d8da6d3e32b6b7085cda856a0fb03fcaac46" for 127.0.0.1 at 2020-07-28 10:11:00 +0000
132
+ Processing by AuthenticationsController#callback as HTML
133
+ Parameters: {"code"=>"WD6GHKCg2CceSXQtOxpX5uX5Q52y3tLAYG4nJAjNBVw", "state"=>"64085a336fb8d8da6d3e32b6b7085cda856a0fb03fcaac46"}
134
+ Authenticating with gds_sso strategy
135
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
122
136
   (0.1ms) begin transaction
123
137
   (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
138
+  (0.0ms) begin transaction
128
139
   (0.1ms) commit transaction
140
+ Redirected to http://www.example-client.com/restricted
141
+ Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
142
+ Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:00 +0000
143
+ Processing by ExampleController#restricted as HTML
144
+ 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]]
129
145
  Rendering text template
130
146
  Rendered text template (0.0ms)
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
147
+ Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
148
+ Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:00 +0000
133
149
  Processing by ExampleController#restricted as HTML
134
150
  Authenticating with gds_sso strategy
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
137
- Processing by ExampleController#this_requires_signin_permission as HTML
138
- Authenticating with gds_sso strategy
139
151
  Completed in 0ms (ActiveRecord: 0.0ms)
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
152
+ Started GET "/auth/gds" for 127.0.0.1 at 2020-07-28 10:11:00 +0000
153
+ Started GET "/auth/gds/callback?code=iwwQkvHOLQi9vgrkLGQiTUuM8AIMHyyDj57VPjM2zoQ&state=e3f1de3579ed6acfb19a247be93dadfaa4c02116c49718f6" for 127.0.0.1 at 2020-07-28 10:11:00 +0000
142
154
  Processing by AuthenticationsController#callback as HTML
143
- Parameters: {"code"=>"AbT8SXs2YjD7WJqWc0VjMLIEqVD8gd3rLKwX4q7o6Pc", "state"=>"942a5af1a1114e63d229a53a3aabe299e05a74e59d19ad3b"}
155
+ Parameters: {"code"=>"iwwQkvHOLQi9vgrkLGQiTUuM8AIMHyyDj57VPjM2zoQ", "state"=>"e3f1de3579ed6acfb19a247be93dadfaa4c02116c49718f6"}
144
156
  Authenticating with gds_sso strategy
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
157
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
149
158
   (0.1ms) begin transaction
150
-  (0.1ms) commit transaction
151
- Redirected to http://www.example-client.com/this_requires_signin_permission
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
154
- Processing by ExampleController#this_requires_signin_permission as HTML
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]]
159
+  (0.0ms) commit transaction
160
+  (0.0ms) begin transaction
161
+  (0.0ms) commit transaction
162
+ Redirected to http://www.example-client.com/restricted
163
+ Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
164
+ Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:00 +0000
165
+ Processing by ExampleController#restricted as HTML
166
+ 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]]
156
167
  Rendering text template
157
168
  Rendered text template (0.0ms)
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
169
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
170
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-07-28 10:11:00 +0000
160
171
  Processing by ExampleController#this_requires_signin_permission as HTML
161
172
  Authenticating with gds_sso strategy
162
173
  Completed in 0ms (ActiveRecord: 0.0ms)
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
174
+ Started GET "/auth/gds" for 127.0.0.1 at 2020-07-28 10:11:00 +0000
175
+ Started GET "/auth/gds/callback?code=5fq0RKvlzv0B9qQsCEyhdd88h2JBCkiUtBUSdtGLpZE&state=8b5bf5abbd9de238e72dfe27d5122e14bcf1d9babe86c6f0" for 127.0.0.1 at 2020-07-28 10:11:00 +0000
165
176
  Processing by AuthenticationsController#callback as HTML
166
- Parameters: {"code"=>"gCzNxa0UYS9v1u34NFcJQBGWHthk7SL6AQp_IFUHTkQ", "state"=>"c33f8168dbdb2f49c4ea77084f5b3c640e941cae38533aad"}
177
+ Parameters: {"code"=>"5fq0RKvlzv0B9qQsCEyhdd88h2JBCkiUtBUSdtGLpZE", "state"=>"8b5bf5abbd9de238e72dfe27d5122e14bcf1d9babe86c6f0"}
167
178
  Authenticating with gds_sso strategy
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
179
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
171
180
   (0.1ms) begin transaction
172
181
   (0.1ms) commit transaction
182
+  (0.1ms) begin transaction
183
+  (0.0ms) commit transaction
173
184
  Redirected to http://www.example-client.com/this_requires_signin_permission
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
185
+ Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
186
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-07-28 10:11:00 +0000
176
187
  Processing by ExampleController#this_requires_signin_permission as HTML
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]]
188
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
178
189
  Rendering text template
179
190
  Rendered text template (0.0ms)
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
182
- Processing by ExampleController#restricted as HTML
191
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
192
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-07-28 10:11:00 +0000
193
+ Processing by ExampleController#this_requires_signin_permission as HTML
183
194
  Authenticating with gds_sso strategy
184
195
  Completed in 0ms (ActiveRecord: 0.0ms)
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
196
+ Started GET "/auth/gds" for 127.0.0.1 at 2020-07-28 10:11:00 +0000
197
+ Started GET "/auth/gds/callback?code=Y6UMFRXTtBvR0Xt7fmZMoYz7B_qLyB85fCAauwmGJVo&state=b9b2e0f203aa00fbc610c7399455b8e87c5b4ce94369d959" for 127.0.0.1 at 2020-07-28 10:11:01 +0000
187
198
  Processing by AuthenticationsController#callback as HTML
188
- Parameters: {"code"=>"D6vj8aToDosrjQog3mwDKymQBj5G6Nv9sd7lDD7C7vI", "state"=>"11faee918652964aede9dc6ac351b1a31333cabea007ce37"}
199
+ Parameters: {"code"=>"Y6UMFRXTtBvR0Xt7fmZMoYz7B_qLyB85fCAauwmGJVo", "state"=>"b9b2e0f203aa00fbc610c7399455b8e87c5b4ce94369d959"}
189
200
  Authenticating with gds_sso strategy
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
201
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
193
202
   (0.1ms) begin transaction
194
203
   (0.1ms) commit transaction
195
- Redirected to http://www.example-client.com/restricted
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
198
- Processing by ExampleController#restricted 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]]
204
+  (0.0ms) begin transaction
205
+  (0.0ms) commit transaction
206
+ Redirected to http://www.example-client.com/this_requires_signin_permission
207
+ Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
208
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-07-28 10:11:01 +0000
209
+ Processing by ExampleController#this_requires_signin_permission as HTML
210
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
200
211
  Rendering text template
201
212
  Rendered text template (0.0ms)
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
213
+ Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
214
+ Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:01 +0000
204
215
  Processing by ExampleController#restricted as HTML
205
216
  Authenticating with gds_sso strategy
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
217
+ Completed in 0ms (ActiveRecord: 0.0ms)
218
+ Started GET "/auth/gds" for 127.0.0.1 at 2020-07-28 10:11:01 +0000
219
+ Started GET "/auth/gds/callback?code=fteVPA642fJHI-UDcDBpcDoij_VODquH_w4dUBvrCk4&state=33f56805f43198fbf151d75bd5e80ea858af449826755474" for 127.0.0.1 at 2020-07-28 10:11:01 +0000
209
220
  Processing by AuthenticationsController#callback as HTML
210
- Parameters: {"code"=>"GgVBx-pk8SdrXsHbI01gIAgtXSBJms0gCtHAjVNxF18", "state"=>"6b4c711f8a12ef292ee88de78c83b99a975fa2c9a123022d"}
221
+ Parameters: {"code"=>"fteVPA642fJHI-UDcDBpcDoij_VODquH_w4dUBvrCk4", "state"=>"33f56805f43198fbf151d75bd5e80ea858af449826755474"}
211
222
  Authenticating with gds_sso strategy
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
223
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
215
224
   (0.1ms) begin transaction
225
+  (0.4ms) commit transaction
226
+  (0.0ms) begin transaction
216
227
   (0.1ms) commit transaction
217
228
  Redirected to http://www.example-client.com/restricted
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
229
+ Completed 302 Found in 4ms (ActiveRecord: 0.8ms)
230
+ Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:01 +0000
220
231
  Processing by ExampleController#restricted as HTML
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]]
232
+ 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]]
222
233
  Rendering text template
223
234
  Rendered text template (0.0ms)
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
235
+ Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
236
+ Started GET "/restricted" for 127.0.0.1 at 2020-07-29 06:16:01 +0000
226
237
  Processing by ExampleController#restricted as HTML
227
238
  Authenticating with gds_sso strategy
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
239
+ Completed in 0ms (ActiveRecord: 0.0ms)
240
+ Started GET "/auth/gds" for 127.0.0.1 at 2020-07-29 06:16:01 +0000
241
+ Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:01 +0000
242
+ Processing by ExampleController#restricted as HTML
243
+ Authenticating with gds_sso strategy
244
+ Completed in 0ms (ActiveRecord: 0.0ms)
245
+ Started GET "/auth/gds" for 127.0.0.1 at 2020-07-28 10:11:01 +0000
246
+ Started GET "/auth/gds/callback?code=I4g-SNUSGUIlrh0zevm1P9RkqZeEuUMGZ5IM5K6nfKc&state=3a1c7bfa60afd57a7f1eba98d4ec07a5391094b798b42295" for 127.0.0.1 at 2020-07-28 10:11:01 +0000
231
247
  Processing by AuthenticationsController#callback as HTML
232
- Parameters: {"code"=>"OCGbbCIr-vDoYGR_2sRzEFYdDFr7x9TP4fc2p16jWE8", "state"=>"3e3cb71f323db6b923ffdf61d0418b264a5ffebf6160f63d"}
248
+ Parameters: {"code"=>"I4g-SNUSGUIlrh0zevm1P9RkqZeEuUMGZ5IM5K6nfKc", "state"=>"3a1c7bfa60afd57a7f1eba98d4ec07a5391094b798b42295"}
233
249
  Authenticating with gds_sso strategy
234
- User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
250
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
235
251
   (0.1ms) begin transaction
236
252
   (0.1ms) commit transaction
237
253
   (0.1ms) begin transaction
238
254
   (0.1ms) commit transaction
239
255
  Redirected to http://www.example-client.com/restricted
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
256
+ Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
257
+ Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:01 +0000
242
258
  Processing by ExampleController#restricted as HTML
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
259
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
249
260
  Rendering text template
250
261
  Rendered text template (0.0ms)
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
262
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
263
+ Started GET "/restricted" for 127.0.0.1 at 2020-07-29 06:16:01 +0000
253
264
  Processing by ExampleController#restricted as HTML
254
265
  Authenticating with gds_sso strategy
255
266
  Completed in 0ms (ActiveRecord: 0.0ms)
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
267
+ Started GET "/auth/gds" for 127.0.0.1 at 2020-07-29 06:16:01 +0000
268
+ Started GET "/auth/gds/callback?code=uuYU7T9saWv_WHz16C37qVCQx1yhVm9TpQYrcxkYmFc&state=3a809c5e8ef281168837d2ffc744a23c5d863085b40a1c7b" for 127.0.0.1 at 2020-07-29 06:16:01 +0000
258
269
  Processing by AuthenticationsController#callback as HTML
259
- Parameters: {"code"=>"NsjNUHfVtSG4vhV7N62Qa7PdOg7fEXWd_5P_PB67O7g", "state"=>"cc1ccab0a203831db61f52a6027fb073078780d82473dcb1"}
270
+ Parameters: {"code"=>"uuYU7T9saWv_WHz16C37qVCQx1yhVm9TpQYrcxkYmFc", "state"=>"3a809c5e8ef281168837d2ffc744a23c5d863085b40a1c7b"}
260
271
  Authenticating with gds_sso strategy
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
272
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
273
+  (0.1ms) begin transaction
274
+  (0.0ms) commit transaction
264
275
   (0.1ms) begin transaction
265
276
   (0.1ms) commit transaction
266
277
  Redirected to http://www.example-client.com/restricted
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
278
+ Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
279
+ Started GET "/restricted" for 127.0.0.1 at 2020-07-29 06:16:01 +0000
269
280
  Processing by ExampleController#restricted as HTML
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]]
281
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
271
282
  Rendering text template
272
283
  Rendered text template (0.0ms)
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
284
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
285
+ Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:01 +0000
279
286
  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]]
281
287
  Authenticating with gds_sso strategy
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
288
+ Completed in 0ms (ActiveRecord: 0.0ms)
289
+ Started GET "/auth/gds" for 127.0.0.1 at 2020-07-28 10:11:01 +0000
290
+ Started GET "/auth/gds/callback?code=0KvD-U3mbOr7IQCo9xGjz5XFI2ISiBQ3-Fkard2qMss&state=03fcadf877cb14fd2d698e2a7259325f1db0a61891e8ef38" for 127.0.0.1 at 2020-07-28 10:11:01 +0000
285
291
  Processing by AuthenticationsController#callback as HTML
286
- Parameters: {"code"=>"AAHc6IBqdonjmnnQpy6FsaMe2irrObVMsXS454Jys0A", "state"=>"0cf6b1709a48471c092563aff55cc600aa927a910c57837b"}
292
+ Parameters: {"code"=>"0KvD-U3mbOr7IQCo9xGjz5XFI2ISiBQ3-Fkard2qMss", "state"=>"03fcadf877cb14fd2d698e2a7259325f1db0a61891e8ef38"}
287
293
  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]]
294
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
289
295
   (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
296
+  (0.0ms) commit transaction
297
+  (0.0ms) begin transaction
298
+  (0.0ms) commit transaction
294
299
  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
300
+ Completed 302 Found in 4ms (ActiveRecord: 0.5ms)
301
+ Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:01 +0000
297
302
  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]]
303
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
299
304
  Rendering text template
300
305
  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
303
- Processing by ExampleController#restricted as HTML
304
- Authenticating with gds_sso strategy
305
- Completed in 0ms (ActiveRecord: 0.0ms)
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
308
- Processing by AuthenticationsController#callback as HTML
309
- Parameters: {"code"=>"9BOJnQTFGfLiQWtAWiryzU939095WY-FKCVh3f9WayI", "state"=>"d2123ae28df5944198b5ea755b51895a76fbeaf5aa945c75"}
310
- Authenticating with gds_sso strategy
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
316
- Redirected to http://www.example-client.com/restricted
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
306
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
307
+ Started GET "/restricted" for 127.0.0.1 at 2020-07-29 06:06:01 +0000
319
308
  Processing by ExampleController#restricted as HTML
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]]
309
+ 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]]
321
310
  Rendering text template
322
311
  Rendered text template (0.0ms)
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
325
- Processing by ExampleController#restricted as HTML
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
312
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
313
+ Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:01 +0000
330
314
  Processing by ExampleController#restricted as HTML
331
315
  Authenticating with gds_sso strategy
332
316
  Completed in 0ms (ActiveRecord: 0.0ms)
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
317
+ Started GET "/auth/gds" for 127.0.0.1 at 2020-07-28 10:11:01 +0000
318
+ Started GET "/auth/gds/callback?code=lkMut4J9C-GGDBDF29-8lz6yZNhdI26xdK5sgAvBLaA&state=282d995502a62b1832b6f0220fd3996160caa61ac071b576" for 127.0.0.1 at 2020-07-28 10:11:01 +0000
335
319
  Processing by AuthenticationsController#callback as HTML
336
- Parameters: {"code"=>"AWNqZG3m-uIGse3YK1Rej37QoMdQjrZPyLc2xrbb5mY", "state"=>"c3aedbbad6bf9a88f2e32e1d7351acbb7fc1080e85baa97d"}
320
+ Parameters: {"code"=>"lkMut4J9C-GGDBDF29-8lz6yZNhdI26xdK5sgAvBLaA", "state"=>"282d995502a62b1832b6f0220fd3996160caa61ac071b576"}
337
321
  Authenticating with gds_sso strategy
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
322
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
341
323
   (0.1ms) begin transaction
342
-  (0.1ms) commit transaction
324
+  (0.0ms) commit transaction
325
+  (0.0ms) begin transaction
326
+  (0.0ms) commit transaction
343
327
  Redirected to http://www.example-client.com/restricted
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
328
+ Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
329
+ Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:01 +0000
346
330
  Processing by ExampleController#restricted as HTML
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]]
331
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
348
332
  Rendering text template
349
333
  Rendered text template (0.0ms)
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
334
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
335
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "test@example-client.com"], ["LIMIT", 1]]
336
+  (0.1ms) begin transaction
337
+ User Update (0.3ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 13]]
338
+  (7.1ms) commit transaction
339
+ Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:02 +0000
352
340
  Processing by ExampleController#restricted as HTML
341
+ 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]]
353
342
  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
343
+ Completed in 1ms (ActiveRecord: 0.1ms)
344
+ Started GET "/auth/gds" for 127.0.0.1 at 2020-07-28 10:11:02 +0000
345
+ Started GET "/auth/gds/callback?code=0tod4KmKNl5dbJ9u5nGbam9VmIFAdW_tp6OAdsA1xr8&state=b577b9071423563943a94e5a61a755689c8818337e0e72c6" for 127.0.0.1 at 2020-07-28 10:11:02 +0000
357
346
  Processing by AuthenticationsController#callback as HTML
358
- Parameters: {"code"=>"hnnbJVh7CLnARnqDPgl46iljnXXzRik6SpMXuknRRdg", "state"=>"4a9222d796b215689061c58a212391c4e3349824aebf6754"}
347
+ Parameters: {"code"=>"0tod4KmKNl5dbJ9u5nGbam9VmIFAdW_tp6OAdsA1xr8", "state"=>"b577b9071423563943a94e5a61a755689c8818337e0e72c6"}
359
348
  Authenticating with gds_sso strategy
360
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
361
-  (0.1ms) begin transaction
362
-  (0.1ms) commit transaction
349
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
363
350
   (0.1ms) begin transaction
364
-  (0.1ms) commit transaction
351
+  (0.0ms) commit transaction
352
+  (0.0ms) begin transaction
353
+ User Update (0.3ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "f"], ["id", 13]]
354
+  (6.0ms) commit transaction
365
355
  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
356
+ Completed 302 Found in 10ms (ActiveRecord: 6.6ms)
357
+ Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:02 +0000
368
358
  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]]
359
+ 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]]
370
360
  Rendering text template
371
361
  Rendered text template (0.0ms)
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]]
383
-  (0.1ms) begin transaction
362
+ Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms)
363
+ Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:02 +0000
364
+ Processing by ExampleController#restricted as JSON
365
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
366
+  (0.0ms) begin transaction
367
+ User Update (0.2ms) UPDATE "users" SET "disabled" = ? WHERE "users"."id" = ? [["disabled", nil], ["id", 13]]
368
+  (3.9ms) commit transaction
369
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
370
+  (0.0ms) begin transaction
371
+  (0.0ms) commit transaction
372
+ CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
373
+  (0.0ms) begin transaction
374
+  (0.0ms) commit transaction
375
+ CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
376
+  (0.0ms) begin transaction
377
+  (0.0ms) commit transaction
378
+  (0.0ms) begin transaction
379
+  (0.0ms) commit transaction
380
+ Rendering text template
381
+ Rendered text template (0.0ms)
382
+ Completed 200 OK in 55ms (Views: 0.3ms | ActiveRecord: 4.8ms)
383
+ Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:02 +0000
384
+ Processing by ExampleController#restricted as JSON
385
+ Completed in 11ms (ActiveRecord: 0.0ms)
386
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-07-28 10:11:02 +0000
387
+ Processing by ExampleController#this_requires_signin_permission as JSON
388
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
389
+  (0.0ms) begin transaction
384
390
   (0.1ms) commit transaction
391
+ CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
392
+  (0.0ms) begin transaction
393
+  (0.0ms) commit transaction
394
+ CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
395
+  (0.0ms) begin transaction
396
+  (0.0ms) commit transaction
397
+ CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
385
398
   (0.1ms) begin transaction
386
399
   (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]]
400
+  (0.0ms) begin transaction
401
+  (0.0ms) commit transaction
398
402
  Rendering text template
399
403
  Rendered text template (0.0ms)
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
404
+ Completed 200 OK in 50ms (Views: 0.4ms | ActiveRecord: 0.7ms)
405
+ Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:02 +0000
406
+ Processing by ExampleController#restricted as JSON
407
+ Completed in 17ms (ActiveRecord: 0.0ms)
408
408
   (1.4ms) SELECT sqlite_version(*)
409
409
   (0.1ms) SELECT sqlite_version(*)
410
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)
411
+  (9.5ms) CREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "uid" varchar NOT NULL, "email" varchar NOT NULL, "remotely_signed_out" boolean, "permissions" text, "organisation_slug" varchar, "organisation_content_id" varchar, "disabled" boolean DEFAULT 0)
412
+  (4.4ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)
413
413
  ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
414
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)
415
+ ActiveRecord::InternalMetadata Create (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2020-07-28 10:11:11.696416"], ["updated_at", "2020-07-28 10:11:11.696416"]]
416
+  (4.7ms) commit transaction
417
+  (3.3ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
418
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
427
- Processing by ExampleController#restricted as JSON
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]]
419
+  (1.4ms) SELECT sqlite_version(*)
420
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "asd"], ["LIMIT", 1]]
421
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "user@example.com"], ["LIMIT", 1]]
430
422
   (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]]
423
+ 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]]
432
424
   (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]]
425
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "asd"], ["LIMIT", 1]]
436
426
   (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
427
+ User Create (0.3ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d37378"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
428
+  (11.3ms) commit transaction
429
+  (0.1ms) begin transaction
430
+ User Create (0.3ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d31593"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
431
+  (12.2ms) commit transaction
432
+ Processing by Api::UserController#update as HTML
433
+ Parameters: {"uid"=>"a1s2d37378"}
434
+ Rendering /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
435
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
436
+ Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (Duration: 0.6ms | Allocations: 265)
437
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
438
+ Completed 403 Forbidden in 8ms (Views: 5.3ms | ActiveRecord: 0.0ms | Allocations: 3265)
439
+  (0.1ms) begin transaction
440
+ User Create (0.3ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d33604"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
441
+  (3.5ms) commit transaction
442
+  (0.1ms) begin transaction
443
+ User Create (0.3ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d38516"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
444
+  (3.2ms) commit transaction
445
+ Processing by Api::UserController#update as HTML
446
+ Parameters: {"uid"=>"a1s2d33604"}
447
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "a1s2d33604"], ["LIMIT", 1]]
448
+  (0.1ms) begin transaction
449
+ 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", 4]]
450
+  (3.1ms) commit transaction
451
+ Completed 200 OK in 6ms (ActiveRecord: 3.5ms | Allocations: 1313)
452
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]]
453
+  (0.1ms) begin transaction
454
+ User Create (0.3ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d31894"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
455
+  (4.5ms) commit transaction
456
+  (0.1ms) begin transaction
457
+ User Create (0.3ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d36660"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
458
+  (3.2ms) commit transaction
459
+ Processing by Api::UserController#reauth as HTML
460
+ Parameters: {"uid"=>"nonexistent-user"}
461
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "nonexistent-user"], ["LIMIT", 1]]
462
+ Completed 200 OK in 1ms (ActiveRecord: 0.1ms | Allocations: 522)
463
+  (0.1ms) begin transaction
464
+ User Create (0.3ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d36194"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
465
+  (3.1ms) commit transaction
466
+  (0.1ms) begin transaction
467
+ User Create (0.3ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d32577"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
468
+  (3.5ms) commit transaction
469
+ Processing by Api::UserController#reauth as HTML
470
+ Parameters: {"uid"=>"a1s2d36194"}
471
+ Rendering /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
472
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
473
+ Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (Duration: 0.2ms | Allocations: 56)
474
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
475
+ Completed 403 Forbidden in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms | Allocations: 514)
476
+  (0.1ms) begin transaction
477
+ User Create (0.3ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d31351"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
478
+  (3.2ms) commit transaction
479
+  (0.1ms) begin transaction
480
+ User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d32956"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
481
+  (3.9ms) commit transaction
482
+ Processing by Api::UserController#reauth as HTML
483
+ Parameters: {"uid"=>"a1s2d31351"}
484
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "a1s2d31351"], ["LIMIT", 1]]
485
+  (0.1ms) begin transaction
486
+ User Update (0.2ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", 1], ["id", 10]]
487
+  (3.2ms) commit transaction
488
+ Completed 200 OK in 6ms (ActiveRecord: 3.6ms | Allocations: 928)
489
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 10], ["LIMIT", 1]]
490
+ Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:12 +0000
452
491
  Processing by ExampleController#restricted as HTML
453
492
  Authenticating with gds_sso strategy
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
457
- Processing by AuthenticationsController#callback as HTML
458
- Parameters: {"code"=>"b_2-Ib_r2oPjmZBVJNOIlRKR8KuTEsRD6FAPBlgj3uA", "state"=>"ef5ed429ff69d99cd311f3c998a730fea024b5bb42461073"}
459
- Authenticating with gds_sso strategy
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
- Redirected to http://www.example-client.com/restricted
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
- Processing by ExampleController#restricted as HTML
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]]
493
+ Completed in 4ms (ActiveRecord: 0.0ms | Allocations: 162)
494
+ Started GET "/" for 127.0.0.1 at 2020-07-28 10:11:12 +0000
495
+ Processing by ExampleController#index as HTML
469
496
  Rendering text template
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
497
+ Rendered text template (Duration: 0.0ms | Allocations: 1)
498
+ Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms | Allocations: 475)
499
+ Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:12 +0000
473
500
  Processing by ExampleController#restricted as HTML
474
501
  Authenticating with gds_sso strategy
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
502
+ Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 115)
503
+ Started GET "/auth/gds" for 127.0.0.1 at 2020-07-28 10:11:12 +0000
504
+ Started GET "/auth/gds/callback?code=aFjAs4wwnCYsih8y8lFaG-GVdG2n1uHgaHiDbqvWGRA&state=105756fa9458618cf24e279350e44cb409bd6b25b1ee0d79" for 127.0.0.1 at 2020-07-28 10:11:12 +0000
478
505
  Processing by AuthenticationsController#callback as HTML
479
- Parameters: {"code"=>"AJZBakZ1kYOAjgThoZP9jDQzffzNHapklcR02rTxEsY", "state"=>"70e7030a9f25bf91b727397b6b26e8bc55d1ab7eb3eb17a3"}
506
+ Parameters: {"code"=>"aFjAs4wwnCYsih8y8lFaG-GVdG2n1uHgaHiDbqvWGRA", "state"=>"105756fa9458618cf24e279350e44cb409bd6b25b1ee0d79"}
480
507
  Authenticating with gds_sso strategy
481
- User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
508
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
509
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "test@example-client.com"], ["LIMIT", 1]]
510
+  (0.1ms) begin transaction
511
+ 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"]]
512
+  (4.7ms) commit transaction
513
+  (0.1ms) begin transaction
514
+ User Update (0.2ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", 0], ["id", 12]]
515
+  (4.4ms) commit transaction
482
516
  Redirected to http://www.example-client.com/restricted
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
517
+ Completed 302 Found in 14ms (ActiveRecord: 10.0ms | Allocations: 1592)
518
+ Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:12 +0000
485
519
  Processing by ExampleController#restricted as HTML
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]]
520
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
487
521
  Rendering text template
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
491
- Processing by ExampleController#restricted as HTML
522
+ Rendered text template (Duration: 0.0ms | Allocations: 1)
523
+ Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms | Allocations: 731)
524
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-07-28 10:11:12 +0000
525
+ Processing by ExampleController#this_requires_signin_permission as HTML
492
526
  Authenticating with gds_sso strategy
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
527
+ Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 113)
528
+ Started GET "/auth/gds" for 127.0.0.1 at 2020-07-28 10:11:12 +0000
529
+ Started GET "/auth/gds/callback?code=UoqQuZKYHON4cJVzd03wNP0Fzj09csPTYFNMMJ6B7hA&state=230f7021c6c21a0e3ae9a32d44d76634f4b5eada178a37e8" for 127.0.0.1 at 2020-07-28 10:11:13 +0000
496
530
  Processing by AuthenticationsController#callback as HTML
497
- Parameters: {"code"=>"DPCDsQu1AQQBnstzhyy8JQj49qACdapfJIWdPPri0f4", "state"=>"88752f4326da8a89f89eac02f30f2b38aaccf23d149ad603"}
531
+ Parameters: {"code"=>"UoqQuZKYHON4cJVzd03wNP0Fzj09csPTYFNMMJ6B7hA", "state"=>"230f7021c6c21a0e3ae9a32d44d76634f4b5eada178a37e8"}
498
532
  Authenticating with gds_sso strategy
499
- User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
500
- Redirected to http://www.example-client.com/restricted
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
503
- Processing by ExampleController#restricted as HTML
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]]
505
- Rendering text template
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
509
- Processing by ExampleController#index as HTML
533
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
534
+ Redirected to http://www.example-client.com/this_requires_signin_permission
535
+ Completed 302 Found in 3ms (ActiveRecord: 0.2ms | Allocations: 1016)
536
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-07-28 10:11:13 +0000
537
+ Processing by ExampleController#this_requires_signin_permission as HTML
538
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
510
539
  Rendering text template
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
540
+ Rendered text template (Duration: 0.0ms | Allocations: 1)
541
+ Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.1ms | Allocations: 706)
542
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-07-28 10:11:13 +0000
514
543
  Processing by ExampleController#this_requires_signin_permission as HTML
515
544
  Authenticating with gds_sso strategy
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
545
+ Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 113)
546
+ Started GET "/auth/gds" for 127.0.0.1 at 2020-07-28 10:11:13 +0000
547
+ Started GET "/auth/gds/callback?code=70nwMjegd4XlaKu7HNf13FrTkz5W_rk7F6FreB_m2r8&state=5ef9993d6f09d4d162928d9173a1d5d3c570c16c49f8eee5" for 127.0.0.1 at 2020-07-28 10:11:13 +0000
519
548
  Processing by AuthenticationsController#callback as HTML
520
- Parameters: {"code"=>"k-RDkHpeXDmdhstyHWuZ-Ow_UnlRhftWFB5Hmr19woo", "state"=>"42671e294792aec9bd0270d48a5c921f5119fe389c35a95c"}
549
+ Parameters: {"code"=>"70nwMjegd4XlaKu7HNf13FrTkz5W_rk7F6FreB_m2r8", "state"=>"5ef9993d6f09d4d162928d9173a1d5d3c570c16c49f8eee5"}
521
550
  Authenticating with gds_sso strategy
522
- User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
551
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
523
552
  Redirected to http://www.example-client.com/this_requires_signin_permission
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
553
+ Completed 302 Found in 3ms (ActiveRecord: 0.2ms | Allocations: 1016)
554
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-07-28 10:11:13 +0000
526
555
  Processing by ExampleController#this_requires_signin_permission as HTML
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]]
556
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
528
557
  Rendering text template
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
532
- Processing by ExampleController#this_requires_signin_permission as HTML
558
+ Rendered text template (Duration: 0.0ms | Allocations: 1)
559
+ Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms | Allocations: 706)
560
+ Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:13 +0000
561
+ Processing by ExampleController#restricted as HTML
533
562
  Authenticating with gds_sso strategy
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
563
+ Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 113)
564
+ Started GET "/auth/gds" for 127.0.0.1 at 2020-07-28 10:11:13 +0000
565
+ Started GET "/auth/gds/callback?code=dTqlS-0Xq0T9HdEE0WoDRhvKL5K9-rfP6kF3c5gEAWo&state=c492c8c76e68cc3470317e8c77fbd009db706a37995d3447" for 127.0.0.1 at 2020-07-28 10:11:13 +0000
537
566
  Processing by AuthenticationsController#callback as HTML
538
- Parameters: {"code"=>"q5639lKIR09UopFgnm45-ZfwfHAiytUMJGvXZenppbQ", "state"=>"e7cddc284afd633a1da4cbbe6531e0bb0cbb306796328249"}
567
+ Parameters: {"code"=>"dTqlS-0Xq0T9HdEE0WoDRhvKL5K9-rfP6kF3c5gEAWo", "state"=>"c492c8c76e68cc3470317e8c77fbd009db706a37995d3447"}
539
568
  Authenticating with gds_sso strategy
540
- User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
541
- Redirected to http://www.example-client.com/this_requires_signin_permission
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
544
- Processing by ExampleController#this_requires_signin_permission as HTML
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]]
569
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
570
+ Redirected to http://www.example-client.com/restricted
571
+ Completed 302 Found in 3ms (ActiveRecord: 0.2ms | Allocations: 1016)
572
+ Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:13 +0000
573
+ Processing by ExampleController#restricted as HTML
574
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
546
575
  Rendering text template
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
576
+ Rendered text template (Duration: 0.0ms | Allocations: 1)
577
+ Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.1ms | Allocations: 706)
578
+ Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:13 +0000
550
579
  Processing by ExampleController#restricted as HTML
551
580
  Authenticating with gds_sso strategy
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
581
+ Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 113)
582
+ Started GET "/auth/gds" for 127.0.0.1 at 2020-07-28 10:11:13 +0000
583
+ Started GET "/auth/gds/callback?code=98uew1cTav8MSNecc31YVR8YDtu9OIeaOJb2qEomgD8&state=bab999a3c0d2952fd4f34d3ae7df1bd3cce905daaea0adc0" for 127.0.0.1 at 2020-07-28 10:11:13 +0000
555
584
  Processing by AuthenticationsController#callback as HTML
556
- Parameters: {"code"=>"N7bL-VXztK2wSG1Ggj72eOeXbR4t-IiNtNmvPpTDGAs", "state"=>"f0b15534380aeb9a3da9fee4d669204f5e206fe9ab5090e4"}
585
+ Parameters: {"code"=>"98uew1cTav8MSNecc31YVR8YDtu9OIeaOJb2qEomgD8", "state"=>"bab999a3c0d2952fd4f34d3ae7df1bd3cce905daaea0adc0"}
557
586
  Authenticating with gds_sso strategy
558
- User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
587
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
559
588
  Redirected to http://www.example-client.com/restricted
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
589
+ Completed 302 Found in 3ms (ActiveRecord: 0.2ms | Allocations: 1016)
590
+ Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:13 +0000
562
591
  Processing by ExampleController#restricted as HTML
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]]
592
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
564
593
  Rendering text template
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
594
+ Rendered text template (Duration: 0.0ms | Allocations: 1)
595
+ Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms | Allocations: 706)
596
+ Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:13 +0000
572
597
  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
598
  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
599
+ Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 113)
600
+ Started GET "/auth/gds" for 127.0.0.1 at 2020-07-28 10:11:13 +0000
601
+ Started GET "/auth/gds/callback?code=eZufCW2sAKLT6PdExAMXK9drlUiuP8wALWbeeTdqbIY&state=533e795cc72dd064e022b56bee0acf097fdeb74cc209cd00" for 127.0.0.1 at 2020-07-28 10:11:13 +0000
578
602
  Processing by AuthenticationsController#callback as HTML
579
- Parameters: {"code"=>"7QHUtQfh2XG49CTFR8aw-2iTd6QOjfWBiWDrHihsE2Y", "state"=>"a559f084d4105bb1a40f327b63614cca5e0020555cfa08af"}
603
+ Parameters: {"code"=>"eZufCW2sAKLT6PdExAMXK9drlUiuP8wALWbeeTdqbIY", "state"=>"533e795cc72dd064e022b56bee0acf097fdeb74cc209cd00"}
580
604
  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
605
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
585
606
  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
607
+ Completed 302 Found in 3ms (ActiveRecord: 0.2ms | Allocations: 1020)
608
+ Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:13 +0000
588
609
  Processing by ExampleController#restricted as HTML
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]]
610
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
590
611
  Rendering text template
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
612
+ Rendered text template (Duration: 0.0ms | Allocations: 1)
613
+ Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms | Allocations: 709)
614
+ Started GET "/restricted" for 127.0.0.1 at 2020-07-29 06:06:13 +0000
615
+ Processing by ExampleController#restricted as HTML
616
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
617
+ Rendering text template
618
+ Rendered text template (Duration: 0.0ms | Allocations: 1)
619
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms | Allocations: 929)
620
+ Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:13 +0000
594
621
  Processing by ExampleController#restricted as HTML
595
622
  Authenticating with gds_sso strategy
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
623
+ Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 113)
624
+ Started GET "/auth/gds" for 127.0.0.1 at 2020-07-28 10:11:14 +0000
625
+ Started GET "/auth/gds/callback?code=5Unedqs9r-W_C-K_4WgsScBjKNJpiS31nHl3fzP7OMs&state=83d3e8d784318705bce7d00f45e6a4eb68039fa61e3e5141" for 127.0.0.1 at 2020-07-28 10:11:14 +0000
599
626
  Processing by AuthenticationsController#callback as HTML
600
- Parameters: {"code"=>"xqlgPJm49_cEnbmq9W3ecIyz1-hRRCmwO8iOKM5Ldng", "state"=>"009439f00c662ca83b0bab98b996536e179293a5622ae9e7"}
627
+ Parameters: {"code"=>"5Unedqs9r-W_C-K_4WgsScBjKNJpiS31nHl3fzP7OMs", "state"=>"83d3e8d784318705bce7d00f45e6a4eb68039fa61e3e5141"}
601
628
  Authenticating with gds_sso strategy
602
- User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
629
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
603
630
  Redirected to http://www.example-client.com/restricted
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
631
+ Completed 302 Found in 3ms (ActiveRecord: 0.2ms | Allocations: 1016)
632
+ Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:14 +0000
606
633
  Processing by ExampleController#restricted as HTML
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]]
634
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
608
635
  Rendering text template
609
636
  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
637
+ Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.1ms | Allocations: 706)
638
+ Started GET "/restricted" for 127.0.0.1 at 2020-07-29 06:16:14 +0000
612
639
  Processing by ExampleController#restricted as HTML
613
640
  Authenticating with gds_sso strategy
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
641
+ Completed in 1ms (ActiveRecord: 0.0ms | Allocations: 499)
642
+ Started GET "/auth/gds" for 127.0.0.1 at 2020-07-29 06:16:14 +0000
643
+ Started GET "/auth/gds/callback?code=xMQ-HoOr0S2m7lo11s9LSrZjM7OcnnWvhEzjHLAo9yI&state=f75c8a45dfff87d84935f9c9775eb862203bf372a0158ecc" for 127.0.0.1 at 2020-07-29 06:16:14 +0000
617
644
  Processing by AuthenticationsController#callback as HTML
618
- Parameters: {"code"=>"z1291mcVUg_s8ksaI-nNIokU7ECu3yv1YDNQiFa8i50", "state"=>"1ea28baeb6876edadccf890a879f7d369f750f9f3f27b31f"}
645
+ Parameters: {"code"=>"xMQ-HoOr0S2m7lo11s9LSrZjM7OcnnWvhEzjHLAo9yI", "state"=>"f75c8a45dfff87d84935f9c9775eb862203bf372a0158ecc"}
619
646
  Authenticating with gds_sso strategy
620
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
647
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
621
648
  Redirected to http://www.example-client.com/restricted
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
649
+ Completed 302 Found in 3ms (ActiveRecord: 0.2ms | Allocations: 1218)
650
+ Started GET "/restricted" for 127.0.0.1 at 2020-07-29 06:16:14 +0000
624
651
  Processing by ExampleController#restricted as HTML
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]]
652
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
626
653
  Rendering text template
627
654
  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
655
+ Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms | Allocations: 931)
656
+ Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:14 +0000
630
657
  Processing by ExampleController#restricted as HTML
631
658
  Authenticating with gds_sso strategy
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
659
+ Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 113)
660
+ Started GET "/auth/gds" for 127.0.0.1 at 2020-07-28 10:11:14 +0000
661
+ Started GET "/auth/gds/callback?code=Agxoyv8mKmmRsiQnuIFYhe5fSfvO2G3qkzq_TL5SRfI&state=408db98efb6da62cb34c6f41e01cb5715e72ac856538e8fe" for 127.0.0.1 at 2020-07-28 10:11:14 +0000
635
662
  Processing by AuthenticationsController#callback as HTML
636
- Parameters: {"code"=>"aaiEaWwk7_R0hXY0cdRRKscYM5RoxBuKEeSzkJzMrbo", "state"=>"5986582c6f804fbf03b80e2b1c92ff6cf3011ad9e32474f7"}
663
+ Parameters: {"code"=>"Agxoyv8mKmmRsiQnuIFYhe5fSfvO2G3qkzq_TL5SRfI", "state"=>"408db98efb6da62cb34c6f41e01cb5715e72ac856538e8fe"}
637
664
  Authenticating with gds_sso strategy
638
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
665
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
639
666
  Redirected to http://www.example-client.com/restricted
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
667
+ Completed 302 Found in 3ms (ActiveRecord: 0.2ms | Allocations: 1016)
668
+ Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:14 +0000
642
669
  Processing by ExampleController#restricted as HTML
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]]
670
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
644
671
  Rendering text template
645
672
  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
673
+ Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms | Allocations: 706)
674
+ Started GET "/restricted" for 127.0.0.1 at 2020-07-29 06:16:14 +0000
648
675
  Processing by ExampleController#restricted as HTML
649
676
  Authenticating with gds_sso strategy
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
677
+ Completed in 1ms (ActiveRecord: 0.0ms | Allocations: 499)
678
+ Started GET "/auth/gds" for 127.0.0.1 at 2020-07-29 06:16:14 +0000
679
+ Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:14 +0000
653
680
  Processing by ExampleController#restricted as HTML
654
681
  Authenticating with gds_sso strategy
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
682
+ Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 113)
683
+ Started GET "/auth/gds" for 127.0.0.1 at 2020-07-28 10:11:14 +0000
684
+ Started GET "/auth/gds/callback?code=JAilgkkSwSh7mM0JcpjQ_pHblu106hx6MxAA_a3NVzM&state=9e438e307f854d56ff9e71f8662eeb4781f366b28276370c" for 127.0.0.1 at 2020-07-28 10:11:14 +0000
658
685
  Processing by AuthenticationsController#callback as HTML
659
- Parameters: {"code"=>"CZGHcjZyGZDtRxEXepFZBkZn6RSGHZ8qgoJuFElI0AA", "state"=>"892b5375f170b477e9da34b832557ee1532a8fa048ed8e81"}
686
+ Parameters: {"code"=>"JAilgkkSwSh7mM0JcpjQ_pHblu106hx6MxAA_a3NVzM", "state"=>"9e438e307f854d56ff9e71f8662eeb4781f366b28276370c"}
660
687
  Authenticating with gds_sso strategy
661
- User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
688
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
662
689
  Redirected to http://www.example-client.com/restricted
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
690
+ Completed 302 Found in 3ms (ActiveRecord: 0.2ms | Allocations: 1016)
691
+ Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:14 +0000
665
692
  Processing by ExampleController#restricted as HTML
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]]
693
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
667
694
  Rendering text template
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
671
- Processing by ExampleController#restricted as HTML
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]]
673
- Rendering text template
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
695
+ Rendered text template (Duration: 0.0ms | Allocations: 1)
696
+ Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms | Allocations: 706)
697
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "test@example-client.com"], ["LIMIT", 1]]
698
+  (0.1ms) begin transaction
699
+ User Update (0.3ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", 1], ["id", 12]]
700
+  (4.9ms) commit transaction
701
+ Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:14 +0000
677
702
  Processing by ExampleController#restricted as HTML
703
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
678
704
  Authenticating with gds_sso strategy
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]]
689
-  (0.1ms) begin transaction
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
696
-  (0.1ms) begin transaction
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]]
704
-  (7.3ms) commit transaction
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
716
- Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
717
- Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (Duration: 1.7ms | Allocations: 263)
718
- Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
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]]
729
-  (0.1ms) begin 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]]
705
+ Completed in 1ms (ActiveRecord: 0.1ms | Allocations: 575)
706
+ Started GET "/auth/gds" for 127.0.0.1 at 2020-07-28 10:11:14 +0000
707
+ Started GET "/auth/gds/callback?code=0CKodWNlhfpLIzo7X1jEXf3Vp2MlJhPeMvagU2OhLqU&state=6dc239a4a1e50e667c93ec1a9ff694589798cd05bcc3a671" for 127.0.0.1 at 2020-07-28 10:11:14 +0000
708
+ Processing by AuthenticationsController#callback as HTML
709
+ Parameters: {"code"=>"0CKodWNlhfpLIzo7X1jEXf3Vp2MlJhPeMvagU2OhLqU", "state"=>"6dc239a4a1e50e667c93ec1a9ff694589798cd05bcc3a671"}
710
+ Authenticating with gds_sso strategy
711
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
734
712
   (0.1ms) begin 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
713
+ User Update (0.3ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", 0], ["id", 12]]
714
+  (5.0ms) commit transaction
715
+ Redirected to http://www.example-client.com/restricted
716
+ Completed 302 Found in 9ms (ActiveRecord: 5.6ms | Allocations: 1226)
717
+ Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:15 +0000
718
+ Processing by ExampleController#restricted as HTML
719
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
720
+ Rendering text template
721
+ Rendered text template (Duration: 0.1ms | Allocations: 1)
722
+ Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms | Allocations: 704)
723
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-07-28 10:11:15 +0000
724
+ Processing by ExampleController#this_requires_signin_permission as JSON
725
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
737
726
   (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
740
- Processing by Api::UserController#reauth as HTML
741
- Parameters: {"uid"=>"nonexistent-user"}
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)
727
+ User Update (0.3ms) UPDATE "users" SET "disabled" = ? WHERE "users"."id" = ? [["disabled", nil], ["id", 12]]
728
+  (3.4ms) commit transaction
729
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
730
+ CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
731
+ CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
732
+ Rendering text template
733
+ Rendered text template (Duration: 0.0ms | Allocations: 1)
734
+ Completed 200 OK in 96ms (Views: 0.3ms | ActiveRecord: 4.2ms | Allocations: 7451)
735
+ Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:15 +0000
736
+ Processing by ExampleController#restricted as JSON
737
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
738
+ CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
739
+ CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
740
+ CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
741
+ Rendering text template
742
+ Rendered text template (Duration: 0.0ms | Allocations: 1)
743
+ Completed 200 OK in 87ms (Views: 0.3ms | ActiveRecord: 0.3ms | Allocations: 6804)
744
+ Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:15 +0000
745
+ Processing by ExampleController#restricted as JSON
746
+ Completed in 31ms (ActiveRecord: 0.0ms | Allocations: 1852)
747
+ Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:15 +0000
748
+ Processing by ExampleController#restricted as JSON
749
+ Completed in 16ms (ActiveRecord: 0.0ms | Allocations: 1958)
750
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "dummyapiuser@domain.com"], ["LIMIT", 1]]
744
751
   (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
752
+ User Create (0.3ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Dummy API user created by gds-sso"], ["uid", "2568"], ["email", "dummyapiuser@domain.com"], ["permissions", "---\n- signin\n"]]
753
+  (4.2ms) commit transaction
747
754
   (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)
755
+ User Update (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = ? [["permissions", "---\n- signin\n- extra_permission\n"], ["id", 13]]
756
+  (4.0ms) commit transaction
757
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)
758
+  (1.4ms) SELECT sqlite_version(*)
759
+  (4.0ms) CREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "uid" varchar NOT NULL, "email" varchar NOT NULL, "remotely_signed_out" boolean, "permissions" text, "organisation_slug" varchar, "organisation_content_id" varchar, "disabled" boolean DEFAULT 'f')
760
+  (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)
761
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
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)
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-07-28 10:11:20.563604"], ["updated_at", "2020-07-28 10:11:20.563604"]]
764
+  (4.7ms) commit transaction
765
+  (3.3ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
766
766
  ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
767
767
   (0.0ms) begin transaction
768
-  (0.1ms) commit transaction
769
-  (0.0ms) begin transaction
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
772
-  (0.0ms) begin transaction
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
782
-  (0.0ms) begin 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]]
801
-  (0.0ms) begin 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
768
+  (0.0ms) commit transaction
769
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "dummyapiuser@domain.com"], ["LIMIT", 1]]
823
770
   (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
826
- Processing by Api::UserController#update as HTML
827
- Parameters: {"uid"=>"a1s2d32536"}
828
- Rendering /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
829
- Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
830
- Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.4ms)
831
- Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
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]]
771
+ User Create (0.3ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Dummy API user created by gds-sso"], ["uid", "567"], ["email", "dummyapiuser@domain.com"], ["permissions", "---\n- signin\n"]]
772
+  (18.5ms) commit transaction
835
773
   (0.1ms) begin transaction
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
774
+ User Update (0.3ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = ? [["permissions", "---\n- signin\n- extra_permission\n"], ["id", 1]]
775
+  (29.7ms) commit transaction
838
776
  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
777
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "user@example.com"], ["LIMIT", 1]]
778
+  (0.0ms) begin transaction
779
+ 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]]
780
+  (14.3ms) commit transaction
781
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "asd"], ["LIMIT", 1]]
782
+  (0.0ms) begin transaction
840
783
   (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
849
- Processing by ExampleController#restricted as JSON
850
- Completed in 61ms (ActiveRecord: 0.0ms)
851
- Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:53:05 +0000
852
- Processing by ExampleController#restricted as JSON
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
784
+ Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:21 +0000
785
+ Processing by ExampleController#restricted as HTML
786
+ Authenticating with gds_sso strategy
787
+ Completed in 5ms (ActiveRecord: 0.0ms)
788
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-07-28 10:11:21 +0000
855
789
  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]]
790
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
791
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "test@example-client.com"], ["LIMIT", 1]]
862
792
   (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]]
793
+ 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]]
794
+  (5.8ms) commit transaction
795
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
865
796
   (0.1ms) begin transaction
866
-  (0.1ms) commit transaction
797
+  (0.0ms) commit transaction
867
798
  CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
868
799
   (0.1ms) begin transaction
869
-  (0.1ms) commit transaction
800
+  (0.0ms) commit transaction
801
+ CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
870
802
   (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
803
+  (0.0ms) commit transaction
804
+  (0.0ms) begin transaction
805
+ User Update (0.3ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "f"], ["id", 3]]
806
+  (16.6ms) commit transaction
873
807
  Rendering text template
874
808
  Rendered text template (0.0ms)
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
809
+ Completed 200 OK in 104ms (Views: 3.5ms | ActiveRecord: 24.1ms)
810
+ Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:21 +0000
877
811
  Processing by ExampleController#restricted as JSON
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]]
812
+ Completed in 18ms (ActiveRecord: 0.0ms)
813
+ Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:21 +0000
814
+ Processing by ExampleController#restricted as JSON
815
+ Completed in 23ms (ActiveRecord: 0.0ms)
816
+ Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:21 +0000
817
+ Processing by ExampleController#restricted as JSON
818
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
882
819
   (0.1ms) begin transaction
883
-  (0.1ms) commit transaction
820
+  (0.0ms) commit transaction
884
821
  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
822
+  (0.0ms) begin transaction
823
+  (0.0ms) commit transaction
887
824
  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
825
   (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
896
- Processing by ExampleController#restricted as HTML
897
- Authenticating with gds_sso strategy
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
901
- Processing by AuthenticationsController#callback as HTML
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
910
- Redirected to http://www.example-client.com/restricted
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
913
- Processing by ExampleController#restricted as HTML
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
916
- Rendered text template (0.0ms)
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
919
- Processing by ExampleController#restricted as HTML
920
- Authenticating with gds_sso strategy
921
- Completed in 0ms (ActiveRecord: 0.0ms)
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
924
- Processing by AuthenticationsController#callback as HTML
925
- Parameters: {"code"=>"6UF383V2LfNJLXSSjk-vOupjhyRqkB2sfBysq3BlvvI", "state"=>"8dc485e29051ccdbe8f96311ef12c46ab663d1888646cd34"}
926
- Authenticating with gds_sso strategy
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
826
+  (0.0ms) commit transaction
827
+ CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
930
828
   (0.1ms) begin transaction
931
-  (0.1ms) commit transaction
932
- Redirected to http://www.example-client.com/restricted
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
935
- Processing by ExampleController#restricted as HTML
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]]
829
+  (0.2ms) commit transaction
830
+  (0.0ms) begin transaction
831
+  (0.0ms) commit transaction
937
832
  Rendering text template
938
833
  Rendered text template (0.0ms)
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
834
+ Completed 200 OK in 59ms (Views: 0.4ms | ActiveRecord: 0.9ms)
835
+ Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:21 +0000
941
836
  Processing by ExampleController#restricted as HTML
942
837
  Authenticating with gds_sso strategy
943
838
  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
839
+ Started GET "/auth/gds" for 127.0.0.1 at 2020-07-28 10:11:21 +0000
840
+ Started GET "/auth/gds/callback?code=P_LklHe2gx1uTfoC98GPH4WLvzyBTLts-VPXCS2FP7Y&state=f84bb098719835d98b54b321d635174357451dcf2d7fb07c" for 127.0.0.1 at 2020-07-28 10:11:22 +0000
946
841
  Processing by AuthenticationsController#callback as HTML
947
- Parameters: {"code"=>"8Yu6eBcuRtDZstiqQJq9D21l_Tzye552Eyl7G6bphMI", "state"=>"27e8d11cbed016081d0028122b0bc5b0d9fb0a03cd5ed66f"}
842
+ Parameters: {"code"=>"P_LklHe2gx1uTfoC98GPH4WLvzyBTLts-VPXCS2FP7Y", "state"=>"f84bb098719835d98b54b321d635174357451dcf2d7fb07c"}
948
843
  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
844
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
952
845
   (0.1ms) begin transaction
953
-  (0.1ms) commit transaction
846
+ User Update (0.3ms) UPDATE "users" SET "disabled" = ? WHERE "users"."id" = ? [["disabled", "f"], ["id", 3]]
847
+  (14.9ms) commit transaction
848
+  (0.0ms) begin transaction
849
+  (0.0ms) commit transaction
954
850
  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
851
+ Completed 302 Found in 20ms (ActiveRecord: 15.5ms)
852
+ Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:22 +0000
957
853
  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]]
854
+ 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]]
959
855
  Rendering text template
960
856
  Rendered text template (0.0ms)
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
857
+ Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
858
+ Started GET "/" for 127.0.0.1 at 2020-07-28 10:11:22 +0000
859
+ Processing by ExampleController#index as HTML
860
+ Rendering text template
861
+ Rendered text template (0.0ms)
862
+ Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
863
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-07-28 10:11:22 +0000
963
864
  Processing by ExampleController#this_requires_signin_permission as HTML
964
865
  Authenticating with gds_sso strategy
965
866
  Completed in 0ms (ActiveRecord: 0.0ms)
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
867
+ Started GET "/auth/gds" for 127.0.0.1 at 2020-07-28 10:11:22 +0000
868
+ Started GET "/auth/gds/callback?code=ZN0r75qfZtwcnW6sVRGBHXb0qIrOaa3n93X6wzYWnSc&state=bb5593d63fd3eda7b2055ad46376964c8772acef1320a183" for 127.0.0.1 at 2020-07-28 10:11:22 +0000
968
869
  Processing by AuthenticationsController#callback as HTML
969
- Parameters: {"code"=>"FHDMxIdFF5ZsScwzPVp_AhyI2xtEZlMnwVnRI37mE4g", "state"=>"cad6735ea6598ad5d31fadda0e445da56e0118e68e17b06c"}
870
+ Parameters: {"code"=>"ZN0r75qfZtwcnW6sVRGBHXb0qIrOaa3n93X6wzYWnSc", "state"=>"bb5593d63fd3eda7b2055ad46376964c8772acef1320a183"}
970
871
  Authenticating with gds_sso strategy
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
872
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
974
873
   (0.1ms) begin transaction
975
-  (0.1ms) commit transaction
874
+  (0.0ms) commit transaction
875
+  (0.0ms) begin transaction
876
+  (0.0ms) commit transaction
976
877
  Redirected to http://www.example-client.com/this_requires_signin_permission
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
878
+ Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
879
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-07-28 10:11:22 +0000
979
880
  Processing by ExampleController#this_requires_signin_permission as HTML
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]]
881
+ 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]]
981
882
  Rendering text template
982
883
  Rendered text template (0.0ms)
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
884
+ Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
885
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-07-28 10:11:22 +0000
985
886
  Processing by ExampleController#this_requires_signin_permission as HTML
986
887
  Authenticating with gds_sso strategy
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
888
+ Completed in 0ms (ActiveRecord: 0.0ms)
889
+ Started GET "/auth/gds" for 127.0.0.1 at 2020-07-28 10:11:22 +0000
890
+ Started GET "/auth/gds/callback?code=XtsuQ4QET_S_LEFerL4SktH8OuB2fop_qw4VQPvNw6c&state=5a09c642a67e0fbe4c5ca5ccf72f98dd5b4c377fe563f392" for 127.0.0.1 at 2020-07-28 10:11:22 +0000
990
891
  Processing by AuthenticationsController#callback as HTML
991
- Parameters: {"code"=>"SVLWJfMVq0vmSYJMoQvqkYLBeq_qU27ZR8c0Brx5D_c", "state"=>"96b0ce01c9307651dbbb7b78701d8fb5d53d402320f6c877"}
892
+ Parameters: {"code"=>"XtsuQ4QET_S_LEFerL4SktH8OuB2fop_qw4VQPvNw6c", "state"=>"5a09c642a67e0fbe4c5ca5ccf72f98dd5b4c377fe563f392"}
992
893
  Authenticating with gds_sso strategy
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
894
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
996
895
   (0.1ms) begin transaction
997
-  (0.1ms) commit transaction
896
+  (0.0ms) commit transaction
897
+  (0.0ms) begin transaction
898
+  (0.0ms) commit transaction
998
899
  Redirected to http://www.example-client.com/this_requires_signin_permission
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
900
+ Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
901
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-07-28 10:11:22 +0000
1001
902
  Processing by ExampleController#this_requires_signin_permission as HTML
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
903
+ 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]]
1008
904
  Rendering text template
1009
905
  Rendered text template (0.0ms)
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
906
+ Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
907
+ Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:22 +0000
1012
908
  Processing by ExampleController#restricted as HTML
1013
909
  Authenticating with gds_sso strategy
1014
910
  Completed in 0ms (ActiveRecord: 0.0ms)
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
911
+ Started GET "/auth/gds" for 127.0.0.1 at 2020-07-28 10:11:22 +0000
912
+ Started GET "/auth/gds/callback?code=J8lwR8nnXnHwMNcdF_S81OwcCWATJVORinj2_XO5f18&state=1569939c766c6757642d0842377794a7f6e2aa0da000f731" for 127.0.0.1 at 2020-07-28 10:11:22 +0000
1017
913
  Processing by AuthenticationsController#callback as HTML
1018
- Parameters: {"code"=>"1J6HGaqkvp3MFCsjQCxbIQqjht8ofLBCnPISK26EQog", "state"=>"993f0c8343a134923faeb160a904d98eb4c06abc543d1f5c"}
914
+ Parameters: {"code"=>"J8lwR8nnXnHwMNcdF_S81OwcCWATJVORinj2_XO5f18", "state"=>"1569939c766c6757642d0842377794a7f6e2aa0da000f731"}
1019
915
  Authenticating with gds_sso strategy
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
916
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1023
917
   (0.1ms) begin transaction
1024
-  (0.1ms) commit transaction
918
+  (0.0ms) commit transaction
919
+  (0.0ms) begin transaction
920
+  (0.0ms) commit transaction
1025
921
  Redirected to http://www.example-client.com/restricted
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
922
+ Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
923
+ Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:22 +0000
1028
924
  Processing by ExampleController#restricted as HTML
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]]
925
+ 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]]
1030
926
  Rendering text template
1031
927
  Rendered text template (0.0ms)
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
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]]
1040
- Authenticating with gds_sso strategy
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
928
+ Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
929
+ Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:22 +0000
930
+ Processing by ExampleController#restricted as HTML
931
+ Authenticating with gds_sso strategy
932
+ Completed in 0ms (ActiveRecord: 0.0ms)
933
+ Started GET "/auth/gds" for 127.0.0.1 at 2020-07-28 10:11:22 +0000
934
+ Started GET "/auth/gds/callback?code=blV2C8QALQ9e_f_NxQbtbqmeUixHRtnNwyHwEEr_k8o&state=520555c8cc018aadbfa6bee8f3f70f698a9b24bcafe43b85" for 127.0.0.1 at 2020-07-28 10:11:23 +0000
1044
935
  Processing by AuthenticationsController#callback as HTML
1045
- Parameters: {"code"=>"0x1W0ttUBAP8Aik9xYzUqLZUFJ3vqI5gNlbRYFY1ino", "state"=>"ee6515ecfaf837dc2b27cbdf8e370ed833b57d42c55949d0"}
936
+ Parameters: {"code"=>"blV2C8QALQ9e_f_NxQbtbqmeUixHRtnNwyHwEEr_k8o", "state"=>"520555c8cc018aadbfa6bee8f3f70f698a9b24bcafe43b85"}
1046
937
  Authenticating with gds_sso strategy
1047
- User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
938
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1048
939
   (0.1ms) begin transaction
1049
-  (0.1ms) commit transaction
940
+  (0.2ms) commit transaction
1050
941
   (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
942
+  (0.0ms) commit transaction
1053
943
  Redirected to http://www.example-client.com/restricted
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
944
+ Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
945
+ Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:23 +0000
1056
946
  Processing by ExampleController#restricted as HTML
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]]
947
+ 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]]
1058
948
  Rendering text template
1059
949
  Rendered text template (0.0ms)
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
950
+ Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
951
+ Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:23 +0000
1062
952
  Processing by ExampleController#restricted as HTML
1063
953
  Authenticating with gds_sso strategy
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
954
+ Completed in 0ms (ActiveRecord: 0.0ms)
955
+ Started GET "/auth/gds" for 127.0.0.1 at 2020-07-28 10:11:23 +0000
956
+ Started GET "/auth/gds/callback?code=nYFRLgvp9Vh7yfvxdfyHawy3FV2pA008ZSkUYGAtagQ&state=5210e4a9a5a51d3b2702667414ec72d5149a6e5fc6c5c3bc" for 127.0.0.1 at 2020-07-28 10:11:23 +0000
1067
957
  Processing by AuthenticationsController#callback as HTML
1068
- Parameters: {"code"=>"3n8AMpshXipGkCHo4mwdhXlVJOjYeRcHfK16hOHtjFo", "state"=>"4cb08cbedb17637a81ffde266b19c5329d7bee83d0c5fa7c"}
958
+ Parameters: {"code"=>"nYFRLgvp9Vh7yfvxdfyHawy3FV2pA008ZSkUYGAtagQ", "state"=>"5210e4a9a5a51d3b2702667414ec72d5149a6e5fc6c5c3bc"}
1069
959
  Authenticating with gds_sso strategy
1070
- User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
960
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1071
961
   (0.1ms) begin transaction
1072
-  (0.2ms) commit transaction
1073
-  (0.2ms) begin transaction
1074
-  (0.1ms) commit transaction
962
+  (0.0ms) commit transaction
963
+  (0.0ms) begin transaction
964
+  (0.0ms) commit transaction
1075
965
  Redirected to http://www.example-client.com/restricted
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
966
+ Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
967
+ Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:23 +0000
1078
968
  Processing by ExampleController#restricted as HTML
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]]
969
+ 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]]
1080
970
  Rendering text template
1081
971
  Rendered text template (0.0ms)
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
972
+ Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
973
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "test@example-client.com"], ["LIMIT", 1]]
974
+  (0.0ms) begin transaction
975
+ User Update (0.3ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 3]]
976
+  (4.1ms) commit transaction
977
+ Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:23 +0000
1084
978
  Processing by ExampleController#restricted as HTML
979
+ 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]]
1085
980
  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
981
+ Completed in 1ms (ActiveRecord: 0.1ms)
982
+ Started GET "/auth/gds" for 127.0.0.1 at 2020-07-28 10:11:23 +0000
983
+ Started GET "/auth/gds/callback?code=fCAi8JIcOFPJoTA2vL5a-PXCiUw9rzKafqtA0re-IgE&state=1938240ddcc5b1d715fd2191a14b8b0d0fd4bc733a50ae01" for 127.0.0.1 at 2020-07-28 10:11:23 +0000
984
+ Processing by AuthenticationsController#callback as HTML
985
+ Parameters: {"code"=>"fCAi8JIcOFPJoTA2vL5a-PXCiUw9rzKafqtA0re-IgE", "state"=>"1938240ddcc5b1d715fd2191a14b8b0d0fd4bc733a50ae01"}
986
+ Authenticating with gds_sso strategy
987
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
988
+  (0.1ms) begin transaction
989
+  (0.0ms) commit transaction
990
+  (0.0ms) begin transaction
991
+ User Update (0.3ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "f"], ["id", 3]]
992
+  (4.1ms) commit transaction
993
+ Redirected to http://www.example-client.com/restricted
994
+ Completed 302 Found in 8ms (ActiveRecord: 4.7ms)
995
+ Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:23 +0000
996
+ Processing by ExampleController#restricted as HTML
997
+ 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]]
998
+ Rendering text template
999
+ Rendered text template (0.0ms)
1000
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
1001
+ Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:23 +0000
1089
1002
  Processing by ExampleController#restricted as HTML
1090
1003
  Authenticating with gds_sso strategy
1091
1004
  Completed in 0ms (ActiveRecord: 0.0ms)
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
1005
+ Started GET "/auth/gds" for 127.0.0.1 at 2020-07-28 10:11:23 +0000
1006
+ Started GET "/auth/gds/callback?code=WPs6YBEZPQypco2N5D-vHK55aJbmPOM12Ptdpm-G910&state=34cf706bcca8af2534e84758deb3357d60aa0e70ad1f4d2f" for 127.0.0.1 at 2020-07-28 10:11:23 +0000
1094
1007
  Processing by AuthenticationsController#callback as HTML
1095
- Parameters: {"code"=>"3F14h1SKW91GoJr6E0tRWSoav6dac_d2w12bKwyQoaY", "state"=>"54af2282af2d9b98f286688d66131b7dbd825e179a0e34e7"}
1008
+ Parameters: {"code"=>"WPs6YBEZPQypco2N5D-vHK55aJbmPOM12Ptdpm-G910", "state"=>"34cf706bcca8af2534e84758deb3357d60aa0e70ad1f4d2f"}
1096
1009
  Authenticating with gds_sso strategy
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
1010
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1100
1011
   (0.1ms) begin transaction
1101
-  (0.1ms) commit transaction
1012
+  (0.0ms) commit transaction
1013
+  (0.0ms) begin transaction
1014
+  (0.0ms) commit transaction
1102
1015
  Redirected to http://www.example-client.com/restricted
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
1016
+ Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
1017
+ Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:23 +0000
1105
1018
  Processing by ExampleController#restricted as HTML
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]]
1019
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
1107
1020
  Rendering text template
1108
1021
  Rendered text template (0.0ms)
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
1022
+ Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.1ms)
1023
+ Started GET "/restricted" for 127.0.0.1 at 2020-07-29 06:16:23 +0000
1111
1024
  Processing by ExampleController#restricted as HTML
1112
1025
  Authenticating with gds_sso strategy
1113
1026
  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
1027
+ Started GET "/auth/gds" for 127.0.0.1 at 2020-07-29 06:16:23 +0000
1028
+ Started GET "/auth/gds/callback?code=OYWbMAH0X6LIjZDJMTZT-57akHXHJ0dc5gsvchFSfYU&state=780869fba9ba3290e6a5ed74cb4dc1f4be362e657275990a" for 127.0.0.1 at 2020-07-29 06:16:23 +0000
1116
1029
  Processing by AuthenticationsController#callback as HTML
1117
- Parameters: {"code"=>"L1Mu5ugstZ29bDh7W2cPsc73mgwqOyRx5ATOwncknmA", "state"=>"5fcad2700c5c36f2f6135d6bc7b9161d69858a7727be8a6b"}
1030
+ Parameters: {"code"=>"OYWbMAH0X6LIjZDJMTZT-57akHXHJ0dc5gsvchFSfYU", "state"=>"780869fba9ba3290e6a5ed74cb4dc1f4be362e657275990a"}
1118
1031
  Authenticating with gds_sso strategy
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
1032
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1122
1033
   (0.1ms) begin transaction
1123
-  (0.1ms) commit transaction
1034
+  (0.0ms) commit transaction
1035
+  (0.0ms) begin transaction
1036
+  (0.0ms) commit transaction
1124
1037
  Redirected to http://www.example-client.com/restricted
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
1038
+ Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
1039
+ Started GET "/restricted" for 127.0.0.1 at 2020-07-29 06:16:23 +0000
1127
1040
  Processing by ExampleController#restricted as HTML
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]]
1041
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
1129
1042
  Rendering text template
1130
1043
  Rendered text template (0.0ms)
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
+ Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
1045
+ Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:23 +0000
1133
1046
  Processing by ExampleController#restricted as HTML
1134
1047
  Authenticating with gds_sso strategy
1135
1048
  Completed in 0ms (ActiveRecord: 0.0ms)
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
+ Started GET "/auth/gds" for 127.0.0.1 at 2020-07-28 10:11:23 +0000
1050
+ Started GET "/auth/gds/callback?code=uLPgIDvNdONxlHYAhrP-Z9qFihfQw8JccqQTnst9sFk&state=6dd140252e8d98b66bd282ff41d795913891fc09025b10b6" for 127.0.0.1 at 2020-07-28 10:11:24 +0000
1138
1051
  Processing by AuthenticationsController#callback as HTML
1139
- Parameters: {"code"=>"ei9-4sfSh4LyZ966JaoZ3WPoQ_yI5Cp1hCO9UKucCtA", "state"=>"b03f9265ace717461a7346f5ccff6795d3dddb5918008087"}
1052
+ Parameters: {"code"=>"uLPgIDvNdONxlHYAhrP-Z9qFihfQw8JccqQTnst9sFk", "state"=>"6dd140252e8d98b66bd282ff41d795913891fc09025b10b6"}
1140
1053
  Authenticating with gds_sso strategy
1141
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1054
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1142
1055
   (0.1ms) begin transaction
1143
-  (0.1ms) commit transaction
1056
+  (0.0ms) commit transaction
1144
1057
   (0.1ms) begin transaction
1145
-  (0.1ms) commit transaction
1058
+  (0.0ms) commit transaction
1146
1059
  Redirected to http://www.example-client.com/restricted
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
+ Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
1061
+ Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:24 +0000
1149
1062
  Processing by ExampleController#restricted as HTML
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]]
1063
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
1151
1064
  Rendering text template
1152
1065
  Rendered text template (0.0ms)
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
1066
+ Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
1067
+ Started GET "/restricted" for 127.0.0.1 at 2020-07-29 06:06:24 +0000
1155
1068
  Processing by ExampleController#restricted as HTML
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]]
1069
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
1157
1070
  Rendering text template
1158
1071
  Rendered text template (0.0ms)
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
1072
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
1073
+ Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:24 +0000
1161
1074
  Processing by ExampleController#restricted as HTML
1162
1075
  Authenticating with gds_sso strategy
1163
1076
  Completed in 0ms (ActiveRecord: 0.0ms)
1164
-  (1.4ms) SELECT sqlite_version(*)
1077
+ Started GET "/auth/gds" for 127.0.0.1 at 2020-07-28 10:11:24 +0000
1078
+ Started GET "/auth/gds/callback?code=HyaBgBCoecHgzI0rmkV0BmJo4Gm3yU719FzMP8B5Z5I&state=f6ad088570995cb0cd16ad099e57194bba41b9e0d79e4095" for 127.0.0.1 at 2020-07-28 10:11:24 +0000
1079
+ Processing by AuthenticationsController#callback as HTML
1080
+ Parameters: {"code"=>"HyaBgBCoecHgzI0rmkV0BmJo4Gm3yU719FzMP8B5Z5I", "state"=>"f6ad088570995cb0cd16ad099e57194bba41b9e0d79e4095"}
1081
+ Authenticating with gds_sso strategy
1082
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1083
+  (0.1ms) begin transaction
1084
+  (0.0ms) commit transaction
1085
+  (0.0ms) begin transaction
1086
+  (0.0ms) commit transaction
1087
+ Redirected to http://www.example-client.com/restricted
1088
+ Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
1089
+ Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:24 +0000
1090
+ Processing by ExampleController#restricted as HTML
1091
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
1092
+ Rendering text template
1093
+ Rendered text template (0.0ms)
1094
+ Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
1095
+ Started GET "/restricted" for 127.0.0.1 at 2020-07-29 06:16:24 +0000
1096
+ Processing by ExampleController#restricted as HTML
1097
+ Authenticating with gds_sso strategy
1098
+ Completed in 1ms (ActiveRecord: 0.0ms)
1099
+ Started GET "/auth/gds" for 127.0.0.1 at 2020-07-29 06:16:24 +0000
1100
+  (0.1ms) begin transaction
1101
+ User Create (0.3ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d31368"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
1102
+  (3.5ms) commit transaction
1103
+  (0.0ms) begin transaction
1104
+ User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d39668"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1105
+  (3.1ms) commit transaction
1106
+ Processing by Api::UserController#update as HTML
1107
+ Parameters: {"uid"=>"a1s2d31368"}
1108
+ Rendering /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
1109
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
1110
+ Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
1111
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
1112
+ Completed 403 Forbidden in 5ms (Views: 5.0ms | ActiveRecord: 0.0ms)
1113
+  (0.0ms) begin transaction
1114
+ User Create (0.3ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d31349"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
1115
+  (3.3ms) commit transaction
1116
+  (0.0ms) begin transaction
1117
+ User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d39882"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1118
+  (3.4ms) commit transaction
1119
+ Processing by Api::UserController#update as HTML
1120
+ Parameters: {"uid"=>"a1s2d31349"}
1121
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "a1s2d31349"], ["LIMIT", 1]]
1122
+  (0.1ms) begin transaction
1123
+ User Update (0.3ms) UPDATE "users" SET "email" = ?, "name" = ?, "permissions" = ?, "organisation_slug" = ?, "organisation_content_id" = ? WHERE "users"."id" = ? [["email", "user@domain.com"], ["name", "Joshua Marshall"], ["permissions", "---\n- signin\n- new permission\n"], ["organisation_slug", "justice-league"], ["organisation_content_id", "aae1319e-5788-4677-998c-f1a53af528d0"], ["id", 6]]
1124
+  (3.0ms) commit transaction
1125
+ Completed 200 OK in 6ms (ActiveRecord: 3.5ms)
1126
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]]
1127
+  (0.0ms) begin transaction
1128
+ User Create (0.3ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d37989"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
1129
+  (4.9ms) commit transaction
1130
+  (0.0ms) begin transaction
1131
+ User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d31905"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1132
+  (2.9ms) commit transaction
1133
+ Processing by Api::UserController#reauth as HTML
1134
+ Parameters: {"uid"=>"nonexistent-user"}
1135
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "nonexistent-user"], ["LIMIT", 1]]
1136
+ Completed 200 OK in 1ms (ActiveRecord: 0.1ms)
1137
+  (0.0ms) begin transaction
1138
+ User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d35833"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
1139
+  (3.3ms) commit transaction
1140
+  (0.0ms) begin transaction
1141
+ User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d37396"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1142
+  (3.0ms) commit transaction
1143
+ Processing by Api::UserController#reauth as HTML
1144
+ Parameters: {"uid"=>"a1s2d35833"}
1145
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "a1s2d35833"], ["LIMIT", 1]]
1146
+  (0.0ms) begin transaction
1147
+ User Update (0.2ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 10]]
1148
+  (4.0ms) commit transaction
1149
+ Completed 200 OK in 6ms (ActiveRecord: 4.3ms)
1150
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 10], ["LIMIT", 1]]
1151
+  (0.0ms) begin transaction
1152
+ User Create (0.3ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d34035"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
1153
+  (3.8ms) commit transaction
1154
+  (0.0ms) begin transaction
1155
+ User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d31271"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1156
+  (3.7ms) commit transaction
1157
+ Processing by Api::UserController#reauth as HTML
1158
+ Parameters: {"uid"=>"a1s2d34035"}
1159
+ Rendering /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
1160
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
1161
+ Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
1162
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
1163
+ Completed 403 Forbidden in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)
1164
+  (1.5ms) SELECT sqlite_version(*)
1165
1165
   (0.1ms) SELECT sqlite_version(*)
1166
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)
1167
+  (5.8ms) CREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "uid" varchar NOT NULL, "email" varchar NOT NULL, "remotely_signed_out" boolean, "permissions" text, "organisation_slug" varchar, "organisation_content_id" varchar, "disabled" boolean DEFAULT 0)
1168
+  (6.7ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)
1169
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
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)
1171
+ ActiveRecord::InternalMetadata Create (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2020-07-28 10:11:32.682361"], ["updated_at", "2020-07-28 10:11:32.682361"]]
1172
+  (3.6ms) commit transaction
1173
+  (3.4ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
1174
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
1188
- Processing by Api::UserController#reauth as HTML
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
1175
+  (0.1ms) SELECT sqlite_version(*)
1176
+  (0.1ms) begin transaction
1177
+ User Create (0.3ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d36619"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
1178
+  (4.1ms) commit transaction
1179
+  (0.1ms) begin transaction
1180
+ User Create (0.3ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d35636"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1181
+  (3.4ms) commit transaction
1202
1182
  Processing by Api::UserController#reauth as HTML
1203
1183
  Parameters: {"uid"=>"nonexistent-user"}
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
1184
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "nonexistent-user"], ["LIMIT", 1]]
1185
+ Completed 200 OK in 3ms (ActiveRecord: 0.2ms | Allocations: 1427)
1186
+  (0.1ms) begin transaction
1187
+ User Create (0.3ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d35989"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
1188
+  (6.0ms) commit transaction
1189
+  (0.1ms) begin transaction
1190
+ User Create (0.3ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d33992"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1191
+  (3.5ms) commit transaction
1212
1192
  Processing by Api::UserController#reauth as HTML
1213
- Parameters: {"uid"=>"a1s2d34995"}
1193
+ Parameters: {"uid"=>"a1s2d35989"}
1214
1194
  Rendering /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
1215
1195
  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)
1196
+ Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (Duration: 1.1ms | Allocations: 201)
1217
1197
  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
1198
+ Completed 403 Forbidden in 7ms (Views: 6.3ms | ActiveRecord: 0.0ms | Allocations: 1977)
1199
+  (0.1ms) begin transaction
1200
+ User Create (0.3ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d38773"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
1201
+  (4.3ms) commit transaction
1202
+  (0.1ms) begin transaction
1203
+ User Create (0.3ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d36879"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1204
+  (3.5ms) commit transaction
1205
+ Processing by Api::UserController#reauth as HTML
1206
+ Parameters: {"uid"=>"a1s2d38773"}
1207
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "a1s2d38773"], ["LIMIT", 1]]
1208
+  (0.1ms) begin transaction
1209
+ User Update (0.2ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", 1], ["id", 5]]
1210
+  (3.4ms) commit transaction
1211
+ Completed 200 OK in 6ms (ActiveRecord: 3.9ms | Allocations: 930)
1212
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]]
1213
+  (0.1ms) begin transaction
1214
+ User Create (0.3ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d35174"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
1215
+  (4.2ms) commit transaction
1216
+  (0.1ms) begin transaction
1217
+ User Create (0.3ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d33679"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1218
+  (3.4ms) commit transaction
1225
1219
  Processing by Api::UserController#update as HTML
1226
- Parameters: {"uid"=>"a1s2d37968"}
1220
+ Parameters: {"uid"=>"a1s2d35174"}
1227
1221
  Rendering /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
1228
1222
  Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
1229
- Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (Duration: 0.4ms | Allocations: 47)
1223
+ Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (Duration: 0.2ms | Allocations: 47)
1230
1224
  Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
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
1225
+ Completed 403 Forbidden in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms | Allocations: 510)
1226
+  (0.1ms) begin transaction
1227
+ User Create (0.3ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d34309"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
1228
+  (3.7ms) commit transaction
1229
+  (0.1ms) begin transaction
1230
+ User Create (0.3ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d35617"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1231
+  (4.2ms) commit transaction
1238
1232
  Processing by Api::UserController#update as HTML
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
1270
- Rendering text template
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]]
1279
- Rendering text template
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
1289
- Processing by ExampleController#restricted as HTML
1290
- Authenticating with gds_sso strategy
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
1294
- Processing by AuthenticationsController#callback as HTML
1295
- Parameters: {"code"=>"W7vSSyNRyTbSAwSR2KnZoFtV_OFBTIJUZv1EMxVVqXc", "state"=>"2633af08a5bea3c181f197487f4fc7504753c22c2bf938dd"}
1296
- Authenticating with gds_sso strategy
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
1301
- Redirected to http://www.example-client.com/restricted
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
1304
- Processing by ExampleController#restricted as HTML
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]]
1306
- Rendering text template
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
1233
+ Parameters: {"uid"=>"a1s2d34309"}
1234
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "a1s2d34309"], ["LIMIT", 1]]
1235
+  (0.1ms) begin transaction
1236
+ 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]]
1237
+  (3.9ms) commit transaction
1238
+ Completed 200 OK in 7ms (ActiveRecord: 4.4ms | Allocations: 1227)
1239
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 9], ["LIMIT", 1]]
1240
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "dummyapiuser@domain.com"], ["LIMIT", 1]]
1241
+  (0.1ms) begin transaction
1242
+ User Create (0.3ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Dummy API user created by gds-sso"], ["uid", "178"], ["email", "dummyapiuser@domain.com"], ["permissions", "---\n- signin\n"]]
1243
+  (3.6ms) commit transaction
1244
+  (0.1ms) begin transaction
1245
+ User Update (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = ? [["permissions", "---\n- signin\n- extra_permission\n"], ["id", 11]]
1246
+  (3.2ms) commit transaction
1247
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "asd"], ["LIMIT", 1]]
1248
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "user@example.com"], ["LIMIT", 1]]
1249
+  (0.1ms) begin transaction
1250
+ 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]]
1251
+  (3.6ms) commit transaction
1252
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "asd"], ["LIMIT", 1]]
1253
+ Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:33 +0000
1310
1254
  Processing by ExampleController#restricted as HTML
1311
1255
  Authenticating with gds_sso strategy
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
1256
+ Completed in 5ms (ActiveRecord: 0.0ms | Allocations: 151)
1257
+ Started GET "/auth/gds" for 127.0.0.1 at 2020-07-28 10:11:33 +0000
1258
+ Started GET "/auth/gds/callback?code=Oj1D9udBilzd78OsJhnpbTQJLx4hXFgbR67DHw727LI&state=a886423e6e48f93b1942ddd0d78f58401e450f76e8246dfd" for 127.0.0.1 at 2020-07-28 10:11:33 +0000
1315
1259
  Processing by AuthenticationsController#callback as HTML
1316
- Parameters: {"code"=>"lSGnnvs1TIVC0NtmtPLtidkJLiw0f7Po8vHnxeqh60g", "state"=>"8631a4e65b3c22c555f7f744c276f98d51906f91a4956085"}
1260
+ Parameters: {"code"=>"Oj1D9udBilzd78OsJhnpbTQJLx4hXFgbR67DHw727LI", "state"=>"a886423e6e48f93b1942ddd0d78f58401e450f76e8246dfd"}
1317
1261
  Authenticating with gds_sso strategy
1318
- User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1262
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1263
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "test@example-client.com"], ["LIMIT", 1]]
1264
+  (0.1ms) begin transaction
1265
+ 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"]]
1266
+  (5.9ms) commit transaction
1267
+  (0.1ms) begin transaction
1268
+ User Update (0.2ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", 0], ["id", 13]]
1269
+  (5.0ms) commit transaction
1319
1270
  Redirected to http://www.example-client.com/restricted
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
1271
+ Completed 302 Found in 17ms (ActiveRecord: 11.9ms | Allocations: 1447)
1272
+ Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:33 +0000
1322
1273
  Processing by ExampleController#restricted as HTML
1323
1274
  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]]
1324
1275
  Rendering text template
1325
1276
  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
1277
+ Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.3ms | Allocations: 984)
1278
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-07-28 10:11:33 +0000
1333
1279
  Processing by ExampleController#this_requires_signin_permission as HTML
1334
1280
  Authenticating with gds_sso strategy
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
1281
+ Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 103)
1282
+ Started GET "/auth/gds" for 127.0.0.1 at 2020-07-28 10:11:33 +0000
1283
+ Started GET "/auth/gds/callback?code=XC0200_RbEtKPMFUFljPkmfCP9oONTmGQRHC7vHw-30&state=19e877bfb32e477fbefcad0bc8bdc4657ac412d389773cf1" for 127.0.0.1 at 2020-07-28 10:11:34 +0000
1338
1284
  Processing by AuthenticationsController#callback as HTML
1339
- Parameters: {"code"=>"srhBFzpduyKjzzV545wFhqWPazPjCPHuJTcqX2kS1j8", "state"=>"789e31843ac918b99054f737f0b94538af247e387289da52"}
1285
+ Parameters: {"code"=>"XC0200_RbEtKPMFUFljPkmfCP9oONTmGQRHC7vHw-30", "state"=>"19e877bfb32e477fbefcad0bc8bdc4657ac412d389773cf1"}
1340
1286
  Authenticating with gds_sso strategy
1341
- User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1287
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1342
1288
  Redirected to http://www.example-client.com/this_requires_signin_permission
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
1289
+ Completed 302 Found in 4ms (ActiveRecord: 0.2ms | Allocations: 913)
1290
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-07-28 10:11:34 +0000
1345
1291
  Processing by ExampleController#this_requires_signin_permission as HTML
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]]
1292
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
1347
1293
  Rendering text template
1348
1294
  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
1295
+ Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms | Allocations: 652)
1296
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-07-28 10:11:34 +0000
1351
1297
  Processing by ExampleController#this_requires_signin_permission as HTML
1352
1298
  Authenticating with gds_sso strategy
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
1299
+ Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 103)
1300
+ Started GET "/auth/gds" for 127.0.0.1 at 2020-07-28 10:11:34 +0000
1301
+ Started GET "/auth/gds/callback?code=dso8fTwunwLSSxMq8aftUdfsCJmXMLWM7UVSkKwTKlM&state=80e4f134de98379e8f5d0caff3b19bea7a0c0f10247f2f53" for 127.0.0.1 at 2020-07-28 10:11:34 +0000
1356
1302
  Processing by AuthenticationsController#callback as HTML
1357
- Parameters: {"code"=>"MQQwzTrOSdneS05LCO3R2hl3WQhuhBTeymL6yvgZrf8", "state"=>"68e70b571e14bfd852320305f4cc83283160ba2db776919d"}
1303
+ Parameters: {"code"=>"dso8fTwunwLSSxMq8aftUdfsCJmXMLWM7UVSkKwTKlM", "state"=>"80e4f134de98379e8f5d0caff3b19bea7a0c0f10247f2f53"}
1358
1304
  Authenticating with gds_sso strategy
1359
- User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1305
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1360
1306
  Redirected to http://www.example-client.com/this_requires_signin_permission
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
1307
+ Completed 302 Found in 4ms (ActiveRecord: 0.2ms | Allocations: 913)
1308
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-07-28 10:11:34 +0000
1363
1309
  Processing by ExampleController#this_requires_signin_permission as HTML
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]]
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", 0], ["LIMIT", 1]]
1365
1311
  Rendering text template
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
1312
+ Rendered text template (Duration: 0.0ms | Allocations: 1)
1313
+ Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms | Allocations: 652)
1314
+ Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:34 +0000
1369
1315
  Processing by ExampleController#restricted as HTML
1370
1316
  Authenticating with gds_sso strategy
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
1317
+ Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 103)
1318
+ Started GET "/auth/gds" for 127.0.0.1 at 2020-07-28 10:11:34 +0000
1319
+ Started GET "/auth/gds/callback?code=xVeVplpFbmzCdPKHt5pMQDxM4fDXTDnR3JuTFBQpwW4&state=83c0b531feddb39d11b6d324f20fc2e1a97d81e5124aed5d" for 127.0.0.1 at 2020-07-28 10:11:34 +0000
1374
1320
  Processing by AuthenticationsController#callback as HTML
1375
- Parameters: {"code"=>"4C_71P-J5dq9_bUhH8QmniqRnTNUJy2qkBaqefJCTNE", "state"=>"752143947f64c36048fdd7078fb383922893539fc3ee3434"}
1321
+ Parameters: {"code"=>"xVeVplpFbmzCdPKHt5pMQDxM4fDXTDnR3JuTFBQpwW4", "state"=>"83c0b531feddb39d11b6d324f20fc2e1a97d81e5124aed5d"}
1376
1322
  Authenticating with gds_sso strategy
1377
- User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1323
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1378
1324
  Redirected to http://www.example-client.com/restricted
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
1325
+ Completed 302 Found in 4ms (ActiveRecord: 0.2ms | Allocations: 913)
1326
+ Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:34 +0000
1381
1327
  Processing by ExampleController#restricted as HTML
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]]
1328
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
1383
1329
  Rendering text template
1384
1330
  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
1331
+ Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms | Allocations: 655)
1332
+ Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:34 +0000
1387
1333
  Processing by ExampleController#restricted as HTML
1388
1334
  Authenticating with gds_sso strategy
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
1335
+ Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 103)
1336
+ Started GET "/auth/gds" for 127.0.0.1 at 2020-07-28 10:11:34 +0000
1337
+ Started GET "/auth/gds/callback?code=vcaFlA1VZB0JvaIvCGfDWpZSZvixa97R1ikQNiZxK9I&state=fb740bb80a69463c6e419ce29d72f9e7439dc16d34826c9d" for 127.0.0.1 at 2020-07-28 10:11:34 +0000
1392
1338
  Processing by AuthenticationsController#callback as HTML
1393
- Parameters: {"code"=>"ObbYxDZpDpftZjnl2Oi0oOk_C0LStQpGZSp2rteFh6A", "state"=>"b8306e3d0119e9a94493bc7523154afafe46053c4f525e1c"}
1339
+ Parameters: {"code"=>"vcaFlA1VZB0JvaIvCGfDWpZSZvixa97R1ikQNiZxK9I", "state"=>"fb740bb80a69463c6e419ce29d72f9e7439dc16d34826c9d"}
1394
1340
  Authenticating with gds_sso strategy
1395
- User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1341
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1396
1342
  Redirected to http://www.example-client.com/restricted
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
1343
+ Completed 302 Found in 4ms (ActiveRecord: 0.2ms | Allocations: 915)
1344
+ Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:34 +0000
1399
1345
  Processing by ExampleController#restricted as HTML
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]]
1346
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
1401
1347
  Rendering text template
1402
1348
  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
1349
+ Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms | Allocations: 653)
1350
+ Started GET "/" for 127.0.0.1 at 2020-07-28 10:11:34 +0000
1351
+ Processing by ExampleController#index as HTML
1352
+ Rendering text template
1353
+ Rendered text template (Duration: 0.0ms | Allocations: 1)
1354
+ Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms | Allocations: 137)
1355
+ Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:34 +0000
1409
1356
  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
1357
  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
1358
+ Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 103)
1359
+ Started GET "/auth/gds" for 127.0.0.1 at 2020-07-28 10:11:34 +0000
1360
+ Started GET "/auth/gds/callback?code=4H8LH6jbmLmbqb8xc0DJdHTb6II1aaCnOneJQZA7GFU&state=072113ca0beac7394405bcad7cd25d5d65e44f73af659c3d" for 127.0.0.1 at 2020-07-28 10:11:35 +0000
1415
1361
  Processing by AuthenticationsController#callback as HTML
1416
- Parameters: {"code"=>"oGxc5oQFpaRmmpxPCFpS3dXS8jdkX0K63pQcI9rBY_0", "state"=>"2e1ac2b93711b33056a11361943688f7c24acb3f52920d6a"}
1362
+ Parameters: {"code"=>"4H8LH6jbmLmbqb8xc0DJdHTb6II1aaCnOneJQZA7GFU", "state"=>"072113ca0beac7394405bcad7cd25d5d65e44f73af659c3d"}
1417
1363
  Authenticating with gds_sso strategy
1418
- User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1419
-  (0.1ms) begin 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
1364
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1422
1365
  Redirected to http://www.example-client.com/restricted
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
1366
+ Completed 302 Found in 3ms (ActiveRecord: 0.2ms | Allocations: 913)
1367
+ Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:35 +0000
1425
1368
  Processing by ExampleController#restricted as HTML
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]]
1369
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
1427
1370
  Rendering text template
1428
1371
  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
1372
+ Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.1ms | Allocations: 652)
1373
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "test@example-client.com"], ["LIMIT", 1]]
1374
+  (0.1ms) begin transaction
1375
+ User Update (0.3ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", 1], ["id", 13]]
1376
+  (5.4ms) commit transaction
1377
+ Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:35 +0000
1431
1378
  Processing by ExampleController#restricted as HTML
1379
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
1432
1380
  Authenticating with gds_sso strategy
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
1381
+ Completed in 1ms (ActiveRecord: 0.1ms | Allocations: 533)
1382
+ Started GET "/auth/gds" for 127.0.0.1 at 2020-07-28 10:11:35 +0000
1383
+ Started GET "/auth/gds/callback?code=4k3GTNNvVGyA_D7WzbeC1adZSkzeJyvzQP-zUEAerRM&state=faf8f1a7b56c569e308b9df75875150d993e06c7a6927412" for 127.0.0.1 at 2020-07-28 10:11:35 +0000
1436
1384
  Processing by AuthenticationsController#callback as HTML
1437
- Parameters: {"code"=>"z344M9hbOvtkT1OLxs6uFRY5fsqk7h0Jk43RBJcekEQ", "state"=>"389c84a4d79f48469a3e97a360f890979ab45cc02e633a38"}
1385
+ Parameters: {"code"=>"4k3GTNNvVGyA_D7WzbeC1adZSkzeJyvzQP-zUEAerRM", "state"=>"faf8f1a7b56c569e308b9df75875150d993e06c7a6927412"}
1438
1386
  Authenticating with gds_sso strategy
1439
- User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1387
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1388
+  (0.1ms) begin transaction
1389
+ User Update (0.3ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", 0], ["id", 13]]
1390
+  (3.6ms) commit transaction
1440
1391
  Redirected to http://www.example-client.com/restricted
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
1443
- Processing by ExampleController#restricted as HTML
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]]
1445
- Rendering text template
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
1392
+ Completed 302 Found in 8ms (ActiveRecord: 4.2ms | Allocations: 1104)
1393
+ Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:35 +0000
1449
1394
  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]]
1395
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
1451
1396
  Rendering text template
1452
1397
  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
1398
+ Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.1ms | Allocations: 650)
1399
+ Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:35 +0000
1455
1400
  Processing by ExampleController#restricted as HTML
1456
1401
  Authenticating with gds_sso strategy
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
1402
+ Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 103)
1403
+ Started GET "/auth/gds" for 127.0.0.1 at 2020-07-28 10:11:35 +0000
1404
+ Started GET "/auth/gds/callback?code=n37NLIGMdzx5QimD-cSPPlTVH-9HFe5xu4O1d5TnnSc&state=264e446faf159b884add968d8ad5f004d32bff57cbe582e4" for 127.0.0.1 at 2020-07-28 10:11:35 +0000
1460
1405
  Processing by AuthenticationsController#callback as HTML
1461
- Parameters: {"code"=>"2wWd42zSW5fe0LTYAtEZ_aHyHYxtOlpndfvPTy4cmLc", "state"=>"b444bf0a9c25f1c0d30b5a1f6e9a89beabefd3b3e8dd6a01"}
1406
+ Parameters: {"code"=>"n37NLIGMdzx5QimD-cSPPlTVH-9HFe5xu4O1d5TnnSc", "state"=>"264e446faf159b884add968d8ad5f004d32bff57cbe582e4"}
1462
1407
  Authenticating with gds_sso strategy
1463
- User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1408
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1464
1409
  Redirected to http://www.example-client.com/restricted
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
1410
+ Completed 302 Found in 4ms (ActiveRecord: 0.2ms | Allocations: 914)
1411
+ Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:35 +0000
1467
1412
  Processing by ExampleController#restricted as HTML
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]]
1413
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
1469
1414
  Rendering text template
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
1415
+ Rendered text template (Duration: 0.0ms | Allocations: 1)
1416
+ Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms | Allocations: 655)
1417
+ Started GET "/restricted" for 127.0.0.1 at 2020-07-29 06:16:35 +0000
1473
1418
  Processing by ExampleController#restricted as HTML
1474
1419
  Authenticating with gds_sso strategy
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
1420
+ Completed in 1ms (ActiveRecord: 0.0ms | Allocations: 480)
1421
+ Started GET "/auth/gds" for 127.0.0.1 at 2020-07-29 06:16:35 +0000
1422
+ Started GET "/auth/gds/callback?code=KIHHM2-vQD7P2spez07YxyRpTwjuwkBrAWakVC00ezk&state=aec0498ead34d9b6a62a15a9894ffec6ed6e34facb724d40" for 127.0.0.1 at 2020-07-29 06:16:35 +0000
1423
+ Processing by AuthenticationsController#callback as HTML
1424
+ Parameters: {"code"=>"KIHHM2-vQD7P2spez07YxyRpTwjuwkBrAWakVC00ezk", "state"=>"aec0498ead34d9b6a62a15a9894ffec6ed6e34facb724d40"}
1425
+ Authenticating with gds_sso strategy
1426
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1427
+ Redirected to http://www.example-client.com/restricted
1428
+ Completed 302 Found in 4ms (ActiveRecord: 0.2ms | Allocations: 1115)
1429
+ Started GET "/restricted" for 127.0.0.1 at 2020-07-29 06:16:35 +0000
1430
+ Processing by ExampleController#restricted as HTML
1431
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
1432
+ Rendering text template
1433
+ Rendered text template (Duration: 0.0ms | Allocations: 1)
1434
+ Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms | Allocations: 877)
1435
+ Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:35 +0000
1478
1436
  Processing by ExampleController#restricted as HTML
1479
1437
  Authenticating with gds_sso strategy
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
1438
+ Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 103)
1439
+ Started GET "/auth/gds" for 127.0.0.1 at 2020-07-28 10:11:35 +0000
1440
+ Started GET "/auth/gds/callback?code=6Yrr-jvsw4txE1DJUE9cBsTcYutw-AEKGjzJfpmOPHY&state=15589942c994ae56728d00e99838552c7d35c8500859c285" for 127.0.0.1 at 2020-07-28 10:11:35 +0000
1483
1441
  Processing by AuthenticationsController#callback as HTML
1484
- Parameters: {"code"=>"wG6dOgcCevXcttMKMMYwQUrqa5A3G846P6O8KcufIn4", "state"=>"72b9665daca597fa81a3fbaac0611bb9558b460d5e349a83"}
1442
+ Parameters: {"code"=>"6Yrr-jvsw4txE1DJUE9cBsTcYutw-AEKGjzJfpmOPHY", "state"=>"15589942c994ae56728d00e99838552c7d35c8500859c285"}
1485
1443
  Authenticating with gds_sso strategy
1486
- User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1444
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1487
1445
  Redirected to http://www.example-client.com/restricted
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
1446
+ Completed 302 Found in 4ms (ActiveRecord: 0.3ms | Allocations: 913)
1447
+ Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:35 +0000
1490
1448
  Processing by ExampleController#restricted as HTML
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]]
1449
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
1492
1450
  Rendering text template
1493
1451
  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
1452
+ Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms | Allocations: 652)
1453
+ Started GET "/restricted" for 127.0.0.1 at 2020-07-29 06:16:35 +0000
1496
1454
  Processing by ExampleController#restricted as HTML
1497
1455
  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
1456
+ Completed in 1ms (ActiveRecord: 0.0ms | Allocations: 480)
1457
+ Started GET "/auth/gds" for 127.0.0.1 at 2020-07-29 06:16:35 +0000
1458
+ Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:35 +0000
1459
+ Processing by ExampleController#restricted as HTML
1460
+ Authenticating with gds_sso strategy
1461
+ Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 103)
1462
+ Started GET "/auth/gds" for 127.0.0.1 at 2020-07-28 10:11:35 +0000
1463
+ Started GET "/auth/gds/callback?code=V4C4G085QyxJZbkrmdwghKBuEppEmkyf5b1oOLW-A-0&state=486c0ea1075520065090312235e3f52e48d040b8df6cac5a" for 127.0.0.1 at 2020-07-28 10:11:36 +0000
1501
1464
  Processing by AuthenticationsController#callback as HTML
1502
- Parameters: {"code"=>"GiTqxrVxxVNTmCM6yrBIbdrOiMIpRawIQ0iadBH1pls", "state"=>"f7efb007e1a1bc5cbf001a76d2163b4a5561f49a8f6914bb"}
1465
+ Parameters: {"code"=>"V4C4G085QyxJZbkrmdwghKBuEppEmkyf5b1oOLW-A-0", "state"=>"486c0ea1075520065090312235e3f52e48d040b8df6cac5a"}
1503
1466
  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]]
1467
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1505
1468
  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
1469
+ Completed 302 Found in 4ms (ActiveRecord: 0.2ms | Allocations: 915)
1470
+ Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:36 +0000
1508
1471
  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]]
1472
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
1510
1473
  Rendering text template
1511
- Rendered text template (Duration: 0.1ms | Allocations: 1)
1512
- Completed 200 OK in 4ms (Views: 0.7ms | ActiveRecord: 0.3ms | Allocations: 885)
1474
+ Rendered text template (Duration: 0.0ms | Allocations: 1)
1475
+ Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms | Allocations: 655)
1476
+ Started GET "/restricted" for 127.0.0.1 at 2020-07-29 06:06:36 +0000
1477
+ Processing by ExampleController#restricted as HTML
1478
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
1479
+ Rendering text template
1480
+ Rendered text template (Duration: 0.0ms | Allocations: 1)
1481
+ Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms | Allocations: 875)
1482
+ Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:36 +0000
1483
+ Processing by ExampleController#restricted as HTML
1484
+ Authenticating with gds_sso strategy
1485
+ Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 105)
1486
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-07-28 10:11:36 +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
+ User Update (0.3ms) UPDATE "users" SET "disabled" = ? WHERE "users"."id" = ? [["disabled", nil], ["id", 13]]
1491
+  (3.6ms) commit transaction
1492
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1493
+ CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
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
+ Rendering text template
1496
+ Rendered text template (Duration: 0.0ms | Allocations: 1)
1497
+ Completed 200 OK in 65ms (Views: 0.5ms | ActiveRecord: 4.5ms | Allocations: 6880)
1498
+ Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:36 +0000
1499
+ Processing by ExampleController#restricted as JSON
1500
+ Completed in 21ms (ActiveRecord: 0.0ms | Allocations: 1754)
1501
+ Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:36 +0000
1502
+ Processing by ExampleController#restricted as JSON
1503
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1504
+ CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1505
+ CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1506
+ CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1507
+ Rendering text template
1508
+ Rendered text template (Duration: 0.0ms | Allocations: 1)
1509
+ Completed 200 OK in 62ms (Views: 0.5ms | ActiveRecord: 0.3ms | Allocations: 6323)
1510
+ Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:36 +0000
1511
+ Processing by ExampleController#restricted as JSON
1512
+ Completed in 15ms (ActiveRecord: 0.0ms | Allocations: 1855)