gds-sso 13.3.0 → 13.4.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
  SHA1:
3
- metadata.gz: 3c3cbce2af513eb47be2d9ed18fb7b4998af04d5
4
- data.tar.gz: 6ef9003f30b725195e40c67b1b634f45b19f811f
3
+ metadata.gz: 4c393c1d9c9bba89a0d99faa3c8bc93d3288865c
4
+ data.tar.gz: 43137c891d2a30c618b7c73294378b422b5abd37
5
5
  SHA512:
6
- metadata.gz: 643929af91e4c99c3fbdd40f39eaa7b031bb233a948e4fc9b8fb2ed278532df8d8fc01a8452f84d1e4677319970e02bbe7ef3f2dc23105787a9ca5bc1f367846
7
- data.tar.gz: 85d56396ba1636ac608fd6ad02be0c942b860b2be52fe687a7bf706d216ada1021f5625b3809c078b7cead1b19f44e765bd2789e54a0e394f07dda2f5efe4857
6
+ metadata.gz: 17c5755ed0581e06fb11ca975372b962d3b62d1521c724753c16e7502c3236c7f52056bd8e871aef13eb5df7c1a2f49e8d23a777f16bcc144660b188372141aa
7
+ data.tar.gz: 5e60cbaa4fe46ab34429aa1213afa9c9ba6c6caa9f1940d99abce10dec9d9aa344b6640bddfbeede3a1209f1902321d9d3a6b932b4cd302583cb4158943dae85
data/README.md CHANGED
@@ -183,7 +183,7 @@ Run the tests with:
183
183
  bundle exec rake
184
184
  ```
185
185
 
186
- By default, the tests use the master of [Signon](https://github.com/alphagov/signonotron2) for running integration tests. If you want to use a branch (or commit, or tag), you can run it like this:
186
+ By default, the tests use the master of [Signon](https://github.com/alphagov/signon) for running integration tests. If you want to use a branch (or commit, or tag), you can run it like this:
187
187
 
188
188
  ```
189
189
  SIGNON_COMMITISH=my_branch_name bundle exec rake
@@ -26,7 +26,7 @@ module GDS
26
26
 
27
27
  # Our User code assumes we're getting our user data back
28
28
  # via omniauth and so receiving it in omniauth's preferred
29
- # structure. Here we're addressing signonotron directly so
29
+ # structure. Here we're addressing signon directly so
30
30
  # we need to transform the response ourselves.
31
31
  def self.omniauth_style_response(response_body)
32
32
  input = MultiJson.decode(response_body)['user']
@@ -28,7 +28,13 @@ module GDS
28
28
  end
29
29
 
30
30
  def self.use_mock_strategies?
31
- ['development', 'test'].include?(Rails.env) && ENV['GDS_SSO_STRATEGY'] != 'real'
31
+ default_strategy = if %w[development test].include?(Rails.env)
32
+ "mock"
33
+ else
34
+ "real"
35
+ end
36
+
37
+ ENV.fetch("GDS_SSO_STRATEGY", default_strategy) == "mock"
32
38
  end
33
39
  end
34
40
  end
@@ -1,5 +1,5 @@
1
1
  module GDS
2
2
  module SSO
3
- VERSION = "13.3.0"
3
+ VERSION = "13.4.0"
4
4
  end
5
5
  end
@@ -1,170 +1,179 @@
1
-  (8.0ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "uid" varchar NOT NULL, "email" varchar NOT NULL, "remotely_signed_out" boolean, "permissions" text, "organisation_slug" varchar, "organisation_content_id" varchar, "disabled" boolean DEFAULT 'f') 
2
-  (6.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
1
+  (8.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') 
2
+  (4.3ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
3
3
   (0.1ms) select sqlite_version(*)
4
-  (4.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
5
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-08 09:16:24 +0000
6
- Processing by ExampleController#this_requires_signin_permission as JSON
7
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
4
+  (4.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
5
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:07 +0000
6
+ Processing by ExampleController#restricted as HTML
7
+ Authenticating with gds_sso strategy
8
+ Completed in 8ms (ActiveRecord: 0.0ms)
9
+ Started GET "/auth/gds" for 127.0.0.1 at 2017-12-11 18:11:07 +0000
10
+ Started GET "/auth/gds/callback?code=cb9de2b51662d2548bcdfed5e23899e888d2161499fa2b3ced9871baaac2b8fd&state=84b5d64754faaf9cd83ccd73389793181b3298770514eabe" for 127.0.0.1 at 2017-12-11 18:11:17 +0000
11
+ Processing by AuthenticationsController#callback as HTML
12
+ Parameters: {"code"=>"cb9de2b51662d2548bcdfed5e23899e888d2161499fa2b3ced9871baaac2b8fd", "state"=>"84b5d64754faaf9cd83ccd73389793181b3298770514eabe"}
13
+ Authenticating with gds_sso strategy
14
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
8
15
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "test@example-client.com"]]
9
16
   (0.1ms) begin transaction
10
- SQL (0.2ms) INSERT INTO "users" ("uid", "email", "name", "permissions", "disabled") VALUES (?, ?, ?, ?, ?) [["uid", "integration-uid"], ["email", "test@example-client.com"], ["name", "Test User"], ["permissions", "---\n- signin\n"], ["disabled", nil]]
11
-  (7.0ms) commit transaction
17
+ SQL (0.2ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "integration-uid"], ["email", "test@example-client.com"], ["name", "Test User"], ["permissions", "---\n- signin\n"]]
18
+  (7.5ms) commit transaction
19
+  (0.1ms) begin transaction
20
+ SQL (0.2ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "f"], ["id", 1]]
21
+  (5.0ms) commit transaction
22
+ Redirected to http://www.example-client.com/restricted
23
+ Completed 302 Found in 38ms (ActiveRecord: 13.6ms)
24
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:17 +0000
25
+ Processing by ExampleController#restricted as HTML
26
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
27
+ Rendered text template (0.0ms)
28
+ Completed 200 OK in 9ms (Views: 6.6ms | ActiveRecord: 0.2ms)
29
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:17 +0000
30
+ Processing by ExampleController#restricted as HTML
31
+ Authenticating with gds_sso strategy
32
+ Completed in 0ms (ActiveRecord: 0.0ms)
33
+ Started GET "/auth/gds" for 127.0.0.1 at 2017-12-11 18:11:17 +0000
34
+ Started GET "/auth/gds/callback?code=956a16cf6a205042dacdde0af8cfbc0361a2683f51c22b7a98b9701478129a9f&state=707fd7c0cee1a34dd621b3fb75c001f797cd38a1807c8a0f" for 127.0.0.1 at 2017-12-11 18:11:17 +0000
35
+ Processing by AuthenticationsController#callback as HTML
36
+ Parameters: {"code"=>"956a16cf6a205042dacdde0af8cfbc0361a2683f51c22b7a98b9701478129a9f", "state"=>"707fd7c0cee1a34dd621b3fb75c001f797cd38a1807c8a0f"}
37
+ Authenticating with gds_sso strategy
12
38
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
13
39
   (0.1ms) begin transaction
14
40
   (0.0ms) commit transaction
15
- CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
16
-  (0.0ms) begin transaction
17
-  (0.0ms) commit transaction
18
- CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
19
-  (0.0ms) begin transaction
41
+  (0.1ms) begin transaction
20
42
   (0.0ms) commit transaction
21
-  (0.0ms) begin transaction
22
- SQL (0.2ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "f"], ["id", 1]]
23
-  (5.4ms) commit transaction
43
+ Redirected to http://www.example-client.com/restricted
44
+ Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
45
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:17 +0000
46
+ Processing by ExampleController#restricted as HTML
47
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
24
48
  Rendered text template (0.0ms)
25
- Completed 200 OK in 305ms (Views: 4.0ms | ActiveRecord: 13.9ms)
26
- Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:16:25 +0000
27
- Processing by ExampleController#restricted as JSON
28
- Completed in 19ms (ActiveRecord: 0.0ms)
29
- Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:16:25 +0000
30
- Processing by ExampleController#restricted as JSON
49
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
50
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-11 18:11:17 +0000
51
+ Processing by ExampleController#this_requires_signin_permission as HTML
52
+ Authenticating with gds_sso strategy
53
+ Completed in 0ms (ActiveRecord: 0.0ms)
54
+ Started GET "/auth/gds" for 127.0.0.1 at 2017-12-11 18:11:17 +0000
55
+ Started GET "/auth/gds/callback?code=4a5bd3d175141594811ef726f05905c93910f03ab7f57dfb66a2d59be22bea2e&state=ef621c5e69dfbdb935785c36d39dd72c71fcd82c7be2f0ad" for 127.0.0.1 at 2017-12-11 18:11:18 +0000
56
+ Processing by AuthenticationsController#callback as HTML
57
+ Parameters: {"code"=>"4a5bd3d175141594811ef726f05905c93910f03ab7f57dfb66a2d59be22bea2e", "state"=>"ef621c5e69dfbdb935785c36d39dd72c71fcd82c7be2f0ad"}
58
+ Authenticating with gds_sso strategy
31
59
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
32
60
   (0.1ms) begin transaction
33
-  (0.1ms) commit transaction
34
- CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
35
-  (0.0ms) begin transaction
36
-  (0.0ms) commit transaction
37
- CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
61
+  (0.0ms) commit transaction
38
62
   (0.0ms) begin transaction
39
63
   (0.0ms) commit transaction
40
- CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
41
-  (0.1ms) begin transaction
42
-  (0.0ms) commit transaction
43
-  (0.0ms) begin transaction
44
-  (0.1ms) commit transaction
64
+ Redirected to http://www.example-client.com/this_requires_signin_permission
65
+ Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
66
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-11 18:11:18 +0000
67
+ Processing by ExampleController#this_requires_signin_permission as HTML
68
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
45
69
  Rendered text template (0.0ms)
46
- Completed 200 OK in 59ms (Views: 0.3ms | ActiveRecord: 0.7ms)
47
- Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:16:25 +0000
48
- Processing by ExampleController#restricted as JSON
49
- Completed in 20ms (ActiveRecord: 0.0ms)
50
- Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:16:25 +0000
51
- Processing by ExampleController#restricted as HTML
70
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
71
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-11 18:11:18 +0000
72
+ Processing by ExampleController#this_requires_signin_permission as HTML
52
73
  Authenticating with gds_sso strategy
53
74
  Completed in 0ms (ActiveRecord: 0.0ms)
54
- Started GET "/auth/gds" for 127.0.0.1 at 2017-12-08 09:16:25 +0000
55
- Started GET "/auth/gds/callback?code=d92f84011a50094b7aed7bd36bb2dc487a6d8d8d005cc75a11943725807db0da&state=f6c8c683cebd89d812d85a1c930e391a9aab133f146668e7" for 127.0.0.1 at 2017-12-08 09:16:34 +0000
75
+ Started GET "/auth/gds" for 127.0.0.1 at 2017-12-11 18:11:18 +0000
76
+ Started GET "/auth/gds/callback?code=9cc9fbe29e53e26f82a2097c7bdaa453ede906178441eb04b872fc642686e1b9&state=cb7241bf67c5648e7c40332a2d61c17ef057d983176ea39c" for 127.0.0.1 at 2017-12-11 18:11:18 +0000
56
77
  Processing by AuthenticationsController#callback as HTML
57
- Parameters: {"code"=>"d92f84011a50094b7aed7bd36bb2dc487a6d8d8d005cc75a11943725807db0da", "state"=>"f6c8c683cebd89d812d85a1c930e391a9aab133f146668e7"}
78
+ Parameters: {"code"=>"9cc9fbe29e53e26f82a2097c7bdaa453ede906178441eb04b872fc642686e1b9", "state"=>"cb7241bf67c5648e7c40332a2d61c17ef057d983176ea39c"}
58
79
  Authenticating with gds_sso strategy
59
80
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
60
81
   (0.1ms) begin transaction
61
- SQL (0.2ms) UPDATE "users" SET "disabled" = ? WHERE "users"."id" = ? [["disabled", "f"], ["id", 1]]
62
-  (14.5ms) commit transaction
63
-  (0.0ms) begin transaction
64
-  (0.0ms) commit transaction
65
- Redirected to http://www.example-client.com/restricted
66
- Completed 302 Found in 19ms (ActiveRecord: 15.0ms)
67
- Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:16:34 +0000
68
- Processing by ExampleController#restricted as HTML
69
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
82
+  (0.0ms) commit transaction
83
+  (0.0ms) begin transaction
84
+  (0.0ms) commit transaction
85
+ Redirected to http://www.example-client.com/this_requires_signin_permission
86
+ Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
87
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-11 18:11:18 +0000
88
+ Processing by ExampleController#this_requires_signin_permission as HTML
89
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
70
90
  Rendered text template (0.0ms)
71
- Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.2ms)
72
- Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:16:34 +0000
91
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
92
+ Started GET "/" for 127.0.0.1 at 2017-12-11 18:11:18 +0000
93
+ Processing by ExampleController#index as HTML
94
+ Rendered text template (0.0ms)
95
+ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
96
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:18 +0000
73
97
  Processing by ExampleController#restricted as HTML
74
98
  Authenticating with gds_sso strategy
75
99
  Completed in 0ms (ActiveRecord: 0.0ms)
76
- Started GET "/auth/gds" for 127.0.0.1 at 2017-12-08 09:16:34 +0000
77
- Started GET "/auth/gds/callback?code=af47fb9789619f5fc4bcffc8416a23b28e4f54616c0101453774849c36d0c8d6&state=c0bccfcfa703158f83a203f637344f9db2dde880e71eb7f9" for 127.0.0.1 at 2017-12-08 09:16:35 +0000
100
+ Started GET "/auth/gds" for 127.0.0.1 at 2017-12-11 18:11:18 +0000
101
+ Started GET "/auth/gds/callback?code=98933978b918f4d259bc50c5122a23ee7a19caf329c6316d6d11add79707e486&state=8a400a04ec897d73b5be48980587e793a678a566a276c7db" for 127.0.0.1 at 2017-12-11 18:11:18 +0000
78
102
  Processing by AuthenticationsController#callback as HTML
79
- Parameters: {"code"=>"af47fb9789619f5fc4bcffc8416a23b28e4f54616c0101453774849c36d0c8d6", "state"=>"c0bccfcfa703158f83a203f637344f9db2dde880e71eb7f9"}
103
+ Parameters: {"code"=>"98933978b918f4d259bc50c5122a23ee7a19caf329c6316d6d11add79707e486", "state"=>"8a400a04ec897d73b5be48980587e793a678a566a276c7db"}
80
104
  Authenticating with gds_sso strategy
81
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
82
-  (0.1ms) begin transaction
83
-  (0.0ms) commit transaction
84
-  (0.0ms) begin transaction
85
-  (0.0ms) commit transaction
105
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
106
+  (0.1ms) begin transaction
107
+  (0.0ms) commit transaction
108
+  (0.0ms) begin transaction
109
+  (0.0ms) commit transaction
86
110
  Redirected to http://www.example-client.com/restricted
87
111
  Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
88
- Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:16:35 +0000
112
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:18 +0000
89
113
  Processing by ExampleController#restricted as HTML
90
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
114
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
91
115
  Rendered text template (0.0ms)
92
116
  Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
93
- Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:16:35 +0000
117
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:18 +0000
94
118
  Processing by ExampleController#restricted as HTML
95
119
  Authenticating with gds_sso strategy
96
120
  Completed in 0ms (ActiveRecord: 0.0ms)
97
- Started GET "/auth/gds" for 127.0.0.1 at 2017-12-08 09:16:35 +0000
98
- Started GET "/auth/gds/callback?code=78cb632dba24cdf695bf02e022bfda3f65682e9c5ebcd4c7c4328553a77eb64b&state=7371ad93aa4aa519139e15f9ed044f29aa8e83de479e2013" for 127.0.0.1 at 2017-12-08 09:16:35 +0000
121
+ Started GET "/auth/gds" for 127.0.0.1 at 2017-12-11 18:11:18 +0000
122
+ Started GET "/auth/gds/callback?code=9333eb36cda5b4c064e89cfbe9517bb0c84bb94a51175f516b0fd8a5d7944dda&state=bb8ef775f0904f7ceddc82f63f145dbc1a776b613accda23" for 127.0.0.1 at 2017-12-11 18:11:18 +0000
99
123
  Processing by AuthenticationsController#callback as HTML
100
- Parameters: {"code"=>"78cb632dba24cdf695bf02e022bfda3f65682e9c5ebcd4c7c4328553a77eb64b", "state"=>"7371ad93aa4aa519139e15f9ed044f29aa8e83de479e2013"}
124
+ Parameters: {"code"=>"9333eb36cda5b4c064e89cfbe9517bb0c84bb94a51175f516b0fd8a5d7944dda", "state"=>"bb8ef775f0904f7ceddc82f63f145dbc1a776b613accda23"}
101
125
  Authenticating with gds_sso strategy
102
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
103
-  (0.1ms) begin transaction
104
-  (0.0ms) commit transaction
105
-  (0.0ms) begin transaction
106
-  (0.1ms) commit transaction
126
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
127
+  (0.1ms) begin transaction
128
+  (0.0ms) commit transaction
129
+  (0.0ms) begin transaction
130
+  (0.0ms) commit transaction
107
131
  Redirected to http://www.example-client.com/restricted
108
132
  Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
109
- Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:16:35 +0000
133
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:18 +0000
110
134
  Processing by ExampleController#restricted as HTML
111
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
135
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
112
136
  Rendered text template (0.0ms)
113
- Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
114
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-08 09:16:35 +0000
115
- Processing by ExampleController#this_requires_signin_permission as HTML
137
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
138
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-12 14:16:18 +0000
139
+ Processing by ExampleController#restricted as HTML
140
+ Authenticating with gds_sso strategy
141
+ Completed in 1ms (ActiveRecord: 0.0ms)
142
+ Started GET "/auth/gds" for 127.0.0.1 at 2017-12-12 14:16:18 +0000
143
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:18 +0000
144
+ Processing by ExampleController#restricted as HTML
116
145
  Authenticating with gds_sso strategy
117
146
  Completed in 0ms (ActiveRecord: 0.0ms)
118
- Started GET "/auth/gds" for 127.0.0.1 at 2017-12-08 09:16:35 +0000
119
- Started GET "/auth/gds/callback?code=f3ad2550047bcd71f432a75c3869242cc365dddc0619d99fdaf096d62c22a309&state=aa253c92054a27a7cade43eea0c68465c648def1d4c66039" for 127.0.0.1 at 2017-12-08 09:16:35 +0000
147
+ Started GET "/auth/gds" for 127.0.0.1 at 2017-12-11 18:11:18 +0000
148
+ Started GET "/auth/gds/callback?code=94eb9c2bc9e351e9148932f1d8252acde7d89261b9d93c034753cab2c749f935&state=1341d863625dc14bb051a0abd8475e3e3c069c61f7bc4e0f" for 127.0.0.1 at 2017-12-11 18:11:19 +0000
120
149
  Processing by AuthenticationsController#callback as HTML
121
- Parameters: {"code"=>"f3ad2550047bcd71f432a75c3869242cc365dddc0619d99fdaf096d62c22a309", "state"=>"aa253c92054a27a7cade43eea0c68465c648def1d4c66039"}
150
+ Parameters: {"code"=>"94eb9c2bc9e351e9148932f1d8252acde7d89261b9d93c034753cab2c749f935", "state"=>"1341d863625dc14bb051a0abd8475e3e3c069c61f7bc4e0f"}
122
151
  Authenticating with gds_sso strategy
123
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
124
-  (0.1ms) begin transaction
125
-  (0.0ms) commit transaction
126
-  (0.0ms) begin transaction
127
-  (0.0ms) commit transaction
128
- Redirected to http://www.example-client.com/this_requires_signin_permission
152
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
153
+  (0.1ms) begin transaction
154
+  (0.0ms) commit transaction
155
+  (0.0ms) begin transaction
156
+  (0.0ms) commit transaction
157
+ Redirected to http://www.example-client.com/restricted
129
158
  Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
130
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-08 09:16:35 +0000
131
- Processing by ExampleController#this_requires_signin_permission as HTML
132
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
159
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:19 +0000
160
+ Processing by ExampleController#restricted as HTML
161
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
133
162
  Rendered text template (0.0ms)
