gds-sso 15.1.0 → 16.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d9939f8497b777014a8a39d2cf78cf00c70d9951c18d6e9fe6a64b74d5d8ad5a
4
- data.tar.gz: 8d9d5ecedb3f70038be1708fd61e3306d8b6ea198dbb50e8b74245504f38aede
3
+ metadata.gz: 911e1ecb0d2e34bd5f8e8709c2f30c3cbe7a6c41e414471e6a0e05551bfed011
4
+ data.tar.gz: 9d5f275d870a44a01249602b94d913b072e1dcb70683bcc9a967dbb32918eab3
5
5
  SHA512:
6
- metadata.gz: 765326eafa7ccc1827c905c289a653bd0f6bfcd345f61b074b030d035e5b136281181ed157582163ffb328bc40183c252fbf0bfe97bec337a2bd22eb5a7ad8cf
7
- data.tar.gz: 2a19bf5a37e1d4ac3aa3c98f6d653b3684baa30c5a898c9616a263e3f6a933aeec4379a1f366781e6962d7c11b3ceedc2e6d1504a12d20070a5fde53b7aa683d
6
+ metadata.gz: 01cb316219c04abae1b187eed25de5c89c4eba5e1d9630e63fc02aaef89a0345740d02555c045f97ee4f5c35f733cd17c4c0d5b0d88bcd2874543370d10af09c
7
+ data.tar.gz: e9eab59c8d961842d1d9fe6c2719d628590ac486609928a3126df815f1f6846691b220f688859a5db6a3bfb3201e12aab4727afb1f74981f958e0e61fd86d222
data/README.md CHANGED
@@ -17,7 +17,7 @@ Some of the applications that use this gem:
17
17
  - Include the gem in your Gemfile:
18
18
 
19
19
  ```ruby
20
- gem 'gds-sso', '<version>'
20
+ gem 'gds-sso'
21
21
  ```
22
22
 
23
23
  - Create a "users" table in the database: ([example migration with all the necessary fields](https://github.com/alphagov/content-publisher/blob/16c58a40745c1ea61ec241e5aeb702ae15238f98/db/migrate/20160622154200_create_users.rb))
@@ -107,8 +107,8 @@ end
107
107
 
108
108
  To use gds-sso in production you will need to setup the following environment variables, which we look for in [the config](https://github.com/alphagov/gds-sso/blob/master/lib/gds-sso/config.rb). You will need to have admin access to Signon to get these.
109
109
 
110
- - OAUTH_ID
111
- - OAUTH_SECRET
110
+ - GDS_SSO_OAUTH_ID
111
+ - GDS_SSO_OAUTH_SECRET
112
112
 
113
113
  ### Use in development mode
114
114
 
@@ -12,11 +12,11 @@ module GDS
12
12
 
13
13
  # OAuth ID
14
14
  mattr_accessor :oauth_id
15
- @@oauth_id = ENV.fetch("OAUTH_ID", "test-oauth-id")
15
+ @@oauth_id = ENV.fetch("GDS_SSO_OAUTH_ID", "test-oauth-id")
16
16
 
17
17
  # OAuth Secret
18
18
  mattr_accessor :oauth_secret
19
- @@oauth_secret = ENV.fetch("OAUTH_SECRET", "test-oauth-secret")
19
+ @@oauth_secret = ENV.fetch("GDS_SSO_OAUTH_SECRET", "test-oauth-secret")
20
20
 
21
21
  # Location of the OAuth server
22
22
  mattr_accessor :oauth_root_url
@@ -1,5 +1,5 @@
1
1
  module GDS
2
2
  module SSO
3
- VERSION = "15.1.0".freeze
3
+ VERSION = "16.0.0".freeze
4
4
  end
5
5
  end
@@ -1,160 +1,149 @@
1
1
   (0.1ms) DROP TABLE IF EXISTS "users"
2
-  (0.9ms) SELECT sqlite_version(*)
3
-  (8.1ms) 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
-  (37.2ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
2
+  (1.3ms) SELECT sqlite_version(*)
3
+  (9.4ms) CREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "uid" varchar NOT NULL, "email" varchar NOT NULL, "remotely_signed_out" boolean, "permissions" text, "organisation_slug" varchar, "organisation_content_id" varchar, "disabled" boolean DEFAULT 'f')
4
+  (5.6ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
5
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-10-26 14:50:59.688219"], ["updated_at", "2020-10-26 14:50:59.688219"]]
8
-  (6.0ms) commit transaction
9
-  (6.0ms) 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", "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)
10
10
  ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
11
11
   (0.0ms) begin transaction
12
12
   (0.0ms) commit transaction
13
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "dummyapiuser@domain.com"], ["LIMIT", 1]]
14
-  (0.0ms) begin transaction
15
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Dummy API user created by gds-sso"], ["uid", "1000"], ["email", "dummyapiuser@domain.com"], ["permissions", "---\n- signin\n"]]
16
-  (4.1ms) commit transaction
17
-  (0.0ms) begin transaction
18
- User Update (0.1ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = ? [["permissions", "---\n- signin\n- extra_permission\n"], ["id", 1]]
19
-  (6.0ms) commit transaction
20
13
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "asd"], ["LIMIT", 1]]
21
14
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "user@example.com"], ["LIMIT", 1]]
22
15
   (0.0ms) begin transaction
23
16
  User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions", "organisation_slug", "organisation_content_id", "disabled") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "A Name"], ["uid", "asd"], ["email", "user@example.com"], ["permissions", "---\n- signin\n"], ["organisation_slug", "hmrc"], ["organisation_content_id", "67a2b78d-eee3-45b3-80e2-792e7f71cecc"], ["disabled", nil]]
24
-  (4.9ms) commit transaction
17
+  (7.0ms) commit transaction
25
18
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "asd"], ["LIMIT", 1]]
26
19
   (0.0ms) begin transaction
27
20
   (0.0ms) commit transaction
28
- Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:00 +0000
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
29
27
  Processing by ExampleController#restricted as HTML
30
28
  Authenticating with gds_sso strategy
31
29
  Completed in 4ms (ActiveRecord: 0.0ms)
32
- Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:00 +0000
33
- Processing by ExampleController#restricted as HTML
34
- Authenticating with gds_sso strategy
35
- Completed in 0ms (ActiveRecord: 0.0ms)
36
- Started GET "/auth/gds" for 127.0.0.1 at 2020-10-26 14:51:00 +0000
37
- Started GET "/auth/gds/callback?code=qlgWGND49FA4hmi1xxwtSmNDpxMu8JdbWneB08p7_qU&state=eae923f804055f5089297e4d477619f6307606c3c9445704" for 127.0.0.1 at 2020-10-26 14:51:00 +0000
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
38
32
  Processing by AuthenticationsController#callback as HTML
39
- Parameters: {"code"=>"qlgWGND49FA4hmi1xxwtSmNDpxMu8JdbWneB08p7_qU", "state"=>"eae923f804055f5089297e4d477619f6307606c3c9445704"}
33
+ Parameters: {"code"=>"5PIw9kafgD-w47vu0TK-lQtDOIqaqYQbx7a8qb7GK1w", "state"=>"1d465f678b40d424d735dc7608df2e290c9237aa41631e2b"}
40
34
  Authenticating with gds_sso strategy
41
35
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
42
36
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "test@example-client.com"], ["LIMIT", 1]]
43
-  (0.1ms) begin transaction
37
+  (0.0ms) begin transaction
44
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"]]
45
-  (8.9ms) commit transaction
39
+  (16.2ms) commit transaction
46
40
   (0.0ms) begin transaction
47
- User Update (0.1ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "f"], ["id", 3]]
48
-  (5.4ms) commit 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
49
43
  Redirected to http://www.example-client.com/restricted
50
- Completed 302 Found in 18ms (ActiveRecord: 14.9ms)
51
- Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:00 +0000
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
52
46
  Processing by ExampleController#restricted as HTML
53
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]]
54
48
  Rendering text template
55
49
  Rendered text template (0.0ms)
56
- Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.2ms)
57
- Started GET "/" for 127.0.0.1 at 2020-10-26 14:51:00 +0000
58
- Processing by ExampleController#index as HTML
59
- Rendering text template
60
- Rendered text template (0.0ms)
61
- Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
62
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-10-26 14:51:00 +0000
63
- Processing by ExampleController#this_requires_signin_permission as HTML
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
64
53
  Authenticating with gds_sso strategy
65
54
  Completed in 0ms (ActiveRecord: 0.0ms)
66
- Started GET "/auth/gds" for 127.0.0.1 at 2020-10-26 14:51:00 +0000
67
- Started GET "/auth/gds/callback?code=N3zgRiV63CM3n82JL5m4VJybtab5jqD9T8rdOUfOjfQ&state=44c677e6a122e188c1897be58e35ca209ce417e5a7a5b5d0" for 127.0.0.1 at 2020-10-26 14:51:00 +0000
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
68
57
  Processing by AuthenticationsController#callback as HTML
69
- Parameters: {"code"=>"N3zgRiV63CM3n82JL5m4VJybtab5jqD9T8rdOUfOjfQ", "state"=>"44c677e6a122e188c1897be58e35ca209ce417e5a7a5b5d0"}
58
+ Parameters: {"code"=>"HQu4HfZ5_JyPXL_xiqzqu8WH-O2VYS6ByXhPZb8qozI", "state"=>"945471eade7f33de534ef590c1b5141e51c9368fa4a05f22"}
70
59
  Authenticating with gds_sso strategy
71
60
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
72
61
   (0.0ms) begin transaction
73
62
   (0.0ms) commit transaction
74
63
   (0.0ms) begin transaction
75
64
   (0.0ms) commit transaction
76
- Redirected to http://www.example-client.com/this_requires_signin_permission
77
- Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
78
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-10-26 14:51:00 +0000
79
- Processing by ExampleController#this_requires_signin_permission as HTML
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
80
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]]
81
70
  Rendering text template
82
71
  Rendered text template (0.0ms)
83
72
  Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
84
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-10-26 14:51:00 +0000
85
- Processing by ExampleController#this_requires_signin_permission as HTML
73
+ Started GET "/restricted" for 127.0.0.1 at 2020-11-12 10:32:05 +0000
74
+ Processing by ExampleController#restricted as HTML
86
75
  Authenticating with gds_sso strategy
87
76
  Completed in 0ms (ActiveRecord: 0.0ms)
88
- Started GET "/auth/gds" for 127.0.0.1 at 2020-10-26 14:51:00 +0000
89
- Started GET "/auth/gds/callback?code=QvJd4HB0b8Qg-S6I1iAFJ4yp6HTUHa-BoZ1x1dud5J8&state=0e6eb994121ee71c83cb083646a8529a53e979e1262f8742" for 127.0.0.1 at 2020-10-26 14:51:00 +0000
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
90
79
  Processing by AuthenticationsController#callback as HTML
91
- Parameters: {"code"=>"QvJd4HB0b8Qg-S6I1iAFJ4yp6HTUHa-BoZ1x1dud5J8", "state"=>"0e6eb994121ee71c83cb083646a8529a53e979e1262f8742"}
80
+ Parameters: {"code"=>"AUnQQZ_9tC8EUE2rMN5XRT0QB0FOO_-0HM1ThO_nXnQ", "state"=>"17587a8a3db3d14cad9aaedc4af64e34ca19e8f354533278"}
92
81
  Authenticating with gds_sso strategy
93
82
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
94
83
   (0.0ms) begin transaction
95
84
   (0.0ms) commit transaction
96
85
   (0.0ms) begin transaction
97
86
   (0.0ms) commit transaction
98
- Redirected to http://www.example-client.com/this_requires_signin_permission
87
+ Redirected to http://www.example-client.com/restricted
99
88
  Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
100
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-10-26 14:51:00 +0000
101
- Processing by ExampleController#this_requires_signin_permission as HTML
89
+ Started GET "/restricted" for 127.0.0.1 at 2020-11-12 10:32:05 +0000
90
+ Processing by ExampleController#restricted as HTML
102
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]]
103
92
  Rendering text template
104
93
  Rendered text template (0.0ms)
105
94
  Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
106
- Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:00 +0000
107
- Processing by ExampleController#restricted as HTML
95
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-11-12 10:32:05 +0000
96
+ Processing by ExampleController#this_requires_signin_permission as HTML
108
97
  Authenticating with gds_sso strategy
109
98
  Completed in 0ms (ActiveRecord: 0.0ms)
110
- Started GET "/auth/gds" for 127.0.0.1 at 2020-10-26 14:51:00 +0000
111
- Started GET "/auth/gds/callback?code=t3e9CdalZQIChrxQZWpw0C4kcAIpf4dCS7G1hh65b3o&state=38ba7880dfb04b0b344a5cc201d904c51afc8bcfaf4444cf" for 127.0.0.1 at 2020-10-26 14:51:00 +0000
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
112
101
  Processing by AuthenticationsController#callback as HTML
113
- Parameters: {"code"=>"t3e9CdalZQIChrxQZWpw0C4kcAIpf4dCS7G1hh65b3o", "state"=>"38ba7880dfb04b0b344a5cc201d904c51afc8bcfaf4444cf"}
102
+ Parameters: {"code"=>"1CtGZRB7EoILhKwm5T8pJMczSm4Qj5lVHPRBUn53p6E", "state"=>"0c7ec196e38964fd235cc8d0cd571c582005e878bd9d753e"}
114
103
  Authenticating with gds_sso strategy
115
104
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
116
105
   (0.0ms) begin transaction
117
106
   (0.0ms) commit transaction
118
107
   (0.0ms) begin transaction
119
108
   (0.0ms) commit transaction
120
- Redirected to http://www.example-client.com/restricted
109
+ Redirected to http://www.example-client.com/this_requires_signin_permission
121
110
  Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
122
- Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:00 +0000
123
- Processing by ExampleController#restricted as HTML
111
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-11-12 10:32:05 +0000
112
+ Processing by ExampleController#this_requires_signin_permission as HTML
124
113
  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]]
125
114
  Rendering text template
126
115
  Rendered text template (0.0ms)
127
116
  Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
128
- Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:00 +0000
129
- Processing by ExampleController#restricted as HTML
117
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-11-12 10:32:05 +0000
118
+ Processing by ExampleController#this_requires_signin_permission as HTML
130
119
  Authenticating with gds_sso strategy
131
120
  Completed in 0ms (ActiveRecord: 0.0ms)
