gds-sso 16.0.0 → 16.0.1

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