134
- Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
135
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-08 09:16:35 +0000
136
- Processing by ExampleController#this_requires_signin_permission as HTML
137
- Authenticating with gds_sso strategy
138
- Completed in 0ms (ActiveRecord: 0.0ms)
139
- Started GET "/auth/gds" for 127.0.0.1 at 2017-12-08 09:16:35 +0000
140
- Started GET "/auth/gds/callback?code=f01dd1d5ac1fe419835f1697ce79b98eb358155d22085876aaf1a8d63f8a0436&state=d6aad2ea181e08b726c78d9ad6856ef343f9c746f2325c0d" for 127.0.0.1 at 2017-12-08 09:16:35 +0000
141
- Processing by AuthenticationsController#callback as HTML
142
- Parameters: {"code"=>"f01dd1d5ac1fe419835f1697ce79b98eb358155d22085876aaf1a8d63f8a0436", "state"=>"d6aad2ea181e08b726c78d9ad6856ef343f9c746f2325c0d"}
143
- Authenticating with gds_sso strategy
144
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
145
-  (0.1ms) begin transaction
146
-  (0.0ms) commit transaction
147
-  (0.0ms) begin transaction
148
-  (0.0ms) commit transaction
149
- Redirected to http://www.example-client.com/this_requires_signin_permission
150
- Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
151
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-08 09:16:35 +0000
152
- Processing by ExampleController#this_requires_signin_permission as HTML
163
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
164
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-12 14:06:19 +0000
165
+ Processing by ExampleController#restricted as HTML
153
166
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
154
167
  Rendered text template (0.0ms)
155
168
  Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
156
- Started GET "/" for 127.0.0.1 at 2017-12-08 09:16:35 +0000
157
- Processing by ExampleController#index as HTML
158
- Rendered text template (0.0ms)
159
- Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
160
- Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:16:35 +0000
169
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:19 +0000
161
170
  Processing by ExampleController#restricted as HTML
162
171
  Authenticating with gds_sso strategy
163
172
  Completed in 0ms (ActiveRecord: 0.0ms)
164
- Started GET "/auth/gds" for 127.0.0.1 at 2017-12-08 09:16:35 +0000
165
- Started GET "/auth/gds/callback?code=c691d9611ba30187c803f3d2f761a2e0b841967309cbb1f5a3964e933606293d&state=91c1b1597d8c03818dc1fb949c23da49e990b81f3fe4462b" for 127.0.0.1 at 2017-12-08 09:16:35 +0000
173
+ Started GET "/auth/gds" for 127.0.0.1 at 2017-12-11 18:11:19 +0000
174
+ Started GET "/auth/gds/callback?code=cbc0af25f5614c13b339bd158d7739160c436eb098f517da3da0dced875ac8df&state=79f4d622f5820519b9d1d1cbbcc6c0200521870aef31d76b" for 127.0.0.1 at 2017-12-11 18:11:19 +0000
166
175
  Processing by AuthenticationsController#callback as HTML
167
- Parameters: {"code"=>"c691d9611ba30187c803f3d2f761a2e0b841967309cbb1f5a3964e933606293d", "state"=>"91c1b1597d8c03818dc1fb949c23da49e990b81f3fe4462b"}
176
+ Parameters: {"code"=>"cbc0af25f5614c13b339bd158d7739160c436eb098f517da3da0dced875ac8df", "state"=>"79f4d622f5820519b9d1d1cbbcc6c0200521870aef31d76b"}
168
177
  Authenticating with gds_sso strategy
169
178
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
170
179
   (0.1ms) begin transaction
@@ -173,833 +182,829 @@ Authenticating with gds_sso strategy
173
182
   (0.0ms) commit transaction
174
183
  Redirected to http://www.example-client.com/restricted
175
184
  Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
176
- Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:16:35 +0000
185
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:19 +0000
177
186
  Processing by ExampleController#restricted as HTML
178
187
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
179
188
  Rendered text template (0.0ms)
180
189
  Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
181
- Started GET "/restricted" for 127.0.0.1 at 2017-12-09 05:21:35 +0000
190
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-12 14:16:19 +0000
182
191
  Processing by ExampleController#restricted as HTML
183
192
  Authenticating with gds_sso strategy
184
193
  Completed in 0ms (ActiveRecord: 0.0ms)
185
- Started GET "/auth/gds" for 127.0.0.1 at 2017-12-09 05:21:35 +0000
186
- Started GET "/auth/gds/callback?code=05aeadc5aa44d6406fc554a6343d9872bbeae0feea9d34ed1df59d17aa1d512d&state=682f93024676f2802e2975bfb17885410678cf7c1ce42674" for 127.0.0.1 at 2017-12-09 05:21:35 +0000
194
+ Started GET "/auth/gds" for 127.0.0.1 at 2017-12-12 14:16:19 +0000
195
+ Started GET "/auth/gds/callback?code=e305ad6667dbb7cc98eadb1acacd8b2eba11a098d6ec7c8b0c487cec5641f260&state=437717250f38381a5389caeab288158cbc86a59198cba4d3" for 127.0.0.1 at 2017-12-12 14:16:19 +0000
187
196
  Processing by AuthenticationsController#callback as HTML
188
- Parameters: {"code"=>"05aeadc5aa44d6406fc554a6343d9872bbeae0feea9d34ed1df59d17aa1d512d", "state"=>"682f93024676f2802e2975bfb17885410678cf7c1ce42674"}
197
+ Parameters: {"code"=>"e305ad6667dbb7cc98eadb1acacd8b2eba11a098d6ec7c8b0c487cec5641f260", "state"=>"437717250f38381a5389caeab288158cbc86a59198cba4d3"}
189
198
  Authenticating with gds_sso strategy
190
199
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
191
-  (0.0ms) begin transaction
192
-  (0.0ms) commit transaction
193
-  (0.0ms) begin transaction
200
+  (0.1ms) begin transaction
201
+  (0.1ms) commit transaction
202
+  (0.1ms) begin transaction
194
203
   (0.1ms) commit transaction
195
204
  Redirected to http://www.example-client.com/restricted
196
- Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
197
- Started GET "/restricted" for 127.0.0.1 at 2017-12-09 05:21:35 +0000
205
+ Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
206
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-12 14:16:19 +0000
198
207
  Processing by ExampleController#restricted as HTML
199
208
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
200
209
  Rendered text template (0.0ms)
201
210
  Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
202
- Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:16:35 +0000
211
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:19 +0000
203
212
  Processing by ExampleController#restricted as HTML
204
213
  Authenticating with gds_sso strategy
205
214
  Completed in 0ms (ActiveRecord: 0.0ms)
206
- Started GET "/auth/gds" for 127.0.0.1 at 2017-12-08 09:16:35 +0000
207
- Started GET "/auth/gds/callback?code=1a6cfec97fe11e2461a71ee8bdbf57aea3765d824dd4652fa8357e958b885ec4&state=6f5d43549f09de07fa0c7bfa6d61f40398e8f4cb21674d78" for 127.0.0.1 at 2017-12-08 09:16:36 +0000
215
+ Started GET "/auth/gds" for 127.0.0.1 at 2017-12-11 18:11:19 +0000
216
+ Started GET "/auth/gds/callback?code=031a03cddf3ac36ad0a36c159a263f073cd49e07d31037d6abb934b70443b068&state=22329f061cc3c4281f9f532bdfe854fe10e88af0cc3c6f4b" for 127.0.0.1 at 2017-12-11 18:11:19 +0000
208
217
  Processing by AuthenticationsController#callback as HTML
209
- Parameters: {"code"=>"1a6cfec97fe11e2461a71ee8bdbf57aea3765d824dd4652fa8357e958b885ec4", "state"=>"6f5d43549f09de07fa0c7bfa6d61f40398e8f4cb21674d78"}
218
+ Parameters: {"code"=>"031a03cddf3ac36ad0a36c159a263f073cd49e07d31037d6abb934b70443b068", "state"=>"22329f061cc3c4281f9f532bdfe854fe10e88af0cc3c6f4b"}
210
219
  Authenticating with gds_sso strategy
211
220
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
212
221
   (0.1ms) begin transaction
213
-  (0.1ms) commit transaction
222
+  (0.0ms) commit transaction
214
223
   (0.0ms) begin transaction
215
-  (0.1ms) commit transaction
224
+  (0.0ms) commit transaction
216
225
  Redirected to http://www.example-client.com/restricted
217
226
  Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
218
- Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:16:36 +0000
227
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:19 +0000
219
228
  Processing by ExampleController#restricted as HTML
220
229
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
221
230
  Rendered text template (0.0ms)
222
231
  Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
223
- Started GET "/restricted" for 127.0.0.1 at 2017-12-09 05:11:36 +0000
232
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "test@example-client.com"]]
233
+  (0.0ms) begin transaction
234
+ SQL (0.1ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 1]]
235
+  (6.4ms) commit transaction
236
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:19 +0000
224
237
  Processing by ExampleController#restricted as HTML
225
238
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
226
- Rendered text template (0.0ms)
227
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
228
- Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:16:36 +0000
229
- Processing by ExampleController#restricted as HTML
230
239
  Authenticating with gds_sso strategy
231
- Completed in 0ms (ActiveRecord: 0.0ms)
232
- Started GET "/auth/gds" for 127.0.0.1 at 2017-12-08 09:16:36 +0000
233
- Started GET "/auth/gds/callback?code=d27c2026d4977688b3481a6299783fbb7e5f5dfe7fa10530c6af91d59200deaf&state=bf5cebd4bda79ef168638e74ba840749c0a3e34e5a08ec17" for 127.0.0.1 at 2017-12-08 09:16:36 +0000
240
+ Completed in 1ms (ActiveRecord: 0.1ms)
241
+ Started GET "/auth/gds" for 127.0.0.1 at 2017-12-11 18:11:19 +0000
242
+ Started GET "/auth/gds/callback?code=01375adb3b43310907776cf6d0cd702cd0511a36749fe82516d310770aa170c4&state=e52ee1c756b07e3b1d19ed9e9facfa55fbe696e3b3c9f9ca" for 127.0.0.1 at 2017-12-11 18:11:19 +0000
234
243
  Processing by AuthenticationsController#callback as HTML
235
- Parameters: {"code"=>"d27c2026d4977688b3481a6299783fbb7e5f5dfe7fa10530c6af91d59200deaf", "state"=>"bf5cebd4bda79ef168638e74ba840749c0a3e34e5a08ec17"}
244
+ Parameters: {"code"=>"01375adb3b43310907776cf6d0cd702cd0511a36749fe82516d310770aa170c4", "state"=>"e52ee1c756b07e3b1d19ed9e9facfa55fbe696e3b3c9f9ca"}
236
245
  Authenticating with gds_sso strategy
237
246
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
238
247
   (0.1ms) begin transaction
239
-  (0.1ms) commit transaction
248
+  (0.0ms) commit transaction
240
249
   (0.0ms) begin transaction
241
-  (0.1ms) commit transaction
250
+ SQL (0.1ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "f"], ["id", 1]]
251
+  (5.9ms) commit transaction
242
252
  Redirected to http://www.example-client.com/restricted
243
- Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
244
- Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:16:36 +0000
253
+ Completed 302 Found in 10ms (ActiveRecord: 6.4ms)
254
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:19 +0000
245
255
  Processing by ExampleController#restricted as HTML
246
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
256
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
247
257
  Rendered text template (0.0ms)
248
- Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
249
- Started GET "/restricted" for 127.0.0.1 at 2017-12-09 05:21:36 +0000
250
- Processing by ExampleController#restricted as HTML
251
- Authenticating with gds_sso strategy
252
- Completed in 0ms (ActiveRecord: 0.0ms)
253
- Started GET "/auth/gds" for 127.0.0.1 at 2017-12-09 05:21:36 +0000
254
- Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:16:36 +0000
255
- Processing by ExampleController#restricted as HTML
256
- Authenticating with gds_sso strategy
257
- Completed in 0ms (ActiveRecord: 0.0ms)
258
- Started GET "/auth/gds" for 127.0.0.1 at 2017-12-08 09:16:36 +0000
259
- Started GET "/auth/gds/callback?code=898f4ce3a736f6e2010ff4ff80658592debe844c05212d499a23fdde59359d28&state=38e017ec36bb74ebb64d287aead6899b070a94442f6e9328" for 127.0.0.1 at 2017-12-08 09:16:36 +0000
260
- Processing by AuthenticationsController#callback as HTML
261
- Parameters: {"code"=>"898f4ce3a736f6e2010ff4ff80658592debe844c05212d499a23fdde59359d28", "state"=>"38e017ec36bb74ebb64d287aead6899b070a94442f6e9328"}
262
- Authenticating with gds_sso strategy
263
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
258
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
259
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-11 18:11:19 +0000
260
+ Processing by ExampleController#this_requires_signin_permission as JSON
261
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
262
+  (0.1ms) begin transaction
263
+ SQL (0.2ms) UPDATE "users" SET "disabled" = ? WHERE "users"."id" = ? [["disabled", nil], ["id", 1]]
264
+  (5.5ms) commit transaction
265
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
266
+  (0.1ms) begin transaction
267
+  (0.0ms) commit transaction
268
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
264
269
   (0.1ms) begin transaction
265
270
   (0.0ms) commit transaction
266
-  (0.0ms) begin transaction
267
-  (0.0ms) commit transaction
268
- Redirected to http://www.example-client.com/restricted
269
- Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
270
- Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:16:36 +0000
271
- Processing by ExampleController#restricted as HTML
272
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
271
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
272
+  (0.1ms) begin transaction
273
+  (0.1ms) commit transaction
274
+  (0.0ms) begin transaction
275
+  (0.0ms) commit transaction
273
276
  Rendered text template (0.0ms)
274
- Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
275
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "test@example-client.com"]]
277
+ Completed 200 OK in 75ms (Views: 0.3ms | ActiveRecord: 6.4ms)
278
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:20 +0000
279
+ Processing by ExampleController#restricted as JSON
280
+ Completed in 12ms (ActiveRecord: 0.0ms)
281
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:20 +0000
282
+ Processing by ExampleController#restricted as JSON
283
+ Completed in 22ms (ActiveRecord: 0.0ms)
284
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:20 +0000
285
+ Processing by ExampleController#restricted as JSON
286
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
276
287
   (0.1ms) begin transaction
277
- SQL (0.1ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 1]]
278
-  (6.4ms) commit transaction
279
- Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:16:36 +0000
280
- Processing by ExampleController#restricted as HTML
281
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
282
- Authenticating with gds_sso strategy
283
- Completed in 1ms (ActiveRecord: 0.1ms)
284
- Started GET "/auth/gds" for 127.0.0.1 at 2017-12-08 09:16:36 +0000
285
- Started GET "/auth/gds/callback?code=1536f0c355d3e69ab067eb9b277ca8a1e55a994f351cdd0a4000216ec8b9373d&state=a5a7bdcf03de4298f063b99dd9af9f9dc38e55c46e1250af" for 127.0.0.1 at 2017-12-08 09:16:37 +0000
286
- Processing by AuthenticationsController#callback as HTML
287
- Parameters: {"code"=>"1536f0c355d3e69ab067eb9b277ca8a1e55a994f351cdd0a4000216ec8b9373d", "state"=>"a5a7bdcf03de4298f063b99dd9af9f9dc38e55c46e1250af"}
288
- Authenticating with gds_sso strategy
289
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
288
+  (0.3ms) commit transaction
289
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
290
+  (0.0ms) begin transaction
291
+  (0.0ms) commit transaction
292
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
293
+  (0.0ms) begin transaction
294
+  (0.0ms) commit transaction
295
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
290
296
   (0.1ms) begin transaction
291
297
   (0.0ms) commit transaction
292
298
   (0.0ms) begin transaction
293
- SQL (0.1ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "f"], ["id", 1]]
294
-  (4.9ms) commit transaction
295
- Redirected to http://www.example-client.com/restricted
296
- Completed 302 Found in 9ms (ActiveRecord: 5.3ms)
297
- Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:16:37 +0000
298
- Processing by ExampleController#restricted as HTML
299
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
299
+  (0.0ms) commit transaction
300
300
  Rendered text template (0.0ms)
301
- Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
301
+ Completed 200 OK in 59ms (Views: 0.3ms | ActiveRecord: 0.8ms)
302
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "asd"]]
303
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "user@example.com"]]
302
304
   (0.1ms) begin transaction
303
- SQL (0.2ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d38537"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
304
-  (4.2ms) commit transaction
305
-  (0.0ms) begin transaction
306
- SQL (0.1ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d39615"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
307
-  (4.8ms) commit transaction
308
- Processing by Api::UserController#update as HTML
309
- Parameters: {"uid"=>"a1s2d38537"}
310
- Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
311
- Completed 403 Forbidden in 7ms (Views: 6.2ms | ActiveRecord: 0.0ms)
305
+ SQL (0.2ms) INSERT INTO "users" ("uid", "email", "name", "permissions", "organisation_slug", "organisation_content_id", "disabled") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "asd"], ["email", "user@example.com"], ["name", "A Name"], ["permissions", "---\n- signin\n"], ["organisation_slug", "hmrc"], ["organisation_content_id", "67a2b78d-eee3-45b3-80e2-792e7f71cecc"], ["disabled", nil]]
306
+  (4.0ms) commit transaction
307
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "asd"]]
312
308
   (0.0ms) begin transaction
313
- SQL (0.2ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d35045"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
314
-  (5.4ms) commit transaction
315
-  (0.0ms) begin transaction
316
- SQL (0.1ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d38178"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
317
-  (4.9ms) commit transaction
318
- Processing by Api::UserController#update as HTML
319
- Parameters: {"uid"=>"a1s2d35045"}
320
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "a1s2d35045"]]
321
-  (0.0ms) begin transaction
322
- SQL (0.2ms) UPDATE "users" SET "email" = ?, "name" = ?, "permissions" = ?, "organisation_slug" = ?, "organisation_content_id" = ? WHERE "users"."id" = ? [["email", "user@domain.com"], ["name", "Joshua Marshall"], ["permissions", "---\n- signin\n- new permission\n"], ["organisation_slug", "justice-league"], ["organisation_content_id", "aae1319e-5788-4677-998c-f1a53af528d0"], ["id", 4]]
323
-  (5.6ms) commit transaction
324
- Completed 200 OK in 9ms (ActiveRecord: 5.9ms)
325
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]]
309
+  (0.0ms) commit transaction
310
+  (0.1ms) begin transaction
311
+ SQL (0.1ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d39973"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
312
+  (5.0ms) commit transaction
326
313
   (0.0ms) begin transaction
327
- SQL (0.1ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d3648"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
328
-  (8.7ms) commit transaction
329
-  (0.0ms) begin transaction
330
- SQL (0.1ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d336"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
331
-  (5.1ms) commit transaction
314
+ SQL (0.1ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d37788"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
315
+  (4.3ms) commit transaction
332
316
  Processing by Api::UserController#reauth as HTML
333
- Parameters: {"uid"=>"nonexistent-user"}
334
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "nonexistent-user"]]
335
- Completed 200 OK in 1ms (ActiveRecord: 0.1ms)
317
+ Parameters: {"uid"=>"a1s2d39973"}
318
+ Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
319
+ Completed 403 Forbidden in 7ms (Views: 6.5ms | ActiveRecord: 0.0ms)
336
320
   (0.1ms) begin transaction
337
- SQL (0.1ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d35314"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
338
-  (4.1ms) commit transaction
321
+ SQL (0.1ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d33251"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
322
+  (7.1ms) commit transaction
339
323
   (0.0ms) begin transaction
340
- SQL (0.1ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d34145"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
341
-  (5.1ms) commit transaction
324
+ SQL (0.1ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d34696"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
325
+  (6.0ms) commit transaction
342
326
  Processing by Api::UserController#reauth as HTML
343
- Parameters: {"uid"=>"a1s2d35314"}
344
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "a1s2d35314"]]
327
+ Parameters: {"uid"=>"nonexistent-user"}
328
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "nonexistent-user"]]
329
+ Completed 200 OK in 1ms (ActiveRecord: 0.1ms)
345
330
   (0.1ms) begin transaction
346
- SQL (0.1ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 8]]
347
-  (4.8ms) commit transaction
348
- Completed 200 OK in 7ms (ActiveRecord: 5.1ms)
349
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 8]]
350
-  (0.0ms) begin transaction
351
- SQL (0.2ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d3145"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
352
-  (7.6ms) commit transaction
331
+ SQL (0.1ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d36386"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
332
+  (3.8ms) commit transaction
353
333
   (0.0ms) begin transaction
354
- SQL (0.1ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d38931"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
355
-  (4.2ms) commit transaction
334
+ SQL (0.1ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d34506"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
335
+  (4.7ms) commit transaction
356
336
  Processing by Api::UserController#reauth as HTML
357
- Parameters: {"uid"=>"a1s2d3145"}
358
- Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.0ms)
359
- Completed 403 Forbidden in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
360
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "asd"]]
361
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "user@example.com"]]
337
+ Parameters: {"uid"=>"a1s2d36386"}
338
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "a1s2d36386"]]
339
+  (0.0ms) begin transaction
340
+ SQL (0.1ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 7]]
341
+  (4.9ms) commit transaction
342
+ Completed 200 OK in 7ms (ActiveRecord: 5.1ms)
343
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 7]]
344
+  (0.1ms) begin transaction
345
+ SQL (0.1ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d32583"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
346
+  (4.7ms) commit transaction
347
+  (0.0ms) begin transaction
348
+ SQL (0.1ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d33082"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
349
+  (3.8ms) commit transaction
350
+ Processing by Api::UserController#update as HTML
351
+ Parameters: {"uid"=>"a1s2d32583"}
352
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "a1s2d32583"]]
362
353
   (0.1ms) begin transaction