132
- Started GET "/auth/gds" for 127.0.0.1 at 2020-10-26 14:51:00 +0000
133
- Started GET "/auth/gds/callback?code=2YP0egP8EK9BjzxAFLSlCetha4Lpip5E3_0-aCoT2vw&state=320c0056d754ab4a4a58c33809306ce636054ce148fd3f62" for 127.0.0.1 at 2020-10-26 14:51:00 +0000
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
134
123
  Processing by AuthenticationsController#callback as HTML
135
- Parameters: {"code"=>"2YP0egP8EK9BjzxAFLSlCetha4Lpip5E3_0-aCoT2vw", "state"=>"320c0056d754ab4a4a58c33809306ce636054ce148fd3f62"}
124
+ Parameters: {"code"=>"RDemX4a8LVpRvLcJVG2Ql1RALzX0HJUN9OI443G-Kps", "state"=>"60b8b1b6856d89aaf3c4312032c3188cda205aaa43a3076c"}
136
125
  Authenticating with gds_sso strategy
137
126
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
138
127
   (0.0ms) begin transaction
139
128
   (0.0ms) commit transaction
140
129
   (0.0ms) begin transaction
141
130
   (0.0ms) commit transaction
142
- Redirected to http://www.example-client.com/restricted
143
- Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
144
- Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:00 +0000
145
- Processing by ExampleController#restricted as HTML
131
+ 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
134
+ Processing by ExampleController#this_requires_signin_permission as HTML
146
135
  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]]
147
136
  Rendering text template
148
137
  Rendered text template (0.0ms)
149
138
  Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
150
- Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:00 +0000
139
+ Started GET "/restricted" for 127.0.0.1 at 2020-11-12 10:32:05 +0000
151
140
  Processing by ExampleController#restricted as HTML
152
141
  Authenticating with gds_sso strategy
153
142
  Completed in 0ms (ActiveRecord: 0.0ms)
154
- Started GET "/auth/gds" for 127.0.0.1 at 2020-10-26 14:51:00 +0000
155
- Started GET "/auth/gds/callback?code=hLgxcit_ayAHov_NJbBYdr6FHspd3885lUbCY_kbD_A&state=90adbdefeb4f7bd88b3c95756a7bbda0f791377ed8063fcd" for 127.0.0.1 at 2020-10-26 14:51:00 +0000
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
156
145
  Processing by AuthenticationsController#callback as HTML
157
- Parameters: {"code"=>"hLgxcit_ayAHov_NJbBYdr6FHspd3885lUbCY_kbD_A", "state"=>"90adbdefeb4f7bd88b3c95756a7bbda0f791377ed8063fcd"}
146
+ Parameters: {"code"=>"FIZMBuhnhOWKBPSjBM3EOHK_0LjsIiNxYFkpfqZdLs4", "state"=>"9f913a1df9f8a84c13701c343414808c965bb311d5f4b131"}
158
147
  Authenticating with gds_sso strategy
159
148
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
160
149
   (0.0ms) begin transaction
@@ -163,20 +152,20 @@ Authenticating with gds_sso strategy
163
152
   (0.0ms) commit transaction
164
153
  Redirected to http://www.example-client.com/restricted
165
154
  Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
166
- Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:00 +0000
155
+ Started GET "/restricted" for 127.0.0.1 at 2020-11-12 10:32:05 +0000
167
156
  Processing by ExampleController#restricted as HTML
168
157
  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]]
169
158
  Rendering text template
170
159
  Rendered text template (0.0ms)
171
160
  Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
172
- Started GET "/restricted" for 127.0.0.1 at 2020-10-27 10:56:00 +0000
161
+ Started GET "/restricted" for 127.0.0.1 at 2020-11-13 06:37:05 +0000
173
162
  Processing by ExampleController#restricted as HTML
174
163
  Authenticating with gds_sso strategy
175
164
  Completed in 0ms (ActiveRecord: 0.0ms)
176
- Started GET "/auth/gds" for 127.0.0.1 at 2020-10-27 10:56:00 +0000
177
- Started GET "/auth/gds/callback?code=L9OOGVZzZXA-A8yjejj5D-a6TMKqHAU0R2KzZpDfA-Y&state=940afe6d5b93445643da282f1a71fcd431d61585e8a93515" for 127.0.0.1 at 2020-10-27 10:56:00 +0000
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
178
167
  Processing by AuthenticationsController#callback as HTML
179
- Parameters: {"code"=>"L9OOGVZzZXA-A8yjejj5D-a6TMKqHAU0R2KzZpDfA-Y", "state"=>"940afe6d5b93445643da282f1a71fcd431d61585e8a93515"}
168
+ Parameters: {"code"=>"26_VObzk6RBl1Y-JlmmZrX2aS1Uw5JDuAF_nX_R0FmA", "state"=>"c8cefbd613f62c391f9f8f0d2aabd6b996ac4b2ded556553"}
180
169
  Authenticating with gds_sso strategy
181
170
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
182
171
   (0.0ms) begin transaction
@@ -185,20 +174,20 @@ Authenticating with gds_sso strategy
185
174
   (0.0ms) commit transaction
186
175
  Redirected to http://www.example-client.com/restricted
187
176
  Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
188
- Started GET "/restricted" for 127.0.0.1 at 2020-10-27 10:56:00 +0000
177
+ Started GET "/restricted" for 127.0.0.1 at 2020-11-13 06:37:05 +0000
189
178
  Processing by ExampleController#restricted as HTML
190
179
  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]]
191
180
  Rendering text template
192
181
  Rendered text template (0.0ms)
193
182
  Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
194
- Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:00 +0000
183
+ Started GET "/restricted" for 127.0.0.1 at 2020-11-12 10:32:05 +0000
195
184
  Processing by ExampleController#restricted as HTML
196
185
  Authenticating with gds_sso strategy
197
186
  Completed in 0ms (ActiveRecord: 0.0ms)
198
- Started GET "/auth/gds" for 127.0.0.1 at 2020-10-26 14:51:00 +0000
199
- Started GET "/auth/gds/callback?code=5ic6sOKhJSYDURBYZoFJHexP5G2bfXJjIV79xqDNFJ4&state=80aabeb7042e4b14007db50f5bbedc7f49363322faeb15c9" for 127.0.0.1 at 2020-10-26 14:51:00 +0000
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
200
189
  Processing by AuthenticationsController#callback as HTML
201
- Parameters: {"code"=>"5ic6sOKhJSYDURBYZoFJHexP5G2bfXJjIV79xqDNFJ4", "state"=>"80aabeb7042e4b14007db50f5bbedc7f49363322faeb15c9"}
190
+ Parameters: {"code"=>"hAUGN0xz6HMlqKeRf5EVdAU6Csrq5w-KdOs5G4feXhE", "state"=>"cda48ce98ff81369f2f1591082c856bf36436aa8c937f226"}
202
191
  Authenticating with gds_sso strategy
203
192
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
204
193
   (0.0ms) begin transaction
@@ -206,27 +195,26 @@ Authenticating with gds_sso strategy
206
195
   (0.0ms) begin transaction
207
196
   (0.0ms) commit transaction
208
197
  Redirected to http://www.example-client.com/restricted
209
- Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
210
- Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:00 +0000
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
211
200
  Processing by ExampleController#restricted as HTML
212
201
  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]]
213
202
  Rendering text template
214
203
  Rendered text template (0.0ms)
215
204
  Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
216
- Started GET "/restricted" for 127.0.0.1 at 2020-10-27 10:46:00 +0000
205
+ Started GET "/restricted" for 127.0.0.1 at 2020-11-13 06:37:05 +0000
217
206
  Processing by ExampleController#restricted as HTML
218
- 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]]
219
- Rendering text template
220
- Rendered text template (0.0ms)
221
- Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.1ms)
222
- Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:00 +0000
207
+ Authenticating with gds_sso strategy
208
+ 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
223
211
  Processing by ExampleController#restricted as HTML
224
212
  Authenticating with gds_sso strategy
225
213
  Completed in 0ms (ActiveRecord: 0.0ms)
226
- Started GET "/auth/gds" for 127.0.0.1 at 2020-10-26 14:51:00 +0000
227
- Started GET "/auth/gds/callback?code=5unc36p8g7n2ZSWxVmKzQJqtfQHU46Ize10_86EatxE&state=e66c42d4403f0a73e63f057037a7b9a79659047a0281a7c5" for 127.0.0.1 at 2020-10-26 14:51:01 +0000
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
228
216
  Processing by AuthenticationsController#callback as HTML
229
- Parameters: {"code"=>"5unc36p8g7n2ZSWxVmKzQJqtfQHU46Ize10_86EatxE", "state"=>"e66c42d4403f0a73e63f057037a7b9a79659047a0281a7c5"}
217
+ Parameters: {"code"=>"jzQ_soaIJj0BbRtVxufZawXPKlymKyS57UXpUCIAbZ8", "state"=>"ca89992b2febaaadde9833cd1b48a7778da175aabaea6882"}
230
218
  Authenticating with gds_sso strategy
231
219
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
232
220
   (0.0ms) begin transaction
@@ -234,26 +222,27 @@ Authenticating with gds_sso strategy
234
222
   (0.0ms) begin transaction
235
223
   (0.0ms) commit transaction
236
224
  Redirected to http://www.example-client.com/restricted
237
- Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
238
- Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:01 +0000
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
239
227
  Processing by ExampleController#restricted as HTML
240
228
  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]]
241
229
  Rendering text template
242
230
  Rendered text template (0.0ms)
243
231
  Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
244
- Started GET "/restricted" for 127.0.0.1 at 2020-10-27 10:56:01 +0000
232
+ Started GET "/restricted" for 127.0.0.1 at 2020-11-13 06:27:05 +0000
245
233
  Processing by ExampleController#restricted as HTML
246
- Authenticating with gds_sso strategy
247
- Completed in 0ms (ActiveRecord: 0.0ms)
248
- Started GET "/auth/gds" for 127.0.0.1 at 2020-10-27 10:56:01 +0000
249
- Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:01 +0000
234
+ 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
+ Rendering text template
236
+ Rendered text template (0.0ms)
237
+ 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
250
239
  Processing by ExampleController#restricted as HTML
251
240
  Authenticating with gds_sso strategy
252
241
  Completed in 0ms (ActiveRecord: 0.0ms)
253
- Started GET "/auth/gds" for 127.0.0.1 at 2020-10-26 14:51:01 +0000
254
- Started GET "/auth/gds/callback?code=9DCTU1hpKPN8xOmtADg00cg7HVlQHEgSIs_qH8_8eQg&state=ba7a01e8e51a2c83e7c233d7757fce6ecc8d35737dca4067" for 127.0.0.1 at 2020-10-26 14:51:01 +0000
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
255
244
  Processing by AuthenticationsController#callback as HTML
256
- Parameters: {"code"=>"9DCTU1hpKPN8xOmtADg00cg7HVlQHEgSIs_qH8_8eQg", "state"=>"ba7a01e8e51a2c83e7c233d7757fce6ecc8d35737dca4067"}
245
+ Parameters: {"code"=>"SZNqlD2FYsafU_1ga-FRwrfPsWhP6Pdm4cBTuOz_5WU", "state"=>"95a8cee2cc73eb937159df1bfaa0d40f15a1be654454bdee"}
257
246
  Authenticating with gds_sso strategy
258
247
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
259
248
   (0.0ms) begin transaction
@@ -261,8 +250,8 @@ Authenticating with gds_sso strategy
261
250
   (0.0ms) begin transaction
262
251
   (0.0ms) commit transaction
263
252
  Redirected to http://www.example-client.com/restricted
264
- Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
265
- Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:01 +0000
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
266
255
  Processing by ExampleController#restricted as HTML
267
256
  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]]
268
257
  Rendering text template
@@ -270,38 +259,48 @@ Processing by ExampleController#restricted as HTML
270
259
  Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
271
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]]
272
261
   (0.0ms) begin transaction
273
- User Update (0.2ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 3]]
274
-  (6.6ms) commit transaction
275
- Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:01 +0000
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
276
265
  Processing by ExampleController#restricted as HTML
277
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]]
278
267
  Authenticating with gds_sso strategy
279
268
  Completed in 1ms (ActiveRecord: 0.1ms)
280
- Started GET "/auth/gds" for 127.0.0.1 at 2020-10-26 14:51:01 +0000
281
- Started GET "/auth/gds/callback?code=eXlvYYRe2IqnS8eEnMRI7woLmtLres33w6NsssIPWfM&state=553b4734786e1342b14853bfac88a9c543fbe33785db4164" for 127.0.0.1 at 2020-10-26 14:51:01 +0000
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
282
271
  Processing by AuthenticationsController#callback as HTML
283
- Parameters: {"code"=>"eXlvYYRe2IqnS8eEnMRI7woLmtLres33w6NsssIPWfM", "state"=>"553b4734786e1342b14853bfac88a9c543fbe33785db4164"}
272
+ Parameters: {"code"=>"RQ2ThU1DueOwCsZdjd_OZ0rVk1vGzPqZOagymAbZ0_w", "state"=>"e249b10a822052ce494798d77cd21a4d4c34dac68870ee4a"}
284
273
  Authenticating with gds_sso strategy
285
274
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
286
275
   (0.0ms) begin transaction
287
-  (0.1ms) commit transaction
276
+  (0.0ms) commit transaction
288
277
   (0.0ms) begin transaction
289
- User Update (0.2ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "f"], ["id", 3]]
290
-  (4.5ms) commit 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
291
280
  Redirected to http://www.example-client.com/restricted
292
- Completed 302 Found in 7ms (ActiveRecord: 4.9ms)
293
- Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:01 +0000
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
294
283
  Processing by ExampleController#restricted as HTML
295
284
  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]]
296
285
  Rendering text template
297
286
  Rendered text template (0.0ms)
298
287
  Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
299
- Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:01 +0000
288
+ Started GET "/restricted" for 127.0.0.1 at 2020-11-12 10:32:05 +0000
289
+ Processing by ExampleController#restricted as HTML
290
+ Authenticating with gds_sso strategy
291
+ Completed in 0ms (ActiveRecord: 0.0ms)
292
+ Started GET "/restricted" for 127.0.0.1 at 2020-11-12 10:32:05 +0000
293
+ Processing by ExampleController#restricted as JSON
294
+ Completed in 9ms (ActiveRecord: 0.0ms)
295
+ Started GET "/restricted" for 127.0.0.1 at 2020-11-12 10:32:05 +0000
296
+ Processing by ExampleController#restricted as JSON
297
+ Completed in 12ms (ActiveRecord: 0.0ms)
298
+ Started GET "/restricted" for 127.0.0.1 at 2020-11-12 10:32:05 +0000
300
299
  Processing by ExampleController#restricted as JSON
301
300
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
302
301
   (0.0ms) begin transaction