363
- SQL (0.2ms) INSERT INTO "users" ("uid", "email", "name", "permissions", "organisation_slug", "organisation_content_id", "disabled") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "asd"], ["email", "user@example.com"], ["name", "A Name"], ["permissions", "---\n- signin\n"], ["organisation_slug", "hmrc"], ["organisation_content_id", "67a2b78d-eee3-45b3-80e2-792e7f71cecc"], ["disabled", nil]]
364
-  (5.3ms) commit transaction
365
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "asd"]]
354
+ SQL (0.2ms) UPDATE "users" SET "email" = ?, "name" = ?, "permissions" = ?, "organisation_slug" = ?, "organisation_content_id" = ? WHERE "users"."id" = ? [["email", "user@domain.com"], ["name", "Joshua Marshall"], ["permissions", "---\n- signin\n- new permission\n"], ["organisation_slug", "justice-league"], ["organisation_content_id", "aae1319e-5788-4677-998c-f1a53af528d0"], ["id", 9]]
355
+  (4.0ms) commit transaction
356
+ Completed 200 OK in 7ms (ActiveRecord: 4.4ms)
357
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 9]]
366
358
   (0.0ms) begin transaction
367
-  (0.0ms) commit transaction
368
-  (7.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')
369
-  (6.3ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
370
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
359
+ SQL (0.1ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d38564"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
360
+  (5.0ms) commit transaction
361
+  (0.1ms) begin transaction
362
+ SQL (0.1ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d3245"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
363
+  (5.4ms) commit transaction
364
+ Processing by Api::UserController#update as HTML
365
+ Parameters: {"uid"=>"a1s2d38564"}
366
+ Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.1ms)
367
+ Completed 403 Forbidden in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
368
+  (4.7ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "uid" varchar NOT NULL, "email" varchar NOT NULL, "remotely_signed_out" boolean, "permissions" text, "organisation_slug" varchar, "organisation_content_id" varchar, "disabled" boolean DEFAULT 'f')
369
+  (5.2ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
370
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
371
371
   (0.1ms) begin transaction
372
- SQL (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2017-12-08 09:16:47 UTC], ["updated_at", 2017-12-08 09:16:47 UTC]]
373
-  (6.6ms) commit transaction
374
-  (4.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
372
+ SQL (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2017-12-11 18:11:27 UTC], ["updated_at", 2017-12-11 18:11:27 UTC]]
373
+  (4.3ms) commit transaction
374
+  (5.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
375
375
  ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
376
376
   (0.1ms) begin transaction
377
-  (0.0ms) commit transaction
378
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "asd"], ["LIMIT", 1]]
379
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "user@example.com"], ["LIMIT", 1]]
377
+  (0.1ms) commit transaction
378
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-11 18:11:27 +0000
379
+ Processing by ExampleController#this_requires_signin_permission as JSON
380
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
381
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "test@example-client.com"], ["LIMIT", 1]]
380
382
   (0.1ms) begin transaction
381
- SQL (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]]
382
-  (8.4ms) commit transaction
383
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "asd"], ["LIMIT", 1]]
383
+ SQL (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]]
384
+  (6.5ms) commit transaction
385
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
386
+  (0.1ms) begin transaction
387
+  (0.0ms) commit transaction
388
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
384
389
   (0.0ms) begin transaction
390
+  (0.0ms) commit transaction
391
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
392
+  (0.1ms) begin transaction
385
393
   (0.1ms) commit transaction
386
394
   (0.0ms) begin transaction
387
- SQL (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d34536"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
388
-  (5.4ms) commit transaction
389
-  (0.0ms) begin transaction
390
- SQL (0.1ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d36440"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
391
-  (6.4ms) commit transaction
392
- Processing by Api::UserController#update as HTML
393
- Parameters: {"uid"=>"a1s2d34536"}
394
- Rendering /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
395
- Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
396
- Completed 403 Forbidden in 10ms (Views: 9.6ms | ActiveRecord: 0.0ms)
395
+ SQL (0.2ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", false], ["id", 1]]
396
+  (4.1ms) commit transaction
397
+ Rendering text template
398
+ Rendered text template (0.0ms)
399
+ Completed 200 OK in 118ms (Views: 5.5ms | ActiveRecord: 12.7ms)
400
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:28 +0000
401
+ Processing by ExampleController#restricted as JSON
402
+ Completed in 12ms (ActiveRecord: 0.0ms)
403
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:28 +0000
404
+ Processing by ExampleController#restricted as JSON
405
+ Completed in 26ms (ActiveRecord: 0.0ms)
406
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:28 +0000
407
+ Processing by ExampleController#restricted as JSON
408
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
397
409
   (0.1ms) begin transaction
398
- SQL (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d32239"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
399
-  (5.8ms) commit transaction
400
-  (0.0ms) begin transaction
401
- SQL (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d31177"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
402
-  (4.7ms) commit transaction
403
- Processing by Api::UserController#update as HTML
404
- Parameters: {"uid"=>"a1s2d32239"}
405
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "a1s2d32239"], ["LIMIT", 1]]
410
+  (0.0ms) commit transaction
411
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
406
412
   (0.1ms) begin transaction
407
- SQL (0.2ms) UPDATE "users" SET "email" = ?, "name" = ?, "permissions" = ?, "organisation_slug" = ?, "organisation_content_id" = ? WHERE "users"."id" = ? [["email", "user@domain.com"], ["name", "Joshua Marshall"], ["permissions", "---\n- signin\n- new permission\n"], ["organisation_slug", "justice-league"], ["organisation_content_id", "aae1319e-5788-4677-998c-f1a53af528d0"], ["id", 4]]
408
-  (6.2ms) commit transaction
409
- Completed 200 OK in 10ms (ActiveRecord: 6.6ms)
410
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]]
413
+  (0.0ms) commit transaction
414
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
411
415
   (0.1ms) begin transaction
412
- SQL (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d34143"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
413
-  (5.0ms) commit transaction
414
-  (0.0ms) begin transaction
415
- SQL (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d31147"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
416
-  (5.6ms) commit transaction
417
- Processing by Api::UserController#reauth as HTML
418
- Parameters: {"uid"=>"a1s2d34143"}
419
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "a1s2d34143"], ["LIMIT", 1]]
420
-  (0.0ms) begin transaction
421
- SQL (0.1ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", true], ["id", 6]]
422
-  (5.3ms) commit transaction
423
- Completed 200 OK in 7ms (ActiveRecord: 5.5ms)
424
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]]
416
+  (0.0ms) commit transaction
417
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
425
418
   (0.1ms) begin transaction
426
- SQL (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d37829"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
427
-  (5.1ms) commit transaction
428
-  (0.0ms) begin transaction
429
- SQL (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d37721"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
430
-  (4.9ms) commit transaction
431
- Processing by Api::UserController#reauth as HTML
432
- Parameters: {"uid"=>"a1s2d37829"}
433
- Rendering /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
434
- Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.0ms)
435
- Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
419
+  (0.0ms) commit transaction
420
+ Rendering text template
421
+ Rendered text template (0.0ms)
422
+ Completed 200 OK in 64ms (Views: 0.3ms | ActiveRecord: 0.7ms)
423
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:28 +0000
424
+ Processing by ExampleController#restricted as HTML
425
+ Authenticating with gds_sso strategy
426
+ Completed in 0ms (ActiveRecord: 0.0ms)
427
+ Started GET "/auth/gds" for 127.0.0.1 at 2017-12-11 18:11:28 +0000
428
+ Started GET "/auth/gds/callback?code=e2263a1c3d4c9a0a53cbcc2c3e09f5fa71afed2014dbfa1fc2a514b81d065cee&state=5fe627979619259d77d027bee8ce3ffad76f2f905fbdf1f6" for 127.0.0.1 at 2017-12-11 18:11:28 +0000
429
+ Processing by AuthenticationsController#callback as HTML
430
+ Parameters: {"code"=>"e2263a1c3d4c9a0a53cbcc2c3e09f5fa71afed2014dbfa1fc2a514b81d065cee", "state"=>"5fe627979619259d77d027bee8ce3ffad76f2f905fbdf1f6"}
431
+ Authenticating with gds_sso strategy
432
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
436
433
   (0.1ms) begin transaction
437
- SQL (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d33038"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
438
-  (5.2ms) commit transaction
439
-  (0.0ms) begin transaction
440
- SQL (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d33797"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
441
-  (4.0ms) commit transaction
442
- Processing by Api::UserController#reauth as HTML
443
- Parameters: {"uid"=>"nonexistent-user"}
444
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "nonexistent-user"], ["LIMIT", 1]]
445
- Completed 200 OK in 1ms (ActiveRecord: 0.1ms)
446
- Started GET "/" for 127.0.0.1 at 2017-12-08 09:16:48 +0000
447
- Processing by ExampleController#index as HTML
434
+ SQL (0.2ms) UPDATE "users" SET "disabled" = ? WHERE "users"."id" = ? [["disabled", false], ["id", 1]]
435
+  (5.1ms) commit transaction
436
+ Redirected to http://www.example-client.com/restricted
437
+ Completed 302 Found in 9ms (ActiveRecord: 5.6ms)
438
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:28 +0000
439
+ Processing by ExampleController#restricted as HTML
440
+ 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", false], ["LIMIT", 1]]
448
441
  Rendering text template
449
442
  Rendered text template (0.0ms)
450
- Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)
451
- Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:16:48 +0000
443
+ Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.2ms)
444
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:28 +0000
452
445
  Processing by ExampleController#restricted as HTML
453
446
  Authenticating with gds_sso strategy
454
- Completed in 7ms (ActiveRecord: 0.0ms)
455
- Started GET "/auth/gds" for 127.0.0.1 at 2017-12-08 09:16:48 +0000
456
- Started GET "/auth/gds/callback?code=a540b134e03a1cf4285c1aeedbdd48127f6b4f7783e9e5d98f9831c66a39d908&state=ab157cfff8d5c2d7e5437d5181384eebe5b4bac526386278" for 127.0.0.1 at 2017-12-08 09:16:48 +0000
447
+ Completed in 0ms (ActiveRecord: 0.0ms)
448
+ Started GET "/auth/gds" for 127.0.0.1 at 2017-12-11 18:11:28 +0000
449
+ Started GET "/auth/gds/callback?code=af8a0951e6944ed5a7c3810eeb289dfd04ccf5b37b4b96b049afde1d72fd9050&state=057fd43a725d5c084c9befca8ad9c131474ccba386bdc8d5" for 127.0.0.1 at 2017-12-11 18:11:28 +0000
457
450
  Processing by AuthenticationsController#callback as HTML
458
- Parameters: {"code"=>"a540b134e03a1cf4285c1aeedbdd48127f6b4f7783e9e5d98f9831c66a39d908", "state"=>"ab157cfff8d5c2d7e5437d5181384eebe5b4bac526386278"}
451
+ Parameters: {"code"=>"af8a0951e6944ed5a7c3810eeb289dfd04ccf5b37b4b96b049afde1d72fd9050", "state"=>"057fd43a725d5c084c9befca8ad9c131474ccba386bdc8d5"}
459
452
  Authenticating with gds_sso strategy
460
453
  User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
461
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "test@example-client.com"], ["LIMIT", 1]]
462
-  (0.1ms) begin transaction
463
- SQL (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"]]
464
-  (5.9ms) commit transaction
465
-  (0.1ms) begin transaction
466
- SQL (0.2ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", false], ["id", 12]]
467
-  (4.1ms) commit transaction
454
+  (0.0ms) begin transaction
455
+  (0.0ms) commit transaction
468
456
  Redirected to http://www.example-client.com/restricted
469
- Completed 302 Found in 15ms (ActiveRecord: 10.8ms)
470
- Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:16:48 +0000
457
+ Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
458
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:28 +0000
471
459
  Processing by ExampleController#restricted as HTML
472
460
  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", false], ["LIMIT", 1]]
473
461
  Rendering text template
474
462
  Rendered text template (0.0ms)
475
463
  Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
476
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-08 09:16:48 +0000
464
+ Started GET "/" for 127.0.0.1 at 2017-12-11 18:11:28 +0000
465
+ Processing by ExampleController#index as HTML
466
+ Rendering text template
467
+ Rendered text template (0.0ms)
468
+ Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
469
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-11 18:11:28 +0000
477
470
  Processing by ExampleController#this_requires_signin_permission as HTML
478
471
  Authenticating with gds_sso strategy
479
472
  Completed in 0ms (ActiveRecord: 0.0ms)
480
- Started GET "/auth/gds" for 127.0.0.1 at 2017-12-08 09:16:48 +0000
481
- Started GET "/auth/gds/callback?code=926668ccbab6eded785b4638585f1c4a8a8b5f2856f6b35fc11508f4daa9bb4b&state=8de071844bdac351ed218a4c4eaf9e6348cfb58f51358fc3" for 127.0.0.1 at 2017-12-08 09:16:48 +0000
473
+ Started GET "/auth/gds" for 127.0.0.1 at 2017-12-11 18:11:28 +0000
474
+ Started GET "/auth/gds/callback?code=3e71e71fecb5e846cd9ca44ae8e362485e8678654aa61948a19670bdb101f67e&state=4a68ab4e46dbc69a7fd2b683dcd5960fea34c25f2a430ebe" for 127.0.0.1 at 2017-12-11 18:11:28 +0000
482
475
  Processing by AuthenticationsController#callback as HTML
483
- Parameters: {"code"=>"926668ccbab6eded785b4638585f1c4a8a8b5f2856f6b35fc11508f4daa9bb4b", "state"=>"8de071844bdac351ed218a4c4eaf9e6348cfb58f51358fc3"}
476
+ Parameters: {"code"=>"3e71e71fecb5e846cd9ca44ae8e362485e8678654aa61948a19670bdb101f67e", "state"=>"4a68ab4e46dbc69a7fd2b683dcd5960fea34c25f2a430ebe"}
484
477
  Authenticating with gds_sso strategy
485
478
  User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
486
-  (0.0ms) begin transaction
479
+  (0.1ms) begin transaction
487
480
   (0.0ms) commit transaction
488
481
  Redirected to http://www.example-client.com/this_requires_signin_permission
489
- Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
490
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-08 09:16:48 +0000
482
+ Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
483
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-11 18:11:28 +0000
491
484
  Processing by ExampleController#this_requires_signin_permission as HTML
492
- 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", false], ["LIMIT", 1]]
485
+ 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", false], ["LIMIT", 1]]
493
486
  Rendering text template
494
487
  Rendered text template (0.0ms)
495
- Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
496
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-08 09:16:48 +0000
488
+ Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
489
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-11 18:11:28 +0000
497
490
  Processing by ExampleController#this_requires_signin_permission as HTML
498
491
  Authenticating with gds_sso strategy
499
492
  Completed in 0ms (ActiveRecord: 0.0ms)
500
- Started GET "/auth/gds" for 127.0.0.1 at 2017-12-08 09:16:48 +0000
501
- Started GET "/auth/gds/callback?code=08640100dab3990aa91c70de73b834800ed7c557848f9e8be3687a55b16026c4&state=231c81ff35e4db84ac997834586691c6a1c0fd829c0ca8f6" for 127.0.0.1 at 2017-12-08 09:16:48 +0000
493
+ Started GET "/auth/gds" for 127.0.0.1 at 2017-12-11 18:11:28 +0000
494
+ Started GET "/auth/gds/callback?code=78df2d74e4885df506232339e13ec8fc02d9dff13c022b2f30af555714700d65&state=32518b74e345e698a284b395eb120ea3cf29e83836cad384" for 127.0.0.1 at 2017-12-11 18:11:29 +0000
502
495
  Processing by AuthenticationsController#callback as HTML
503
- Parameters: {"code"=>"08640100dab3990aa91c70de73b834800ed7c557848f9e8be3687a55b16026c4", "state"=>"231c81ff35e4db84ac997834586691c6a1c0fd829c0ca8f6"}
496
+ Parameters: {"code"=>"78df2d74e4885df506232339e13ec8fc02d9dff13c022b2f30af555714700d65", "state"=>"32518b74e345e698a284b395eb120ea3cf29e83836cad384"}
504
497
  Authenticating with gds_sso strategy
505
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
506
-  (0.0ms) begin transaction
498
+ User Load (0.7ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
499
+  (0.1ms) begin transaction
507
500
   (0.0ms) commit transaction
508
501
  Redirected to http://www.example-client.com/this_requires_signin_permission
509
- Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
510
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-08 09:16:48 +0000
502
+ Completed 302 Found in 4ms (ActiveRecord: 0.8ms)
503
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-11 18:11:29 +0000
511
504
  Processing by ExampleController#this_requires_signin_permission as HTML
512
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", false], ["LIMIT", 1]]
505
+ 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", false], ["LIMIT", 1]]
513
506
  Rendering text template
514
507
  Rendered text template (0.0ms)
515
- Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
516
- Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:16:48 +0000
508
+ Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.2ms)
509
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:29 +0000
517
510
  Processing by ExampleController#restricted as HTML
518
511
  Authenticating with gds_sso strategy
519
- Completed in 0ms (ActiveRecord: 0.0ms)
520
- Started GET "/auth/gds" for 127.0.0.1 at 2017-12-08 09:16:48 +0000
521
- Started GET "/auth/gds/callback?code=6cbb7ec7ec3bfd123e1f313ae0298209695c81fcf92137be4878bea828cf451f&state=4d9441cb36807b4262d29e06c7b3d0844eb6fa83533ae93e" for 127.0.0.1 at 2017-12-08 09:16:49 +0000
512
+ Completed in 1ms (ActiveRecord: 0.0ms)
513
+ Started GET "/auth/gds" for 127.0.0.1 at 2017-12-11 18:11:29 +0000
514
+ Started GET "/auth/gds/callback?code=47ef77939d3bf0b9fe1eaa0c14b09957f78179b15e8ab38cde79d97fcc5bda4c&state=61959228d413b5e80f0a96218ae8344ee825ea91a2499823" for 127.0.0.1 at 2017-12-11 18:11:29 +0000
522
515
  Processing by AuthenticationsController#callback as HTML
523
- Parameters: {"code"=>"6cbb7ec7ec3bfd123e1f313ae0298209695c81fcf92137be4878bea828cf451f", "state"=>"4d9441cb36807b4262d29e06c7b3d0844eb6fa83533ae93e"}
516
+ Parameters: {"code"=>"47ef77939d3bf0b9fe1eaa0c14b09957f78179b15e8ab38cde79d97fcc5bda4c", "state"=>"61959228d413b5e80f0a96218ae8344ee825ea91a2499823"}
524
517
  Authenticating with gds_sso strategy
525
518
  User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
526
519
   (0.0ms) begin transaction
527
520
   (0.0ms) commit transaction
528
521
  Redirected to http://www.example-client.com/restricted
529
- Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
530
- Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:16:49 +0000
522
+ Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
523
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:29 +0000
531
524
  Processing by ExampleController#restricted as HTML
532
- 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", false], ["LIMIT", 1]]
525
+ 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", false], ["LIMIT", 1]]
533
526
  Rendering text template
534
527
  Rendered text template (0.0ms)
535
- Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
536
- Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:16:49 +0000
528
+ Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
529
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:29 +0000
537
530
  Processing by ExampleController#restricted as HTML
538
531
  Authenticating with gds_sso strategy
539
532
  Completed in 0ms (ActiveRecord: 0.0ms)
540
- Started GET "/auth/gds" for 127.0.0.1 at 2017-12-08 09:16:49 +0000
541
- Started GET "/auth/gds/callback?code=31fb37a8b21c9b4eb7ed9da0f1506596c06eadb989970646e07a829aeaccae5b&state=250b7a8cb4dc7606b675902a52934a61b84a11d6899a5af1" for 127.0.0.1 at 2017-12-08 09:16:49 +0000
533
+ Started GET "/auth/gds" for 127.0.0.1 at 2017-12-11 18:11:29 +0000
534
+ Started GET "/auth/gds/callback?code=4a409006f27206485130656e4f3223707bc5d60bca75190f7b94ed6ef9c9a6ff&state=b091630f919936306b841de6ee23e81ca2355fd0cf11f7af" for 127.0.0.1 at 2017-12-11 18:11:29 +0000
542
535
  Processing by AuthenticationsController#callback as HTML
543
- Parameters: {"code"=>"31fb37a8b21c9b4eb7ed9da0f1506596c06eadb989970646e07a829aeaccae5b", "state"=>"250b7a8cb4dc7606b675902a52934a61b84a11d6899a5af1"}
536
+ Parameters: {"code"=>"4a409006f27206485130656e4f3223707bc5d60bca75190f7b94ed6ef9c9a6ff", "state"=>"b091630f919936306b841de6ee23e81ca2355fd0cf11f7af"}
544
537
  Authenticating with gds_sso strategy
545
538
  User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
546
539
   (0.1ms) begin transaction
547
-  (0.0ms) commit transaction
540
+  (0.1ms) commit transaction
548
541
  Redirected to http://www.example-client.com/restricted
549
- Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
550
- Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:16:49 +0000
542
+ Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
543
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:29 +0000
551
544
  Processing by ExampleController#restricted as HTML
552
- 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", false], ["LIMIT", 1]]
545
+ 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", false], ["LIMIT", 1]]
553
546
  Rendering text template
554
547
  Rendered text template (0.0ms)
555
- Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
556
- Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:16:49 +0000
557
- Processing by ExampleController#restricted as HTML
558
- Authenticating with gds_sso strategy
559
- Completed in 0ms (ActiveRecord: 0.0ms)
560
- Started GET "/auth/gds" for 127.0.0.1 at 2017-12-08 09:16:49 +0000
561
- Started GET "/auth/gds/callback?code=74b45cc5555a6a5bfb276496136711730ea7978d709105ddf78d9cae1b544f90&state=7598ab70da1d47b340827175ef1cf7788873f28d8923b8e9" for 127.0.0.1 at 2017-12-08 09:16:49 +0000
562
- Processing by AuthenticationsController#callback as HTML
563
- Parameters: {"code"=>"74b45cc5555a6a5bfb276496136711730ea7978d709105ddf78d9cae1b544f90", "state"=>"7598ab70da1d47b340827175ef1cf7788873f28d8923b8e9"}
564
- Authenticating with gds_sso strategy
565
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
566
-  (0.1ms) begin transaction
567
-  (0.1ms) commit transaction
568
- Redirected to http://www.example-client.com/restricted
569
- Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
570
- Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:16:49 +0000
548
+ Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
549
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-12 14:06:29 +0000
571
550
  Processing by ExampleController#restricted as HTML
572
551
  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", false], ["LIMIT", 1]]
573
552
  Rendering text template
574
553
  Rendered text template (0.0ms)
575
- Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.2ms)
576
- Started GET "/restricted" for 127.0.0.1 at 2017-12-09 05:21:49 +0000
554
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
555
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:29 +0000
577
556
  Processing by ExampleController#restricted as HTML
578
557
  Authenticating with gds_sso strategy
579
558
  Completed in 0ms (ActiveRecord: 0.0ms)
580
- Started GET "/auth/gds" for 127.0.0.1 at 2017-12-09 05:21:49 +0000
581
- Started GET "/auth/gds/callback?code=da18ce32aec1c829161714064fa31f815aa8933ca7d8a83a77ab55e3d9b60868&state=e1207a673bcef09649729d9a6666e4312b15e161bfec7953" for 127.0.0.1 at 2017-12-09 05:21:49 +0000
559
+ Started GET "/auth/gds" for 127.0.0.1 at 2017-12-11 18:11:29 +0000
560
+ Started GET "/auth/gds/callback?code=76c0a974c7c410c7abf4ae41dd80be60a0ab2396254fa5191aa25868a9051638&state=f60ec8c7ca7855bb0e6ed06b199ffed4694036a26d5b5d39" for 127.0.0.1 at 2017-12-11 18:11:29 +0000
582
561
  Processing by AuthenticationsController#callback as HTML
583
- Parameters: {"code"=>"da18ce32aec1c829161714064fa31f815aa8933ca7d8a83a77ab55e3d9b60868", "state"=>"e1207a673bcef09649729d9a6666e4312b15e161bfec7953"}
562
+ Parameters: {"code"=>"76c0a974c7c410c7abf4ae41dd80be60a0ab2396254fa5191aa25868a9051638", "state"=>"f60ec8c7ca7855bb0e6ed06b199ffed4694036a26d5b5d39"}
584
563
  Authenticating with gds_sso strategy
585
564
  User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
586
565
   (0.1ms) begin transaction
587
-  (0.1ms) commit transaction
566
+  (0.0ms) commit transaction
588
567
  Redirected to http://www.example-client.com/restricted
589
- Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
590
- Started GET "/restricted" for 127.0.0.1 at 2017-12-09 05:21:49 +0000
568
+ Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
569
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:29 +0000
591
570
  Processing by ExampleController#restricted as HTML
592
571
  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", false], ["LIMIT", 1]]
593
572
  Rendering text template
594
573
  Rendered text template (0.0ms)
595
574
  Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
596
- Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:16:49 +0000
575
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-12 14:16:29 +0000
597
576
  Processing by ExampleController#restricted as HTML
598
577
  Authenticating with gds_sso strategy
599
- Completed in 0ms (ActiveRecord: 0.0ms)
600
- Started GET "/auth/gds" for 127.0.0.1 at 2017-12-08 09:16:49 +0000
601
- Started GET "/auth/gds/callback?code=58c7e11d1ae291f9c591783f4c71f4af516dbb4146d02898b0f912e139e777a1&state=7e72609b30d7d1d70ea74c63d41181d8c19a00f5bba20732" for 127.0.0.1 at 2017-12-08 09:16:49 +0000
578
+ Completed in 1ms (ActiveRecord: 0.0ms)
579
+ Started GET "/auth/gds" for 127.0.0.1 at 2017-12-12 14:16:29 +0000
580
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:29 +0000
581
+ Processing by ExampleController#restricted as HTML
582
+ Authenticating with gds_sso strategy
583
+ Completed in 1ms (ActiveRecord: 0.0ms)
584
+ Started GET "/auth/gds" for 127.0.0.1 at 2017-12-11 18:11:29 +0000
585
+ Started GET "/auth/gds/callback?code=1be7e5b7dc393be3be11a2fb87a69033855998b9eb20fcc387d670206175bfe6&state=8ea770ed8967047e1ed2cc7ada420461538848380a244b2e" for 127.0.0.1 at 2017-12-11 18:11:30 +0000
602
586
  Processing by AuthenticationsController#callback as HTML
603
- Parameters: {"code"=>"58c7e11d1ae291f9c591783f4c71f4af516dbb4146d02898b0f912e139e777a1", "state"=>"7e72609b30d7d1d70ea74c63d41181d8c19a00f5bba20732"}
587
+ Parameters: {"code"=>"1be7e5b7dc393be3be11a2fb87a69033855998b9eb20fcc387d670206175bfe6", "state"=>"8ea770ed8967047e1ed2cc7ada420461538848380a244b2e"}
604
588
  Authenticating with gds_sso strategy
605
589
  User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
606
-  (0.0ms) begin transaction
590
+  (0.1ms) begin transaction
607
591
   (0.0ms) commit transaction
608
592
  Redirected to http://www.example-client.com/restricted
609
- Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
610
- Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:16:49 +0000
593
+ Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
594
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:30 +0000
611
595
  Processing by ExampleController#restricted as HTML
612
596
  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", false], ["LIMIT", 1]]
613
597
  Rendering text template
614
598
  Rendered text template (0.0ms)
615
- Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.2ms)
616
- Started GET "/restricted" for 127.0.0.1 at 2017-12-09 05:21:49 +0000
617
- Processing by ExampleController#restricted as HTML
618
- Authenticating with gds_sso strategy
619
- Completed in 0ms (ActiveRecord: 0.0ms)
620
- Started GET "/auth/gds" for 127.0.0.1 at 2017-12-09 05:21:49 +0000
621
- Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:16:49 +0000
599
+ Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
600
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-12 14:16:30 +0000
622
601
  Processing by ExampleController#restricted as HTML
623
602
  Authenticating with gds_sso strategy
624
- Completed in 0ms (ActiveRecord: 0.0ms)
625
- Started GET "/auth/gds" for 127.0.0.1 at 2017-12-08 09:16:49 +0000
626
- Started GET "/auth/gds/callback?code=3aa6475c92e4417d0fa1a2fdb9869fa10b99ddf699dbbb2d52eca04fecf51a08&state=77551c720e4670a1b2115632ab1cad15b2f55159342b032c" for 127.0.0.1 at 2017-12-08 09:16:50 +0000
603
+ Completed in 1ms (ActiveRecord: 0.0ms)
604
+ Started GET "/auth/gds" for 127.0.0.1 at 2017-12-12 14:16:30 +0000
605
+ Started GET "/auth/gds/callback?code=25297a4f8a347662e20bdff2c0e1a7adbb7014b59173d23f192070925a304336&state=d51a1d3283395a0584daf88efc171791993b3f0a1ec3ef1b" for 127.0.0.1 at 2017-12-12 14:16:30 +0000
627
606
  Processing by AuthenticationsController#callback as HTML
628
- Parameters: {"code"=>"3aa6475c92e4417d0fa1a2fdb9869fa10b99ddf699dbbb2d52eca04fecf51a08", "state"=>"77551c720e4670a1b2115632ab1cad15b2f55159342b032c"}
607
+ Parameters: {"code"=>"25297a4f8a347662e20bdff2c0e1a7adbb7014b59173d23f192070925a304336", "state"=>"d51a1d3283395a0584daf88efc171791993b3f0a1ec3ef1b"}
629
608
  Authenticating with gds_sso strategy
630
609
  User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
631
610
   (0.1ms) begin transaction
632
-  (0.0ms) commit transaction
611
+  (0.1ms) commit transaction
633
612
  Redirected to http://www.example-client.com/restricted
634
- Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
635
- Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:16:50 +0000
636
- Processing by ExampleController#restricted as HTML
637
- 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", false], ["LIMIT", 1]]
638
- Rendering text template
639
- Rendered text template (0.0ms)
640
- Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.2ms)
641
- Started GET "/restricted" for 127.0.0.1 at 2017-12-09 05:11:50 +0000
613
+ Completed 302 Found in 5ms (ActiveRecord: 0.4ms)
614
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-12 14:16:30 +0000
642
615
  Processing by ExampleController#restricted as HTML
643
- 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", false], ["LIMIT", 1]]
616
+ User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", false], ["LIMIT", 1]]
644
617
  Rendering text template
645
618
  Rendered text template (0.0ms)
646
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
647
- Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:16:50 +0000
619
+ Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.6ms)
620
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:30 +0000
648
621
  Processing by ExampleController#restricted as HTML
649
622
  Authenticating with gds_sso strategy
650
- Completed in 0ms (ActiveRecord: 0.0ms)
651
- Started GET "/auth/gds" for 127.0.0.1 at 2017-12-08 09:16:50 +0000
652
- Started GET "/auth/gds/callback?code=f8c8576c9d5afde443e07373373e97002818174408070e8c3340dbde30b84bb6&state=40c040b0446ea9419c144c0543ac5b0adf75822aa21cb2d2" for 127.0.0.1 at 2017-12-08 09:16:50 +0000
623
+ Completed in 1ms (ActiveRecord: 0.0ms)
624
+ Started GET "/auth/gds" for 127.0.0.1 at 2017-12-11 18:11:30 +0000
625
+ Started GET "/auth/gds/callback?code=6d13e3646de7b542ec832fc3a7e450ac32836da33789afe2d6b04fa34b15b5e3&state=45bfe88d4f448806e55b4808f2ea76a0317e1cef6cc637d9" for 127.0.0.1 at 2017-12-11 18:11:30 +0000
653
626
  Processing by AuthenticationsController#callback as HTML
654
- Parameters: {"code"=>"f8c8576c9d5afde443e07373373e97002818174408070e8c3340dbde30b84bb6", "state"=>"40c040b0446ea9419c144c0543ac5b0adf75822aa21cb2d2"}
627
+ Parameters: {"code"=>"6d13e3646de7b542ec832fc3a7e450ac32836da33789afe2d6b04fa34b15b5e3", "state"=>"45bfe88d4f448806e55b4808f2ea76a0317e1cef6cc637d9"}
655
628
  Authenticating with gds_sso strategy
656
629
  User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
657
630
   (0.1ms) begin transaction
658
-  (0.1ms) commit transaction
631
+  (0.0ms) commit transaction
659
632
  Redirected to http://www.example-client.com/restricted
660
633
  Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
661
- Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:16:50 +0000
634
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:30 +0000
662
635
  Processing by ExampleController#restricted as HTML
663
- 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", false], ["LIMIT", 1]]
636
+ 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", false], ["LIMIT", 1]]
664
637
  Rendering text template
665
638
  Rendered text template (0.0ms)
666
- Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
667
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "test@example-client.com"], ["LIMIT", 1]]
668
-  (0.1ms) begin transaction
669
- SQL (0.2ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", true], ["id", 12]]
670
-  (6.3ms) commit transaction
671
- Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:16:50 +0000
639
+ Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
640
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "test@example-client.com"], ["LIMIT", 1]]
641
+  (0.0ms) begin transaction
642
+ SQL (0.2ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", true], ["id", 1]]
643
+  (6.5ms) commit transaction
644
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:30 +0000
672
645
  Processing by ExampleController#restricted as HTML
673
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", false], ["LIMIT", 1]]
646
+ 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", false], ["LIMIT", 1]]
674
647
  Authenticating with gds_sso strategy
675
- Completed in 1ms (ActiveRecord: 0.1ms)
676
- Started GET "/auth/gds" for 127.0.0.1 at 2017-12-08 09:16:50 +0000
677
- Started GET "/auth/gds/callback?code=c8a34750a48051b788fb570b3f5556df02b0fe9f76023902b25a3680a7454daf&state=68b7074a255aa3deadba4630549a3d420bdbab8d21a4aaf8" for 127.0.0.1 at 2017-12-08 09:16:50 +0000
648
+ Completed in 1ms (ActiveRecord: 0.2ms)
649
+ Started GET "/auth/gds" for 127.0.0.1 at 2017-12-11 18:11:30 +0000
650
+ Started GET "/auth/gds/callback?code=9ed10ffa6ea6e3900b0effccac4b332b8e97faff501c52f6e03e226f91a0464d&state=dacf76bccf38089ca065f0b57753ab7451dad2a1e2d6782c" for 127.0.0.1 at 2017-12-11 18:11:30 +0000
678
651
  Processing by AuthenticationsController#callback as HTML
679
- Parameters: {"code"=>"c8a34750a48051b788fb570b3f5556df02b0fe9f76023902b25a3680a7454daf", "state"=>"68b7074a255aa3deadba4630549a3d420bdbab8d21a4aaf8"}
652
+ Parameters: {"code"=>"9ed10ffa6ea6e3900b0effccac4b332b8e97faff501c52f6e03e226f91a0464d", "state"=>"dacf76bccf38089ca065f0b57753ab7451dad2a1e2d6782c"}
680
653
  Authenticating with gds_sso strategy
681
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
682
-  (0.0ms) begin transaction
654
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
655
+  (0.1ms) begin transaction
683
656
   (0.0ms) commit transaction
684
657
   (0.0ms) begin transaction
685
- SQL (0.1ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", false], ["id", 12]]
686
-  (4.9ms) commit transaction
658
+ SQL (0.2ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", false], ["id", 1]]
659
+  (4.5ms) commit transaction
687
660
  Redirected to http://www.example-client.com/restricted
688
- Completed 302 Found in 9ms (ActiveRecord: 5.4ms)
689
- Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:16:50 +0000
661
+ Completed 302 Found in 9ms (ActiveRecord: 5.1ms)
662
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:30 +0000
690
663
  Processing by ExampleController#restricted as HTML
691
664
  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", false], ["LIMIT", 1]]
692
665
  Rendering text template
693
666
  Rendered text template (0.0ms)
694
- Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms)
695
- Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:16:50 +0000
696
- Processing by ExampleController#restricted as JSON
697
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
667
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.2ms)
668
+  (0.0ms) begin transaction
669
+ SQL (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d39270"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
670
+  (4.8ms) commit transaction
671
+  (0.0ms) begin transaction
672
+ SQL (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d33863"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
673
+  (3.7ms) commit transaction
674
+ Processing by Api::UserController#update as HTML
675
+ Parameters: {"uid"=>"a1s2d39270"}
676
+ Rendering /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
677
+ Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
678
+ Completed 403 Forbidden in 8ms (Views: 7.7ms | ActiveRecord: 0.0ms)
698
679
   (0.1ms) begin transaction
699
- SQL (0.2ms) UPDATE "users" SET "disabled" = ? WHERE "users"."id" = ? [["disabled", nil], ["id", 12]]
680
+ SQL (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d33833"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
700
681
   (4.7ms) commit transaction
701
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
702
-  (0.0ms) begin transaction
703
-  (0.0ms) commit transaction
704
- CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
705
682
   (0.0ms) begin transaction
706
-  (0.1ms) commit transaction
707
- CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
683
+ SQL (0.1ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d3274"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
684
+  (4.8ms) commit transaction
685
+ Processing by Api::UserController#update as HTML
686
+ Parameters: {"uid"=>"a1s2d33833"}
687
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "a1s2d33833"], ["LIMIT", 1]]
708
688
   (0.1ms) begin transaction
709
-  (0.0ms) commit transaction
710
- Rendering text template
711
- Rendered text template (0.0ms)
712
- Completed 200 OK in 72ms (Views: 0.3ms | ActiveRecord: 5.6ms)
713
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-08 09:16:50 +0000
714
- Processing by ExampleController#this_requires_signin_permission as JSON
715
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
689
+ SQL (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]]
690
+  (5.5ms) commit transaction
691
+ Completed 200 OK in 9ms (ActiveRecord: 5.9ms)
692
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]]
716
693
   (0.0ms) begin transaction