303
- User Update (0.2ms) UPDATE "users" SET "disabled" = ? WHERE "users"."id" = ? [["disabled", nil], ["id", 3]]
304
-  (6.5ms) commit transaction
302
+ User Update (0.2ms) UPDATE "users" SET "disabled" = ? WHERE "users"."id" = ? [["disabled", nil], ["id", 2]]
303
+  (4.2ms) commit transaction
305
304
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
306
305
   (0.0ms) begin transaction
307
306
   (0.0ms) commit transaction
@@ -315,11 +314,8 @@ Processing by ExampleController#restricted as JSON
315
314
   (0.0ms) commit transaction
316
315
  Rendering text template
317
316
  Rendered text template (0.0ms)
318
- Completed 200 OK in 21ms (Views: 0.2ms | ActiveRecord: 7.1ms)
319
- Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:01 +0000
320
- Processing by ExampleController#restricted as JSON
321
- Completed in 12ms (ActiveRecord: 0.0ms)
322
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-10-26 14:51:01 +0000
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
323
319
  Processing by ExampleController#this_requires_signin_permission as JSON
324
320
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
325
321
   (0.0ms) begin transaction
@@ -338,360 +334,318 @@ Processing by ExampleController#this_requires_signin_permission as JSON
338
334
  Rendering text template
339
335
  Rendered text template (0.0ms)
340
336
  Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.4ms)
341
- Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:01 +0000
342
- Processing by ExampleController#restricted as JSON
343
- Completed in 7ms (ActiveRecord: 0.0ms)
344
-  (0.0ms) begin transaction
345
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d36751"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
346
-  (7.0ms) commit transaction
347
-  (0.0ms) begin transaction
348
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d37112"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
349
-  (6.0ms) commit transaction
350
- Processing by Api::UserController#reauth as HTML
351
- Parameters: {"uid"=>"a1s2d36751"}
352
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "a1s2d36751"], ["LIMIT", 1]]
353
-  (0.0ms) begin transaction
354
- User Update (0.2ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 4]]
355
-  (4.6ms) commit transaction
356
- Completed 200 OK in 6ms (ActiveRecord: 4.9ms)
357
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]]
358
-  (0.0ms) begin transaction
359
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d39451"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
360
-  (9.7ms) commit transaction
361
-  (0.0ms) begin transaction
362
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d38478"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
363
-  (15.0ms) commit transaction
364
- Processing by Api::UserController#reauth as HTML
365
- Parameters: {"uid"=>"nonexistent-user"}
366
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "nonexistent-user"], ["LIMIT", 1]]
367
- Completed 200 OK in 1ms (ActiveRecord: 0.1ms)
368
-  (0.0ms) begin transaction
369
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d36453"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
370
-  (4.2ms) commit transaction
371
337
   (0.0ms) begin transaction
372
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d3600"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
373
-  (4.5ms) commit transaction
374
- Processing by Api::UserController#reauth as HTML
375
- Parameters: {"uid"=>"a1s2d36453"}
376
- Rendering /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
377
- Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
378
- Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
379
- Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
380
- Completed 403 Forbidden in 3ms (Views: 3.1ms | ActiveRecord: 0.0ms)
381
-  (0.0ms) begin transaction
382
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d37723"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
383
-  (5.4ms) commit 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
384
340
   (0.0ms) begin transaction
385
- User Create (0.1ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d36478"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
386
-  (4.2ms) commit 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
387
343
  Processing by Api::UserController#update as HTML
388
- Parameters: {"uid"=>"a1s2d37723"}
389
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "a1s2d37723"], ["LIMIT", 1]]
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]]
390
346
   (0.0ms) begin transaction
391
- User Update (0.2ms) UPDATE "users" SET "email" = ?, "name" = ?, "permissions" = ?, "organisation_slug" = ?, "organisation_content_id" = ? WHERE "users"."id" = ? [["email", "user@domain.com"], ["name", "Joshua Marshall"], ["permissions", "---\n- signin\n- new permission\n"], ["organisation_slug", "justice-league"], ["organisation_content_id", "aae1319e-5788-4677-998c-f1a53af528d0"], ["id", 10]]
392
-  (4.2ms) commit transaction
393
- Completed 200 OK in 6ms (ActiveRecord: 4.5ms)
394
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 10], ["LIMIT", 1]]
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]]
395
351
   (0.0ms) begin transaction
396
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d31835"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
397
-  (5.2ms) commit 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
398
354
   (0.0ms) begin transaction
399
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d34167"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
400
-  (4.0ms) commit 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
401
357
  Processing by Api::UserController#update as HTML
402
- Parameters: {"uid"=>"a1s2d31835"}
358
+ Parameters: {"uid"=>"a1s2d33333"}
403
359
  Rendering /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
404
360
  Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
405
- Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.1ms)
361
+ Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
406
362
  Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
407
- Completed 403 Forbidden in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
408
-  (1.0ms) SELECT sqlite_version(*)
409
-  (0.0ms) SELECT sqlite_version(*)
410
-  (0.1ms) DROP TABLE IF EXISTS "users"
411
-  (8.5ms) CREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "uid" varchar NOT NULL, "email" varchar NOT NULL, "remotely_signed_out" boolean, "permissions" text, "organisation_slug" varchar, "organisation_content_id" varchar, "disabled" boolean DEFAULT 0)
412
-  (6.2ms) 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
-  (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-10-26 14:51:09.395508"], ["updated_at", "2020-10-26 14:51:09.395508"]]
416
-  (5.1ms) commit transaction
417
-  (4.2ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
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
-  (0.1ms) SELECT sqlite_version(*)
363
+ Completed 403 Forbidden in 3ms (Views: 3.2ms | ActiveRecord: 0.0ms)
420
364
   (0.0ms) begin transaction
421
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d3521"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
422
-  (8.8ms) commit 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
423
367
   (0.0ms) begin transaction
424
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d31612"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
425
-  (9.4ms) commit 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
426
370
  Processing by Api::UserController#reauth as HTML
427
- Parameters: {"uid"=>"a1s2d3521"}
428
- Rendering /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
429
- Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
430
- Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (Duration: 0.5ms | Allocations: 266)
431
- Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
432
- Completed 403 Forbidden in 5ms (Views: 3.6ms | ActiveRecord: 0.0ms | Allocations: 3270)
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)
433
374
   (0.0ms) begin transaction
434
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d35772"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
435
-  (5.7ms) commit 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
436
377
   (0.0ms) begin transaction
437
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d39235"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
438
-  (7.3ms) commit 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
439
380
  Processing by Api::UserController#reauth as HTML
440
- Parameters: {"uid"=>"a1s2d35772"}
441
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "a1s2d35772"], ["LIMIT", 1]]
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]]
442
383
   (0.0ms) begin transaction
443
- User Update (0.1ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", 1], ["id", 3]]
444
-  (7.3ms) commit transaction
445
- Completed 200 OK in 10ms (ActiveRecord: 7.7ms | Allocations: 1138)
446
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]]
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]]
447
388
   (0.0ms) begin transaction
448
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d35156"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
449
-  (7.9ms) commit 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
450
391
   (0.0ms) begin transaction
451
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d34813"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
452
-  (5.1ms) commit 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
453
394
  Processing by Api::UserController#reauth as HTML
454
- Parameters: {"uid"=>"nonexistent-user"}
455
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "nonexistent-user"], ["LIMIT", 1]]
456
- Completed 200 OK in 1ms (ActiveRecord: 0.1ms | Allocations: 521)
457
-  (0.0ms) begin transaction
458
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d34405"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
459
-  (5.0ms) commit transaction
460
-  (0.0ms) begin transaction
461
- User Create (0.1ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d3951"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
462
-  (7.0ms) commit transaction
463
- Processing by Api::UserController#update as HTML
464
- Parameters: {"uid"=>"a1s2d34405"}
465
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "a1s2d34405"], ["LIMIT", 1]]
466
-  (0.0ms) begin transaction
467
- 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", 7]]
468
-  (6.3ms) commit transaction
469
- Completed 200 OK in 8ms (ActiveRecord: 6.6ms | Allocations: 1284)
470
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 7], ["LIMIT", 1]]
471
-  (0.0ms) begin transaction
472
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d34335"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
473
-  (9.8ms) commit transaction
474
-  (0.0ms) begin transaction
475
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d39368"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
476
-  (7.4ms) commit transaction
477
- Processing by Api::UserController#update as HTML
478
- Parameters: {"uid"=>"a1s2d34335"}
395
+ Parameters: {"uid"=>"a1s2d37217"}
479
396
  Rendering /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
480
397
  Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
481
- Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (Duration: 0.1ms | Allocations: 56)
398
+ Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.1ms)
482
399
  Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
483
- Completed 403 Forbidden in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms | Allocations: 514)
484
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "dummyapiuser@domain.com"], ["LIMIT", 1]]
400
+ Completed 403 Forbidden in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
401
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "dummyapiuser@domain.com"], ["LIMIT", 1]]
485
402
   (0.0ms) begin transaction
486
- User Create (0.1ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Dummy API user created by gds-sso"], ["uid", "3749"], ["email", "dummyapiuser@domain.com"], ["permissions", "---\n- signin\n"]]
487
-  (11.3ms) commit 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
488
405
   (0.0ms) begin transaction
489
- User Update (0.1ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = ? [["permissions", "---\n- signin\n- extra_permission\n"], ["id", 11]]
490
-  (13.2ms) commit transaction
491
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "asd"], ["LIMIT", 1]]
492
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "user@example.com"], ["LIMIT", 1]]
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(*)
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]]
493
414
   (0.0ms) begin transaction
494
- 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]]
495
-  (6.9ms) commit transaction
496
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "asd"], ["LIMIT", 1]]
497
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
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)
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
+  (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
498
456
  Processing by ExampleController#this_requires_signin_permission as HTML
499
457
  Authenticating with gds_sso strategy
500
- Completed in 4ms (ActiveRecord: 0.0ms | Allocations: 161)
501
- Started GET "/auth/gds" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
502
- Started GET "/auth/gds/callback?code=CcfEoM1MpM4hcEeZL5WZUmoWjkNxiM0Oa1L7rWJLKBs&state=156fe842e93761b639e9a74480699111a72a9be4a4fc1e17" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
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
503
461
  Processing by AuthenticationsController#callback as HTML
504
- Parameters: {"code"=>"CcfEoM1MpM4hcEeZL5WZUmoWjkNxiM0Oa1L7rWJLKBs", "state"=>"156fe842e93761b639e9a74480699111a72a9be4a4fc1e17"}
462
+ Parameters: {"code"=>"srXYSBvTu72UJ7Og8FuUhHRBqNThnT4qITqjSEPIKVw", "state"=>"2b20dabab07dbad4094502db8c781d0b5f3cbcb3822c0898"}
505
463
  Authenticating with gds_sso strategy
506
464
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
507
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "test@example-client.com"], ["LIMIT", 1]]
508
-  (0.0ms) begin transaction
509
- 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"]]
510
-  (5.3ms) commit transaction
511
-  (0.0ms) begin transaction
512
- User Update (0.1ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", 0], ["id", 13]]
513
-  (4.2ms) commit transaction
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
514
468
  Redirected to http://www.example-client.com/this_requires_signin_permission
515
- Completed 302 Found in 13ms (ActiveRecord: 10.1ms | Allocations: 1593)
516
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
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
517
471
  Processing by ExampleController#this_requires_signin_permission as HTML
518
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]]
519
473
  Rendering text template
520
474
  Rendered text template (Duration: 0.0ms | Allocations: 1)
521
- Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.2ms | Allocations: 1054)
522
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
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
523
477
  Processing by ExampleController#this_requires_signin_permission as HTML
524
478
  Authenticating with gds_sso strategy
525
- Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 112)
526
- Started GET "/auth/gds" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
527
- Started GET "/auth/gds/callback?code=P_GEjdhe51Awp_rBVMBHcqmzzX64bBiYtbzHlOCLd1A&state=a3e67583ddbdc93e9a05d777b9f8f47211da874e1bf08a89" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
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
528
482
  Processing by AuthenticationsController#callback as HTML
529
- Parameters: {"code"=>"P_GEjdhe51Awp_rBVMBHcqmzzX64bBiYtbzHlOCLd1A", "state"=>"a3e67583ddbdc93e9a05d777b9f8f47211da874e1bf08a89"}
483
+ Parameters: {"code"=>"0CxzI6k3zVjr5rxxgDXQiWCtC2R-o2VhG2d8XgIAHFA", "state"=>"836f493fba3c3387c37639b4d553f53149c5da47d2cccd15"}
530
484
  Authenticating with gds_sso strategy
531
485
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
532
486
  Redirected to http://www.example-client.com/this_requires_signin_permission
533
- Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 1019)
534
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
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
535
489
  Processing by ExampleController#this_requires_signin_permission as HTML
536
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]]
537
491
  Rendering text template
538
492
  Rendered text template (Duration: 0.0ms | Allocations: 1)
539
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 709)
540
- Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
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
541
500
  Processing by ExampleController#restricted as HTML
542
501
  Authenticating with gds_sso strategy
543
502
  Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 112)
544
- Started GET "/auth/gds" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
545
- Started GET "/auth/gds/callback?code=vw71a-deJx87P19bBjLXxD9r3B3vPQRW7movQkxVyg4&state=f086f068f227e08a5a6c23086c801305a3bf33eacae3c724" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
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
546
505
  Processing by AuthenticationsController#callback as HTML
547
- Parameters: {"code"=>"vw71a-deJx87P19bBjLXxD9r3B3vPQRW7movQkxVyg4", "state"=>"f086f068f227e08a5a6c23086c801305a3bf33eacae3c724"}
506
+ Parameters: {"code"=>"Iz5nOitBLHp7KxR8Pt-fgrHlvrAi0-lpKoIx0ltMjYE", "state"=>"f1ca5624f3ee5b6971cc25a4b0497603453c3e7d74d6c8aa"}
548
507
  Authenticating with gds_sso strategy
549
508
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
550
509
  Redirected to http://www.example-client.com/restricted
551
510
  Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 1015)
552
- Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
511
+ Started GET "/restricted" for 127.0.0.1 at 2020-11-12 10:32:15 +0000
553
512
  Processing by ExampleController#restricted as HTML
554
513
  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]]
555
514
  Rendering text template
556
515
  Rendered text template (Duration: 0.0ms | Allocations: 1)
557
516
  Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 706)
558
- Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
517
+ Started GET "/restricted" for 127.0.0.1 at 2020-11-12 10:32:15 +0000
559
518
  Processing by ExampleController#restricted as HTML
560
519
  Authenticating with gds_sso strategy
561
520
  Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 112)