717
-  (0.0ms) commit transaction
718
- CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
694
+ SQL (0.1ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d33026"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
695
+  (4.2ms) commit transaction
696
+  (0.0ms) begin transaction
697
+ SQL (0.1ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d37373"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
698
+  (4.2ms) commit transaction
699
+ Processing by Api::UserController#reauth as HTML
700
+ Parameters: {"uid"=>"a1s2d33026"}
701
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "a1s2d33026"], ["LIMIT", 1]]
702
+  (0.0ms) begin transaction
703
+ SQL (0.1ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", true], ["id", 6]]
704
+  (3.9ms) commit transaction
705
+ Completed 200 OK in 6ms (ActiveRecord: 4.1ms)
706
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]]
707
+  (0.0ms) begin transaction
708
+ SQL (0.1ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d35591"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
709
+  (4.7ms) commit transaction
710
+  (0.0ms) begin transaction
711
+ SQL (0.1ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d37588"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
712
+  (3.6ms) commit transaction
713
+ Processing by Api::UserController#reauth as HTML
714
+ Parameters: {"uid"=>"a1s2d35591"}
715
+ Rendering /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
716
+ Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.0ms)
717
+ Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
719
718
   (0.1ms) begin transaction
720
-  (0.0ms) commit transaction
721
- CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
719
+ SQL (0.1ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d31431"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
720
+  (3.8ms) commit transaction
722
721
   (0.0ms) begin transaction
723
-  (0.0ms) commit transaction
724
- CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
722
+ SQL (0.1ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d38687"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
723
+  (4.6ms) commit transaction
724
+ Processing by Api::UserController#reauth as HTML
725
+ Parameters: {"uid"=>"nonexistent-user"}
726
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "nonexistent-user"], ["LIMIT", 1]]
727
+ Completed 200 OK in 1ms (ActiveRecord: 0.1ms)
728
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "asd"], ["LIMIT", 1]]
729
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "user@example.com"], ["LIMIT", 1]]
725
730
   (0.0ms) begin transaction
726
-  (0.1ms) commit transaction
727
- Rendering text template
728
- Rendered text template (0.0ms)
729
- Completed 200 OK in 61ms (Views: 0.4ms | ActiveRecord: 0.7ms)
730
- Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:16:50 +0000
731
- Processing by ExampleController#restricted as JSON
732
- Completed in 22ms (ActiveRecord: 0.0ms)
733
- Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:16:50 +0000
734
- Processing by ExampleController#restricted as JSON
735
- Completed in 11ms (ActiveRecord: 0.0ms)
736
-  (10.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "uid" varchar NOT NULL, "email" varchar NOT NULL, "remotely_signed_out" boolean, "permissions" text, "organisation_slug" varchar, "organisation_content_id" varchar, "disabled" boolean DEFAULT 'f') 
737
-  (9.4ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
731
+ SQL (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]]
732
+  (3.9ms) commit transaction
733
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "asd"], ["LIMIT", 1]]
734
+  (0.0ms) begin transaction
735
+  (0.0ms) commit transaction
736
+  (4.7ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "uid" varchar NOT NULL, "email" varchar NOT NULL, "remotely_signed_out" boolean, "permissions" text, "organisation_slug" varchar, "organisation_content_id" varchar, "disabled" boolean DEFAULT 'f') 
737
+  (5.2ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
738
738
   (0.1ms) select sqlite_version(*)
739
-  (4.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
740
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-08 09:17:04 +0000
741
- Processing by ExampleController#this_requires_signin_permission as HTML
739
+  (4.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
740
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "asd"]]
741
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "user@example.com"]]
742
+  (0.1ms) begin transaction
743
+ SQL (0.2ms) INSERT INTO "users" ("uid", "email", "name", "permissions", "organisation_slug", "organisation_content_id", "disabled") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "asd"], ["email", "user@example.com"], ["name", "A Name"], ["permissions", "---\n- signin\n"], ["organisation_slug", "hmrc"], ["organisation_content_id", "67a2b78d-eee3-45b3-80e2-792e7f71cecc"], ["disabled", nil]]
744
+  (5.2ms) commit transaction
745
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "asd"]]
746
+  (0.0ms) begin transaction
747
+  (0.1ms) commit transaction
748
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:37 +0000
749
+ Processing by ExampleController#restricted as HTML
742
750
  Authenticating with gds_sso strategy
743
751
  Completed in 7ms (ActiveRecord: 0.0ms)
744
- Started GET "/auth/gds" for 127.0.0.1 at 2017-12-08 09:17:04 +0000
745
- Started GET "/auth/gds/callback?code=a0bb939fa177185880182d0d43f2f0da9a15cc571e9d33d183ddd5db005f89ec&state=1cdec6ea848f871b8a6eb9701259fa58a5a39f48669980c6" for 127.0.0.1 at 2017-12-08 09:17:04 +0000
752
+ Started GET "/auth/gds" for 127.0.0.1 at 2017-12-11 18:11:37 +0000
753
+ Started GET "/auth/gds/callback?code=60b5656748db3dcb692d3ed9c802ecc3c01c933b07700d976d86f071e1083a73&state=1d304ef9bd870bb71c1ef4028517f7c9ccd9f630844cb5d7" for 127.0.0.1 at 2017-12-11 18:11:37 +0000
746
754
  Processing by AuthenticationsController#callback as HTML
747
- Parameters: {"code"=>"a0bb939fa177185880182d0d43f2f0da9a15cc571e9d33d183ddd5db005f89ec", "state"=>"1cdec6ea848f871b8a6eb9701259fa58a5a39f48669980c6"}
755
+ Parameters: {"code"=>"60b5656748db3dcb692d3ed9c802ecc3c01c933b07700d976d86f071e1083a73", "state"=>"1d304ef9bd870bb71c1ef4028517f7c9ccd9f630844cb5d7"}
748
756
  Authenticating with gds_sso strategy
749
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
757
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
750
758
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "test@example-client.com"]]
751
759
   (0.1ms) begin transaction
752
760
  SQL (0.2ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "integration-uid"], ["email", "test@example-client.com"], ["name", "Test User"], ["permissions", "---\n- signin\n"]]
753
-  (6.5ms) commit transaction
761
+  (4.9ms) commit transaction
754
762
   (0.0ms) begin transaction
755
- SQL (0.2ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "f"], ["id", 1]]
756
-  (4.7ms) commit transaction
757
- Redirected to http://www.example-client.com/this_requires_signin_permission
758
- Completed 302 Found in 31ms (ActiveRecord: 12.4ms)
759
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-08 09:17:04 +0000
760
- Processing by ExampleController#this_requires_signin_permission as HTML
761
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
763
+ SQL (0.2ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "f"], ["id", 2]]
764
+  (4.8ms) commit transaction
765
+ Redirected to http://www.example-client.com/restricted
766
+ Completed 302 Found in 16ms (ActiveRecord: 10.4ms)
767
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:37 +0000
768
+ Processing by ExampleController#restricted as HTML
769
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
762
770
  Rendered text template (0.0ms)
763
- Completed 200 OK in 6ms (Views: 3.7ms | ActiveRecord: 0.1ms)
764
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-08 09:17:04 +0000
765
- Processing by ExampleController#this_requires_signin_permission as HTML
771
+ Completed 200 OK in 8ms (Views: 6.6ms | ActiveRecord: 0.2ms)
772
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:37 +0000
773
+ Processing by ExampleController#restricted as HTML
766
774
  Authenticating with gds_sso strategy
767
775
  Completed in 0ms (ActiveRecord: 0.0ms)
768
- Started GET "/auth/gds" for 127.0.0.1 at 2017-12-08 09:17:04 +0000
769
- Started GET "/auth/gds/callback?code=d7169f0667be1e98222c2e42da39fd2e422d90100b37b523c69546b65cda27cd&state=0f1c18bb5fb347ee0138172a92f3d93b6058d74bcd3371e2" for 127.0.0.1 at 2017-12-08 09:17:04 +0000
776
+ Started GET "/auth/gds" for 127.0.0.1 at 2017-12-11 18:11:37 +0000
777
+ Started GET "/auth/gds/callback?code=e0ebb27a1259247c43594e468651f30623620a7092413828c399ad8dde8788c9&state=6f2d00cf1b9da291767ad946d87f0e0a83559078ee9395d6" for 127.0.0.1 at 2017-12-11 18:11:37 +0000
770
778
  Processing by AuthenticationsController#callback as HTML
771
- Parameters: {"code"=>"d7169f0667be1e98222c2e42da39fd2e422d90100b37b523c69546b65cda27cd", "state"=>"0f1c18bb5fb347ee0138172a92f3d93b6058d74bcd3371e2"}
779
+ Parameters: {"code"=>"e0ebb27a1259247c43594e468651f30623620a7092413828c399ad8dde8788c9", "state"=>"6f2d00cf1b9da291767ad946d87f0e0a83559078ee9395d6"}
772
780
  Authenticating with gds_sso strategy
773
781
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
774
782
   (0.1ms) begin transaction
775
783
   (0.0ms) commit transaction
776
-  (0.0ms) begin transaction
784
+  (0.1ms) begin transaction
777
785
   (0.0ms) commit transaction
778
- Redirected to http://www.example-client.com/this_requires_signin_permission
786
+ Redirected to http://www.example-client.com/restricted
779
787
  Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
780
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-08 09:17:04 +0000
781
- Processing by ExampleController#this_requires_signin_permission as HTML
788
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:37 +0000
789
+ Processing by ExampleController#restricted as HTML
782
790
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
783
791
  Rendered text template (0.0ms)
784
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
785
- Started GET "/" for 127.0.0.1 at 2017-12-08 09:17:04 +0000
786
- Processing by ExampleController#index as HTML
787
- Rendered text template (0.0ms)
788
- Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
789
- Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:17:04 +0000
792
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
793
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:37 +0000
790
794
  Processing by ExampleController#restricted as HTML
791
795
  Authenticating with gds_sso strategy
792
796
  Completed in 0ms (ActiveRecord: 0.0ms)
793
- Started GET "/auth/gds" for 127.0.0.1 at 2017-12-08 09:17:04 +0000
794
- Started GET "/auth/gds/callback?code=8ca2448fd6723932527823757aa0ec35553a6481644d3cb98526931b9de53dc7&state=a54747189e06216ea5482b16110d13c9d4ff2d7f81e4cf98" for 127.0.0.1 at 2017-12-08 09:17:04 +0000
797
+ Started GET "/auth/gds" for 127.0.0.1 at 2017-12-11 18:11:37 +0000
798
+ Started GET "/auth/gds/callback?code=34774d2eeea6949b33f2257e53649546f6171b8b571e5589b08a08bf8d5ecde1&state=844b396ed49f21047497e61210b7e3900bbedbe776e87972" for 127.0.0.1 at 2017-12-11 18:11:37 +0000
795
799
  Processing by AuthenticationsController#callback as HTML
796
- Parameters: {"code"=>"8ca2448fd6723932527823757aa0ec35553a6481644d3cb98526931b9de53dc7", "state"=>"a54747189e06216ea5482b16110d13c9d4ff2d7f81e4cf98"}
800
+ Parameters: {"code"=>"34774d2eeea6949b33f2257e53649546f6171b8b571e5589b08a08bf8d5ecde1", "state"=>"844b396ed49f21047497e61210b7e3900bbedbe776e87972"}
797
801
  Authenticating with gds_sso strategy
798
802
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
799
803
   (0.1ms) begin transaction
800
804
   (0.0ms) commit transaction
801
805
   (0.0ms) begin transaction
802
-  (0.1ms) commit transaction
806
+  (0.0ms) commit transaction
803
807
  Redirected to http://www.example-client.com/restricted
804
- Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
805
- Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:17:04 +0000
808
+ Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
809
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:37 +0000
806
810
  Processing by ExampleController#restricted as HTML
807
811
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
808
812
  Rendered text template (0.0ms)
809
813
  Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
810
- Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:17:04 +0000
811
- Processing by ExampleController#restricted as HTML
814
+ Started GET "/" for 127.0.0.1 at 2017-12-11 18:11:37 +0000
815
+ Processing by ExampleController#index as HTML
816
+ Rendered text template (0.0ms)
817
+ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
818
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-11 18:11:37 +0000
819
+ Processing by ExampleController#this_requires_signin_permission as HTML
812
820
  Authenticating with gds_sso strategy
813
821
  Completed in 0ms (ActiveRecord: 0.0ms)
814
- Started GET "/auth/gds" for 127.0.0.1 at 2017-12-08 09:17:04 +0000
815
- Started GET "/auth/gds/callback?code=b2df58a55f63a216a25b4a426b10d339600fc0d92b221bf0d0399a094ebb3987&state=1c464472d1e1f36f327090ec8558e0368ac9923d2f49702c" for 127.0.0.1 at 2017-12-08 09:17:05 +0000
822
+ Started GET "/auth/gds" for 127.0.0.1 at 2017-12-11 18:11:37 +0000
823
+ Started GET "/auth/gds/callback?code=5c8a8bf66bddb0d96e550df3b43633fb54d7b505b49a158cc5210abfd7faa8e9&state=9804abb5acbd37d0b5c026d9891155f1a69d9c199aa143b3" for 127.0.0.1 at 2017-12-11 18:11:38 +0000
816
824
  Processing by AuthenticationsController#callback as HTML
817
- Parameters: {"code"=>"b2df58a55f63a216a25b4a426b10d339600fc0d92b221bf0d0399a094ebb3987", "state"=>"1c464472d1e1f36f327090ec8558e0368ac9923d2f49702c"}
825
+ Parameters: {"code"=>"5c8a8bf66bddb0d96e550df3b43633fb54d7b505b49a158cc5210abfd7faa8e9", "state"=>"9804abb5acbd37d0b5c026d9891155f1a69d9c199aa143b3"}
818
826
  Authenticating with gds_sso strategy
819
827
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
820
828
   (0.1ms) begin transaction
821
829
   (0.0ms) commit transaction
822
830
   (0.0ms) begin transaction
823
-  (0.1ms) commit transaction
824
- Redirected to http://www.example-client.com/restricted
831
+  (0.0ms) commit transaction
832
+ Redirected to http://www.example-client.com/this_requires_signin_permission
825
833
  Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
826
- Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:17:05 +0000
827
- Processing by ExampleController#restricted as HTML
834
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-11 18:11:38 +0000
835
+ Processing by ExampleController#this_requires_signin_permission as HTML
828
836
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
829
837
  Rendered text template (0.0ms)
830
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
831
- Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:17:05 +0000
832
- Processing by ExampleController#restricted as HTML
838
+ Completed 200 OK in 11ms (Views: 0.2ms | ActiveRecord: 0.1ms)
839
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-11 18:11:38 +0000
840
+ Processing by ExampleController#this_requires_signin_permission as HTML
833
841
  Authenticating with gds_sso strategy
834
842
  Completed in 0ms (ActiveRecord: 0.0ms)
835
- Started GET "/auth/gds" for 127.0.0.1 at 2017-12-08 09:17:05 +0000
836
- Started GET "/auth/gds/callback?code=3e721ef987ddff6e720dc56d4f31d0ce6094361a6bcd042a6c55a1a98ac9e2ed&state=0ee6cae582dfc1131c58ba413cf54c5f830415f4cedd909e" for 127.0.0.1 at 2017-12-08 09:17:05 +0000
843
+ Started GET "/auth/gds" for 127.0.0.1 at 2017-12-11 18:11:38 +0000
844
+ Started GET "/auth/gds/callback?code=f9000d054004a20ac3b01a05876832d1940874c92f66abaadecd9fd663893e2a&state=243af183cf99dab68f00868ace1852de933914ba33757109" for 127.0.0.1 at 2017-12-11 18:11:38 +0000
837
845
  Processing by AuthenticationsController#callback as HTML
838
- Parameters: {"code"=>"3e721ef987ddff6e720dc56d4f31d0ce6094361a6bcd042a6c55a1a98ac9e2ed", "state"=>"0ee6cae582dfc1131c58ba413cf54c5f830415f4cedd909e"}
846
+ Parameters: {"code"=>"f9000d054004a20ac3b01a05876832d1940874c92f66abaadecd9fd663893e2a", "state"=>"243af183cf99dab68f00868ace1852de933914ba33757109"}
839
847
  Authenticating with gds_sso strategy
840
848
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
841
849
   (0.1ms) begin transaction
842
850
   (0.0ms) commit transaction
843
851
   (0.0ms) begin transaction
844
-  (0.1ms) commit transaction
845
- Redirected to http://www.example-client.com/restricted
852
+  (0.0ms) commit transaction
853
+ Redirected to http://www.example-client.com/this_requires_signin_permission
846
854
  Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
847
- Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:17:05 +0000
848
- Processing by ExampleController#restricted as HTML
855
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-11 18:11:38 +0000
856
+ Processing by ExampleController#this_requires_signin_permission as HTML
849
857
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
850
858
  Rendered text template (0.0ms)
851
- Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
852
- Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:17:05 +0000
859
+ Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
860
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:38 +0000
853
861
  Processing by ExampleController#restricted as HTML
854
862
  Authenticating with gds_sso strategy
855
863
  Completed in 0ms (ActiveRecord: 0.0ms)
856
- Started GET "/auth/gds" for 127.0.0.1 at 2017-12-08 09:17:05 +0000
857
- Started GET "/auth/gds/callback?code=c2f18f2dfecc5450d1b6193c01132aa0462b9d9afe48d502e97658010c778b67&state=646fedba10beaedfe3100d6dd91e88ed23ad2bd8e6f455d7" for 127.0.0.1 at 2017-12-08 09:17:05 +0000
864
+ Started GET "/auth/gds" for 127.0.0.1 at 2017-12-11 18:11:38 +0000
865
+ Started GET "/auth/gds/callback?code=406a166d13efbb6251b10e1fe4f636d5b9338cf4c0f244a13a1f0bd93611bea0&state=603b44d083c3a7dcd7c2f3e2ad415e6299b68173ee50e779" for 127.0.0.1 at 2017-12-11 18:11:38 +0000
858
866
  Processing by AuthenticationsController#callback as HTML
859
- Parameters: {"code"=>"c2f18f2dfecc5450d1b6193c01132aa0462b9d9afe48d502e97658010c778b67", "state"=>"646fedba10beaedfe3100d6dd91e88ed23ad2bd8e6f455d7"}
867
+ Parameters: {"code"=>"406a166d13efbb6251b10e1fe4f636d5b9338cf4c0f244a13a1f0bd93611bea0", "state"=>"603b44d083c3a7dcd7c2f3e2ad415e6299b68173ee50e779"}
860
868
  Authenticating with gds_sso strategy
861
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
869
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
862
870
   (0.1ms) begin transaction
863
871
   (0.0ms) commit transaction
864
872
   (0.0ms) begin transaction
865
873
   (0.0ms) commit transaction
866
874
  Redirected to http://www.example-client.com/restricted
867
- Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
868
- Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:17:05 +0000
875
+ Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
876
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:38 +0000
869
877
  Processing by ExampleController#restricted as HTML
870
878
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
871
879
  Rendered text template (0.0ms)
872
880
  Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
873
881
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "test@example-client.com"]]
874
-  (0.0ms) begin transaction
875
- SQL (0.1ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 1]]
876
-  (5.6ms) commit transaction
877
- Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:17:05 +0000
882
+  (0.1ms) begin transaction
883
+ SQL (0.1ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 2]]
884
+  (5.2ms) commit transaction
885
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:38 +0000
878
886
  Processing by ExampleController#restricted as HTML
879
887
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
880
888
  Authenticating with gds_sso strategy
881
889
  Completed in 1ms (ActiveRecord: 0.1ms)
882
- Started GET "/auth/gds" for 127.0.0.1 at 2017-12-08 09:17:05 +0000
883
- Started GET "/auth/gds/callback?code=e3f8312a7cd2a30482279235f9746f314c3f81f158be73be48673f93ed843f46&state=e454f96b7bf27192f655c3faa1ba2e41dbfa614a7d5d7aa1" for 127.0.0.1 at 2017-12-08 09:17:05 +0000
890
+ Started GET "/auth/gds" for 127.0.0.1 at 2017-12-11 18:11:38 +0000
891
+ Started GET "/auth/gds/callback?code=cd90eecebbb439fffc3cea6f1a4cc17ce154476316b892049eb9ca2c9fe16db5&state=9788565e3575320c42c6e631b54b1058de15512759ddf344" for 127.0.0.1 at 2017-12-11 18:11:38 +0000
884
892
  Processing by AuthenticationsController#callback as HTML
885
- Parameters: {"code"=>"e3f8312a7cd2a30482279235f9746f314c3f81f158be73be48673f93ed843f46", "state"=>"e454f96b7bf27192f655c3faa1ba2e41dbfa614a7d5d7aa1"}
893
+ Parameters: {"code"=>"cd90eecebbb439fffc3cea6f1a4cc17ce154476316b892049eb9ca2c9fe16db5", "state"=>"9788565e3575320c42c6e631b54b1058de15512759ddf344"}
886
894
  Authenticating with gds_sso strategy
887
895
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
888
896
   (0.1ms) begin transaction