562
- Started GET "/auth/gds" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
563
- Started GET "/auth/gds/callback?code=gKSQCO3T605t6Bd3ty3fTGxwcWnUBnKKQ0WS_qsE9Sg&state=85c6bc6df2137b74f313bcab3e7fe9a031c3961c98396d4b" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
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
564
523
  Processing by AuthenticationsController#callback as HTML
565
- Parameters: {"code"=>"gKSQCO3T605t6Bd3ty3fTGxwcWnUBnKKQ0WS_qsE9Sg", "state"=>"85c6bc6df2137b74f313bcab3e7fe9a031c3961c98396d4b"}
524
+ Parameters: {"code"=>"B3BuYPBZEotkDsqg4MOOL2pJJ-pHdaMLDvyEM-BROY0", "state"=>"4d628a5028720601c07e110d8d6a7b14352fbb9c66116040"}
566
525
  Authenticating with gds_sso strategy
567
526
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
568
527
  Redirected to http://www.example-client.com/restricted
569
528
  Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 1015)
570
- Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
529
+ Started GET "/restricted" for 127.0.0.1 at 2020-11-12 10:32:15 +0000
571
530
  Processing by ExampleController#restricted as HTML
572
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]]
573
532
  Rendering text template
574
533
  Rendered text template (Duration: 0.0ms | Allocations: 1)
575
534
  Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 706)
576
- Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
535
+ Started GET "/restricted" for 127.0.0.1 at 2020-11-12 10:32:15 +0000
577
536
  Processing by ExampleController#restricted as HTML
578
537
  Authenticating with gds_sso strategy
579
538
  Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 112)
580
- Started GET "/auth/gds" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
581
- Started GET "/auth/gds/callback?code=BnFkDrfN9Z2hyimBvnmSqcPfovbOQyFvaIG9cohTHfM&state=ebc1316410d9746f3da5be6009e776a648c23afa996ed286" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
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
582
541
  Processing by AuthenticationsController#callback as HTML
583
- Parameters: {"code"=>"BnFkDrfN9Z2hyimBvnmSqcPfovbOQyFvaIG9cohTHfM", "state"=>"ebc1316410d9746f3da5be6009e776a648c23afa996ed286"}
542
+ Parameters: {"code"=>"IYOPumcGKabbiiWC2Z3cjH-232JwXRSggWUT-vpO4og", "state"=>"2360f9dd34bd135a3b7492b01315de010f0727e160dcc8a3"}
584
543
  Authenticating with gds_sso strategy
585
544
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
586
545
  Redirected to http://www.example-client.com/restricted
587
546
  Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 1015)
588
- Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
547
+ Started GET "/restricted" for 127.0.0.1 at 2020-11-12 10:32:15 +0000
589
548
  Processing by ExampleController#restricted as HTML
590
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]]
591
550
  Rendering text template
592
551
  Rendered text template (Duration: 0.0ms | Allocations: 1)
593
552
  Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 706)
594
- Started GET "/" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
595
- Processing by ExampleController#index as HTML
596
- Rendering text template
597
- Rendered text template (Duration: 0.0ms | Allocations: 1)
598
- Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms | Allocations: 153)
599
- Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
553
+ Started GET "/restricted" for 127.0.0.1 at 2020-11-12 10:32:15 +0000
600
554
  Processing by ExampleController#restricted as HTML
601
555
  Authenticating with gds_sso strategy
602
556
  Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 112)
603
- Started GET "/auth/gds" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
604
- Started GET "/auth/gds/callback?code=APoibDDfGWp4YOYOb-mlhAGZ4ddhM99vujOTRaNe8fM&state=31b2dd657ea3fb2f658a27903cd6731ae4b5a1b5e4a31a35" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
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
605
559
  Processing by AuthenticationsController#callback as HTML
606
- Parameters: {"code"=>"APoibDDfGWp4YOYOb-mlhAGZ4ddhM99vujOTRaNe8fM", "state"=>"31b2dd657ea3fb2f658a27903cd6731ae4b5a1b5e4a31a35"}
560
+ Parameters: {"code"=>"dd7WTMTQzRavla9oSAM-6SkNB-lDwx5tu1SqdDjAXM8", "state"=>"77b06153e8bf84ade2b87c114163891fcad8b6a2f352834c"}
607
561
  Authenticating with gds_sso strategy
608
562
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
609
563
  Redirected to http://www.example-client.com/restricted
610
564
  Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 1019)
611
- Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
565
+ Started GET "/restricted" for 127.0.0.1 at 2020-11-12 10:32:15 +0000
612
566
  Processing by ExampleController#restricted as HTML
613
567
  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]]
614
568
  Rendering text template
615
569
  Rendered text template (Duration: 0.0ms | Allocations: 1)
616
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 709)
617
- Started GET "/restricted" for 127.0.0.1 at 2020-10-27 10:56:10 +0000
618
- Processing by ExampleController#restricted as HTML
619
- Authenticating with gds_sso strategy
620
- Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 498)
621
- Started GET "/auth/gds" for 127.0.0.1 at 2020-10-27 10:56:10 +0000
622
- Started GET "/auth/gds/callback?code=7K72nCsn8CzZstyeITpn5_tqeSamkl20rDOAnjEAvhE&state=39077c375107ad6496606d3943549c493bdc6ed4fd38c558" for 127.0.0.1 at 2020-10-27 10:56:10 +0000
623
- Processing by AuthenticationsController#callback as HTML
624
- Parameters: {"code"=>"7K72nCsn8CzZstyeITpn5_tqeSamkl20rDOAnjEAvhE", "state"=>"39077c375107ad6496606d3943549c493bdc6ed4fd38c558"}
625
- Authenticating with gds_sso strategy
626
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
627
- Redirected to http://www.example-client.com/restricted
628
- Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 1217)
629
- Started GET "/restricted" for 127.0.0.1 at 2020-10-27 10:56:10 +0000
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
630
572
  Processing by ExampleController#restricted as HTML
631
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]]
632
574
  Rendering text template
633
575
  Rendered text template (Duration: 0.0ms | Allocations: 1)
634
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 931)
635
- Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
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
636
578
  Processing by ExampleController#restricted as HTML
637
579
  Authenticating with gds_sso strategy
638
580
  Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 112)
639
- Started GET "/auth/gds" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
640
- Started GET "/auth/gds/callback?code=IT_etADQWF1aJWi9LF93q_RAkpAR81y52ZPecBrS4RE&state=4cdc532d5e0d6b31f8dd68839f3ab032ebf1396f521219a0" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
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
641
583
  Processing by AuthenticationsController#callback as HTML
642
- Parameters: {"code"=>"IT_etADQWF1aJWi9LF93q_RAkpAR81y52ZPecBrS4RE", "state"=>"4cdc532d5e0d6b31f8dd68839f3ab032ebf1396f521219a0"}
584
+ Parameters: {"code"=>"spI9Ev208uJDeuW4Zi277xAIqcz9JwbtmccuQCHLJzo", "state"=>"b22e0d54c33ea0d6b61c087ce2303c0516f3b776b040b5bf"}
643
585
  Authenticating with gds_sso strategy
644
586
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
645
587
  Redirected to http://www.example-client.com/restricted
646
588
  Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 1015)
647
- Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
589
+ Started GET "/restricted" for 127.0.0.1 at 2020-11-12 10:32:15 +0000
648
590
  Processing by ExampleController#restricted as HTML
649
591
  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]]
650
592
  Rendering text template
651
593
  Rendered text template (Duration: 0.0ms | Allocations: 1)
652
594
  Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 706)
653
- Started GET "/restricted" for 127.0.0.1 at 2020-10-27 10:56:10 +0000
595
+ Started GET "/restricted" for 127.0.0.1 at 2020-11-13 06:37:15 +0000
654
596
  Processing by ExampleController#restricted as HTML
655
597
  Authenticating with gds_sso strategy
656
598
  Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 498)
657
- Started GET "/auth/gds" for 127.0.0.1 at 2020-10-27 10:56:10 +0000
658
- Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
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
659
601
  Processing by ExampleController#restricted as HTML
660
602
  Authenticating with gds_sso strategy
661
603
  Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 112)
662
- Started GET "/auth/gds" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
663
- Started GET "/auth/gds/callback?code=O4wvIT3_l7tiliaqAACJZ20qbUqq_pVNmbXZ7LQb-nw&state=8485936984b0a357019f3679e1a0c3cb257b9125fe85d1c4" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
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
664
606
  Processing by AuthenticationsController#callback as HTML
665
- Parameters: {"code"=>"O4wvIT3_l7tiliaqAACJZ20qbUqq_pVNmbXZ7LQb-nw", "state"=>"8485936984b0a357019f3679e1a0c3cb257b9125fe85d1c4"}
607
+ Parameters: {"code"=>"aduZ12TILcORModTb0MetaQqNQiiFXWiBLJRts0d3PE", "state"=>"5af4bf65767d9f73af83e312a4172954d8477dc5cf857303"}
666
608
  Authenticating with gds_sso strategy
667
609
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
668
610
  Redirected to http://www.example-client.com/restricted
669
611
  Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 1015)
670
- Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
612
+ Started GET "/restricted" for 127.0.0.1 at 2020-11-12 10:32:15 +0000
671
613
  Processing by ExampleController#restricted as HTML
672
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]]
673
615
  Rendering text template
674
616
  Rendered text template (Duration: 0.0ms | Allocations: 1)
675
617
  Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 706)
676
- Started GET "/restricted" for 127.0.0.1 at 2020-10-27 10:46:10 +0000
618
+ Started GET "/restricted" for 127.0.0.1 at 2020-11-13 06:37:15 +0000
619
+ Processing by ExampleController#restricted as HTML
620
+ 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
624
+ Processing by AuthenticationsController#callback as HTML
625
+ Parameters: {"code"=>"id2I3rLT26blOGWhX8ggRaTmvTy7OJyMbq0VclyjTwk", "state"=>"8781f8cb3feeab97486186c1a99055f731c8680fec682d96"}
626
+ Authenticating with gds_sso strategy
627
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
628
+ 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
677
631
  Processing by ExampleController#restricted as HTML
678
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]]
679
633
  Rendering text template
680
634
  Rendered text template (Duration: 0.0ms | Allocations: 1)
681
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 929)
682
- Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
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
683
637
  Processing by ExampleController#restricted as HTML
684
638
  Authenticating with gds_sso strategy
685
639
  Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 112)
686
- Started GET "/auth/gds" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
687
- Started GET "/auth/gds/callback?code=h5AvSzO9-B-1cin-UDSU-p1dIsEbFKeD7lweCROjrho&state=9e8442a545bde8802ef556f04e1c8fdde3db5c75819d3b4c" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
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
688
642
  Processing by AuthenticationsController#callback as HTML
689
- Parameters: {"code"=>"h5AvSzO9-B-1cin-UDSU-p1dIsEbFKeD7lweCROjrho", "state"=>"9e8442a545bde8802ef556f04e1c8fdde3db5c75819d3b4c"}
643
+ Parameters: {"code"=>"vZMnHNeh0h7WY_gr7_B9GlWZe_8_VknXbwf0s4CdbzE", "state"=>"858c414c6d884280aaf5235fcd05fdde077f4f7c433d15c3"}
690
644
  Authenticating with gds_sso strategy
691
645
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
692
646
  Redirected to http://www.example-client.com/restricted
693
647
  Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 1019)
694
- Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
648
+ Started GET "/restricted" for 127.0.0.1 at 2020-11-12 10:32:15 +0000
695
649
  Processing by ExampleController#restricted as HTML
696
650
  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]]
697
651
  Rendering text template
@@ -699,305 +653,335 @@ Processing by ExampleController#restricted as HTML
699
653
  Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 708)
700
654
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "test@example-client.com"], ["LIMIT", 1]]
701
655
   (0.0ms) begin transaction
702
- User Update (0.2ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", 1], ["id", 13]]
703
-  (4.1ms) commit transaction
704
- Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
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
705
659
  Processing by ExampleController#restricted as HTML
706
660
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
707
661
  Authenticating with gds_sso strategy
708
662
  Completed in 1ms (ActiveRecord: 0.1ms | Allocations: 574)
709
- Started GET "/auth/gds" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
710
- Started GET "/auth/gds/callback?code=B40rOBHLorgUVjtPFZSVFMxf4QnH7ryN4p6tUQR1vtg&state=c6e381ce1a1c9c84ae78a3e18e447ad294b0ed65cf25130f" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
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
711
665
  Processing by AuthenticationsController#callback as HTML
712
- Parameters: {"code"=>"B40rOBHLorgUVjtPFZSVFMxf4QnH7ryN4p6tUQR1vtg", "state"=>"c6e381ce1a1c9c84ae78a3e18e447ad294b0ed65cf25130f"}
666
+ Parameters: {"code"=>"CGaosFGi5yWA3aiUhFbxGDPEDk2QPd5HWh0kp0D2ONU", "state"=>"58d7bcf424fb7b8b337d94a30e6c6444eb4b1856e4ae58d1"}
713
667
  Authenticating with gds_sso strategy
714
668
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
715
669
   (0.1ms) begin transaction
716
- User Update (0.2ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", 0], ["id", 13]]
717
-  (5.2ms) commit 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
718
672
  Redirected to http://www.example-client.com/restricted
719
- Completed 302 Found in 8ms (ActiveRecord: 5.5ms | Allocations: 1225)
720
- Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
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
721
675
  Processing by ExampleController#restricted as HTML
722
676
  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]]
723
677
  Rendering text template
724
678
  Rendered text template (Duration: 0.0ms | Allocations: 1)
725
679
  Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 704)