889
897
   (0.0ms) commit transaction
890
-  (0.1ms) begin transaction
891
- SQL (0.1ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "f"], ["id", 1]]
892
-  (5.9ms) commit transaction
898
+  (0.0ms) begin transaction
899
+ SQL (0.1ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "f"], ["id", 2]]
900
+  (4.7ms) commit transaction
893
901
  Redirected to http://www.example-client.com/restricted
894
- Completed 302 Found in 10ms (ActiveRecord: 6.3ms)
895
- Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:17:05 +0000
902
+ Completed 302 Found in 9ms (ActiveRecord: 5.1ms)
903
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:38 +0000
896
904
  Processing by ExampleController#restricted as HTML
897
905
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
898
906
  Rendered text template (0.0ms)
899
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
900
- Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:17:05 +0000
907
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
908
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:38 +0000
901
909
  Processing by ExampleController#restricted as HTML
902
910
  Authenticating with gds_sso strategy
903
911
  Completed in 0ms (ActiveRecord: 0.0ms)
904
- Started GET "/auth/gds" for 127.0.0.1 at 2017-12-08 09:17:05 +0000
905
- Started GET "/auth/gds/callback?code=60356317240338bc7b4a9f9f78b34ac1e664ad4f8154a193f8f6b94efb44f9eb&state=1b443d8b1ae9416f629b7fb6f82fcdc2bd490062a1bc7858" for 127.0.0.1 at 2017-12-08 09:17:06 +0000
912
+ Started GET "/auth/gds" for 127.0.0.1 at 2017-12-11 18:11:38 +0000
913
+ Started GET "/auth/gds/callback?code=f2821acfc7b53d43f94f18b74ae93051c19513acc6efa00243fafd358181efcb&state=a6ae48eec129a91f7c13a5e35846c931293a128f59aa1ef7" for 127.0.0.1 at 2017-12-11 18:11:39 +0000
906
914
  Processing by AuthenticationsController#callback as HTML
907
- Parameters: {"code"=>"60356317240338bc7b4a9f9f78b34ac1e664ad4f8154a193f8f6b94efb44f9eb", "state"=>"1b443d8b1ae9416f629b7fb6f82fcdc2bd490062a1bc7858"}
915
+ Parameters: {"code"=>"f2821acfc7b53d43f94f18b74ae93051c19513acc6efa00243fafd358181efcb", "state"=>"a6ae48eec129a91f7c13a5e35846c931293a128f59aa1ef7"}
908
916
  Authenticating with gds_sso strategy
909
917
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
910
918
   (0.1ms) begin transaction
911
-  (0.1ms) commit transaction
912
-  (0.0ms) begin transaction
913
-  (0.1ms) commit transaction
919
+  (0.0ms) commit transaction
920
+  (0.1ms) begin transaction
921
+  (0.0ms) commit transaction
914
922
  Redirected to http://www.example-client.com/restricted
915
- Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
916
- Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:17:06 +0000
923
+ Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
924
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:39 +0000
917
925
  Processing by ExampleController#restricted as HTML
918
926
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
919
927
  Rendered text template (0.0ms)
920
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
921
- Started GET "/restricted" for 127.0.0.1 at 2017-12-09 05:12:06 +0000
922
- Processing by ExampleController#restricted as HTML
923
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
924
- Rendered text template (0.0ms)
925
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
926
- Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:17:06 +0000
928
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
929
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-12 14:16:39 +0000
927
930
  Processing by ExampleController#restricted as HTML
928
931
  Authenticating with gds_sso strategy
929
932
  Completed in 0ms (ActiveRecord: 0.0ms)
930
- Started GET "/auth/gds" for 127.0.0.1 at 2017-12-08 09:17:06 +0000
931
- Started GET "/auth/gds/callback?code=92ca5975be3bd33149ea4a4a20bca4a196829b2346c084ccb97c530a71c7eea7&state=7c3d5656db2ae7501506441aa07fda6f97379cd54ee26605" for 127.0.0.1 at 2017-12-08 09:17:06 +0000
933
+ Started GET "/auth/gds" for 127.0.0.1 at 2017-12-12 14:16:39 +0000
934
+ Started GET "/auth/gds/callback?code=9d990746ae117a2e618604db43c8d1c62fcbc061499ce8aa40e09cbfc46f90aa&state=85888a436383900d70bd1c25c2e84440114dff7ec4ca83e7" for 127.0.0.1 at 2017-12-12 14:16:39 +0000
932
935
  Processing by AuthenticationsController#callback as HTML
933
- Parameters: {"code"=>"92ca5975be3bd33149ea4a4a20bca4a196829b2346c084ccb97c530a71c7eea7", "state"=>"7c3d5656db2ae7501506441aa07fda6f97379cd54ee26605"}
936
+ Parameters: {"code"=>"9d990746ae117a2e618604db43c8d1c62fcbc061499ce8aa40e09cbfc46f90aa", "state"=>"85888a436383900d70bd1c25c2e84440114dff7ec4ca83e7"}
934
937
  Authenticating with gds_sso strategy
935
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
936
-  (0.1ms) begin transaction
937
-  (0.0ms) commit transaction
938
-  (0.0ms) begin transaction
939
-  (0.0ms) commit transaction
938
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
939
+  (0.1ms) begin transaction
940
+  (0.1ms) commit transaction
941
+  (0.1ms) begin transaction
942
+  (0.1ms) commit transaction
940
943
  Redirected to http://www.example-client.com/restricted
941
- Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
942
- Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:17:06 +0000
944
+ Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
945
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-12 14:16:39 +0000
943
946
  Processing by ExampleController#restricted as HTML
944
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
947
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
945
948
  Rendered text template (0.0ms)
946
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
947
- Started GET "/restricted" for 127.0.0.1 at 2017-12-09 05:22:06 +0000
949
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
950
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:39 +0000
948
951
  Processing by ExampleController#restricted as HTML
949
952
  Authenticating with gds_sso strategy
950
- Completed in 1ms (ActiveRecord: 0.0ms)
951
- Started GET "/auth/gds" for 127.0.0.1 at 2017-12-09 05:22:06 +0000
952
- Started GET "/auth/gds/callback?code=452a43c6724a91466805dac7948ac2c6e7f565fefae52aea7ccd9171d42163bb&state=6560c6a842a8f24f856c46dd59291474dfcdc384594121b9" for 127.0.0.1 at 2017-12-09 05:22:06 +0000
953
+ Completed in 0ms (ActiveRecord: 0.0ms)
954
+ Started GET "/auth/gds" for 127.0.0.1 at 2017-12-11 18:11:39 +0000
955
+ Started GET "/auth/gds/callback?code=a4f9db4a37967cbf8561bb81ac4d18abb622dca5d08bf652cc99744dae04d6d3&state=28678d68fc6a25af5e40b7051f44f9e6698832b147310cd0" for 127.0.0.1 at 2017-12-11 18:11:39 +0000
953
956
  Processing by AuthenticationsController#callback as HTML
954
- Parameters: {"code"=>"452a43c6724a91466805dac7948ac2c6e7f565fefae52aea7ccd9171d42163bb", "state"=>"6560c6a842a8f24f856c46dd59291474dfcdc384594121b9"}
957
+ Parameters: {"code"=>"a4f9db4a37967cbf8561bb81ac4d18abb622dca5d08bf652cc99744dae04d6d3", "state"=>"28678d68fc6a25af5e40b7051f44f9e6698832b147310cd0"}
955
958
  Authenticating with gds_sso strategy
956
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
957
-  (0.1ms) begin transaction
958
-  (0.1ms) commit transaction
959
-  (0.1ms) begin transaction
960
-  (0.1ms) commit transaction
959
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
960
+  (0.1ms) begin transaction
961
+  (0.1ms) commit transaction
962
+  (0.0ms) begin transaction
963
+  (0.0ms) commit transaction
961
964
  Redirected to http://www.example-client.com/restricted
962
- Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
963
- Started GET "/restricted" for 127.0.0.1 at 2017-12-09 05:22:06 +0000
965
+ Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
966
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:39 +0000
964
967
  Processing by ExampleController#restricted as HTML
965
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
968
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
966
969
  Rendered text template (0.0ms)
967
970
  Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
968
- Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:17:06 +0000
971
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-12 14:06:39 +0000
972
+ Processing by ExampleController#restricted as HTML
973
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
974
+ Rendered text template (0.0ms)
975
+ Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
976
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:39 +0000
969
977
  Processing by ExampleController#restricted as HTML
970
978
  Authenticating with gds_sso strategy
971
979
  Completed in 0ms (ActiveRecord: 0.0ms)
972
- Started GET "/auth/gds" for 127.0.0.1 at 2017-12-08 09:17:06 +0000
973
- Started GET "/auth/gds/callback?code=c8277e7236338bbd9169657daa908ff7c608c11ae2976ce08fed4bef75d9883f&state=52479bdbd91ad10bdaee20749b1c5409b001398c13ce0716" for 127.0.0.1 at 2017-12-08 09:17:06 +0000
980
+ Started GET "/auth/gds" for 127.0.0.1 at 2017-12-11 18:11:39 +0000
981
+ Started GET "/auth/gds/callback?code=8d1db51b13d3f235a70765f95488ab10820645da8ed6781958a57ba5d847c5cc&state=5b023d4a0024df77bea6d002bb82d252367911d1ca4e5935" for 127.0.0.1 at 2017-12-11 18:11:39 +0000
974
982
  Processing by AuthenticationsController#callback as HTML
975
- Parameters: {"code"=>"c8277e7236338bbd9169657daa908ff7c608c11ae2976ce08fed4bef75d9883f", "state"=>"52479bdbd91ad10bdaee20749b1c5409b001398c13ce0716"}
983
+ Parameters: {"code"=>"8d1db51b13d3f235a70765f95488ab10820645da8ed6781958a57ba5d847c5cc", "state"=>"5b023d4a0024df77bea6d002bb82d252367911d1ca4e5935"}
976
984
  Authenticating with gds_sso strategy
977
985
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
978
986
   (0.1ms) begin transaction
979
-  (0.0ms) commit transaction
987
+  (0.2ms) commit transaction
980
988
   (0.0ms) begin transaction
981
-  (0.1ms) commit transaction
989
+  (0.0ms) commit transaction
982
990
  Redirected to http://www.example-client.com/restricted
983
- Completed 302 Found in 5ms (ActiveRecord: 0.4ms)
984
- Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:17:06 +0000
991
+ Completed 302 Found in 4ms (ActiveRecord: 0.5ms)
992
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:39 +0000
985
993
  Processing by ExampleController#restricted as HTML
986
994
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
987
995
  Rendered text template (0.0ms)
988
996
  Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
989
- Started GET "/restricted" for 127.0.0.1 at 2017-12-09 05:22:06 +0000
997
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-12 14:16:39 +0000
990
998
  Processing by ExampleController#restricted as HTML
991
999
  Authenticating with gds_sso strategy
992
1000
  Completed in 1ms (ActiveRecord: 0.0ms)
993
- Started GET "/auth/gds" for 127.0.0.1 at 2017-12-09 05:22:06 +0000
994
- Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:17:06 +0000
1001
+ Started GET "/auth/gds" for 127.0.0.1 at 2017-12-12 14:16:39 +0000
1002
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:39 +0000
995
1003
  Processing by ExampleController#restricted as JSON
996
- Completed in 15ms (ActiveRecord: 0.0ms)
997
- Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:17:06 +0000
998
- Processing by ExampleController#restricted as JSON
999
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
1004
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
1000
1005
   (0.1ms) begin transaction
1001
- SQL (0.2ms) UPDATE "users" SET "disabled" = ? WHERE "users"."id" = ? [["disabled", nil], ["id", 1]]
1002
-  (5.5ms) commit transaction
1006
+ SQL (0.3ms) UPDATE "users" SET "disabled" = ? WHERE "users"."id" = ? [["disabled", nil], ["id", 2]]
1007
+  (5.2ms) commit transaction
1003
1008
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
1004
1009
   (0.0ms) begin transaction
1005
1010
   (0.0ms) commit transaction
@@ -1012,459 +1017,454 @@ Processing by ExampleController#restricted as JSON
1012
1017
   (0.0ms) begin transaction
1013
1018
   (0.0ms) commit transaction
1014
1019
  Rendered text template (0.0ms)
1015
- Completed 200 OK in 70ms (Views: 0.3ms | ActiveRecord: 6.6ms)
1016
- Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:17:06 +0000
1020
+ Completed 200 OK in 73ms (Views: 0.3ms | ActiveRecord: 6.2ms)
1021
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:39 +0000
1017
1022
  Processing by ExampleController#restricted as JSON
1018
- Completed in 23ms (ActiveRecord: 0.0ms)
1019
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-08 09:17:06 +0000
1023
+ Completed in 12ms (ActiveRecord: 0.0ms)
1024
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-11 18:11:39 +0000
1020
1025
  Processing by ExampleController#this_requires_signin_permission as JSON
1021
1026
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
1022
1027
   (0.1ms) begin transaction
1023
-  (0.1ms) commit transaction
1028
+  (0.0ms) commit transaction
1024
1029
  CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
1025
1030
   (0.0ms) begin transaction
1026
1031
   (0.0ms) commit transaction
1027
1032
  CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
1028
-  (0.1ms) begin transaction
1033
+  (0.0ms) begin transaction
1029
1034
   (0.0ms) commit transaction
1030
1035
  CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
1031
1036
   (0.0ms) begin transaction
1032
1037
   (0.0ms) commit transaction
1033
-  (0.1ms) begin transaction
1034
-  (0.0ms) commit transaction
1035
- Rendered text template (0.0ms)
1036
- Completed 200 OK in 63ms (Views: 0.3ms | ActiveRecord: 0.7ms)
1037
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "asd"]]
1038
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "user@example.com"]]
1039
-  (0.1ms) begin transaction
1040
- SQL (0.2ms) INSERT INTO "users" ("uid", "email", "name", "permissions", "organisation_slug", "organisation_content_id", "disabled") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "asd"], ["email", "user@example.com"], ["name", "A Name"], ["permissions", "---\n- signin\n"], ["organisation_slug", "hmrc"], ["organisation_content_id", "67a2b78d-eee3-45b3-80e2-792e7f71cecc"], ["disabled", nil]]
1041
-  (4.3ms) commit transaction
1042
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "asd"]]
1043
1038
   (0.0ms) begin transaction
1044
1039
   (0.0ms) commit transaction
1040
+ Rendered text template (0.0ms)
1041
+ Completed 200 OK in 63ms (Views: 0.3ms | ActiveRecord: 0.6ms)
1042
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:39 +0000
1043
+ Processing by ExampleController#restricted as JSON
1044
+ Completed in 22ms (ActiveRecord: 0.0ms)
1045
1045
   (0.1ms) begin transaction
1046
- SQL (0.1ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d33176"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
1047
-  (4.0ms) commit transaction
1046
+ SQL (0.2ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d39515"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
1047
+  (4.4ms) commit transaction
1048
1048
   (0.1ms) begin transaction
1049
- SQL (0.3ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d31421"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1049
+ SQL (0.1ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d39732"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1050
1050
   (5.2ms) commit transaction
1051
1051
  Processing by Api::UserController#reauth as HTML
1052
- Parameters: {"uid"=>"a1s2d33176"}
1053
- Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
1054
- Completed 403 Forbidden in 7ms (Views: 6.6ms | ActiveRecord: 0.0ms)
1055
-  (0.1ms) begin transaction
1056
- SQL (0.1ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d36988"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
1057
-  (4.0ms) commit transaction
1058
-  (0.1ms) begin transaction
1059
- SQL (0.1ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d33638"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1060
-  (3.7ms) commit transaction
1061
- Processing by Api::UserController#reauth as HTML
1062
- Parameters: {"uid"=>"a1s2d36988"}
1063
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "a1s2d36988"]]
1052
+ Parameters: {"uid"=>"a1s2d39515"}
1053
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "a1s2d39515"]]
1064
1054
   (0.0ms) begin transaction
1065
- SQL (0.1ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 5]]
1066
-  (4.0ms) commit transaction
1067
- Completed 200 OK in 6ms (ActiveRecord: 4.3ms)
1068
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]]
1069
-  (0.0ms) begin transaction
1070
- SQL (0.1ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d34986"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
1071
-  (4.0ms) commit transaction
1055
+ SQL (0.1ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 3]]
1056
+  (5.3ms) commit transaction
1057
+ Completed 200 OK in 8ms (ActiveRecord: 5.5ms)
1058
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
1059
+  (0.1ms) begin transaction
1060
+ SQL (0.1ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d3385"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
1061
+  (5.3ms) commit transaction
1072
1062
   (0.0ms) begin transaction
1073
- SQL (0.1ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d39939"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1074
-  (3.8ms) commit transaction
1063
+ SQL (0.1ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d37194"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1064
+  (5.1ms) commit transaction
1075
1065
  Processing by Api::UserController#reauth as HTML
1076
1066
  Parameters: {"uid"=>"nonexistent-user"}
1077
1067
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "nonexistent-user"]]
1078
1068
  Completed 200 OK in 1ms (ActiveRecord: 0.1ms)
1079
-  (0.1ms) begin transaction
1080
- SQL (0.1ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d34377"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
1069
+  (0.0ms) begin transaction
1070
+ SQL (0.1ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d38153"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
1071
+  (4.0ms) commit transaction
1072
+  (0.0ms) begin transaction
1073
+ SQL (0.1ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d33490"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1074
+  (5.0ms) commit transaction
1075
+ Processing by Api::UserController#reauth as HTML
1076
+ Parameters: {"uid"=>"a1s2d38153"}
1077
+ Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
1078
+ Completed 403 Forbidden in 7ms (Views: 6.3ms | ActiveRecord: 0.0ms)
1079
+  (0.0ms) begin transaction
1080
+ SQL (0.1ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d32399"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
1081
1081
   (5.0ms) commit transaction
1082
1082
   (0.0ms) begin transaction
1083
- SQL (0.1ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d38245"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1083
+ SQL (0.1ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d32495"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1084
1084
   (4.0ms) commit transaction
1085
1085
  Processing by Api::UserController#update as HTML
1086
- Parameters: {"uid"=>"a1s2d34377"}
1087
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "a1s2d34377"]]
1088
-  (0.0ms) begin transaction
1086
+ Parameters: {"uid"=>"a1s2d32399"}
1087
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "a1s2d32399"]]
1088
+  (0.1ms) begin transaction
1089
1089
  SQL (0.2ms) UPDATE "users" SET "email" = ?, "name" = ?, "permissions" = ?, "organisation_slug" = ?, "organisation_content_id" = ? WHERE "users"."id" = ? [["email", "user@domain.com"], ["name", "Joshua Marshall"], ["permissions", "---\n- signin\n- new permission\n"], ["organisation_slug", "justice-league"], ["organisation_content_id", "aae1319e-5788-4677-998c-f1a53af528d0"], ["id", 9]]
1090
1090
   (4.2ms) commit transaction
1091
- Completed 200 OK in 7ms (ActiveRecord: 4.5ms)
1091
+ Completed 200 OK in 8ms (ActiveRecord: 4.5ms)
1092
1092
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 9]]
1093
1093
   (0.1ms) begin transaction
1094
- SQL (0.1ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d37090"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
1095
-  (4.1ms) commit transaction
1096
-  (0.1ms) begin transaction
1097
- SQL (0.1ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d32452"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1098
-  (5.2ms) commit transaction
1094
+ SQL (0.1ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d33956"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
1095
+  (4.0ms) commit transaction
1096
+  (0.0ms) begin transaction
1097
+ SQL (0.1ms) INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d31873"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1098
+  (5.1ms) commit transaction
1099
1099
  Processing by Api::UserController#update as HTML
1100
- Parameters: {"uid"=>"a1s2d37090"}
1101
- Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.0ms)
1102
- Completed 403 Forbidden in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
1103
-  (6.6ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "uid" varchar NOT NULL, "email" varchar NOT NULL, "remotely_signed_out" boolean, "permissions" text, "organisation_slug" varchar, "organisation_content_id" varchar, "disabled" boolean DEFAULT 'f')
1104
-  (4.5ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1100
+ Parameters: {"uid"=>"a1s2d33956"}
1101
+ Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.3ms)
1102
+ Completed 403 Forbidden in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
1103
+  (5.0ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "uid" varchar NOT NULL, "email" varchar NOT NULL, "remotely_signed_out" boolean, "permissions" text, "organisation_slug" varchar, "organisation_content_id" varchar, "disabled" boolean DEFAULT 'f')
1104
+  (4.9ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1105
1105
  ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
1106
-  (0.0ms) begin transaction
1107
- SQL (0.1ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2017-12-08 09:17:17 UTC], ["updated_at", 2017-12-08 09:17:17 UTC]]
1108
-  (5.6ms) commit transaction
1109
-  (5.2ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
1106
+  (0.1ms) begin transaction
1107
+ SQL (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2017-12-11 18:11:45 UTC], ["updated_at", 2017-12-11 18:11:45 UTC]]
1108
+  (5.1ms) commit transaction
1109
+  (5.3ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
1110
1110
  ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
1111
+  (0.0ms) begin transaction
1112
+  (0.1ms) commit transaction
1111
1113
   (0.1ms) begin transaction
1112
-  (0.0ms) commit transaction
1113
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-08 09:17:17 +0000
1114
- Processing by ExampleController#this_requires_signin_permission as JSON
1114
+ SQL (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d34859"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
1115
+  (11.4ms) commit transaction
1116
+  (0.0ms) begin transaction
1117
+ SQL (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d35109"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1118
+  (8.4ms) commit transaction
1119
+ Processing by Api::UserController#update as HTML
1120
+ Parameters: {"uid"=>"a1s2d34859"}
1121
+ Rendering /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
1122
+ Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
1123
+ Completed 403 Forbidden in 12ms (Views: 11.5ms | ActiveRecord: 0.0ms)
1124
+  (0.1ms) begin transaction
1125
+ SQL (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d33226"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
1126
+  (3.8ms) commit transaction
1127
+  (0.0ms) begin transaction
1128
+ SQL (0.1ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d39694"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1129
+  (3.7ms) commit transaction
1130
+ Processing by Api::UserController#update as HTML
1131
+ Parameters: {"uid"=>"a1s2d33226"}
1132
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "a1s2d33226"], ["LIMIT", 1]]
1133
+  (0.0ms) begin transaction
1134
+ SQL (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", 3]]
1135
+  (4.7ms) commit transaction
1136
+ Completed 200 OK in 9ms (ActiveRecord: 5.0ms)
1137
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]]
1138
+  (0.0ms) begin transaction
1139
+ SQL (0.1ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d3551"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
1140
+  (3.7ms) commit transaction
1141
+  (0.0ms) begin transaction
1142
+ SQL (0.1ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d32467"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1143
+  (4.7ms) commit transaction
1144
+ Processing by Api::UserController#reauth as HTML
1145
+ Parameters: {"uid"=>"a1s2d3551"}
1146
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "a1s2d3551"], ["LIMIT", 1]]
1147
+  (0.0ms) begin transaction
1148
+ SQL (0.1ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", true], ["id", 5]]
1149
+  (4.7ms) commit transaction
1150
+ Completed 200 OK in 7ms (ActiveRecord: 5.0ms)
1151
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]]
1152
+  (0.0ms) begin transaction
1153
+ SQL (0.1ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d34477"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
1154
+  (3.9ms) commit transaction
1155
+  (0.0ms) begin transaction
1156
+ SQL (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d36517"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1157
+  (4.5ms) commit transaction
1158
+ Processing by Api::UserController#reauth as HTML
1159
+ Parameters: {"uid"=>"nonexistent-user"}
1160
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "nonexistent-user"], ["LIMIT", 1]]
1161
+ Completed 200 OK in 1ms (ActiveRecord: 0.1ms)
1162
+  (0.1ms) begin transaction
1163
+ SQL (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d36242"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
1164
+  (4.1ms) commit transaction
1165
+  (0.1ms) begin transaction
1166
+ SQL (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d31608"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1167
+  (6.8ms) commit transaction
1168
+ Processing by Api::UserController#reauth as HTML
1169
+ Parameters: {"uid"=>"a1s2d36242"}
1170
+ Rendering /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
1171
+ Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.0ms)
1172
+ Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
1173
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "asd"], ["LIMIT", 1]]
1174
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "user@example.com"], ["LIMIT", 1]]
1175
+  (0.1ms) begin transaction
1176
+ SQL (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]]
1177
+  (5.7ms) commit transaction
1178
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "asd"], ["LIMIT", 1]]
1179
+  (0.0ms) begin transaction
1180
+  (0.1ms) commit transaction
1181
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:45 +0000
1182
+ Processing by ExampleController#restricted as JSON
1115
1183
  User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1116