726
- Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
727
- Processing by ExampleController#restricted as JSON
728
- Completed in 14ms (ActiveRecord: 0.0ms | Allocations: 2116)
729
- Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
730
- Processing by ExampleController#restricted as JSON
731
- Completed in 7ms (ActiveRecord: 0.0ms | Allocations: 1871)
732
- Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
733
- Processing by ExampleController#restricted as JSON
734
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
735
-  (0.1ms) begin transaction
736
- User Update (0.2ms) UPDATE "users" SET "disabled" = ? WHERE "users"."id" = ? [["disabled", nil], ["id", 13]]
737
-  (5.2ms) commit transaction
738
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
739
- CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
740
- CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
741
- Rendering text template
742
- Rendered text template (Duration: 0.0ms | Allocations: 1)
743
- Completed 200 OK in 11ms (Views: 0.2ms | ActiveRecord: 5.7ms | Allocations: 3631)
744
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
745
- Processing by ExampleController#this_requires_signin_permission as JSON
746
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
747
- CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
748
- CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
749
- CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
750
- Rendering text template
751
- Rendered text template (Duration: 0.0ms | Allocations: 1)
752
- Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 3319)
753
- Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
754
- Processing by ExampleController#restricted as HTML
755
- Authenticating with gds_sso strategy
756
- Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 114)
757
-  (0.1ms) DROP TABLE IF EXISTS "users"
758
-  (0.9ms) SELECT sqlite_version(*)
759
-  (17.8ms) CREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "uid" varchar NOT NULL, "email" varchar NOT NULL, "remotely_signed_out" boolean, "permissions" text, "organisation_slug" varchar, "organisation_content_id" varchar, "disabled" boolean DEFAULT 'f')
760
-  (8.8ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
761
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
680
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "dummyapiuser@domain.com"], ["LIMIT", 1]]
762
681
   (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-10-26 14:51:15.152563"], ["updated_at", "2020-10-26 14:51:15.152563"]]
764
-  (5.6ms) commit transaction
765
-  (5.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
766
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
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
767
684
   (0.0ms) begin transaction
768
-  (0.0ms) commit transaction
769
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "dummyapiuser@domain.com"], ["LIMIT", 1]]
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]]
770
689
   (0.0ms) begin transaction
771
- User Create (1.0ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Dummy API user created by gds-sso"], ["uid", "2686"], ["email", "dummyapiuser@domain.com"], ["permissions", "---\n- signin\n"]]
772
-  (5.2ms) commit 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]]
773
693
   (0.0ms) begin transaction
774
- User Update (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = ? [["permissions", "---\n- signin\n- extra_permission\n"], ["id", 1]]
775
-  (4.2ms) commit 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
776
696
   (0.0ms) begin transaction
777
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d31161"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
778
-  (4.7ms) commit 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)
779
703
   (0.0ms) begin transaction
780
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d34234"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
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"]]
781
705
   (5.1ms) commit transaction
782
- Processing by Api::UserController#update as HTML
783
- Parameters: {"uid"=>"a1s2d31161"}
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"}
784
711
  Rendering /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
785
712
  Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
786
- Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (1.2ms)
713
+ Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (Duration: 0.5ms | Allocations: 263)
787
714
  Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
788
- Completed 403 Forbidden in 7ms (Views: 6.6ms | ActiveRecord: 0.0ms)
715
+ Completed 403 Forbidden in 3ms (Views: 2.4ms | ActiveRecord: 0.0ms | Allocations: 1558)
789
716
   (0.0ms) begin transaction
790
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d32959"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
791
-  (5.7ms) commit 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
792
719
   (0.0ms) begin transaction
793
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d39467"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
794
-  (5.8ms) commit 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
795
736
  Processing by Api::UserController#update as HTML
796
- Parameters: {"uid"=>"a1s2d32959"}
797
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "a1s2d32959"], ["LIMIT", 1]]
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]]
798
739
   (0.0ms) begin transaction
799
- 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", 4]]
800
-  (5.1ms) commit transaction
801
- Completed 200 OK in 9ms (ActiveRecord: 5.4ms)
802
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]]
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]]
803
744
   (0.0ms) begin transaction
804
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d34570"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
805
-  (4.1ms) commit 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
806
747
   (0.0ms) begin transaction
807
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d39231"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
808
-  (4.2ms) commit transaction
809
- Processing by Api::UserController#reauth as HTML
810
- Parameters: {"uid"=>"a1s2d34570"}
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"}
811
752
  Rendering /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
812
753
  Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
813
- Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.1ms)
754
+ Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (Duration: 0.1ms | Allocations: 56)
814
755
  Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
815
- Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
756
+ Completed 403 Forbidden in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms | Allocations: 514)
757
+  (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)
761
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
816
762
   (0.0ms) begin transaction
817
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d314"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
818
-  (5.1ms) commit transaction
819
-  (1.0ms) begin transaction
820
- User Create (0.1ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d35325"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
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)
766
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
767
+  (0.0ms) begin transaction
768
+  (0.0ms) commit transaction
769
+  (0.0ms) begin transaction
770
+ User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d34385"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
771
+  (6.9ms) commit transaction
772
+  (0.0ms) begin transaction
773
+ User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d35382"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
821
774
   (5.1ms) commit transaction
822
775
  Processing by Api::UserController#reauth as HTML
823
- Parameters: {"uid"=>"a1s2d314"}
824
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "a1s2d314"], ["LIMIT", 1]]
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]]
825
778
   (0.0ms) begin transaction
826
- User Update (0.1ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 8]]
827
-  (5.1ms) commit transaction
828
- Completed 200 OK in 7ms (ActiveRecord: 5.3ms)
829
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 8], ["LIMIT", 1]]
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]]
830
783
   (0.0ms) begin transaction
831
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d37331"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
832
-  (4.8ms) commit 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
833
786
   (0.0ms) begin transaction
834
- User Create (0.1ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d3677"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
835
-  (5.4ms) commit 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
836
789
  Processing by Api::UserController#reauth as HTML
837
790
  Parameters: {"uid"=>"nonexistent-user"}
838
791
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "nonexistent-user"], ["LIMIT", 1]]
839
- Completed 200 OK in 2ms (ActiveRecord: 0.1ms)
840
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "asd"], ["LIMIT", 1]]
841
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "user@example.com"], ["LIMIT", 1]]
792
+ Completed 200 OK in 1ms (ActiveRecord: 0.1ms)
842
793
   (0.0ms) begin transaction
843
- 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]]
844
-  (4.6ms) commit transaction
845
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "asd"], ["LIMIT", 1]]
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
846
796
   (0.0ms) begin transaction
847
-  (0.0ms) commit transaction
848
- Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:15 +0000
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)
806
+  (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
809
+  (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) 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) 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]]
828
+  (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
849
834
  Processing by ExampleController#restricted as HTML
850
835
  Authenticating with gds_sso strategy
851
836
  Completed in 4ms (ActiveRecord: 0.0ms)
852
- Started GET "/auth/gds" for 127.0.0.1 at 2020-10-26 14:51:15 +0000
853
- Started GET "/auth/gds/callback?code=Q9Xym_iQS39k93lYjTQmU_M46Qh7yfKef1UwVv273B8&state=a888e7930f94b3210e33ee38ef27f2f6c59989749a591104" for 127.0.0.1 at 2020-10-26 14:51:15 +0000
837
+ Started GET "/" for 127.0.0.1 at 2020-11-12 10:32:23 +0000
838
+ Processing by ExampleController#index as HTML
839
+ Rendering text template
840
+ Rendered text template (0.0ms)
841
+ Completed 200 OK in 2ms (Views: 1.9ms | ActiveRecord: 0.0ms)
842
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-11-12 10:32:23 +0000
843
+ Processing by ExampleController#this_requires_signin_permission as HTML
844
+ 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
854
848
  Processing by AuthenticationsController#callback as HTML
855
- Parameters: {"code"=>"Q9Xym_iQS39k93lYjTQmU_M46Qh7yfKef1UwVv273B8", "state"=>"a888e7930f94b3210e33ee38ef27f2f6c59989749a591104"}
849
+ Parameters: {"code"=>"vsDYtNrVz6L7Dk2wOuJ2V8or5TemNAXgRzHFfX-NhJg", "state"=>"3ea4ee278bb9b78e8ff3baa870cb81b3b21070d3e3a3c6ca"}
856
850
  Authenticating with gds_sso strategy
857
851
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
858
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]]
859
853
   (0.0ms) begin transaction
860
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"]]
861
-  (5.1ms) commit transaction
855
+  (5.8ms) commit transaction
862
856
   (0.0ms) begin transaction
863
- User Update (0.1ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "f"], ["id", 13]]
864
-  (4.2ms) commit transaction
865
- Redirected to http://www.example-client.com/restricted
866
- Completed 302 Found in 13ms (ActiveRecord: 9.9ms)
867
- Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:15 +0000
868
- Processing by ExampleController#restricted as HTML
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
869
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]]
870
864
  Rendering text template
871
865
  Rendered text template (0.0ms)
872
- Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.1ms)
873
- Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:15 +0000
874
- Processing by ExampleController#restricted as HTML
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
875
869
  Authenticating with gds_sso strategy
876
870
  Completed in 0ms (ActiveRecord: 0.0ms)
877
- Started GET "/auth/gds" for 127.0.0.1 at 2020-10-26 14:51:15 +0000
878
- Started GET "/auth/gds/callback?code=sseENFS7d6YBWzqiG7fpzVhhedUEcvD5PY7jKg9lHzo&state=135f1b3de39cee89529dcae630868efd0e66c62948fe6fad" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
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
879
873
  Processing by AuthenticationsController#callback as HTML
880
- Parameters: {"code"=>"sseENFS7d6YBWzqiG7fpzVhhedUEcvD5PY7jKg9lHzo", "state"=>"135f1b3de39cee89529dcae630868efd0e66c62948fe6fad"}
874
+ Parameters: {"code"=>"RBYSuhhS4HPLqf-kT0PovtbdLC_gXiMUHEds4dAkaQE", "state"=>"9509aaee3922e09520d769548b00de21a738b3a1361d9e8e"}
881
875
  Authenticating with gds_sso strategy
882
876
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
883
877
   (0.0ms) begin transaction
884
878
   (0.0ms) commit transaction
885
879
   (0.0ms) begin transaction
886
880
   (0.0ms) commit transaction
887
- Redirected to http://www.example-client.com/restricted
888
- Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
889
- Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
890
- Processing by ExampleController#restricted as HTML
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
891
885
  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]]
892
886
  Rendering text template
893
887
  Rendered text template (0.0ms)
894
888
  Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
895
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
896
- Processing by ExampleController#this_requires_signin_permission as HTML
889
+ Started GET "/restricted" for 127.0.0.1 at 2020-11-12 10:32:24 +0000
890
+ Processing by ExampleController#restricted as HTML
897
891
  Authenticating with gds_sso strategy
898
892
  Completed in 0ms (ActiveRecord: 0.0ms)
899
- Started GET "/auth/gds" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
900
- Started GET "/auth/gds/callback?code=QID8NNYuBDTecvsjSiD-nYSJchn1zEou8UuDw9wfo5g&state=d42a09f463c9f9256d77595275b83baf607fc9f326a95764" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
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
901
895
  Processing by AuthenticationsController#callback as HTML
902
- Parameters: {"code"=>"QID8NNYuBDTecvsjSiD-nYSJchn1zEou8UuDw9wfo5g", "state"=>"d42a09f463c9f9256d77595275b83baf607fc9f326a95764"}
896
+ Parameters: {"code"=>"Z-oYt68TZXJUgbIgy4aYMz3p0F9sFUK8VISPy0LXQS8", "state"=>"5292592a4e17439fa1d8a910d162431664624bdfc3ae92ec"}
903
897
  Authenticating with gds_sso strategy
904
898
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
905
899
   (0.0ms) begin transaction
906
900
   (0.0ms) commit transaction
907
901
   (0.0ms) begin transaction
908
902
   (0.0ms) commit transaction
909
- Redirected to http://www.example-client.com/this_requires_signin_permission
903
+ Redirected to http://www.example-client.com/restricted
910
904
  Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
911
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
912
- Processing by ExampleController#this_requires_signin_permission as HTML
905
+ Started GET "/restricted" for 127.0.0.1 at 2020-11-12 10:32:24 +0000
906
+ Processing by ExampleController#restricted as HTML
913
907
  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]]
914
908
  Rendering text template
915
909
  Rendered text template (0.0ms)
916
910
  Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
917
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
918
- Processing by ExampleController#this_requires_signin_permission as HTML
911
+ Started GET "/restricted" for 127.0.0.1 at 2020-11-12 10:32:24 +0000
912
+ Processing by ExampleController#restricted as HTML
919
913
  Authenticating with gds_sso strategy
920
914
  Completed in 0ms (ActiveRecord: 0.0ms)
921
- Started GET "/auth/gds" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
922
- Started GET "/auth/gds/callback?code=fRqwvJN7sEVyv-ak_G85JDH9aG72tj15sEfXqHMEVNo&state=4da89b2888a3812c467f79184df679a0fca58af49dbf8bef" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
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
923
917
  Processing by AuthenticationsController#callback as HTML
924
- Parameters: {"code"=>"fRqwvJN7sEVyv-ak_G85JDH9aG72tj15sEfXqHMEVNo", "state"=>"4da89b2888a3812c467f79184df679a0fca58af49dbf8bef"}
918
+ Parameters: {"code"=>"JKV0OsC0VDTm9QzgXo6tXGEiLgeFECohYNttnSsUJZc", "state"=>"b1269b97cea5536cf9e50386390eb7fe07453d7175055575"}
925
919
  Authenticating with gds_sso strategy
926
920
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
927
921
   (0.0ms) begin transaction
928
922
   (0.0ms) commit transaction
929
923
   (0.0ms) begin transaction
930
924
   (0.0ms) commit transaction
931
- Redirected to http://www.example-client.com/this_requires_signin_permission
925
+ Redirected to http://www.example-client.com/restricted
932
926
  Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
933
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
934
- Processing by ExampleController#this_requires_signin_permission as HTML
927
+ Started GET "/restricted" for 127.0.0.1 at 2020-11-12 10:32:24 +0000
928
+ Processing by ExampleController#restricted as HTML
935
929
  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]]
936
930
  Rendering text template
937
931
  Rendered text template (0.0ms)
938
932
  Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
939
- Started GET "/" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
940
- Processing by ExampleController#index as HTML
941
- Rendering text template
942
- Rendered text template (0.0ms)
943
- Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
944
- Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
933
+ Started GET "/restricted" for 127.0.0.1 at 2020-11-12 10:32:24 +0000
945
934
  Processing by ExampleController#restricted as HTML
946
935
  Authenticating with gds_sso strategy
947
936
  Completed in 0ms (ActiveRecord: 0.0ms)
948
- Started GET "/auth/gds" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
949
- Started GET "/auth/gds/callback?code=0my6EyJ18tST4xHWoxB70-9MIbZe4Y96U3eQuNLxMWA&state=b5a0ee528dcf895b4ca52d06b2e1a77b2d1b03913e412e65" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
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
950
939
  Processing by AuthenticationsController#callback as HTML
951
- Parameters: {"code"=>"0my6EyJ18tST4xHWoxB70-9MIbZe4Y96U3eQuNLxMWA", "state"=>"b5a0ee528dcf895b4ca52d06b2e1a77b2d1b03913e412e65"}
940
+ Parameters: {"code"=>"4YTiPi6hivSO93YsQAZg03-yfSSX3jg3lV55Li4ze6c", "state"=>"f9a16063f78c6f23cf504db02df810cdcb341540eee74128"}
952
941
  Authenticating with gds_sso strategy
953
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
942
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
954
943
   (0.0ms) begin transaction
955
944
   (0.0ms) commit transaction
956
-  (0.1ms) begin transaction
945
+  (0.0ms) begin transaction
957
946
   (0.0ms) commit transaction
958
947
  Redirected to http://www.example-client.com/restricted
959
- Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
960
- Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
948
+ Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
949
+ Started GET "/restricted" for 127.0.0.1 at 2020-11-12 10:32:24 +0000
961
950
  Processing by ExampleController#restricted as HTML
962
951
  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]]
963
952
  Rendering text template
964
953
  Rendered text template (0.0ms)
965
954
  Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
966
- Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
955
+ Started GET "/restricted" for 127.0.0.1 at 2020-11-12 10:32:24 +0000
967
956
  Processing by ExampleController#restricted as HTML
968
957
  Authenticating with gds_sso strategy
969
958
  Completed in 0ms (ActiveRecord: 0.0ms)
970
- Started GET "/auth/gds" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
971
- Started GET "/auth/gds/callback?code=PMYkbsLpF3HdAt-tuGm2z7SZ9ql0Unbkm6JytGmT7k0&state=c5c3d7f8011877996153f7d94658f795bb7909298c18a0f6" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
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
972
961
  Processing by AuthenticationsController#callback as HTML
973
- Parameters: {"code"=>"PMYkbsLpF3HdAt-tuGm2z7SZ9ql0Unbkm6JytGmT7k0", "state"=>"c5c3d7f8011877996153f7d94658f795bb7909298c18a0f6"}
962
+ Parameters: {"code"=>"MNDWitOlcBXk6iR51_RfGM-yRvTot3kPZV5F9_2HoPM", "state"=>"adbb9716b7c53de7c90887cd6546a8000b1dbfb2ced31266"}
974
963
  Authenticating with gds_sso strategy
975
964
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
976
965
   (0.1ms) begin transaction
977
-  (0.1ms) commit transaction
966
+  (0.0ms) commit transaction
978
967
   (0.0ms) begin transaction
979
-  (0.1ms) commit transaction
968
+  (0.0ms) commit transaction
980
969
  Redirected to http://www.example-client.com/restricted
981
- Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
982
- Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
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
983
972
  Processing by ExampleController#restricted as HTML
984
973
  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]]
985
974
  Rendering text template
986
975
  Rendered text template (0.0ms)
987
- Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
988
- Started GET "/restricted" for 127.0.0.1 at 2020-10-27 10:56:16 +0000
989
- Processing by ExampleController#restricted as HTML
990
- Authenticating with gds_sso strategy
991
- Completed in 1ms (ActiveRecord: 0.0ms)
992
- Started GET "/auth/gds" for 127.0.0.1 at 2020-10-27 10:56:16 +0000
993
- Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
976
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
977
+ Started GET "/restricted" for 127.0.0.1 at 2020-11-13 06:37:24 +0000
994
978
  Processing by ExampleController#restricted as HTML
995
979
  Authenticating with gds_sso strategy
996
980
  Completed in 0ms (ActiveRecord: 0.0ms)
997
- Started GET "/auth/gds" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
998
- Started GET "/auth/gds/callback?code=Q_rMbceGZWd_zjBYuOFHd6NKfHBcHGgwVDcXV6UZI48&state=e65b340ea778029e7fbfe50f2b416bd2ddeee9460b159533" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
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
999
983
  Processing by AuthenticationsController#callback as HTML
1000
- Parameters: {"code"=>"Q_rMbceGZWd_zjBYuOFHd6NKfHBcHGgwVDcXV6UZI48", "state"=>"e65b340ea778029e7fbfe50f2b416bd2ddeee9460b159533"}
984
+ Parameters: {"code"=>"R6kAMC_ZUDSAuxtBtselAxA-eV1SkHjGNIg4Z-PrMbg", "state"=>"43d463dd4abec4aee1b7bfa126051fbe690710452f7f5dce"}
1001
985
  Authenticating with gds_sso strategy
1002
986
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1003
987
   (0.1ms) begin transaction
@@ -1005,21 +989,21 @@ Authenticating with gds_sso strategy
1005
989
   (0.0ms) begin transaction
1006
990
   (0.0ms) commit transaction
1007
991
  Redirected to http://www.example-client.com/restricted
1008
- Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
1009
- Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
992
+ Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
993
+ Started GET "/restricted" for 127.0.0.1 at 2020-11-13 06:37:24 +0000
1010
994
  Processing by ExampleController#restricted as HTML
1011
995
  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]]
1012
996
  Rendering text template
1013
997
  Rendered text template (0.0ms)
1014
998
  Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
1015
- Started GET "/restricted" for 127.0.0.1 at 2020-10-27 10:56:16 +0000
999
+ Started GET "/restricted" for 127.0.0.1 at 2020-11-12 10:32:24 +0000
1016
1000
  Processing by ExampleController#restricted as HTML
1017
1001
  Authenticating with gds_sso strategy
1018
1002
  Completed in 0ms (ActiveRecord: 0.0ms)
1019
- Started GET "/auth/gds" for 127.0.0.1 at 2020-10-27 10:56:16 +0000
1020
- Started GET "/auth/gds/callback?code=F1Azm4-OYL03Kgox-DnlpMRjNDOIEOXswvjl5JRie0U&state=857bddb98bab5f7375cfe3c884d90a4d4afbef44c9b6b702" for 127.0.0.1 at 2020-10-27 10:56:16 +0000
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
1021
1005
  Processing by AuthenticationsController#callback as HTML
1022
- Parameters: {"code"=>"F1Azm4-OYL03Kgox-DnlpMRjNDOIEOXswvjl5JRie0U", "state"=>"857bddb98bab5f7375cfe3c884d90a4d4afbef44c9b6b702"}
1006
+ Parameters: {"code"=>"h-nzatFfqA5uowJZY2u7MMsMpNSqe6ZkpcL7TivqR9s", "state"=>"e7a7941862761053f040856bcedf5a8dfd7dc1f599e1ace7"}
1023
1007
  Authenticating with gds_sso strategy
1024
1008
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1025
1009
   (0.0ms) begin transaction
@@ -1027,49 +1011,54 @@ Authenticating with gds_sso strategy
1027
1011
   (0.0ms) begin transaction
1028
1012
   (0.0ms) commit transaction
1029
1013
  Redirected to http://www.example-client.com/restricted
1030
- Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
1031
- Started GET "/restricted" for 127.0.0.1 at 2020-10-27 10:56:16 +0000
1014
+ 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
1032
1016
  Processing by ExampleController#restricted as HTML
1033
1017
  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]]
1034
1018
  Rendering text template
1035
1019
  Rendered text template (0.0ms)
1036
1020
  Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
1037
- Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
1021
+ Started GET "/restricted" for 127.0.0.1 at 2020-11-13 06:27:24 +0000
1022
+ Processing by ExampleController#restricted as HTML
1023
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
1024
+ Rendering text template
1025
+ Rendered text template (0.0ms)
1026
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
1027
+ Started GET "/restricted" for 127.0.0.1 at 2020-11-12 10:32:24 +0000
1038
1028
  Processing by ExampleController#restricted as HTML
1039
1029
  Authenticating with gds_sso strategy
1040
1030
  Completed in 0ms (ActiveRecord: 0.0ms)
1041
- Started GET "/auth/gds" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
1042
- Started GET "/auth/gds/callback?code=V5VabBRBYodhQsV5Yk7m5jo6ks4vj5FDHrZTlHnxBZ4&state=7756d177cb339841b9f792b67023ba169c9d08181456fb96" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
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
1043
1033
  Processing by AuthenticationsController#callback as HTML
1044
- Parameters: {"code"=>"V5VabBRBYodhQsV5Yk7m5jo6ks4vj5FDHrZTlHnxBZ4", "state"=>"7756d177cb339841b9f792b67023ba169c9d08181456fb96"}
1034
+ Parameters: {"code"=>"ig9sY9NStvOUFtq_beYpfZZYdBL1wwYxXz5vJEIa28o", "state"=>"bb4f84f11646a2f2ba321ec5653baacf4573155827fd7e95"}
1045
1035
  Authenticating with gds_sso strategy
1046
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1047
-  (0.0ms) begin transaction
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
1048
1038
   (0.0ms) commit transaction
1049
1039
   (0.0ms) begin transaction
1050
1040
   (0.0ms) commit transaction
1051
1041
  Redirected to http://www.example-client.com/restricted
1052
- Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
1053
- Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
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
1054
1044
  Processing by ExampleController#restricted as HTML
1055
1045
  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]]
1056
1046
  Rendering text template
1057
1047
  Rendered text template (0.0ms)
1058
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
1059
- Started GET "/restricted" for 127.0.0.1 at 2020-10-27 10:46:16 +0000
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
1060
1050
  Processing by ExampleController#restricted as HTML
1061
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
1062
- Rendering text template
1063
- Rendered text template (0.0ms)
1064
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
1065
- Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
1051
+ Authenticating with gds_sso strategy
1052
+ Completed in 0ms (ActiveRecord: 0.0ms)
1053
+ Started GET "/auth/gds" for 127.0.0.1 at 2020-11-13 06:37:24 +0000
1054
+ Started GET "/restricted" for 127.0.0.1 at 2020-11-12 10:32:24 +0000
1066
1055
  Processing by ExampleController#restricted as HTML
1067
1056
  Authenticating with gds_sso strategy
1068
1057
  Completed in 0ms (ActiveRecord: 0.0ms)
1069
- Started GET "/auth/gds" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
1070
- Started GET "/auth/gds/callback?code=Zv6qwzvfJxFkdQi6YdvVmQOnasH1DwSBT581CaKM3JI&state=c70be6f7328e80c7b899b0fcd0601cdcc7c1b57542ddc96f" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
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
1071
1060
  Processing by AuthenticationsController#callback as HTML
1072
- Parameters: {"code"=>"Zv6qwzvfJxFkdQi6YdvVmQOnasH1DwSBT581CaKM3JI", "state"=>"c70be6f7328e80c7b899b0fcd0601cdcc7c1b57542ddc96f"}
1061
+ Parameters: {"code"=>"7jjlVl7ZGQsaO-Ycmh6_TLJO5uPQ9WAD47t-lUuLWqA", "state"=>"4b959fe4080469b91570c28c53561995ccfc4929b170c8b0"}
1073
1062
  Authenticating with gds_sso strategy
1074
1063
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1075
1064
   (0.0ms) begin transaction
@@ -1077,8 +1066,8 @@ Authenticating with gds_sso strategy
1077
1066
   (0.0ms) begin transaction
1078
1067
   (0.0ms) commit transaction
1079
1068
  Redirected to http://www.example-client.com/restricted
1080
- Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
1081
- Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
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
1082
1071
  Processing by ExampleController#restricted as HTML
1083
1072
  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]]
1084
1073
  Rendering text template
@@ -1086,60 +1075,56 @@ Processing by ExampleController#restricted as HTML
1086
1075
  Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
1087
1076
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "test@example-client.com"], ["LIMIT", 1]]
1088
1077
   (0.0ms) begin transaction
1089
- User Update (0.2ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 13]]
1090
-  (12.8ms) commit transaction
1091
- Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
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
1092
1081
  Processing by ExampleController#restricted as HTML
1093
1082
  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]]
1094
1083
  Authenticating with gds_sso strategy
1095
1084
  Completed in 1ms (ActiveRecord: 0.1ms)
1096
- Started GET "/auth/gds" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
1097
- Started GET "/auth/gds/callback?code=sc6BrE3I9al5FWLj-6W1Kimm3naOqZo-zhU3eDLeno0&state=e49cc60c6430580f953d5de40f1a7f3263d66e0d707adbbe" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
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
1098
1087
  Processing by AuthenticationsController#callback as HTML
1099
- Parameters: {"code"=>"sc6BrE3I9al5FWLj-6W1Kimm3naOqZo-zhU3eDLeno0", "state"=>"e49cc60c6430580f953d5de40f1a7f3263d66e0d707adbbe"}
1088
+ Parameters: {"code"=>"PVa9xx1yP9Xnug9OuLDPUtSDjP0myFOfkUFG88TT1Vo", "state"=>"8fe12ed0cad4fa7da0065fe8a620df5fdd0d162485a7f50a"}
1100
1089
  Authenticating with gds_sso strategy
1101
1090
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1102
1091
   (0.0ms) begin transaction
1103
1092
   (0.0ms) commit transaction
1104
1093
   (0.0ms) begin transaction
1105
- User Update (0.2ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "f"], ["id", 13]]
1106
-  (6.5ms) commit 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
1107
1096
  Redirected to http://www.example-client.com/restricted
1108
- Completed 302 Found in 9ms (ActiveRecord: 6.9ms)
1109
- Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
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
1110
1099
  Processing by ExampleController#restricted as HTML
1111
1100
  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]]
1112
1101
  Rendering text template
1113
1102
  Rendered text template (0.0ms)
1114
1103
  Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
1115
- Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
1116
- Processing by ExampleController#restricted as HTML
1117
- Authenticating with gds_sso strategy
1118
- Completed in 0ms (ActiveRecord: 0.0ms)
1119
- Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
1104
+ Started GET "/restricted" for 127.0.0.1 at 2020-11-12 10:32:24 +0000
1120
1105
  Processing by ExampleController#restricted as JSON
1121
- Completed in 9ms (ActiveRecord: 0.0ms)
1122
- Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
1106
+ Completed in 15ms (ActiveRecord: 0.0ms)
1107
+ Started GET "/restricted" for 127.0.0.1 at 2020-11-12 10:32:24 +0000
1123
1108
  Processing by ExampleController#restricted as JSON
1124
1109
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1125
1110
   (0.0ms) begin transaction
1126
- User Update (0.2ms) UPDATE "users" SET "disabled" = ? WHERE "users"."id" = ? [["disabled", nil], ["id", 13]]
1127
-  (6.0ms) commit transaction
1111
+ User Update (0.2ms) UPDATE "users" SET "disabled" = ? WHERE "users"."id" = ? [["disabled", nil], ["id", 11]]
1112
+  (5.1ms) commit transaction
1128
1113
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1129
1114
   (0.0ms) begin transaction
1130
-  (0.1ms) commit transaction
1115
+  (0.0ms) commit transaction
1131
1116
  CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1132
1117
   (0.0ms) begin transaction
1133
1118
   (0.0ms) commit transaction
1134
1119
  CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1135
-  (0.0ms) begin transaction
1120
+  (0.1ms) begin transaction
1136
1121
   (0.0ms) commit transaction