1184
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "test@example-client.com"], ["LIMIT", 1]]
1117
-  (0.1ms) begin transaction
1185
+  (0.0ms) begin transaction
1118
1186
  SQL (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]]
1119
-  (8.9ms) commit transaction
1187
+  (5.4ms) commit transaction
1120
1188
  User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1121
-  (0.1ms) begin transaction
1189
+  (0.0ms) begin transaction
1122
1190
   (0.0ms) commit transaction
1123
1191
  CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1124
-  (0.2ms) begin transaction
1192
+  (0.0ms) begin transaction
1125
1193
   (0.0ms) commit transaction
1126
1194
  CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1127
-  (0.1ms) begin transaction
1128
-  (0.1ms) commit transaction
1129
-  (0.1ms) begin transaction
1130
- SQL (0.2ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", false], ["id", 1]]
1131
-  (7.2ms) commit transaction
1195
+  (0.0ms) begin transaction
1196
+  (0.0ms) commit transaction
1197
+  (0.0ms) begin transaction
1198
+ SQL (0.1ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", false], ["id", 12]]
1199
+  (5.0ms) commit transaction
1132
1200
  Rendering text template
1133
1201
  Rendered text template (0.0ms)
1134
- Completed 200 OK in 111ms (Views: 3.4ms | ActiveRecord: 18.1ms)
1135
- Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:17:18 +0000
1136
- Processing by ExampleController#restricted as JSON
1137
- Completed in 26ms (ActiveRecord: 0.0ms)
1138
- Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:17:18 +0000
1139
- Processing by ExampleController#restricted as JSON
1140
- Completed in 14ms (ActiveRecord: 0.0ms)
1141
- Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:17:18 +0000
1142
- Processing by ExampleController#restricted as JSON
1202
+ Completed 200 OK in 88ms (Views: 1.5ms | ActiveRecord: 11.5ms)
1203
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-11 18:11:45 +0000
1204
+ Processing by ExampleController#this_requires_signin_permission as JSON
1143
1205
  User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1144
1206
   (0.0ms) begin transaction
1145
1207
   (0.0ms) commit transaction
1146
1208
  CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1147
-  (0.1ms) begin transaction
1209
+  (0.0ms) begin transaction
1148
1210
   (0.0ms) commit transaction
1149
1211
  CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1150
-  (0.0ms) begin transaction
1212
+  (0.1ms) begin transaction
1151
1213
   (0.0ms) commit transaction
1152
1214
  CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1153
1215
   (0.1ms) begin transaction
1154
1216
   (0.0ms) commit transaction
1155
1217
  Rendering text template
1156
1218
  Rendered text template (0.0ms)
1157
- Completed 200 OK in 64ms (Views: 0.3ms | ActiveRecord: 0.7ms)
1158
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-08 09:17:18 +0000
1219
+ Completed 200 OK in 61ms (Views: 0.3ms | ActiveRecord: 0.6ms)
1220
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:46 +0000
1221
+ Processing by ExampleController#restricted as JSON
1222
+ Completed in 14ms (ActiveRecord: 0.0ms)
1223
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:46 +0000
1224
+ Processing by ExampleController#restricted as JSON
1225
+ Completed in 21ms (ActiveRecord: 0.0ms)
1226
+ Started GET "/" for 127.0.0.1 at 2017-12-11 18:11:46 +0000
1227
+ Processing by ExampleController#index as HTML
1228
+ Rendering text template
1229
+ Rendered text template (0.0ms)
1230
+ Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
1231
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-11 18:11:46 +0000
1159
1232
  Processing by ExampleController#this_requires_signin_permission as HTML
1160
1233
  Authenticating with gds_sso strategy
1161
1234
  Completed in 0ms (ActiveRecord: 0.0ms)
1162
- Started GET "/auth/gds" for 127.0.0.1 at 2017-12-08 09:17:18 +0000
1163
- Started GET "/auth/gds/callback?code=b6c285330f7d7aa4479fe6886516bdf3677fa3e3c2d5a34ada606fb3ae6d9c40&state=e3fff9e95e31722aa25220048f1ccde86b18718e17155c2a" for 127.0.0.1 at 2017-12-08 09:17:18 +0000
1235
+ Started GET "/auth/gds" for 127.0.0.1 at 2017-12-11 18:11:46 +0000
1236
+ Started GET "/auth/gds/callback?code=4dca828cc8497e2d264720d41d20e447d7c0eaeadaa96c6ca4cb128dba66c84f&state=f19954903ebcfc8afe57a2af145d9f5c4104c06ff8ab3c2f" for 127.0.0.1 at 2017-12-11 18:11:46 +0000
1164
1237
  Processing by AuthenticationsController#callback as HTML
1165
- Parameters: {"code"=>"b6c285330f7d7aa4479fe6886516bdf3677fa3e3c2d5a34ada606fb3ae6d9c40", "state"=>"e3fff9e95e31722aa25220048f1ccde86b18718e17155c2a"}
1238
+ Parameters: {"code"=>"4dca828cc8497e2d264720d41d20e447d7c0eaeadaa96c6ca4cb128dba66c84f", "state"=>"f19954903ebcfc8afe57a2af145d9f5c4104c06ff8ab3c2f"}
1166
1239
  Authenticating with gds_sso strategy
1167
1240
  User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1168
-  (0.1ms) begin transaction
1169
- SQL (0.2ms) UPDATE "users" SET "disabled" = ? WHERE "users"."id" = ? [["disabled", false], ["id", 1]]
1170
-  (5.9ms) commit transaction
1241
+  (0.0ms) begin transaction
1242
+ SQL (0.2ms) UPDATE "users" SET "disabled" = ? WHERE "users"."id" = ? [["disabled", false], ["id", 12]]
1243
+  (4.4ms) commit transaction
1171
1244
  Redirected to http://www.example-client.com/this_requires_signin_permission
1172
- Completed 302 Found in 10ms (ActiveRecord: 6.3ms)
1173
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-08 09:17:18 +0000
1245
+ Completed 302 Found in 8ms (ActiveRecord: 4.8ms)
1246
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-11 18:11:46 +0000
1174
1247
  Processing by ExampleController#this_requires_signin_permission as HTML
1175
- 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", false], ["LIMIT", 1]]
1248
+ 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", false], ["LIMIT", 1]]
1176
1249
  Rendering text template
1177
1250
  Rendered text template (0.0ms)
1178
- Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.2ms)
1179
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-08 09:17:18 +0000
1251
+ Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
1252
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-11 18:11:46 +0000
1180
1253
  Processing by ExampleController#this_requires_signin_permission as HTML
1181
1254
  Authenticating with gds_sso strategy
1182
1255
  Completed in 0ms (ActiveRecord: 0.0ms)
1183
- Started GET "/auth/gds" for 127.0.0.1 at 2017-12-08 09:17:18 +0000
1184
- Started GET "/auth/gds/callback?code=d06de1284eb7ed2d0cd68b0360a20683aae6391d242a06ac48d1e752acac15a2&state=2b6a0eb982c0145fcadfa51d3e5c2c68534e2a62a13c2d81" for 127.0.0.1 at 2017-12-08 09:17:18 +0000
1256
+ Started GET "/auth/gds" for 127.0.0.1 at 2017-12-11 18:11:46 +0000
1257
+ Started GET "/auth/gds/callback?code=fee9d4da803dea1818a4cba172ad59888e23c643e6e73325ece459b38889be3d&state=a81312773655f0c6bc4c07fe7c996ac0d393cef049efef0b" for 127.0.0.1 at 2017-12-11 18:11:46 +0000
1185
1258
  Processing by AuthenticationsController#callback as HTML
1186
- Parameters: {"code"=>"d06de1284eb7ed2d0cd68b0360a20683aae6391d242a06ac48d1e752acac15a2", "state"=>"2b6a0eb982c0145fcadfa51d3e5c2c68534e2a62a13c2d81"}
1259
+ Parameters: {"code"=>"fee9d4da803dea1818a4cba172ad59888e23c643e6e73325ece459b38889be3d", "state"=>"a81312773655f0c6bc4c07fe7c996ac0d393cef049efef0b"}
1187
1260
  Authenticating with gds_sso strategy
1188
1261
  User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1189
-  (0.1ms) begin transaction
1190
-  (0.1ms) commit transaction
1262
+  (0.0ms) begin transaction
1263
+  (0.0ms) commit transaction
1191
1264
  Redirected to http://www.example-client.com/this_requires_signin_permission
1192
1265
  Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
1193
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-08 09:17:18 +0000
1266
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-11 18:11:46 +0000
1194
1267
  Processing by ExampleController#this_requires_signin_permission as HTML
1195
1268
  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", false], ["LIMIT", 1]]
1196
1269
  Rendering text template
1197
1270
  Rendered text template (0.0ms)
1198
1271
  Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
1199
- Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:17:18 +0000
1272
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:46 +0000
1200
1273
  Processing by ExampleController#restricted as HTML
1201
1274
  Authenticating with gds_sso strategy
1202
1275
  Completed in 0ms (ActiveRecord: 0.0ms)
1203
- Started GET "/auth/gds" for 127.0.0.1 at 2017-12-08 09:17:18 +0000
1204
- Started GET "/auth/gds/callback?code=9f11c347d968ef4b5b53bc35aec59477e6306323de1b2703947cf700b1d1a130&state=6e4134fbd2d2dc49e9da7cf3210e135beb9647022dacf4f6" for 127.0.0.1 at 2017-12-08 09:17:18 +0000
1276
+ Started GET "/auth/gds" for 127.0.0.1 at 2017-12-11 18:11:46 +0000
1277
+ Started GET "/auth/gds/callback?code=5face0d186b6d158ba605e7f768962aadb4284d01368a0c08631e9c5e64bdb52&state=a64a21a6bf9b6c62bff33711337ebc51ab1237b905900682" for 127.0.0.1 at 2017-12-11 18:11:46 +0000
1205
1278
  Processing by AuthenticationsController#callback as HTML
1206
- Parameters: {"code"=>"9f11c347d968ef4b5b53bc35aec59477e6306323de1b2703947cf700b1d1a130", "state"=>"6e4134fbd2d2dc49e9da7cf3210e135beb9647022dacf4f6"}
1279
+ Parameters: {"code"=>"5face0d186b6d158ba605e7f768962aadb4284d01368a0c08631e9c5e64bdb52", "state"=>"a64a21a6bf9b6c62bff33711337ebc51ab1237b905900682"}
1207
1280
  Authenticating with gds_sso strategy
1208
1281
  User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1209
1282
   (0.0ms) begin transaction
1210
1283
   (0.1ms) commit transaction
1211
1284
  Redirected to http://www.example-client.com/restricted
1212
1285
  Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
1213
- Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:17:18 +0000
1286
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:46 +0000
1214
1287
  Processing by ExampleController#restricted as HTML
1215
1288
  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", false], ["LIMIT", 1]]
1216
1289
  Rendering text template
1217
- Rendered text template (0.0ms)
1290
+ Rendered text template (0.2ms)
1218
1291
  Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms)
1219
- Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:17:18 +0000
1292
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:46 +0000
1220
1293
  Processing by ExampleController#restricted as HTML
1221
1294
  Authenticating with gds_sso strategy
1222
1295
  Completed in 0ms (ActiveRecord: 0.0ms)
1223
- Started GET "/auth/gds" for 127.0.0.1 at 2017-12-08 09:17:18 +0000
1224
- Started GET "/auth/gds/callback?code=4ab451f7918f92e11632dc5576b608925c7001af8934429ede61439ed0928708&state=96dbe154f60af4d0e5cc90e5cabaca9cfc8dc633fde8f0f6" for 127.0.0.1 at 2017-12-08 09:17:19 +0000
1296
+ Started GET "/auth/gds" for 127.0.0.1 at 2017-12-11 18:11:46 +0000
1297
+ Started GET "/auth/gds/callback?code=0704edee38b33462fb9f2fb4b8a23bf23559d1d62e85fc348022a8ea4f9e3074&state=fd40e5641e3fa51da2f98a19a1063f116a86bb13ebc46ec7" for 127.0.0.1 at 2017-12-11 18:11:46 +0000
1225
1298
  Processing by AuthenticationsController#callback as HTML
1226
- Parameters: {"code"=>"4ab451f7918f92e11632dc5576b608925c7001af8934429ede61439ed0928708", "state"=>"96dbe154f60af4d0e5cc90e5cabaca9cfc8dc633fde8f0f6"}
1299
+ Parameters: {"code"=>"0704edee38b33462fb9f2fb4b8a23bf23559d1d62e85fc348022a8ea4f9e3074", "state"=>"fd40e5641e3fa51da2f98a19a1063f116a86bb13ebc46ec7"}
1227
1300
  Authenticating with gds_sso strategy
1228
1301
  User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1229
1302
   (0.0ms) begin transaction
1230
1303
   (0.0ms) commit transaction
1231
1304
  Redirected to http://www.example-client.com/restricted
1232
1305
  Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
1233
- Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:17:19 +0000
1306
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:46 +0000
1234
1307
  Processing by ExampleController#restricted as HTML
1235
1308
  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", false], ["LIMIT", 1]]
1236
1309
  Rendering text template
1237
- Rendered text template (0.0ms)
1238
- Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
1239
- Started GET "/" for 127.0.0.1 at 2017-12-08 09:17:19 +0000
1240
- Processing by ExampleController#index as HTML
1241
- Rendering text template
1242
- Rendered text template (0.0ms)
1243
- Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1244
- Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:17:19 +0000
1310
+ Rendered text template (0.1ms)
1311
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.2ms)
1312
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:46 +0000
1245
1313
  Processing by ExampleController#restricted as HTML
1246
1314
  Authenticating with gds_sso strategy
1247
1315
  Completed in 0ms (ActiveRecord: 0.0ms)
1248
- Started GET "/auth/gds" for 127.0.0.1 at 2017-12-08 09:17:19 +0000
1249
- Started GET "/auth/gds/callback?code=1f141bb76e0021d4d8d3e98609e78e21dffc6a0e5236f82301c2cb1e96b7181f&state=d44608a1842cba5ee47a9dfaa5149dfb8bf6b05cce879b6e" for 127.0.0.1 at 2017-12-08 09:17:19 +0000
1316
+ Started GET "/auth/gds" for 127.0.0.1 at 2017-12-11 18:11:46 +0000
1317
+ Started GET "/auth/gds/callback?code=f1d50a1344511cd3480ebd6b094750fb81bea076cb3c1d3c8d30899a2506819e&state=e2ac30d920c8b0cb776d0ba3187811a220f250afe4d5a6ca" for 127.0.0.1 at 2017-12-11 18:11:47 +0000
1250
1318
  Processing by AuthenticationsController#callback as HTML
1251
- Parameters: {"code"=>"1f141bb76e0021d4d8d3e98609e78e21dffc6a0e5236f82301c2cb1e96b7181f", "state"=>"d44608a1842cba5ee47a9dfaa5149dfb8bf6b05cce879b6e"}
1319
+ Parameters: {"code"=>"f1d50a1344511cd3480ebd6b094750fb81bea076cb3c1d3c8d30899a2506819e", "state"=>"e2ac30d920c8b0cb776d0ba3187811a220f250afe4d5a6ca"}
1252
1320
  Authenticating with gds_sso strategy
1253
1321
  User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1254
1322
   (0.1ms) begin transaction
1255
1323
   (0.1ms) commit transaction
1256
1324
  Redirected to http://www.example-client.com/restricted
1257
1325
  Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
1258
- Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:17:19 +0000
1326
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:47 +0000
1259
1327
  Processing by ExampleController#restricted as HTML
1260
1328
  User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", false], ["LIMIT", 1]]
1261
1329
  Rendering text template
1262
1330
  Rendered text template (0.0ms)
1263
1331
  Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
1264
- Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:17:19 +0000
1332
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:47 +0000
1265
1333
  Processing by ExampleController#restricted as HTML
1266
1334
  Authenticating with gds_sso strategy
1267
1335
  Completed in 0ms (ActiveRecord: 0.0ms)
1268
- Started GET "/auth/gds" for 127.0.0.1 at 2017-12-08 09:17:19 +0000
1269
- Started GET "/auth/gds/callback?code=c853a93efe549f49ea16b0dd9be991b7a72222e8eff69ab81c09a96b82bcde30&state=4c75ae3fcd60644e360c01ed31bf718f7ca906185dba0a10" for 127.0.0.1 at 2017-12-08 09:17:19 +0000
1336
+ Started GET "/auth/gds" for 127.0.0.1 at 2017-12-11 18:11:47 +0000
1337
+ Started GET "/auth/gds/callback?code=cc1a662f6e8fa952c5255bf3f2f3b5ac682fe4018b8786eaaadd954a0d70cdbb&state=eb40effa597b1613045fe33220543ba4925de0b3878d69a5" for 127.0.0.1 at 2017-12-11 18:11:47 +0000
1270
1338
  Processing by AuthenticationsController#callback as HTML
1271
- Parameters: {"code"=>"c853a93efe549f49ea16b0dd9be991b7a72222e8eff69ab81c09a96b82bcde30", "state"=>"4c75ae3fcd60644e360c01ed31bf718f7ca906185dba0a10"}
1339
+ Parameters: {"code"=>"cc1a662f6e8fa952c5255bf3f2f3b5ac682fe4018b8786eaaadd954a0d70cdbb", "state"=>"eb40effa597b1613045fe33220543ba4925de0b3878d69a5"}
1272
1340
  Authenticating with gds_sso strategy
1273
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1341
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1274
1342
   (0.1ms) begin transaction
1275
1343
   (0.0ms) commit transaction
1276
1344
  Redirected to http://www.example-client.com/restricted
1277
- Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
1278
- Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:17:19 +0000
1345
+ Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
1346
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:47 +0000
1279
1347
  Processing by ExampleController#restricted as HTML
1280
1348
  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", false], ["LIMIT", 1]]
1281
1349
  Rendering text template
1282
1350
  Rendered text template (0.0ms)
1283
1351
  Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
1284
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "test@example-client.com"], ["LIMIT", 1]]
1285
-  (0.0ms) begin transaction
1286
- SQL (0.2ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", true], ["id", 1]]
1287
-  (5.6ms) commit transaction
1288
- Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:17:19 +0000
1352
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-12 14:06:47 +0000
1289
1353
  Processing by ExampleController#restricted as HTML
1290
1354
  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", false], ["LIMIT", 1]]
1355
+ Rendering text template
1356
+ Rendered text template (0.0ms)
1357
+ Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.2ms)
1358
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:47 +0000
1359
+ Processing by ExampleController#restricted as HTML
1291
1360
  Authenticating with gds_sso strategy
1292
- Completed in 1ms (ActiveRecord: 0.2ms)
1293
- Started GET "/auth/gds" for 127.0.0.1 at 2017-12-08 09:17:19 +0000
1294
- Started GET "/auth/gds/callback?code=3051cd86e0c5c80c80ad2b5d7ff85f916ca42cc17174bb338bb97be21972c1ba&state=ff8ab90e60f71a6b01bd9a3587edc804104ea2b498836926" for 127.0.0.1 at 2017-12-08 09:17:19 +0000
1361
+ Completed in 0ms (ActiveRecord: 0.0ms)
1362
+ Started GET "/auth/gds" for 127.0.0.1 at 2017-12-11 18:11:47 +0000
1363
+ Started GET "/auth/gds/callback?code=3cc841f99bd9671ac4c438e180fc75d673d03ec4ec2cc8530a57dc0808a85636&state=73e1d6169f3c0306576790af575565e609ec82ed21b29afb" for 127.0.0.1 at 2017-12-11 18:11:47 +0000
1295
1364
  Processing by AuthenticationsController#callback as HTML
1296
- Parameters: {"code"=>"3051cd86e0c5c80c80ad2b5d7ff85f916ca42cc17174bb338bb97be21972c1ba", "state"=>"ff8ab90e60f71a6b01bd9a3587edc804104ea2b498836926"}
1365
+ Parameters: {"code"=>"3cc841f99bd9671ac4c438e180fc75d673d03ec4ec2cc8530a57dc0808a85636", "state"=>"73e1d6169f3c0306576790af575565e609ec82ed21b29afb"}
1297
1366
  Authenticating with gds_sso strategy
1298
1367
  User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1299
-  (0.0ms) begin transaction
1300
-  (0.1ms) commit transaction
1301
-  (0.0ms) begin transaction
1302
- SQL (0.2ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", false], ["id", 1]]
1303
-  (6.2ms) commit transaction
1368
+  (0.1ms) begin transaction
1369
+  (0.0ms) commit transaction
1304
1370
  Redirected to http://www.example-client.com/restricted
1305
- Completed 302 Found in 11ms (ActiveRecord: 6.8ms)
1306
- Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:17:19 +0000
1371
+ Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
1372
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:47 +0000
1307
1373
  Processing by ExampleController#restricted as HTML
1308
1374
  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", false], ["LIMIT", 1]]
1309
1375
  Rendering text template
1310
1376
  Rendered text template (0.0ms)
1311
- Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.2ms)
1312
- Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:17:19 +0000
1377
+ Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
1378
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-12 14:16:47 +0000
1379
+ Processing by ExampleController#restricted as HTML
1380
+ Authenticating with gds_sso strategy
1381
+ Completed in 0ms (ActiveRecord: 0.0ms)
1382
+ Started GET "/auth/gds" for 127.0.0.1 at 2017-12-12 14:16:47 +0000
1383
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:47 +0000
1313
1384
  Processing by ExampleController#restricted as HTML
1314
1385
  Authenticating with gds_sso strategy
1315
1386
  Completed in 0ms (ActiveRecord: 0.0ms)
1316
- Started GET "/auth/gds" for 127.0.0.1 at 2017-12-08 09:17:19 +0000
1317
- Started GET "/auth/gds/callback?code=e8e93eacd2cfd06665dc343aed1a0b89b0ba609be336b99159cf58d9e0f000c8&state=453d14f4e3327c6132f8bc5ce231d3cc7c4e1b5a6d335669" for 127.0.0.1 at 2017-12-08 09:17:20 +0000
1387
+ Started GET "/auth/gds" for 127.0.0.1 at 2017-12-11 18:11:47 +0000
1388
+ Started GET "/auth/gds/callback?code=1709a44002caba24e98cefb94073ac312d1e9b463fe95da71dbe4c321fb09775&state=94bbe288e7277ffc065829a9d43c29fac33d58274556d9e3" for 127.0.0.1 at 2017-12-11 18:11:47 +0000
1318
1389
  Processing by AuthenticationsController#callback as HTML
1319
- Parameters: {"code"=>"e8e93eacd2cfd06665dc343aed1a0b89b0ba609be336b99159cf58d9e0f000c8", "state"=>"453d14f4e3327c6132f8bc5ce231d3cc7c4e1b5a6d335669"}
1390
+ Parameters: {"code"=>"1709a44002caba24e98cefb94073ac312d1e9b463fe95da71dbe4c321fb09775", "state"=>"94bbe288e7277ffc065829a9d43c29fac33d58274556d9e3"}
1320
1391
  Authenticating with gds_sso strategy
1321
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1392
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1322
1393
   (0.1ms) begin transaction
1323
1394
   (0.0ms) commit transaction
1324
1395
  Redirected to http://www.example-client.com/restricted
1325
- Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
1326
- Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:17:20 +0000
1396
+ Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
1397
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:47 +0000
1327
1398
  Processing by ExampleController#restricted as HTML
1328
1399
  User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", false], ["LIMIT", 1]]
1329
1400
  Rendering text template
1330
1401
  Rendered text template (0.0ms)
1331
- Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
1332
- Started GET "/restricted" for 127.0.0.1 at 2017-12-09 05:22:20 +0000
1402
+ Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.2ms)
1403
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-12 14:16:47 +0000
1333
1404
  Processing by ExampleController#restricted as HTML
1334
1405
  Authenticating with gds_sso strategy
1335
1406
  Completed in 0ms (ActiveRecord: 0.0ms)
1336
- Started GET "/auth/gds" for 127.0.0.1 at 2017-12-09 05:22:20 +0000
1337
- Started GET "/auth/gds/callback?code=110078bd2324d66ccdb485fb5e843adf07b264085fb986f8a3263b4e9f85267b&state=9941d26bd73d4ad1e52c3a0fcb54a94f185c6f6dbf77fcb9" for 127.0.0.1 at 2017-12-09 05:22:20 +0000
1407
+ Started GET "/auth/gds" for 127.0.0.1 at 2017-12-12 14:16:47 +0000
1408
+ Started GET "/auth/gds/callback?code=0d06776b6f2e79773057046e66d6cbe4c283f3b0bfe3554f100b9c8a396265bd&state=911257c9e8dfddbc886f074faf5bcb3619c1f8dbb90cacd5" for 127.0.0.1 at 2017-12-12 14:16:48 +0000
1338
1409
  Processing by AuthenticationsController#callback as HTML
1339
- Parameters: {"code"=>"110078bd2324d66ccdb485fb5e843adf07b264085fb986f8a3263b4e9f85267b", "state"=>"9941d26bd73d4ad1e52c3a0fcb54a94f185c6f6dbf77fcb9"}
1410
+ Parameters: {"code"=>"0d06776b6f2e79773057046e66d6cbe4c283f3b0bfe3554f100b9c8a396265bd", "state"=>"911257c9e8dfddbc886f074faf5bcb3619c1f8dbb90cacd5"}
1340
1411
  Authenticating with gds_sso strategy
1341
1412
  User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1342
1413
   (0.1ms) begin transaction
1343
1414
   (0.1ms) commit transaction
1344
1415
  Redirected to http://www.example-client.com/restricted
1345
- Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
1346
- Started GET "/restricted" for 127.0.0.1 at 2017-12-09 05:22:20 +0000
1416
+ Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
1417
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-12 14:16:48 +0000
1347
1418
  Processing by ExampleController#restricted as HTML
1348
1419
  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", false], ["LIMIT", 1]]
1349
1420
  Rendering text template
1350
1421
  Rendered text template (0.0ms)
1351
- Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
1352
- Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:17:20 +0000
1422
+ Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.2ms)
1423
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:48 +0000
1353
1424
  Processing by ExampleController#restricted as HTML
1354
1425
  Authenticating with gds_sso strategy
1355
1426
  Completed in 0ms (ActiveRecord: 0.0ms)
1356
- Started GET "/auth/gds" for 127.0.0.1 at 2017-12-08 09:17:20 +0000
1357
- Started GET "/auth/gds/callback?code=459f1919bbce1a6fddb01cb06c645e16466d233dca1e006079d856f3ea72834a&state=51a3299c4bc40a81a9de747eccea3cd2e3f656016b5cc6b0" for 127.0.0.1 at 2017-12-08 09:17:20 +0000
1427
+ Started GET "/auth/gds" for 127.0.0.1 at 2017-12-11 18:11:48 +0000
1428
+ Started GET "/auth/gds/callback?code=73b8b1d09e2cacf554292f82e4cd29ca4a82ddfc88963ed02a83816af38e5f51&state=53ef06cd013ccf779d19cab42c99e15631703d6c3e40e74d" for 127.0.0.1 at 2017-12-11 18:11:48 +0000
1358
1429
  Processing by AuthenticationsController#callback as HTML
1359
- Parameters: {"code"=>"459f1919bbce1a6fddb01cb06c645e16466d233dca1e006079d856f3ea72834a", "state"=>"51a3299c4bc40a81a9de747eccea3cd2e3f656016b5cc6b0"}
1430
+ Parameters: {"code"=>"73b8b1d09e2cacf554292f82e4cd29ca4a82ddfc88963ed02a83816af38e5f51", "state"=>"53ef06cd013ccf779d19cab42c99e15631703d6c3e40e74d"}
1360
1431
  Authenticating with gds_sso strategy
1361
1432
  User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1362
-  (0.1ms) begin transaction
1363
-  (0.0ms) commit transaction
1433
+  (0.0ms) begin transaction
1434
+  (0.1ms) commit transaction
1364
1435
  Redirected to http://www.example-client.com/restricted
1365
1436
  Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
1366
- Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:17:20 +0000
1437
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:48 +0000
1367
1438
  Processing by ExampleController#restricted as HTML
1368
1439
  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", false], ["LIMIT", 1]]
1369
1440
  Rendering text template
1370
1441
  Rendered text template (0.0ms)
1371
1442
  Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
1372
- Started GET "/restricted" for 127.0.0.1 at 2017-12-09 05:22:20 +0000
1373
- Processing by ExampleController#restricted as HTML
1374
- Authenticating with gds_sso strategy
1375
- Completed in 1ms (ActiveRecord: 0.0ms)
1376
- Started GET "/auth/gds" for 127.0.0.1 at 2017-12-09 05:22:20 +0000
1377
- Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:17:20 +0000
1443
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "test@example-client.com"], ["LIMIT", 1]]
1444
+  (0.0ms) begin transaction
1445
+ SQL (0.2ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", true], ["id", 12]]
1446
+  (5.6ms) commit transaction
1447
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:48 +0000
1378
1448
  Processing by ExampleController#restricted as HTML
1449
+ 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", false], ["LIMIT", 1]]
1379
1450
  Authenticating with gds_sso strategy
1380
- Completed in 0ms (ActiveRecord: 0.0ms)
1381
- Started GET "/auth/gds" for 127.0.0.1 at 2017-12-08 09:17:20 +0000
1382
- Started GET "/auth/gds/callback?code=ff39b5d2bc1d38ea11f69c668156fc9119772a163fa8186e9a245717b1f70211&state=45d5479b2a870b9f5838f7645c3be3cd6da1ed6e8b0b475a" for 127.0.0.1 at 2017-12-08 09:17:20 +0000
1451
+ Completed in 1ms (ActiveRecord: 0.1ms)
1452
+ Started GET "/auth/gds" for 127.0.0.1 at 2017-12-11 18:11:48 +0000
1453
+ Started GET "/auth/gds/callback?code=42c26fd0aef0bf0ade1e701e9fdd5bbb31f98b8f05e86abba8279d6dfc5cc243&state=b568d95a82bfe8323baf2ac2320a6296a4983cc2b2e3b8d1" for 127.0.0.1 at 2017-12-11 18:11:48 +0000
1383
1454
  Processing by AuthenticationsController#callback as HTML
1384
- Parameters: {"code"=>"ff39b5d2bc1d38ea11f69c668156fc9119772a163fa8186e9a245717b1f70211", "state"=>"45d5479b2a870b9f5838f7645c3be3cd6da1ed6e8b0b475a"}
1455
+ Parameters: {"code"=>"42c26fd0aef0bf0ade1e701e9fdd5bbb31f98b8f05e86abba8279d6dfc5cc243", "state"=>"b568d95a82bfe8323baf2ac2320a6296a4983cc2b2e3b8d1"}
1385
1456
  Authenticating with gds_sso strategy
1386
1457
  User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["LIMIT", 1]]
1387
1458
   (0.1ms) begin transaction
1388
1459
   (0.0ms) commit transaction
1460
+  (0.1ms) begin transaction
1461
+ SQL (0.2ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", false], ["id", 12]]
1462
+  (5.2ms) commit transaction
1389
1463
  Redirected to http://www.example-client.com/restricted
1390
- Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
1391
- Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:17:20 +0000
1392
- Processing by ExampleController#restricted as HTML
1393
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "integration-uid"], ["remotely_signed_out", false], ["LIMIT", 1]]
1394
- Rendering text template
1395
- Rendered text template (0.0ms)
1396
- Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.3ms)
1397
- Started GET "/restricted" for 127.0.0.1 at 2017-12-09 05:12:20 +0000
1464
+ Completed 302 Found in 10ms (ActiveRecord: 5.7ms)
1465
+ Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:48 +0000
1398
1466
  Processing by ExampleController#restricted as HTML
1399
1467
  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", false], ["LIMIT", 1]]
1400
1468
  Rendering text template
1401
1469
  Rendered text template (0.0ms)
1402
- Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms)
1403
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "asd"], ["LIMIT", 1]]
1404
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "user@example.com"], ["LIMIT", 1]]
1405
-  (0.0ms) begin transaction
1406
- SQL (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]]
1407
-  (6.5ms) commit transaction
1408
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "asd"], ["LIMIT", 1]]
1409
-  (0.0ms) begin transaction
1410
-  (0.1ms) commit transaction
1411
-  (0.0ms) begin transaction
1412
- SQL (0.1ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d34992"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
1413
-  (5.2ms) commit transaction
1414
-  (0.0ms) begin transaction
1415
- SQL (0.1ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d34920"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1416
-  (4.8ms) commit transaction
1417
- Processing by Api::UserController#update as HTML
1418
- Parameters: {"uid"=>"a1s2d34992"}
1419
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "a1s2d34992"], ["LIMIT", 1]]
1420
-  (0.0ms) begin transaction
1421
- SQL (0.2ms) UPDATE "users" SET "email" = ?, "name" = ?, "permissions" = ?, "organisation_slug" = ?, "organisation_content_id" = ? WHERE "users"."id" = ? [["email", "user@domain.com"], ["name", "Joshua Marshall"], ["permissions", "---\n- signin\n- new permission\n"], ["organisation_slug", "justice-league"], ["organisation_content_id", "aae1319e-5788-4677-998c-f1a53af528d0"], ["id", 3]]
1422
-  (5.3ms) commit transaction
1423
- Completed 200 OK in 9ms (ActiveRecord: 5.6ms)
1424
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]]
1425
-  (0.1ms) begin transaction
1426
- SQL (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d36717"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
1427
-  (5.2ms) commit transaction
1428
-  (0.1ms) begin transaction
1429
- SQL (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d34089"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1430
-  (4.9ms) commit transaction
1431
- Processing by Api::UserController#update as HTML
1432
- Parameters: {"uid"=>"a1s2d36717"}
1433
- Rendering /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
1434
- Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
1435
- Completed 403 Forbidden in 8ms (Views: 7.9ms | ActiveRecord: 0.0ms)
1436
-  (0.0ms) begin transaction
1437
- SQL (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d35029"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
1438
-  (5.3ms) commit transaction
1439
-  (0.0ms) begin transaction
1440
- SQL (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d33609"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1441
-  (4.9ms) commit transaction
1442
- Processing by Api::UserController#reauth as HTML
1443
- Parameters: {"uid"=>"nonexistent-user"}
1444
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "nonexistent-user"], ["LIMIT", 1]]
1445
- Completed 200 OK in 1ms (ActiveRecord: 0.1ms)
1446
-  (0.1ms) begin transaction
1447
- SQL (0.1ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d38184"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
1448
-  (5.3ms) commit transaction
1449
-  (0.1ms) begin transaction
1450
- SQL (0.1ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d38755"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1451
-  (4.9ms) commit transaction
1452
- Processing by Api::UserController#reauth as HTML
1453
- Parameters: {"uid"=>"a1s2d38184"}
1454
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ? [["uid", "a1s2d38184"], ["LIMIT", 1]]
1455
-  (0.0ms) begin transaction
1456
- SQL (0.1ms) UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", true], ["id", 9]]
1457
-  (5.2ms) commit transaction
1458
- Completed 200 OK in 8ms (ActiveRecord: 5.5ms)
1459
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 9], ["LIMIT", 1]]
1460
-  (0.1ms) begin transaction
1461
- SQL (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "Moshua Jarshall"], ["uid", "a1s2d31951"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
1462
-  (5.8ms) commit transaction
1463
-  (0.0ms) begin transaction
1464
- SQL (0.2ms) INSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?) [["name", "SSO Push user"], ["uid", "a1s2d32948"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
1465
-  (5.2ms) commit transaction
1466
- Processing by Api::UserController#reauth as HTML
1467
- Parameters: {"uid"=>"a1s2d31951"}
1468
- Rendering /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
1469
- Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.0ms)
1470
- Completed 403 Forbidden in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
1470
+ Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)