1137
-  (0.0ms) begin transaction
1122
+  (0.1ms) begin transaction
1138
1123
   (0.0ms) commit transaction
1139
1124
  Rendering text template
1140
1125
  Rendered text template (0.0ms)
1141
- Completed 200 OK in 13ms (Views: 0.2ms | ActiveRecord: 6.7ms)
1142
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
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
1143
1128
  Processing by ExampleController#this_requires_signin_permission as JSON
1144
1129
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1145
1130
   (0.0ms) begin transaction
@@ -1158,355 +1143,370 @@ Processing by ExampleController#this_requires_signin_permission as JSON
1158
1143
  Rendering text template
1159
1144
  Rendered text template (0.0ms)
1160
1145
  Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 0.4ms)
1161
- Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
1146
+ Started GET "/restricted" for 127.0.0.1 at 2020-11-12 10:32:24 +0000
1162
1147
  Processing by ExampleController#restricted as JSON
1163
- Completed in 13ms (ActiveRecord: 0.0ms)
1148
+ Completed in 8ms (ActiveRecord: 0.0ms)
1149
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "asd"], ["LIMIT", 1]]
1150
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "user@example.com"], ["LIMIT", 1]]
1151
+  (0.0ms) begin transaction
1152
+ User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions", "organisation_slug", "organisation_content_id", "disabled") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "A Name"], ["uid", "asd"], ["email", "user@example.com"], ["permissions", "---\n- signin\n"], ["organisation_slug", "hmrc"], ["organisation_content_id", "67a2b78d-eee3-45b3-80e2-792e7f71cecc"], ["disabled", nil]]
1153
+  (5.7ms) commit transaction
1154
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "asd"], ["LIMIT", 1]]
1155
+  (0.0ms) begin transaction
1156
+  (0.0ms) commit transaction
1157
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "dummyapiuser@domain.com"], ["LIMIT", 1]]
1158
+  (0.0ms) begin transaction
1159
+ User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Dummy API user created by gds-sso"], ["uid", "4181"], ["email", "dummyapiuser@domain.com"], ["permissions", "---\n- signin\n"]]
1160
+  (4.1ms) commit transaction
1161
+  (0.0ms) begin transaction
1162
+ User Update (0.1ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = ? [["permissions", "---\n- signin\n- extra_permission\n"], ["id", 13]]
1163
+  (5.0ms) commit transaction
1164
1164
   (1.0ms) SELECT sqlite_version(*)
1165
1165
   (0.0ms) SELECT sqlite_version(*)
1166
1166
   (0.1ms) DROP TABLE IF EXISTS "users"
1167
-  (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 0)
1168
-  (7.1ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)
1167
+  (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)
1169
1169
  ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
1170
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-10-26 14:51:22.380901"], ["updated_at", "2020-10-26 14:51:22.380901"]]
1172
-  (5.6ms) commit transaction
1173
-  (5.6ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
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
1174
  ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
1175
1175
   (0.1ms) SELECT sqlite_version(*)
1176
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "dummyapiuser@domain.com"], ["LIMIT", 1]]
1177
-  (0.0ms) begin transaction
1178
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Dummy API user created by gds-sso"], ["uid", "9790"], ["email", "dummyapiuser@domain.com"], ["permissions", "---\n- signin\n"]]
1179
-  (5.0ms) commit transaction
1176
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "asd"], ["LIMIT", 1]]
1177
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "user@example.com"], ["LIMIT", 1]]
1180
1178
   (0.0ms) begin transaction
1181
- User Update (0.1ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = ? [["permissions", "---\n- signin\n- extra_permission\n"], ["id", 1]]
1182
-  (4.9ms) commit transaction
1183
- Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:22 +0000
1179
+ 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
1181
+ 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
1184
1183
  Processing by ExampleController#restricted as HTML
1185
1184
  Authenticating with gds_sso strategy
1186
1185
  Completed in 4ms (ActiveRecord: 0.0ms | Allocations: 161)
1187
- Started GET "/auth/gds" for 127.0.0.1 at 2020-10-26 14:51:22 +0000
1188
- Started GET "/auth/gds/callback?code=Sfl1PZlW0kvV7mxi_j7nipAK5PmuIIFupkzKfPqBx6M&state=25e69dbc146d2fd2aace060b8f407032b56e7c4445737afb" for 127.0.0.1 at 2020-10-26 14:51:22 +0000
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
1188
  Processing by AuthenticationsController#callback as HTML
1190
- Parameters: {"code"=>"Sfl1PZlW0kvV7mxi_j7nipAK5PmuIIFupkzKfPqBx6M", "state"=>"25e69dbc146d2fd2aace060b8f407032b56e7c4445737afb"}
1189
+ Parameters: {"code"=>"xInEEXfY9OXgh60z3MZAIutDsoUcB-UO52PqOuR3wLI", "state"=>"579ef427a16e8227ceb6fc069047a529a31e695b6d0894be"}
1191
1190
  Authenticating with gds_sso strategy
1192
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1191
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1193
1192
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "test@example-client.com"], ["LIMIT", 1]]
1194
1193
   (0.0ms) begin transaction
1195
1194
  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"]]
1196
-  (5.3ms) commit transaction
1195
+  (7.1ms) commit transaction
1197
1196
   (0.0ms) begin transaction
1198
1197
  User Update (0.1ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", 0], ["id", 2]]
1199
-  (4.1ms) commit transaction
1198
+  (6.3ms) commit transaction
1200
1199
  Redirected to http://www.example-client.com/restricted
1201
- Completed 302 Found in 13ms (ActiveRecord: 10.1ms | Allocations: 1492)
1202
- Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
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
1203
1202
  Processing by ExampleController#restricted as HTML
1204
- 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]]
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]]
1205
1204
  Rendering text template
1206
1205
  Rendered text template (Duration: 0.0ms | Allocations: 3)
1207
- Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.1ms | Allocations: 1544)
1208
- Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
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
1209
1208
  Processing by ExampleController#restricted as HTML
1210
1209
  Authenticating with gds_sso strategy
1211
1210
  Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 102)
1212
- Started GET "/auth/gds" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
1213
- Started GET "/auth/gds/callback?code=Y3O9Fs0VsVJtPNkQc-dpwaBjtkIiJhtNT5m_zdnF9uo&state=0ce4a4943aaf5319577dedf86e7f0cd1fefef2d247625374" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
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
1214
1213
  Processing by AuthenticationsController#callback as HTML
1215
- Parameters: {"code"=>"Y3O9Fs0VsVJtPNkQc-dpwaBjtkIiJhtNT5m_zdnF9uo", "state"=>"0ce4a4943aaf5319577dedf86e7f0cd1fefef2d247625374"}
1214
+ Parameters: {"code"=>"3P7LFuNmEELT_Vb63YdcNulcrn-lTs5pvOob5oMqq8g", "state"=>"ff5c2898d3d08bae49e16ff133904c28e3329b766227474d"}
1216
1215
  Authenticating with gds_sso strategy
1217
1216
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1218
1217
  Redirected to http://www.example-client.com/restricted
1219
- Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 913)
1220
- Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
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
1221
1220
  Processing by ExampleController#restricted as HTML
1222
1221
  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]]
1223
1222
  Rendering text template
1224
1223
  Rendered text template (Duration: 0.0ms | Allocations: 1)
1225
1224
  Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 652)
1226
- Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
1225
+ Started GET "/restricted" for 127.0.0.1 at 2020-11-12 10:32:31 +0000
1227
1226
  Processing by ExampleController#restricted as HTML
1228
1227
  Authenticating with gds_sso strategy
1229
1228
  Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 102)
1230
- Started GET "/auth/gds" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
1231
- Started GET "/auth/gds/callback?code=tBgDLG95eMGQSrnP0Qmbr546Wju9WyzjR5chjYSHocE&state=02d28e934929f9a54cab1f6b7fe669e40800080c4525eabc" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
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
1232
1231
  Processing by AuthenticationsController#callback as HTML
1233
- Parameters: {"code"=>"tBgDLG95eMGQSrnP0Qmbr546Wju9WyzjR5chjYSHocE", "state"=>"02d28e934929f9a54cab1f6b7fe669e40800080c4525eabc"}
1232
+ Parameters: {"code"=>"nOhCNsYi0m_4Jhb4svdbFygYRr9z5ywfgSxQFXRUIKI", "state"=>"4767cdb6904b56a6dcf741d7b5dce9e737ca09fa2c9af9ca"}
1234
1233
  Authenticating with gds_sso strategy
1235
1234
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1236
1235
  Redirected to http://www.example-client.com/restricted
1237
- Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 914)
1238
- Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
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
1239
1238
  Processing by ExampleController#restricted as HTML
1240
1239
  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]]
1241
1240
  Rendering text template
1242
1241
  Rendered text template (Duration: 0.0ms | Allocations: 1)
1243
- Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 655)
1244
- Started GET "/" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
1245
- Processing by ExampleController#index as HTML
1246
- Rendering text template
1247
- Rendered text template (Duration: 0.0ms | Allocations: 1)
1248
- Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms | Allocations: 137)
1249
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
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
1250
1244
  Processing by ExampleController#this_requires_signin_permission as HTML
1251
1245
  Authenticating with gds_sso strategy
1252
1246
  Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 102)
1253
- Started GET "/auth/gds" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
1254
- Started GET "/auth/gds/callback?code=4Fy6FyFR9O4Mjg0kZCgjY-Pd-pHsJ8pZ_B-XAEA_jyY&state=fba83e14267eb214b07ddf5ed4ff10b3999734143bbbbcb3" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
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
1255
1249
  Processing by AuthenticationsController#callback as HTML
1256
- Parameters: {"code"=>"4Fy6FyFR9O4Mjg0kZCgjY-Pd-pHsJ8pZ_B-XAEA_jyY", "state"=>"fba83e14267eb214b07ddf5ed4ff10b3999734143bbbbcb3"}
1250
+ Parameters: {"code"=>"eW9a7hEncUvY7E_gx_Pk4pgrHuVG7dc4HdlKFct6hw0", "state"=>"a50b0bdeea0fe1f03013052feda2238ed7f888e54abd521a"}
1257
1251
  Authenticating with gds_sso strategy
1258
1252
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1259
1253
  Redirected to http://www.example-client.com/this_requires_signin_permission
1260
1254
  Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 912)
1261
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
1255
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-11-12 10:32:31 +0000
1262
1256
  Processing by ExampleController#this_requires_signin_permission as HTML
1263
1257
  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]]
1264
1258
  Rendering text template
1265
1259
  Rendered text template (Duration: 0.0ms | Allocations: 1)
1266
1260
  Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 652)
1267
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
1261
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-11-12 10:32:31 +0000
1268
1262
  Processing by ExampleController#this_requires_signin_permission as HTML
1269
1263
  Authenticating with gds_sso strategy
1270
1264
  Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 102)
1271
- Started GET "/auth/gds" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
1272
- Started GET "/auth/gds/callback?code=Tf2X4Sb305VGS9ToUsyWoGwTMBPGT9v0421F6VARSHA&state=b5909fbb28df9acc65aca35853d83ac869485afc9dadf098" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
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
1273
1267
  Processing by AuthenticationsController#callback as HTML
1274
- Parameters: {"code"=>"Tf2X4Sb305VGS9ToUsyWoGwTMBPGT9v0421F6VARSHA", "state"=>"b5909fbb28df9acc65aca35853d83ac869485afc9dadf098"}
1268
+ Parameters: {"code"=>"o4fDUvJgAI-z7D7Rdi1SfpQWbgHiaR9kXFQ4qClioTw", "state"=>"a36c70833d1f7c865780f9d93463964f9e17d77a17f7a01a"}
1275
1269
  Authenticating with gds_sso strategy
1276
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1270
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1277
1271
  Redirected to http://www.example-client.com/this_requires_signin_permission
1278
- Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 912)
1279
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
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
1280
1274
  Processing by ExampleController#this_requires_signin_permission as HTML
1281
1275
  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]]
1282
1276
  Rendering text template
1283
1277
  Rendered text template (Duration: 0.0ms | Allocations: 1)
1284
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 652)
1285
- Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
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
1286
1285
  Processing by ExampleController#restricted as HTML
1287
1286
  Authenticating with gds_sso strategy
1288
1287
  Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 102)
1289
- Started GET "/auth/gds" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
1290
- Started GET "/auth/gds/callback?code=BDMiqmAhSUmubuek5f3fz92ekVUqSTd-igF_aeIbzbo&state=808869a9cd86784f5074bff81cc774ce9c98eea912a2d8c3" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
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
1291
1290
  Processing by AuthenticationsController#callback as HTML
1292
- Parameters: {"code"=>"BDMiqmAhSUmubuek5f3fz92ekVUqSTd-igF_aeIbzbo", "state"=>"808869a9cd86784f5074bff81cc774ce9c98eea912a2d8c3"}
1291
+ Parameters: {"code"=>"2sMab_u8g0VtoGEDIWOHGeUoCIx6QU1WGtJ2Pf5iGJs", "state"=>"dce68471d4d40d57ceb4c87bd8b0f7a736ca9a91ccee16cd"}
1293
1292
  Authenticating with gds_sso strategy
1294
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1293
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1295
1294
  Redirected to http://www.example-client.com/restricted
1296
- Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 912)
1297
- Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
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
1298
1297
  Processing by ExampleController#restricted as HTML
1299
1298
  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]]
1300
1299
  Rendering text template
1301
1300
  Rendered text template (Duration: 0.0ms | Allocations: 1)
1302
1301
  Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 652)
1303
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "test@example-client.com"], ["LIMIT", 1]]
1304
-  (0.0ms) begin transaction
1305
- User Update (0.2ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", 1], ["id", 2]]
1306
-  (4.5ms) commit transaction
1307
- Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
1302
+ Started GET "/restricted" for 127.0.0.1 at 2020-11-13 06:37:31 +0000
1308
1303
  Processing by ExampleController#restricted as HTML
1309
- 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]]
1310
1304
  Authenticating with gds_sso strategy
1311
- Completed in 1ms (ActiveRecord: 0.1ms | Allocations: 532)
1312
- Started GET "/auth/gds" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
1313
- Started GET "/auth/gds/callback?code=ULrH80fYJMjbZhFg7SM9pY9dwSD3DucnSyNFeNaOpNs&state=2b102c56bfc92b3e9d3abe9f8fb1d6fb85b982a5d9030ac8" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
1314
- Processing by AuthenticationsController#callback as HTML
1315
- Parameters: {"code"=>"ULrH80fYJMjbZhFg7SM9pY9dwSD3DucnSyNFeNaOpNs", "state"=>"2b102c56bfc92b3e9d3abe9f8fb1d6fb85b982a5d9030ac8"}
1316
- Authenticating with gds_sso strategy
1317
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1318
-  (0.0ms) begin transaction
1319
- User Update (0.1ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", 0], ["id", 2]]
1320
-  (4.3ms) commit transaction
1321
- Redirected to http://www.example-client.com/restricted
1322
- Completed 302 Found in 7ms (ActiveRecord: 4.5ms | Allocations: 1103)
1323
- Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
1324
- Processing by ExampleController#restricted as HTML
1325
- 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]]
1326
- Rendering text template
1327
- Rendered text template (Duration: 0.0ms | Allocations: 1)
1328
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 650)
1329
- Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
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
1330
1308
  Processing by ExampleController#restricted as HTML
1331
1309
  Authenticating with gds_sso strategy
1332
1310
  Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 102)
1333
- Started GET "/auth/gds" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
1334
- Started GET "/auth/gds/callback?code=1ii4HmDcFSY4Wbj9v79MrIVmenNGY7SxuyGLkaLYswA&state=40b1fbad4bc5be3f73a23dc92e5dc7a289db3d4cf2607dc2" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
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
1335
1313
  Processing by AuthenticationsController#callback as HTML
1336
- Parameters: {"code"=>"1ii4HmDcFSY4Wbj9v79MrIVmenNGY7SxuyGLkaLYswA", "state"=>"40b1fbad4bc5be3f73a23dc92e5dc7a289db3d4cf2607dc2"}
1314
+ Parameters: {"code"=>"Nh-zC7yGJpH0Dl8m8iEYc-xXgOB9yI-4x95eARk9vCg", "state"=>"8865c8f7c7ac93c9517b3c968c664df99334e24d5f6945b4"}
1337
1315
  Authenticating with gds_sso strategy
1338
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1316
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1339
1317
  Redirected to http://www.example-client.com/restricted
1340
- Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 912)
1341
- Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
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
1342
1320
  Processing by ExampleController#restricted as HTML
1343
1321
  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]]
1344
1322
  Rendering text template
1345
1323
  Rendered text template (Duration: 0.0ms | Allocations: 1)
1346
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 652)
1347
- Started GET "/restricted" for 127.0.0.1 at 2020-10-27 10:56:23 +0000
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
1348
1326
  Processing by ExampleController#restricted as HTML
1349
1327
  Authenticating with gds_sso strategy
1350
- Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 479)
1351
- Started GET "/auth/gds" for 127.0.0.1 at 2020-10-27 10:56:23 +0000
1352
- Started GET "/auth/gds/callback?code=CCRzd3loz6THeyHMYh5OoCj84uRMei8okdG6yBP7MUE&state=9ca840e746f47c54ae507bbafca211b0fd575c163c9f3435" for 127.0.0.1 at 2020-10-27 10:56:23 +0000
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
1353
1331
  Processing by AuthenticationsController#callback as HTML
1354
- Parameters: {"code"=>"CCRzd3loz6THeyHMYh5OoCj84uRMei8okdG6yBP7MUE", "state"=>"9ca840e746f47c54ae507bbafca211b0fd575c163c9f3435"}
1332
+ Parameters: {"code"=>"avD6fG71If2TVFfGGu_baNRgQcUBNcpF8uqhLZMNA6o", "state"=>"a09fb312accf885b0aec96efe3b803e2c13a17a67172eaab"}
1355
1333
  Authenticating with gds_sso strategy
1356
1334
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1357
1335
  Redirected to http://www.example-client.com/restricted
1358
- Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 1115)
1359
- Started GET "/restricted" for 127.0.0.1 at 2020-10-27 10:56:23 +0000
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
1360
1338
  Processing by ExampleController#restricted as HTML
1361
1339
  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]]
1362
1340
  Rendering text template
1363
1341
  Rendered text template (Duration: 0.0ms | Allocations: 1)
1364
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 879)
1365
- Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
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
1366
1344
  Processing by ExampleController#restricted as HTML
1367
1345
  Authenticating with gds_sso strategy
1368
1346
  Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 102)
1369
- Started GET "/auth/gds" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
1370
- Started GET "/auth/gds/callback?code=b8s-kXAuetGtMPf0qd-evTQQebvXsS6juUttnUlj_KI&state=091092ef775a27a53d074af06150387698a9565ea7256204" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
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
1371
1349
  Processing by AuthenticationsController#callback as HTML
1372
- Parameters: {"code"=>"b8s-kXAuetGtMPf0qd-evTQQebvXsS6juUttnUlj_KI", "state"=>"091092ef775a27a53d074af06150387698a9565ea7256204"}
1350
+ Parameters: {"code"=>"Kh0ifEtYLuq5Mmjkf8p7KQFjO2r7Rf-UGyL4VNAOz8M", "state"=>"bd63f60b093032abdfeb6e9f9f062937f29526fa9af80fc7"}
1373
1351
  Authenticating with gds_sso strategy
1374
1352
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1375
1353
  Redirected to http://www.example-client.com/restricted
1376
1354
  Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 912)
1377
- Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
1355
+ Started GET "/restricted" for 127.0.0.1 at 2020-11-12 10:32:31 +0000
1378
1356
  Processing by ExampleController#restricted as HTML
1379
1357
  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]]
1380
1358
  Rendering text template
1381
1359
  Rendered text template (Duration: 0.0ms | Allocations: 1)
1382
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 653)
1383
- Started GET "/restricted" for 127.0.0.1 at 2020-10-27 10:56:23 +0000
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
1384
1362
  Processing by ExampleController#restricted as HTML
1385
- Authenticating with gds_sso strategy
1386
- Completed in 1ms (ActiveRecord: 0.0ms | Allocations: 479)
1387
- Started GET "/auth/gds" for 127.0.0.1 at 2020-10-27 10:56:23 +0000
1388
- Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
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
1389
1368
  Processing by ExampleController#restricted as HTML
1390
1369
  Authenticating with gds_sso strategy
1391
1370
  Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 102)
1392
- Started GET "/auth/gds" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
1393
- Started GET "/auth/gds/callback?code=Pt3AQ4pm5niA5TlkSaosLd1ov8PreanA86IVVfHd9H8&state=92f7f73fd253c2f094bd594446565a95b5d4fdb8b46afbea" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
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
1394
1373
  Processing by AuthenticationsController#callback as HTML
1395
- Parameters: {"code"=>"Pt3AQ4pm5niA5TlkSaosLd1ov8PreanA86IVVfHd9H8", "state"=>"92f7f73fd253c2f094bd594446565a95b5d4fdb8b46afbea"}
1374
+ Parameters: {"code"=>"dZDwdf1IvBcTAFqHkKLMXTKErnPgsjkcElPkNsXXW0U", "state"=>"d4c539e1c4e27814a9640383ef094255bc29683a7552c165"}
1396
1375
  Authenticating with gds_sso strategy
1397
1376
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1398
1377
  Redirected to http://www.example-client.com/restricted
1399
1378
  Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 912)
1400
- Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
1379
+ Started GET "/restricted" for 127.0.0.1 at 2020-11-12 10:32:31 +0000
1401
1380
  Processing by ExampleController#restricted as HTML
1402
1381
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
1403
1382
  Rendering text template
1404
1383
  Rendered text template (Duration: 0.0ms | Allocations: 1)
1405
1384
  Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 652)
1406
- Started GET "/restricted" for 127.0.0.1 at 2020-10-27 10:46:23 +0000
1385
+ 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
1390
+ Processing by ExampleController#restricted as HTML
1391
+ 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
+ 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
1396
+ Processing by AuthenticationsController#callback as HTML
1397
+ Parameters: {"code"=>"wc3fNXhJuPibWwifQFZEXVE-eYdNW7ZJqlNXLrdj1l8", "state"=>"121f606a8982afdcc769bae6c77bcf59710e5b653c29768d"}
1398
+ Authenticating with gds_sso strategy
1399
+ 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
1403
+ 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
1407
1406
  Processing by ExampleController#restricted as HTML
1408
1407
  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]]
1409
1408
  Rendering text template
1410
1409
  Rendered text template (Duration: 0.0ms | Allocations: 1)
1411
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 875)
1412
- Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
1413
- Processing by ExampleController#restricted as JSON
1414
- Completed in 12ms (ActiveRecord: 0.0ms | Allocations: 1955)
1415
- Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
1416
- Processing by ExampleController#restricted as JSON
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
1417
1413
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1418
-  (0.1ms) begin transaction
1414
+  (0.0ms) begin transaction
1419
1415
  User Update (0.2ms) UPDATE "users" SET "disabled" = ? WHERE "users"."id" = ? [["disabled", nil], ["id", 2]]
1420
-  (5.7ms) commit transaction
1416
+  (8.3ms) commit transaction
1421
1417
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1422
1418
  CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1423
1419
  CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1424
1420
  Rendering text template
1425
1421
  Rendered text template (Duration: 0.0ms | Allocations: 1)
1426
- Completed 200 OK in 13ms (Views: 0.3ms | ActiveRecord: 6.1ms | Allocations: 3311)
1427
- Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
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
1428
1427
  Processing by ExampleController#restricted as JSON
1429
- Completed in 7ms (ActiveRecord: 0.0ms | Allocations: 1776)
1430
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
1431
- Processing by ExampleController#this_requires_signin_permission as JSON
1432
1428
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1433
1429
  CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1434
1430
  CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1435
1431
  CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1436
1432
  Rendering text template
1437
1433
  Rendered text template (Duration: 0.0ms | Allocations: 1)
1438
- Completed 200 OK in 7ms (Views: 0.3ms | ActiveRecord: 0.2ms | Allocations: 3020)
1439
- Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
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
1436
+ 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
1440
1439
  Processing by ExampleController#restricted as HTML
1441
1440
  Authenticating with gds_sso strategy
1442
1441
  Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 104)
1443
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "asd"], ["LIMIT", 1]]
1444
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "user@example.com"], ["LIMIT", 1]]
1445
-  (0.1ms) begin transaction
1446
- 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]]
1447
-  (5.7ms) commit transaction
1448
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "asd"], ["LIMIT", 1]]
1449
1442
   (0.1ms) begin transaction
1450
- User Create (0.1ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d35050"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
1451
-  (4.3ms) commit 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
1452
1445
   (0.0ms) begin transaction
1453
- User Create (0.1ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d38503"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1454
-  (5.8ms) commit 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
1455
1448
  Processing by Api::UserController#update as HTML
1456
- Parameters: {"uid"=>"a1s2d35050"}
1457
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "a1s2d35050"], ["LIMIT", 1]]
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]]
1458
1451
   (0.0ms) begin transaction
1459
- 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", 4]]
1460
-  (5.1ms) commit transaction
1461
- Completed 200 OK in 7ms (ActiveRecord: 5.4ms | Allocations: 1266)
1462
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]]
1463
-  (0.1ms) begin transaction
1464
- User Create (0.1ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d34112"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
1465
-  (5.2ms) commit 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
1466
1459
   (0.0ms) begin transaction
1467
- User Create (0.1ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d36543"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1468
-  (3.7ms) commit 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
1469
1462
  Processing by Api::UserController#update as HTML
1470
- Parameters: {"uid"=>"a1s2d34112"}
1463
+ Parameters: {"uid"=>"a1s2d32453"}
1471
1464
  Rendering /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
1472
1465
  Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
1473
1466
  Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (Duration: 0.5ms | Allocations: 192)
1474
1467
  Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
1475
- Completed 403 Forbidden in 3ms (Views: 2.3ms | ActiveRecord: 0.0ms | Allocations: 1353)
1468
+ Completed 403 Forbidden in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms | Allocations: 1353)
1469
+  (0.1ms) begin transaction
1470
+ User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d34941"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
1471
+  (4.2ms) commit transaction
1472
+  (0.1ms) begin transaction
1473
+ User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d3477"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1474
+  (5.3ms) commit transaction
1475
+ Processing by Api::UserController#reauth as HTML
1476
+ Parameters: {"uid"=>"nonexistent-user"}
1477
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "nonexistent-user"], ["LIMIT", 1]]
1478
+ Completed 200 OK in 1ms (ActiveRecord: 0.1ms | Allocations: 526)
1479
+  (0.1ms) begin transaction
1480
+ User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d36181"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
1481
+  (5.6ms) commit transaction
1482
+  (0.1ms) begin transaction
1483
+ User Create (0.1ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d37265"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1484
+  (4.2ms) commit transaction
1485
+ Processing by Api::UserController#reauth as HTML
1486
+ Parameters: {"uid"=>"a1s2d36181"}
1487
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "a1s2d36181"], ["LIMIT", 1]]
1476
1488
   (0.0ms) begin transaction
1477
- User Create (0.1ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d33647"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
1478
-  (5.1ms) commit 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]]
1479
1493
   (0.0ms) begin transaction
1480
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d38442"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1481
-  (4.0ms) commit 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
1482
1499
  Processing by Api::UserController#reauth as HTML
1483
- Parameters: {"uid"=>"a1s2d33647"}
1500
+ Parameters: {"uid"=>"a1s2d36039"}
1484
1501
  Rendering /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
1485
1502
  Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
1486
- Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (Duration: 0.1ms | Allocations: 46)
1503
+ Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (Duration: 0.2ms | Allocations: 46)
1487
1504
  Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
1488
- Completed 403 Forbidden in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms | Allocations: 508)
1489
-  (0.0ms) begin transaction
1490
- User Create (0.1ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d3570"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
1491
-  (5.0ms) commit transaction
1492
-  (0.0ms) begin transaction
1493
- User Create (0.1ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d33250"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1494
-  (3.9ms) commit transaction
1495
- Processing by Api::UserController#reauth as HTML
1496
- Parameters: {"uid"=>"a1s2d3570"}
1497
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "a1s2d3570"], ["LIMIT", 1]]
1498
-  (0.0ms) begin transaction
1499
- User Update (0.1ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", 1], ["id", 10]]
1500
-  (5.2ms) commit transaction
1501
- Completed 200 OK in 7ms (ActiveRecord: 5.5ms | Allocations: 882)
1502
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 10], ["LIMIT", 1]]
1503
-  (0.0ms) begin transaction
1504
- User Create (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d39749"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
1505
-  (5.0ms) commit transaction
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
1506
1510
   (0.0ms) begin transaction
1507
- User Create (0.1ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d38771"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1508
-  (3.8ms) commit transaction
1509
- Processing by Api::UserController#reauth as HTML
1510
- Parameters: {"uid"=>"nonexistent-user"}
1511
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "nonexistent-user"], ["LIMIT", 1]]
1512
- Completed 200 OK in 1ms (ActiveRecord: 0.1ms | Allocations: 525)
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