gds-sso 10.0.0 → 10.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,2175 +1,2176 @@
1
1
  Connecting to database specified by database.yml
2
- Started GET "/" for 127.0.0.1 at 2014-11-20 14:03:59 +0000
2
+ Started GET "/" for 127.0.0.1 at 2015-04-20 13:11:25 +0000
3
3
  Processing by ExampleController#index as HTML
4
4
  Rendered text template (0.0ms)
5
- Completed 200 OK in 109.4ms (Views: 108.9ms | ActiveRecord: 0.0ms)
6
- Started GET "/restricted" for 127.0.0.1 at 2014-11-20 14:04:00 +0000
5
+ Completed 200 OK in 130.3ms (Views: 129.2ms | ActiveRecord: 0.0ms)
6
+ Started GET "/restricted" for 127.0.0.1 at 2015-04-20 13:11:26 +0000
7
7
  Processing by ExampleController#restricted as HTML
8
8
  Authenticating with gds_sso strategy
9
- Completed in 0.7ms
10
- Started GET "/auth/gds" for 127.0.0.1 at 2014-11-20 14:04:00 +0000
11
- Started GET "/auth/gds/callback?code=925d62414f9dc2d8c9798a7c2fb53aeecae98d2069d2ae5c1b0583cbc318f53b&state=3442e77c5bea79917999cae2f6e561253b1be3f787b3d4c8" for 127.0.0.1 at 2014-11-20 14:04:02 +0000
9
+ Completed in 113.8ms
10
+ Started GET "/auth/gds" for 127.0.0.1 at 2015-04-20 13:11:27 +0000
11
+ Started GET "/auth/gds/callback?code=f86ff11f57968276dbb15ae678ddb0cd857c13701987b6310ff1c4d70de56c7b&state=8cc6c345559d0e564954540c10b931dfaecca55673f14a88" for 127.0.0.1 at 2015-04-20 13:11:29 +0000
12
12
  Processing by AuthenticationsController#callback as HTML
13
- Parameters: {"code"=>"925d62414f9dc2d8c9798a7c2fb53aeecae98d2069d2ae5c1b0583cbc318f53b", "state"=>"3442e77c5bea79917999cae2f6e561253b1be3f787b3d4c8"}
13
+ Parameters: {"code"=>"f86ff11f57968276dbb15ae678ddb0cd857c13701987b6310ff1c4d70de56c7b", "state"=>"8cc6c345559d0e564954540c10b931dfaecca55673f14a88"}
14
14
  Authenticating with gds_sso strategy
15
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
16
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'test@example-client.com' LIMIT 1
17
-  (0.1ms) begin transaction
18
- SQL (0.4ms) INSERT INTO "users" ("disabled", "email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?, ?) [["disabled", nil], ["email", "test@example-client.com"], ["name", "Test User"], ["organisation_slug", nil], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "integration-uid"]]
19
-  (12.3ms) commit transaction
15
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
16
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'test@example-client.com' LIMIT 1
17
+  (0.2ms) begin transaction
18
+ SQL (1.0ms) INSERT INTO "users" ("disabled", "email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?, ?) [["disabled", false], ["email", "test@example-client.com"], ["name", "Test User"], ["organisation_slug", nil], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "integration-uid"]]
19
+  (19.0ms) commit transaction
20
20
   (0.1ms) begin transaction
21
-  (0.3ms) UPDATE "users" SET "remotely_signed_out" = 'f', "permissions" = '---
21
+  (0.4ms) UPDATE "users" SET "remotely_signed_out" = 'f', "permissions" = '---
22
22
  - signin
23
23
  ' WHERE "users"."id" = 1
24
-  (11.1ms) commit transaction
24
+  (38.3ms) commit transaction
25
25
  Redirected to http://www.example-client.com/restricted
26
- Completed 302 Found in 65.2ms (ActiveRecord: 25.0ms)
27
- Started GET "/restricted" for 127.0.0.1 at 2014-11-20 14:04:02 +0000
26
+ Completed 302 Found in 159.4ms (ActiveRecord: 60.9ms)
27
+ Started GET "/restricted" for 127.0.0.1 at 2015-04-20 13:11:33 +0000
28
28
  Processing by ExampleController#restricted as HTML
29
- User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1
30
- Completed 200 OK in 59.8ms (Views: 0.6ms | ActiveRecord: 0.4ms)
31
- Started GET "/restricted" for 127.0.0.1 at 2014-11-20 14:04:03 +0000
29
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1
30
+ Completed 200 OK in 4.4ms (Views: 1.2ms | ActiveRecord: 0.3ms)
31
+ Started GET "/restricted" for 127.0.0.1 at 2015-04-20 13:11:33 +0000
32
32
  Processing by ExampleController#restricted as HTML
33
33
  Authenticating with gds_sso strategy
34
- Completed in 0.3ms
35
- Started GET "/auth/gds" for 127.0.0.1 at 2014-11-20 14:04:03 +0000
36
- Started GET "/auth/gds/callback?code=44b0213f6adf88c8a9d74b556e20309dde27602ad220c849696a6b4dc514e6d7&state=295682cdf9941819efb196b0406920e625ab3352ace704fc" for 127.0.0.1 at 2014-11-20 14:04:03 +0000
34
+ Completed in 0.4ms
35
+ Started GET "/auth/gds" for 127.0.0.1 at 2015-04-20 13:11:33 +0000
36
+ Started GET "/auth/gds/callback?code=76370fd98cec1d2352dd648546b407f7113eb04eb661d5c8b1fa0794d637c4f7&state=c74fd87870f6e1a8766a2cf87ebae90d8e410fb80c6ad47f" for 127.0.0.1 at 2015-04-20 13:11:33 +0000
37
37
  Processing by AuthenticationsController#callback as HTML
38
- Parameters: {"code"=>"44b0213f6adf88c8a9d74b556e20309dde27602ad220c849696a6b4dc514e6d7", "state"=>"295682cdf9941819efb196b0406920e625ab3352ace704fc"}
38
+ Parameters: {"code"=>"76370fd98cec1d2352dd648546b407f7113eb04eb661d5c8b1fa0794d637c4f7", "state"=>"c74fd87870f6e1a8766a2cf87ebae90d8e410fb80c6ad47f"}
39
39
  Authenticating with gds_sso strategy
40
40
  User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
41
41
   (0.1ms) begin transaction
42
42
   (0.3ms) UPDATE "users" SET "permissions" = '---
43
43
  - signin
44
44
  ' WHERE "users"."id" = 1
45
-  (11.6ms) commit transaction
45
+  (27.9ms) commit transaction
46
46
   (0.1ms) begin transaction
47
-  (0.3ms) UPDATE "users" SET "permissions" = '---
47
+  (0.2ms) UPDATE "users" SET "permissions" = '---
48
48
  - signin
49
49
  ' WHERE "users"."id" = 1
50
-  (16.2ms) commit transaction
50
+  (32.1ms) commit transaction
51
51
  Redirected to http://www.example-client.com/restricted
52
- Completed 302 Found in 36.3ms (ActiveRecord: 28.9ms)
53
- Started GET "/restricted" for 127.0.0.1 at 2014-11-20 14:04:03 +0000
52
+ Completed 302 Found in 66.9ms (ActiveRecord: 60.9ms)
53
+ Started GET "/restricted" for 127.0.0.1 at 2015-04-20 13:11:34 +0000
54
54
  Processing by ExampleController#restricted as HTML
55
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1
56
- Completed 200 OK in 2.4ms (Views: 0.6ms | ActiveRecord: 0.3ms)
57
- Started GET "/restricted" for 127.0.0.1 at 2014-11-20 14:04:03 +0000
55
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1
56
+ Completed 200 OK in 1.5ms (Views: 0.3ms | ActiveRecord: 0.2ms)
57
+ Started GET "/restricted" for 127.0.0.1 at 2015-04-20 13:11:34 +0000
58
58
  Processing by ExampleController#restricted as HTML
59
59
  Authenticating with gds_sso strategy
60
- Completed in 0.2ms
61
- Started GET "/auth/gds" for 127.0.0.1 at 2014-11-20 14:04:03 +0000
62
- Started GET "/auth/gds/callback?code=1d9f2ced9dddec3f1917599394a41417e3cb6c147b396d83980c94adbaf653f9&state=1ec8490f1ecf655b21dad8c85762f1cff29663e5dc4c9711" for 127.0.0.1 at 2014-11-20 14:04:04 +0000
60
+ Completed in 0.5ms
61
+ Started GET "/auth/gds" for 127.0.0.1 at 2015-04-20 13:11:34 +0000
62
+ Started GET "/auth/gds/callback?code=07f47a911aba115de54e8f2bffd7a53ecf9cc3799683744bde2768e8d1595095&state=ba484170e6f127456334bd175cbc85a01ddc780ae4bfd90e" for 127.0.0.1 at 2015-04-20 13:11:34 +0000
63
63
  Processing by AuthenticationsController#callback as HTML
64
- Parameters: {"code"=>"1d9f2ced9dddec3f1917599394a41417e3cb6c147b396d83980c94adbaf653f9", "state"=>"1ec8490f1ecf655b21dad8c85762f1cff29663e5dc4c9711"}
64
+ Parameters: {"code"=>"07f47a911aba115de54e8f2bffd7a53ecf9cc3799683744bde2768e8d1595095", "state"=>"ba484170e6f127456334bd175cbc85a01ddc780ae4bfd90e"}
65
65
  Authenticating with gds_sso strategy
66
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
66
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
67
67
   (0.1ms) begin transaction
68
-  (0.3ms) UPDATE "users" SET "permissions" = '---
68
+  (0.4ms) UPDATE "users" SET "permissions" = '---
69
69
  - signin
70
70
  ' WHERE "users"."id" = 1
71
-  (10.5ms) commit transaction
71
+  (28.3ms) commit transaction
72
72
   (0.1ms) begin transaction
73
-  (0.3ms) UPDATE "users" SET "permissions" = '---
73
+  (0.4ms) UPDATE "users" SET "permissions" = '---
74
74
  - signin
75
75
  ' WHERE "users"."id" = 1
76
-  (15.3ms) commit transaction
76
+  (10.1ms) commit transaction
77
77
  Redirected to http://www.example-client.com/restricted
78
- Completed 302 Found in 34.4ms (ActiveRecord: 26.9ms)
79
- Started GET "/restricted" for 127.0.0.1 at 2014-11-20 14:04:04 +0000
78
+ Completed 302 Found in 49.8ms (ActiveRecord: 39.8ms)
79
+ Started GET "/restricted" for 127.0.0.1 at 2015-04-20 13:11:34 +0000
80
80
  Processing by ExampleController#restricted as HTML
81
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1
82
- Completed 200 OK in 1.7ms (Views: 0.4ms | ActiveRecord: 0.2ms)
83
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2014-11-20 14:04:05 +0000
81
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1
82
+ Completed 200 OK in 2.8ms (Views: 0.8ms | ActiveRecord: 0.3ms)
83
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-20 13:11:35 +0000
84
84
  Processing by ExampleController#this_requires_signin_permission as HTML
85
85
  Authenticating with gds_sso strategy
86
- Completed in 0.6ms
87
- Started GET "/auth/gds" for 127.0.0.1 at 2014-11-20 14:04:05 +0000
88
- Started GET "/auth/gds/callback?code=dbbbfb6efa979d7568c89531e6671c3cda0402107669c173a340dc5ac65bc5a4&state=2cd83671dc83fc054a1f8555c98ebf8b36c10deda8645955" for 127.0.0.1 at 2014-11-20 14:04:05 +0000
86
+ Completed in 1.1ms
87
+ Started GET "/auth/gds" for 127.0.0.1 at 2015-04-20 13:11:35 +0000
88
+ Started GET "/auth/gds/callback?code=a376a992bdbc43628c19cdaab0b3019c4b3394b7dc6cdd38b58a95f953249084&state=38e73451272f55d131f8b9d4c3fb6bf49c9128ef04575e56" for 127.0.0.1 at 2015-04-20 13:11:35 +0000
89
89
  Processing by AuthenticationsController#callback as HTML
90
- Parameters: {"code"=>"dbbbfb6efa979d7568c89531e6671c3cda0402107669c173a340dc5ac65bc5a4", "state"=>"2cd83671dc83fc054a1f8555c98ebf8b36c10deda8645955"}
90
+ Parameters: {"code"=>"a376a992bdbc43628c19cdaab0b3019c4b3394b7dc6cdd38b58a95f953249084", "state"=>"38e73451272f55d131f8b9d4c3fb6bf49c9128ef04575e56"}
91
91
  Authenticating with gds_sso strategy
92
- User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
92
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
93
93
   (0.1ms) begin transaction
94
-  (0.3ms) UPDATE "users" SET "permissions" = '---
94
+  (0.4ms) UPDATE "users" SET "permissions" = '---
95
95
  - signin
96
96
  ' WHERE "users"."id" = 1
97
-  (151.6ms) commit transaction
97
+  (25.1ms) commit transaction
98
98
   (0.1ms) begin transaction
99
-  (0.2ms) UPDATE "users" SET "permissions" = '---
99
+  (0.3ms) UPDATE "users" SET "permissions" = '---
100
100
  - signin
101
101
  ' WHERE "users"."id" = 1
102
-  (123.5ms) commit transaction
102
+  (15.6ms) commit transaction
103
103
  Redirected to http://www.example-client.com/this_requires_signin_permission
104
- Completed 302 Found in 282.6ms (ActiveRecord: 276.1ms)
105
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2014-11-20 14:04:06 +0000
104
+ Completed 302 Found in 50.7ms (ActiveRecord: 41.9ms)
105
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-20 13:11:35 +0000
106
106
  Processing by ExampleController#this_requires_signin_permission as HTML
107
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1
108
- Completed 200 OK in 2.3ms (Views: 0.5ms | ActiveRecord: 0.2ms)
109
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2014-11-20 14:04:06 +0000
107
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1
108
+ Completed 200 OK in 2.9ms (Views: 0.8ms | ActiveRecord: 0.3ms)
109
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-20 13:11:35 +0000
110
110
  Processing by ExampleController#this_requires_signin_permission as HTML
111
111
  Authenticating with gds_sso strategy
112
- Completed in 0.2ms
113
- Started GET "/auth/gds" for 127.0.0.1 at 2014-11-20 14:04:06 +0000
114
- Started GET "/auth/gds/callback?code=7b7552e52d61d81ab888008acb2469fc0ab0f7dbf89ba416fa0643e98b106bfb&state=4e8f79e593f422a5eada85181a4bed7854022500a6719b2a" for 127.0.0.1 at 2014-11-20 14:04:06 +0000
112
+ Completed in 0.3ms
113
+ Started GET "/auth/gds" for 127.0.0.1 at 2015-04-20 13:11:35 +0000
114
+ Started GET "/auth/gds/callback?code=ecc0baaa32dd3863c4bc0ebe034626edafebfe155157cf666f0fa1e6fe32e4ed&state=d8f2f5e7dd4e87a27df14b457f6b7b901dc27a99b8215f2a" for 127.0.0.1 at 2015-04-20 13:11:36 +0000
115
115
  Processing by AuthenticationsController#callback as HTML
116
- Parameters: {"code"=>"7b7552e52d61d81ab888008acb2469fc0ab0f7dbf89ba416fa0643e98b106bfb", "state"=>"4e8f79e593f422a5eada85181a4bed7854022500a6719b2a"}
116
+ Parameters: {"code"=>"ecc0baaa32dd3863c4bc0ebe034626edafebfe155157cf666f0fa1e6fe32e4ed", "state"=>"d8f2f5e7dd4e87a27df14b457f6b7b901dc27a99b8215f2a"}
117
117
  Authenticating with gds_sso strategy
118
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
119
-  (0.0ms) begin transaction
120
-  (0.3ms) UPDATE "users" SET "permissions" = '---
118
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
119
+  (0.1ms) begin transaction
120
+  (0.4ms) UPDATE "users" SET "permissions" = '---
121
121
  - signin
122
122
  ' WHERE "users"."id" = 1
123
-  (30.2ms) commit transaction
123
+  (24.3ms) commit transaction
124
124
   (0.1ms) begin transaction
125
-  (0.2ms) UPDATE "users" SET "permissions" = '---
125
+  (0.4ms) UPDATE "users" SET "permissions" = '---
126
126
  - signin
127
127
  ' WHERE "users"."id" = 1
128
-  (22.6ms) commit transaction
128
+  (23.1ms) commit transaction
129
129
  Redirected to http://www.example-client.com/this_requires_signin_permission
130
- Completed 302 Found in 59.5ms (ActiveRecord: 53.7ms)
131
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2014-11-20 14:04:06 +0000
130
+ Completed 302 Found in 62.2ms (ActiveRecord: 48.6ms)
131
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-20 13:11:36 +0000
132
132
  Processing by ExampleController#this_requires_signin_permission as HTML
133
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1
134
- Completed 200 OK in 2.0ms (Views: 0.4ms | ActiveRecord: 0.2ms)
135
- Started GET "/restricted" for 127.0.0.1 at 2014-11-20 14:04:07 +0000
133
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1
134
+ Completed 200 OK in 2.8ms (Views: 0.5ms | ActiveRecord: 0.3ms)
135
+ Started GET "/restricted" for 127.0.0.1 at 2015-04-20 13:11:36 +0000
136
136
  Processing by ExampleController#restricted as HTML
137
137
  Authenticating with gds_sso strategy
138
- Completed in 0.4ms
139
- Started GET "/auth/gds" for 127.0.0.1 at 2014-11-20 14:04:07 +0000
140
- Started GET "/auth/gds/callback?code=478c2319408b009f9af53ddf3f0d1febb78203431a7e9c45420c00ddf49d8dd0&state=a2c129df17adc9800e28aa124a7da391add9bc364d50b8d7" for 127.0.0.1 at 2014-11-20 14:04:07 +0000
138
+ Completed in 0.6ms
139
+ Started GET "/auth/gds" for 127.0.0.1 at 2015-04-20 13:11:36 +0000
140
+ Started GET "/auth/gds/callback?code=238b57fe176e7a699db37ca4b5808c5b1875a6affbc56dd2b89dab84e8329636&state=e8169ca1a82781dbabe2d3aa04722a3cda70110178b6850f" for 127.0.0.1 at 2015-04-20 13:11:37 +0000
141
141
  Processing by AuthenticationsController#callback as HTML
142
- Parameters: {"code"=>"478c2319408b009f9af53ddf3f0d1febb78203431a7e9c45420c00ddf49d8dd0", "state"=>"a2c129df17adc9800e28aa124a7da391add9bc364d50b8d7"}
142
+ Parameters: {"code"=>"238b57fe176e7a699db37ca4b5808c5b1875a6affbc56dd2b89dab84e8329636", "state"=>"e8169ca1a82781dbabe2d3aa04722a3cda70110178b6850f"}
143
143
  Authenticating with gds_sso strategy
144
144
  User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
145
145
   (0.1ms) begin transaction
146
146
   (0.3ms) UPDATE "users" SET "permissions" = '---
147
147
  - signin
148
148
  ' WHERE "users"."id" = 1
149
-  (23.9ms) commit transaction
149
+  (22.1ms) commit transaction
150
150
   (0.1ms) begin transaction
151
-  (0.3ms) UPDATE "users" SET "permissions" = '---
151
+  (0.4ms) UPDATE "users" SET "permissions" = '---
152
152
  - signin
153
153
  ' WHERE "users"."id" = 1
154
-  (28.9ms) commit transaction
154
+  (11.1ms) commit transaction
155
155
  Redirected to http://www.example-client.com/restricted
156
- Completed 302 Found in 62.3ms (ActiveRecord: 53.9ms)
157
- Started GET "/restricted" for 127.0.0.1 at 2014-11-20 14:04:07 +0000
156
+ Completed 302 Found in 43.5ms (ActiveRecord: 34.4ms)
157
+ Started GET "/restricted" for 127.0.0.1 at 2015-04-20 13:11:37 +0000
158
158
  Processing by ExampleController#restricted as HTML
159
159
  User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1
160
- Completed 200 OK in 2.5ms (Views: 0.6ms | ActiveRecord: 0.3ms)
161
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'test@example-client.com' LIMIT 1
162
-  (0.0ms) begin transaction
163
-  (0.2ms) UPDATE "users" SET "remotely_signed_out" = 't', "permissions" = '---
160
+ Completed 200 OK in 2.8ms (Views: 0.8ms | ActiveRecord: 0.3ms)
161
+ User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'test@example-client.com' LIMIT 1
162
+  (0.1ms) begin transaction
163
+  (0.3ms) UPDATE "users" SET "remotely_signed_out" = 't', "permissions" = '---
164
164
  - signin
165
165
  ' WHERE "users"."id" = 1
166
-  (88.2ms) commit transaction
167
- Started GET "/restricted" for 127.0.0.1 at 2014-11-20 14:04:08 +0000
166
+  (15.2ms) commit transaction
167
+ Started GET "/restricted" for 127.0.0.1 at 2015-04-20 13:11:37 +0000
168
168
  Processing by ExampleController#restricted as HTML
169
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1
169
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1
170
170
  Authenticating with gds_sso strategy
171
- Completed in 1.5ms
172
- Started GET "/auth/gds" for 127.0.0.1 at 2014-11-20 14:04:08 +0000
173
- Started GET "/auth/gds/callback?code=e18541e8cf7ef865d398fb7a52e0d57aba9e38c1b8ac185767c00291eca7b3bf&state=60fd92b65d3099c013e930a995d8f99beef6eecf549531d2" for 127.0.0.1 at 2014-11-20 14:04:08 +0000
171
+ Completed in 2.6ms
172
+ Started GET "/auth/gds" for 127.0.0.1 at 2015-04-20 13:11:37 +0000
173
+ Started GET "/auth/gds/callback?code=06ec3945c73cebb7e2ac4aefc42577b1eb9d384563177760b150625da71688b3&state=96a50a77307b5c2b63085621a0c8143fa3fc169266b4ac28" for 127.0.0.1 at 2015-04-20 13:11:38 +0000
174
174
  Processing by AuthenticationsController#callback as HTML
175
- Parameters: {"code"=>"e18541e8cf7ef865d398fb7a52e0d57aba9e38c1b8ac185767c00291eca7b3bf", "state"=>"60fd92b65d3099c013e930a995d8f99beef6eecf549531d2"}
175
+ Parameters: {"code"=>"06ec3945c73cebb7e2ac4aefc42577b1eb9d384563177760b150625da71688b3", "state"=>"96a50a77307b5c2b63085621a0c8143fa3fc169266b4ac28"}
176
176
  Authenticating with gds_sso strategy
177
177
  User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
178
178
   (0.1ms) begin transaction
179
-  (0.3ms) UPDATE "users" SET "permissions" = '---
179
+  (0.4ms) UPDATE "users" SET "permissions" = '---
180
180
  - signin
181
181
  ' WHERE "users"."id" = 1
182
-  (40.8ms) commit transaction
182
+  (12.7ms) commit transaction
183
183
   (0.1ms) begin transaction
184
-  (0.3ms) UPDATE "users" SET "remotely_signed_out" = 'f', "permissions" = '---
184
+  (0.6ms) UPDATE "users" SET "remotely_signed_out" = 'f', "permissions" = '---
185
185
  - signin
186
186
  ' WHERE "users"."id" = 1
187
-  (21.8ms) commit transaction
187
+  (32.8ms) commit transaction
188
188
  Redirected to http://www.example-client.com/restricted
189
- Completed 302 Found in 71.9ms (ActiveRecord: 63.8ms)
190
- Started GET "/restricted" for 127.0.0.1 at 2014-11-20 14:04:08 +0000
189
+ Completed 302 Found in 55.1ms (ActiveRecord: 46.9ms)
190
+ Started GET "/restricted" for 127.0.0.1 at 2015-04-20 13:11:38 +0000
191
191
  Processing by ExampleController#restricted as HTML
192
192
  User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1
193
- Completed 200 OK in 2.7ms (Views: 0.7ms | ActiveRecord: 0.3ms)
194
- Started GET "/restricted" for 127.0.0.1 at 2014-11-20 14:04:09 +0000
193
+ Completed 200 OK in 2.5ms (Views: 0.5ms | ActiveRecord: 0.3ms)
194
+ Started GET "/restricted" for 127.0.0.1 at 2015-04-20 13:11:38 +0000
195
195
  Processing by ExampleController#restricted as HTML
196
196
  Authenticating with gds_sso strategy
197
- Completed in 0.3ms
198
- Started GET "/auth/gds" for 127.0.0.1 at 2014-11-20 14:04:09 +0000
199
- Started GET "/auth/gds/callback?code=b984d6abc8b4a8ba09cf98c251c9ba60bf340a088ebdf618a4c930c120ad1016&state=ee28f4134ff42d54e13eadcfb2c119e90650f8e6136d4865" for 127.0.0.1 at 2014-11-20 14:04:09 +0000
197
+ Completed in 0.5ms
198
+ Started GET "/auth/gds" for 127.0.0.1 at 2015-04-20 13:11:38 +0000
199
+ Started GET "/auth/gds/callback?code=daa5e2fc0ad0328af9878ea9598b8589f4cea2b29d38a6aa196e7a8994a5ab45&state=35f142a543812a04aeb5629d0e2bf6ac5a941ea67abd888b" for 127.0.0.1 at 2015-04-20 13:11:38 +0000
200
200
  Processing by AuthenticationsController#callback as HTML
201
- Parameters: {"code"=>"b984d6abc8b4a8ba09cf98c251c9ba60bf340a088ebdf618a4c930c120ad1016", "state"=>"ee28f4134ff42d54e13eadcfb2c119e90650f8e6136d4865"}
201
+ Parameters: {"code"=>"daa5e2fc0ad0328af9878ea9598b8589f4cea2b29d38a6aa196e7a8994a5ab45", "state"=>"35f142a543812a04aeb5629d0e2bf6ac5a941ea67abd888b"}
202
202
  Authenticating with gds_sso strategy
203
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
203
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
204
204
   (0.1ms) begin transaction
205
-  (0.2ms) UPDATE "users" SET "permissions" = '---
205
+  (0.4ms) UPDATE "users" SET "permissions" = '---
206
206
  - signin
207
207
  ' WHERE "users"."id" = 1
208
-  (20.5ms) commit transaction
208
+  (19.0ms) commit transaction
209
209
   (0.1ms) begin transaction
210
210
   (0.3ms) UPDATE "users" SET "permissions" = '---
211
211
  - signin
212
212
  ' WHERE "users"."id" = 1
213
-  (26.1ms) commit transaction
213
+  (8.8ms) commit transaction
214
214
  Redirected to http://www.example-client.com/restricted
215
- Completed 302 Found in 53.8ms (ActiveRecord: 47.5ms)
216
- Started GET "/restricted" for 127.0.0.1 at 2014-11-20 14:04:10 +0000
215
+ Completed 302 Found in 39.2ms (ActiveRecord: 29.1ms)
216
+ Started GET "/restricted" for 127.0.0.1 at 2015-04-20 13:11:39 +0000
217
217
  Processing by ExampleController#restricted as HTML
218
218
  User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1
219
- Completed 200 OK in 2.0ms (Views: 0.5ms | ActiveRecord: 0.3ms)
220
- Started GET "/restricted" for 127.0.0.1 at 2014-11-21 10:09:10 +0000
219
+ Completed 200 OK in 2.6ms (Views: 0.7ms | ActiveRecord: 0.3ms)
220
+ Started GET "/restricted" for 127.0.0.1 at 2015-04-21 09:16:39 +0000
221
221
  Processing by ExampleController#restricted as HTML
222
222
  Authenticating with gds_sso strategy
223
- Completed in 0.5ms
224
- Started GET "/auth/gds" for 127.0.0.1 at 2014-11-21 10:09:10 +0000
225
- Started GET "/auth/gds/callback?code=c7f9e2f51f53be5bf0271ac6fb5f7f9e5a43f5056e6143bec1d53d48d3738c6f&state=d39d8423804c0bb861eb6b436d5f410d1c01d3ea5a1d0e85" for 127.0.0.1 at 2014-11-21 10:09:10 +0000
223
+ Completed in 0.7ms
224
+ Started GET "/auth/gds" for 127.0.0.1 at 2015-04-21 09:16:39 +0000
225
+ Started GET "/auth/gds/callback?code=6d449a11a4e3f73cc5bdecd3540af55be1e44b2c117fa9df539448548ed7776c&state=7cebff92e180f1f2c8243f98a2000efc06d5cbf6b3bd11d3" for 127.0.0.1 at 2015-04-21 09:16:39 +0000
226
226
  Processing by AuthenticationsController#callback as HTML
227
- Parameters: {"code"=>"c7f9e2f51f53be5bf0271ac6fb5f7f9e5a43f5056e6143bec1d53d48d3738c6f", "state"=>"d39d8423804c0bb861eb6b436d5f410d1c01d3ea5a1d0e85"}
227
+ Parameters: {"code"=>"6d449a11a4e3f73cc5bdecd3540af55be1e44b2c117fa9df539448548ed7776c", "state"=>"7cebff92e180f1f2c8243f98a2000efc06d5cbf6b3bd11d3"}
228
228
  Authenticating with gds_sso strategy
229
229
  User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
230
230
   (0.1ms) begin transaction
231
-  (0.2ms) UPDATE "users" SET "permissions" = '---
231
+  (0.3ms) UPDATE "users" SET "permissions" = '---
232
232
  - signin
233
233
  ' WHERE "users"."id" = 1
234
-  (29.1ms) commit transaction
234
+  (15.4ms) commit transaction
235
235
   (0.1ms) begin transaction
236
-  (0.3ms) UPDATE "users" SET "permissions" = '---
236
+  (0.2ms) UPDATE "users" SET "permissions" = '---
237
237
  - signin
238
238
  ' WHERE "users"."id" = 1
239
-  (43.4ms) commit transaction
239
+  (17.9ms) commit transaction
240
240
  Redirected to http://www.example-client.com/restricted
241
- Completed 302 Found in 79.0ms (ActiveRecord: 73.4ms)
242
- Started GET "/restricted" for 127.0.0.1 at 2014-11-21 10:09:10 +0000
241
+ Completed 302 Found in 39.9ms (ActiveRecord: 34.3ms)
242
+ Started GET "/restricted" for 127.0.0.1 at 2015-04-21 09:16:39 +0000
243
243
  Processing by ExampleController#restricted as HTML
244
244
  User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1
245
- Completed 200 OK in 2.0ms (Views: 0.3ms | ActiveRecord: 0.3ms)
246
- Started GET "/restricted" for 127.0.0.1 at 2014-11-20 14:04:10 +0000
245
+ Completed 200 OK in 1.7ms (Views: 0.2ms | ActiveRecord: 0.3ms)
246
+ Started GET "/restricted" for 127.0.0.1 at 2015-04-20 13:11:39 +0000
247
247
  Processing by ExampleController#restricted as HTML
248
248
  Authenticating with gds_sso strategy
249
249
  Completed in 0.4ms
250
- Started GET "/auth/gds" for 127.0.0.1 at 2014-11-20 14:04:10 +0000
251
- Started GET "/auth/gds/callback?code=bbc315a531beaab2187814367d48192134cd4a393ec4f7b4867f84f0ef28a637&state=3ff4c16b2b12eafc7795ed4bfc8856ae01cd809b30e6f226" for 127.0.0.1 at 2014-11-20 14:04:11 +0000
250
+ Started GET "/auth/gds" for 127.0.0.1 at 2015-04-20 13:11:39 +0000
251
+ Started GET "/auth/gds/callback?code=e4d9ffbd0f19975cfac64dcbb1f1e0055c8402aa73ec98f2f397f90b7d08a898&state=c6f06456d8e46b25759206fe6a2203625a295e7e70fab927" for 127.0.0.1 at 2015-04-20 13:11:39 +0000
252
252
  Processing by AuthenticationsController#callback as HTML
253
- Parameters: {"code"=>"bbc315a531beaab2187814367d48192134cd4a393ec4f7b4867f84f0ef28a637", "state"=>"3ff4c16b2b12eafc7795ed4bfc8856ae01cd809b30e6f226"}
253
+ Parameters: {"code"=>"e4d9ffbd0f19975cfac64dcbb1f1e0055c8402aa73ec98f2f397f90b7d08a898", "state"=>"c6f06456d8e46b25759206fe6a2203625a295e7e70fab927"}
254
254
  Authenticating with gds_sso strategy
255
255
  User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
256
-  (0.0ms) begin transaction
257
-  (0.2ms) UPDATE "users" SET "permissions" = '---
256
+  (0.1ms) begin transaction
257
+  (0.3ms) UPDATE "users" SET "permissions" = '---
258
258
  - signin
259
259
  ' WHERE "users"."id" = 1
260
-  (80.4ms) commit transaction
260
+  (23.4ms) commit transaction
261
261
   (0.1ms) begin transaction
262
-  (0.2ms) UPDATE "users" SET "permissions" = '---
262
+  (0.3ms) UPDATE "users" SET "permissions" = '---
263
263
  - signin
264
264
  ' WHERE "users"."id" = 1
265
-  (23.8ms) commit transaction
265
+  (20.0ms) commit transaction
266
266
  Redirected to http://www.example-client.com/restricted
267
- Completed 302 Found in 111.0ms (ActiveRecord: 105.0ms)
268
- Started GET "/restricted" for 127.0.0.1 at 2014-11-20 14:04:11 +0000
267
+ Completed 302 Found in 53.6ms (ActiveRecord: 44.6ms)
268
+ Started GET "/restricted" for 127.0.0.1 at 2015-04-20 13:11:40 +0000
269
269
  Processing by ExampleController#restricted as HTML
270
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1
271
- Completed 200 OK in 1.8ms (Views: 0.4ms | ActiveRecord: 0.2ms)
272
- Started GET "/restricted" for 127.0.0.1 at 2014-11-21 09:59:11 +0000
270
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1
271
+ Completed 200 OK in 2.8ms (Views: 0.8ms | ActiveRecord: 0.3ms)
272
+ Started GET "/restricted" for 127.0.0.1 at 2015-04-21 09:06:40 +0000
273
273
  Processing by ExampleController#restricted as HTML
274
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1
275
- Completed 200 OK in 1.5ms (Views: 0.3ms | ActiveRecord: 0.2ms)
276
- Started GET "/restricted" for 127.0.0.1 at 2014-11-20 14:04:11 +0000
277
- Processing by ExampleController#restricted as JSON
278
- Completed in 105.7ms
279
- Started GET "/restricted" for 127.0.0.1 at 2014-11-20 14:04:12 +0000
274
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1
275
+ Completed 200 OK in 11.2ms (Views: 0.3ms | ActiveRecord: 0.3ms)
276
+ Started GET "/restricted" for 127.0.0.1 at 2015-04-20 13:11:40 +0000
280
277
  Processing by ExampleController#restricted as JSON
281
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
278
+ Completed in 135.2ms
279
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-20 13:11:41 +0000
280
+ Processing by ExampleController#this_requires_signin_permission as JSON
281
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
282
282
   (0.1ms) begin transaction
283
-  (0.2ms) UPDATE "users" SET "permissions" = '---
283
+  (0.4ms) UPDATE "users" SET "disabled" = NULL, "permissions" = '---
284
284
  - signin
285
285
  ' WHERE "users"."id" = 1
286
-  (19.0ms) commit transaction
287
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
286
+  (35.1ms) commit transaction
287
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
288
288
   (0.1ms) begin transaction
289
289
   (0.3ms) UPDATE "users" SET "permissions" = '---
290
290
  - signin
291
291
  ' WHERE "users"."id" = 1
292
-  (122.3ms) commit transaction
292
+  (15.2ms) commit transaction
293
293
  User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
294
-  (0.0ms) begin transaction
295
-  (0.2ms) UPDATE "users" SET "permissions" = '---
294
+  (0.1ms) begin transaction
295
+  (0.3ms) UPDATE "users" SET "permissions" = '---
296
296
  - signin
297
297
  ' WHERE "users"."id" = 1
298
-  (26.6ms) commit transaction
298
+  (28.3ms) commit transaction
299
299
  User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
300
300
   (0.0ms) begin transaction
301
301
   (0.2ms) UPDATE "users" SET "permissions" = '---
302
302
  - signin
303
303
  ' WHERE "users"."id" = 1
304
-  (22.8ms) commit transaction
304
+  (15.4ms) commit transaction
305
305
   (0.1ms) begin transaction
306
306
   (0.3ms) UPDATE "users" SET "permissions" = '---
307
307
  - signin
308
308
  ' WHERE "users"."id" = 1
309
-  (23.3ms) commit transaction
310
- Completed 200 OK in 469.6ms (Views: 0.8ms | ActiveRecord: 216.7ms)
311
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2014-11-20 14:04:13 +0000
312
- Processing by ExampleController#this_requires_signin_permission as JSON
313
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
309
+  (14.9ms) commit transaction
310
+ Completed 200 OK in 312.2ms (Views: 0.5ms | ActiveRecord: 111.8ms)
311
+ Started GET "/restricted" for 127.0.0.1 at 2015-04-20 13:11:42 +0000
312
+ Processing by ExampleController#restricted as JSON
313
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
314
314
   (0.1ms) begin transaction
315
-  (0.2ms) UPDATE "users" SET "permissions" = '---
315
+  (0.3ms) UPDATE "users" SET "permissions" = '---
316
316
  - signin
317
317
  ' WHERE "users"."id" = 1
318
-  (19.3ms) commit transaction
319
- User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
318
+  (21.3ms) commit transaction
319
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
320
320
   (0.1ms) begin transaction
321
321
   (0.3ms) UPDATE "users" SET "permissions" = '---
322
322
  - signin
323
323
  ' WHERE "users"."id" = 1
324
-  (49.6ms) commit transaction
324
+  (16.0ms) commit transaction
325
325
  User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
326
326
   (0.1ms) begin transaction
327
-  (0.2ms) UPDATE "users" SET "permissions" = '---
327
+  (0.4ms) UPDATE "users" SET "permissions" = '---
328
328
  - signin
329
329
  ' WHERE "users"."id" = 1
330
-  (86.7ms) commit transaction
331
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
332
-  (0.0ms) begin transaction
333
-  (0.2ms) UPDATE "users" SET "permissions" = '---
330
+  (11.1ms) commit transaction
331
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
332
+  (0.1ms) begin transaction
333
+  (0.3ms) UPDATE "users" SET "permissions" = '---
334
334
  - signin
335
335
  ' WHERE "users"."id" = 1
336
-  (47.8ms) commit transaction
336
+  (27.1ms) commit transaction
337
337
   (0.1ms) begin transaction
338
-  (0.2ms) UPDATE "users" SET "permissions" = '---
338
+  (0.3ms) UPDATE "users" SET "permissions" = '---
339
339
  - signin
340
340
  ' WHERE "users"."id" = 1
341
-  (14.3ms) commit transaction
342
- Completed 200 OK in 510.2ms (Views: 0.5ms | ActiveRecord: 220.4ms)
343
- Started GET "/restricted" for 127.0.0.1 at 2014-11-20 14:04:13 +0000
341
+  (17.6ms) commit transaction
342
+ Completed 200 OK in 287.4ms (Views: 0.6ms | ActiveRecord: 96.2ms)
343
+ Started GET "/restricted" for 127.0.0.1 at 2015-04-20 13:11:43 +0000
344
344
  Processing by ExampleController#restricted as JSON
345
- Completed in 23.6ms
346
-  (0.1ms) begin transaction
347
- SQL (0.3ms) INSERT INTO "users" ("disabled", "email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?, ?) [["disabled", false], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["organisation_slug", nil], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d33199"]]
348
-  (44.5ms) commit transaction
345
+ Completed in 33.1ms
346
+  (0.2ms) begin transaction
347
+ SQL (0.4ms) INSERT INTO "users" ("disabled", "email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?, ?) [["disabled", false], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["organisation_slug", nil], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d36859"]]
348
+  (37.7ms) commit transaction
349
349
   (0.1ms) begin transaction
350
- SQL (0.2ms) INSERT INTO "users" ("disabled", "email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?, ?) [["disabled", false], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["organisation_slug", nil], ["permissions", "---\n- signin\n- user_update_permission\n"], ["remotely_signed_out", nil], ["uid", "a1s2d32487"]]
351
-  (37.0ms) commit transaction
350
+ SQL (0.3ms) INSERT INTO "users" ("disabled", "email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?, ?) [["disabled", false], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["organisation_slug", nil], ["permissions", "---\n- signin\n- user_update_permission\n"], ["remotely_signed_out", nil], ["uid", "a1s2d34290"]]
351
+  (10.5ms) commit transaction
352
352
  WARNING: Can't mass-assign protected attributes: uid, name, permissions
353
353
  Processing by Api::UserController#update as HTML
354
- Parameters: {"uid"=>"a1s2d33199"}
355
- Completed 403 Forbidden in 4.3ms (Views: 3.2ms | ActiveRecord: 0.0ms)
354
+ Parameters: {"uid"=>"a1s2d36859"}
355
+ Completed 403 Forbidden in 18.1ms (Views: 16.7ms | ActiveRecord: 0.0ms)
356
356
   (0.1ms) begin transaction
357
- SQL (0.3ms) INSERT INTO "users" ("disabled", "email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?, ?) [["disabled", false], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["organisation_slug", nil], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d31272"]]
358
-  (73.2ms) commit transaction
357
+ SQL (0.5ms) INSERT INTO "users" ("disabled", "email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?, ?) [["disabled", false], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["organisation_slug", nil], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d39333"]]
358
+  (65.2ms) commit transaction
359
359
   (0.1ms) begin transaction
360
- SQL (0.2ms) INSERT INTO "users" ("disabled", "email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?, ?) [["disabled", false], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["organisation_slug", nil], ["permissions", "---\n- signin\n- user_update_permission\n"], ["remotely_signed_out", nil], ["uid", "a1s2d34981"]]
361
-  (30.0ms) commit transaction
360
+ SQL (0.2ms) INSERT INTO "users" ("disabled", "email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?, ?) [["disabled", false], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["organisation_slug", nil], ["permissions", "---\n- signin\n- user_update_permission\n"], ["remotely_signed_out", nil], ["uid", "a1s2d33849"]]
361
+  (45.9ms) commit transaction
362
362
  Processing by Api::UserController#update as HTML
363
- Parameters: {"uid"=>"a1s2d31272"}
364
- User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d31272' LIMIT 1
363
+ Parameters: {"uid"=>"a1s2d39333"}
364
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d39333' LIMIT 1
365
365
   (0.1ms) begin transaction
366
-  (0.4ms) UPDATE "users" SET "email" = 'user@domain.com', "name" = 'Joshua Marshall', "permissions" = '---
366
+  (0.3ms) UPDATE "users" SET "email" = 'user@domain.com', "name" = 'Joshua Marshall', "permissions" = '---
367
367
  - signin
368
368
  - new permission
369
369
  ', "organisation_slug" = 'justice-league' WHERE "users"."id" = 4
370
-  (21.8ms) commit transaction
371
- Completed 200 OK in 29.6ms (ActiveRecord: 22.7ms)
372
- User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]]
370
+  (24.4ms) commit transaction
371
+ Completed 200 OK in 30.9ms (ActiveRecord: 25.2ms)
372
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]]
373
373
   (0.1ms) begin transaction
374
- SQL (0.4ms) INSERT INTO "users" ("disabled", "email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?, ?) [["disabled", false], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["organisation_slug", nil], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d34991"]]
375
-  (25.1ms) commit transaction
374
+ SQL (0.4ms) INSERT INTO "users" ("disabled", "email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?, ?) [["disabled", false], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["organisation_slug", nil], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d33478"]]
375
+  (27.6ms) commit transaction
376
376
   (0.1ms) begin transaction
377
- SQL (0.3ms) INSERT INTO "users" ("disabled", "email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?, ?) [["disabled", false], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["organisation_slug", nil], ["permissions", "---\n- signin\n- user_update_permission\n"], ["remotely_signed_out", nil], ["uid", "a1s2d39370"]]
378
-  (30.0ms) commit transaction
377
+ SQL (0.2ms) INSERT INTO "users" ("disabled", "email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?, ?) [["disabled", false], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["organisation_slug", nil], ["permissions", "---\n- signin\n- user_update_permission\n"], ["remotely_signed_out", nil], ["uid", "a1s2d38389"]]
378
+  (9.9ms) commit transaction
379
379
  WARNING: Can't mass-assign protected attributes: uid, name, permissions
380
380
  Processing by Api::UserController#reauth as HTML
381
- Parameters: {"uid"=>"a1s2d34991"}
382
- Completed 403 Forbidden in 2.2ms (Views: 1.2ms | ActiveRecord: 0.0ms)
381
+ Parameters: {"uid"=>"a1s2d33478"}
382
+ Completed 403 Forbidden in 2.7ms (Views: 1.5ms | ActiveRecord: 0.0ms)
383
383
   (0.1ms) begin transaction
384
- SQL (0.3ms) INSERT INTO "users" ("disabled", "email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?, ?) [["disabled", false], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["organisation_slug", nil], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d38547"]]
385
-  (17.6ms) commit transaction
384
+ SQL (0.3ms) INSERT INTO "users" ("disabled", "email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?, ?) [["disabled", false], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["organisation_slug", nil], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d37625"]]
385
+  (16.5ms) commit transaction
386
386
   (0.1ms) begin transaction
387
- SQL (0.3ms) INSERT INTO "users" ("disabled", "email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?, ?) [["disabled", false], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["organisation_slug", nil], ["permissions", "---\n- signin\n- user_update_permission\n"], ["remotely_signed_out", nil], ["uid", "a1s2d37227"]]
388
-  (22.2ms) commit transaction
387
+ SQL (0.3ms) INSERT INTO "users" ("disabled", "email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?, ?) [["disabled", false], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["organisation_slug", nil], ["permissions", "---\n- signin\n- user_update_permission\n"], ["remotely_signed_out", nil], ["uid", "a1s2d38024"]]
388
+  (18.7ms) commit transaction
389
389
  Processing by Api::UserController#reauth as HTML
390
390
  Parameters: {"uid"=>"nonexistent-user"}
391
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'nonexistent-user' LIMIT 1
392
- Completed 200 OK in 1.4ms (ActiveRecord: 0.3ms)
391
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'nonexistent-user' LIMIT 1
392
+ Completed 200 OK in 1.4ms (ActiveRecord: 0.2ms)
393
393
   (0.1ms) begin transaction
394
- SQL (0.3ms) INSERT INTO "users" ("disabled", "email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?, ?) [["disabled", false], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["organisation_slug", nil], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d31985"]]
395
-  (26.1ms) commit transaction
394
+ SQL (0.3ms) INSERT INTO "users" ("disabled", "email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?, ?) [["disabled", false], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["organisation_slug", nil], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d38785"]]
395
+  (25.4ms) commit transaction
396
396
   (0.1ms) begin transaction
397
- SQL (0.2ms) INSERT INTO "users" ("disabled", "email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?, ?) [["disabled", false], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["organisation_slug", nil], ["permissions", "---\n- signin\n- user_update_permission\n"], ["remotely_signed_out", nil], ["uid", "a1s2d31767"]]
398
-  (87.7ms) commit transaction
397
+ SQL (0.3ms) INSERT INTO "users" ("disabled", "email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?, ?) [["disabled", false], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["organisation_slug", nil], ["permissions", "---\n- signin\n- user_update_permission\n"], ["remotely_signed_out", nil], ["uid", "a1s2d39294"]]
398
+  (9.2ms) commit transaction
399
399
  Processing by Api::UserController#reauth as HTML
400
- Parameters: {"uid"=>"a1s2d31985"}
401
- User Load (56.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d31985' LIMIT 1
400
+ Parameters: {"uid"=>"a1s2d38785"}
401
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d38785' LIMIT 1
402
402
   (0.1ms) begin transaction
403
-  (0.3ms) UPDATE "users" SET "remotely_signed_out" = 't', "permissions" = '---
403
+  (0.2ms) UPDATE "users" SET "remotely_signed_out" = 't', "permissions" = '---
404
404
  - signin
405
405
  ' WHERE "users"."id" = 10
406
-  (28.8ms) commit transaction
407
- Completed 200 OK in 89.5ms (ActiveRecord: 85.3ms)
406
+  (6.5ms) commit transaction
407
+ Completed 200 OK in 10.4ms (ActiveRecord: 7.1ms)
408
408
  User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 10]]
409
- Started GET "/" for 127.0.0.1 at 2014-11-20 14:05:23 +0000
410
- Processing by ExampleController#index as HTML
411
- Rendered text template (0.1ms)
412
- Completed 200 OK in 49ms (Views: 48.8ms | ActiveRecord: 0.0ms)
413
- Started GET "/restricted" for 127.0.0.1 at 2014-11-20 14:05:23 +0000
414
- Processing by ExampleController#restricted as HTML
415
- Authenticating with gds_sso strategy
416
- Completed in 17ms
417
- Started GET "/auth/gds" for 127.0.0.1 at 2014-11-20 14:05:23 +0000
418
- Started GET "/auth/gds/callback?code=0bd5e3f792a1341ef1f82e6b3462c024b152355e1a4bf2d9ba806edc71c83639&state=66687e44947ccf05b97d91517f4f101c1504047d562313c9" for 127.0.0.1 at 2014-11-20 14:05:25 +0000
419
- Processing by AuthenticationsController#callback as HTML
420
- Parameters: {"code"=>"0bd5e3f792a1341ef1f82e6b3462c024b152355e1a4bf2d9ba806edc71c83639", "state"=>"66687e44947ccf05b97d91517f4f101c1504047d562313c9"}
421
- Authenticating with gds_sso strategy
422
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
423
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'test@example-client.com' ORDER BY "users"."id" ASC LIMIT 1
424
-  (0.1ms) begin transaction
425
- SQL (0.4ms) INSERT INTO "users" ("disabled", "email", "name", "permissions", "uid") VALUES (?, ?, ?, ?, ?) [["disabled", nil], ["email", "test@example-client.com"], ["name", "Test User"], ["permissions", "---\n- signin\n"], ["uid", "integration-uid"]]
426
-  (21.0ms) commit transaction
409
+  (0.2ms) begin transaction
410
+ SQL (4.7ms) INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["uid", "a1s2d3542"]]
411
+  (13.4ms) commit transaction
427
412
   (0.1ms) begin transaction
428
- SQL (0.5ms) UPDATE "users" SET "remotely_signed_out" = ?, "permissions" = ? WHERE "users"."id" = 1 [["remotely_signed_out", false], ["permissions", "---\n- signin\n"]]
429
-  (25.9ms) commit transaction
430
- Redirected to http://www.example-client.com/restricted
431
- Completed 302 Found in 127ms (ActiveRecord: 49.3ms)
432
- Started GET "/restricted" for 127.0.0.1 at 2014-11-20 14:05:25 +0000
433
- Processing by ExampleController#restricted as HTML
434
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1
435
- Completed 200 OK in 4ms (Views: 0.7ms | ActiveRecord: 0.3ms)
436
- Started GET "/restricted" for 127.0.0.1 at 2014-11-20 14:05:25 +0000
437
- Processing by ExampleController#restricted as HTML
438
- Authenticating with gds_sso strategy
439
- Completed in 0ms
440
- Started GET "/auth/gds" for 127.0.0.1 at 2014-11-20 14:05:25 +0000
441
- Started GET "/auth/gds/callback?code=980e1f12922c4884a3351daf7622cf9afdc610c251d4b237b6676ec69861f544&state=3de530b4ab634b241862bb4fdfcf340816c750aeaa4a53de" for 127.0.0.1 at 2014-11-20 14:05:26 +0000
442
- Processing by AuthenticationsController#callback as HTML
443
- Parameters: {"code"=>"980e1f12922c4884a3351daf7622cf9afdc610c251d4b237b6676ec69861f544", "state"=>"3de530b4ab634b241862bb4fdfcf340816c750aeaa4a53de"}
444
- Authenticating with gds_sso strategy
445
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
413
+ SQL (0.3ms) INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"], ["uid", "a1s2d33294"]]
414
+  (10.3ms) commit transaction
415
+ Processing by Api::UserController#update as HTML
416
+ Parameters: {"uid"=>"a1s2d3542"}
417
+ Rendered /home/jenkins/workspace/govuk_gds_sso/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.5ms)
418
+ Completed 403 Forbidden in 160ms (Views: 158.9ms | ActiveRecord: 0.0ms)
419
+  (0.2ms) begin transaction
420
+ SQL (14.7ms) INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["uid", "a1s2d3390"]]
421
+  (18.5ms) commit transaction
422
+  (0.3ms) begin transaction
423
+ SQL (0.6ms) INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"], ["uid", "a1s2d32796"]]
424
+  (18.2ms) commit transaction
425
+ Processing by Api::UserController#update as HTML
426
+ Parameters: {"uid"=>"a1s2d3390"}
427
+ User Load (1.9ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d3390' ORDER BY "users"."id" ASC LIMIT 1
428
+  (0.2ms) begin transaction
429
+ SQL (0.8ms) UPDATE "users" SET "email" = ?, "name" = ?, "permissions" = ?, "organisation_slug" = ? WHERE "users"."id" = 3 [["email", "user@domain.com"], ["name", "Joshua Marshall"], ["permissions", "---\n- signin\n- new permission\n"], ["organisation_slug", "justice-league"]]
430
+  (27.8ms) commit transaction
431
+ Completed 200 OK in 85ms (ActiveRecord: 30.6ms)
432
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
433
+  (0.2ms) begin transaction
434
+ SQL (0.4ms) INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["uid", "a1s2d39292"]]
435
+  (51.7ms) commit transaction
446
436
   (0.1ms) begin transaction
447
- SQL (0.3ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
448
-  (17.7ms) commit transaction
437
+ SQL (0.3ms) INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"], ["uid", "a1s2d34858"]]
438
+  (68.6ms) commit transaction
439
+ Processing by Api::UserController#reauth as HTML
440
+ Parameters: {"uid"=>"a1s2d39292"}
441
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d39292' ORDER BY "users"."id" ASC LIMIT 1
442
+  (0.2ms) begin transaction
443
+ SQL (0.6ms) UPDATE "users" SET "remotely_signed_out" = ?, "permissions" = ? WHERE "users"."id" = 5 [["remotely_signed_out", true], ["permissions", "---\n- signin\n"]]
444
+  (32.3ms) commit transaction
445
+ Completed 200 OK in 40ms (ActiveRecord: 33.4ms)
446
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]]
447
+  (0.2ms) begin transaction
448
+ SQL (0.5ms) INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["uid", "a1s2d38465"]]
449
+  (30.1ms) commit transaction
449
450
   (0.1ms) begin transaction
450
- SQL (0.3ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
451
-  (11.2ms) commit transaction
452
- Redirected to http://www.example-client.com/restricted
453
- Completed 302 Found in 36ms (ActiveRecord: 29.9ms)
454
- Started GET "/restricted" for 127.0.0.1 at 2014-11-20 14:05:26 +0000
455
- Processing by ExampleController#restricted as HTML
456
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1
457
- Completed 200 OK in 4ms (Views: 1.6ms | ActiveRecord: 0.3ms)
458
- Started GET "/restricted" for 127.0.0.1 at 2014-11-20 14:05:26 +0000
459
- Processing by ExampleController#restricted as HTML
460
- Authenticating with gds_sso strategy
461
- Completed in 1ms
462
- Started GET "/auth/gds" for 127.0.0.1 at 2014-11-20 14:05:26 +0000
463
- Started GET "/auth/gds/callback?code=0370a647a006f3241043faacfa519f9dc8e94614d42bce54d63fee50db02afb1&state=3bb38aa341cf416411f70d3e4ed49e3b2d22a717677e6ecf" for 127.0.0.1 at 2014-11-20 14:05:26 +0000
464
- Processing by AuthenticationsController#callback as HTML
465
- Parameters: {"code"=>"0370a647a006f3241043faacfa519f9dc8e94614d42bce54d63fee50db02afb1", "state"=>"3bb38aa341cf416411f70d3e4ed49e3b2d22a717677e6ecf"}
466
- Authenticating with gds_sso strategy
467
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
451
+ SQL (0.4ms) INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"], ["uid", "a1s2d31128"]]
452
+  (24.6ms) commit transaction
453
+ Processing by Api::UserController#reauth as HTML
454
+ Parameters: {"uid"=>"nonexistent-user"}
455
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'nonexistent-user' ORDER BY "users"."id" ASC LIMIT 1
456
+ Completed 200 OK in 3ms (ActiveRecord: 0.3ms)
457
+  (0.2ms) begin transaction
458
+ SQL (0.4ms) INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["uid", "a1s2d35674"]]
459
+  (26.5ms) commit transaction
468
460
   (0.1ms) begin transaction
469
- SQL (0.3ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
470
-  (28.2ms) commit transaction
471
-  (0.3ms) begin transaction
472
- SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
473
-  (40.8ms) commit transaction
474
- Redirected to http://www.example-client.com/restricted
475
- Completed 302 Found in 77ms (ActiveRecord: 70.2ms)
476
- Started GET "/restricted" for 127.0.0.1 at 2014-11-20 14:05:26 +0000
477
- Processing by ExampleController#restricted as HTML
478
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1
479
- Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.3ms)
480
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2014-11-20 14:05:27 +0000
461
+ SQL (0.4ms) INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"], ["uid", "a1s2d3831"]]
462
+  (12.1ms) commit transaction
463
+ Processing by Api::UserController#reauth as HTML
464
+ Parameters: {"uid"=>"a1s2d35674"}
465
+ Completed 403 Forbidden in 3ms (Views: 1.7ms | ActiveRecord: 0.0ms)
466
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-20 13:13:02 +0000
481
467
  Processing by ExampleController#this_requires_signin_permission as HTML
482
468
  Authenticating with gds_sso strategy
483
- Completed in 1ms
484
- Started GET "/auth/gds" for 127.0.0.1 at 2014-11-20 14:05:27 +0000
485
- Started GET "/auth/gds/callback?code=1de58b7b09d6698d37356b311c15a9d360141449ca4b12f3ab1c4fcaf7696589&state=67012050ea9b98cc1c97f10fb60fd0391bfa1bef93379101" for 127.0.0.1 at 2014-11-20 14:05:27 +0000
469
+ Completed in 74ms
470
+ Started GET "/auth/gds" for 127.0.0.1 at 2015-04-20 13:13:03 +0000
471
+ Started GET "/auth/gds/callback?code=13bd05510dd29919d0893826652110cb4d8906738229ea4054fdf0318c788532&state=4ba15512ade890ee5832c87ad7f125c97fd6b1b59e788f5e" for 127.0.0.1 at 2015-04-20 13:13:05 +0000
486
472
  Processing by AuthenticationsController#callback as HTML
487
- Parameters: {"code"=>"1de58b7b09d6698d37356b311c15a9d360141449ca4b12f3ab1c4fcaf7696589", "state"=>"67012050ea9b98cc1c97f10fb60fd0391bfa1bef93379101"}
473
+ Parameters: {"code"=>"13bd05510dd29919d0893826652110cb4d8906738229ea4054fdf0318c788532", "state"=>"4ba15512ade890ee5832c87ad7f125c97fd6b1b59e788f5e"}
488
474
  Authenticating with gds_sso strategy
489
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
490
-  (0.1ms) begin transaction
491
- SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
492
-  (15.0ms) commit transaction
475
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
476
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'test@example-client.com' ORDER BY "users"."id" ASC LIMIT 1
493
477
   (0.1ms) begin transaction
494
- SQL (0.3ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
495
-  (11.8ms) commit transaction
478
+ SQL (0.3ms) INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "test@example-client.com"], ["name", "Test User"], ["permissions", "---\n- signin\n"], ["uid", "integration-uid"]]
479
+  (13.6ms) commit transaction
480
+  (0.1ms) begin transaction
481
+ SQL (0.3ms) UPDATE "users" SET "remotely_signed_out" = ?, "permissions" = ? WHERE "users"."id" = 11 [["remotely_signed_out", false], ["permissions", "---\n- signin\n"]]
482
+  (11.8ms) commit transaction
496
483
  Redirected to http://www.example-client.com/this_requires_signin_permission
497
- Completed 302 Found in 35ms (ActiveRecord: 27.8ms)
498
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2014-11-20 14:05:27 +0000
484
+ Completed 302 Found in 45ms (ActiveRecord: 26.7ms)
485
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-20 13:13:05 +0000
499
486
  Processing by ExampleController#this_requires_signin_permission as HTML
500
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1
501
- Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.3ms)
502
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2014-11-20 14:05:27 +0000
487
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1
488
+ Completed 200 OK in 123ms (Views: 119.3ms | ActiveRecord: 0.3ms)
489
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-20 13:13:05 +0000
503
490
  Processing by ExampleController#this_requires_signin_permission as HTML
504
491
  Authenticating with gds_sso strategy
505
- Completed in 0ms
506
- Started GET "/auth/gds" for 127.0.0.1 at 2014-11-20 14:05:27 +0000
507
- Started GET "/auth/gds/callback?code=1ef3da1b9175c054014ba0696fd88da21c2975382595086942baae5b2304b130&state=8ef43dc2f2a45464c631f17c90103cb6c354b6b0ff6dab38" for 127.0.0.1 at 2014-11-20 14:05:27 +0000
492
+ Completed in 1ms
493
+ Started GET "/auth/gds" for 127.0.0.1 at 2015-04-20 13:13:05 +0000
494
+ Started GET "/auth/gds/callback?code=b873fe327c4f2a40795189f9daba11180ca894403276092064b3fcb44f815ec3&state=859c821a1cff0c832e1ab80c41fca5e35517f9d5be02b4d8" for 127.0.0.1 at 2015-04-20 13:13:06 +0000
508
495
  Processing by AuthenticationsController#callback as HTML
509
- Parameters: {"code"=>"1ef3da1b9175c054014ba0696fd88da21c2975382595086942baae5b2304b130", "state"=>"8ef43dc2f2a45464c631f17c90103cb6c354b6b0ff6dab38"}
496
+ Parameters: {"code"=>"b873fe327c4f2a40795189f9daba11180ca894403276092064b3fcb44f815ec3", "state"=>"859c821a1cff0c832e1ab80c41fca5e35517f9d5be02b4d8"}
510
497
  Authenticating with gds_sso strategy
511
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
512
-  (0.1ms) begin transaction
513
- SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
514
-  (8.8ms) commit transaction
498
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
515
499
   (0.1ms) begin transaction
516
- SQL (0.3ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
517
-  (21.2ms) commit transaction
500
+ SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
501
+  (13.7ms) commit transaction
502
+  (0.1ms) begin transaction
503
+ SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
504
+  (29.3ms) commit transaction
518
505
  Redirected to http://www.example-client.com/this_requires_signin_permission
519
- Completed 302 Found in 37ms (ActiveRecord: 31.0ms)
520
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2014-11-20 14:05:27 +0000
506
+ Completed 302 Found in 50ms (ActiveRecord: 44.0ms)
507
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-20 13:13:06 +0000
521
508
  Processing by ExampleController#this_requires_signin_permission as HTML
522
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1
509
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1
523
510
  Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.3ms)
524
- Started GET "/restricted" for 127.0.0.1 at 2014-11-20 14:05:27 +0000
511
+ Started GET "/restricted" for 127.0.0.1 at 2015-04-20 13:13:06 +0000
525
512
  Processing by ExampleController#restricted as HTML
526
513
  Authenticating with gds_sso strategy
527
514
  Completed in 1ms
528
- Started GET "/auth/gds" for 127.0.0.1 at 2014-11-20 14:05:27 +0000
529
- Started GET "/auth/gds/callback?code=4bd476d405cb6bf97530cb69625279f56f9532d322442b35abbe25c896977705&state=76a746eebccced3247c1e271854527239a609ccdc4f63d7d" for 127.0.0.1 at 2014-11-20 14:05:28 +0000
515
+ Started GET "/auth/gds" for 127.0.0.1 at 2015-04-20 13:13:06 +0000
516
+ Started GET "/auth/gds/callback?code=1fa99cf66f371d175d0fa88eb6801a78820cca0ab2fff8ff49ee8a612ae94f44&state=e011cd8bcbc6f002ff839b7054fef36b766e7b6ce2634654" for 127.0.0.1 at 2015-04-20 13:13:06 +0000
530
517
  Processing by AuthenticationsController#callback as HTML
531
- Parameters: {"code"=>"4bd476d405cb6bf97530cb69625279f56f9532d322442b35abbe25c896977705", "state"=>"76a746eebccced3247c1e271854527239a609ccdc4f63d7d"}
518
+ Parameters: {"code"=>"1fa99cf66f371d175d0fa88eb6801a78820cca0ab2fff8ff49ee8a612ae94f44", "state"=>"e011cd8bcbc6f002ff839b7054fef36b766e7b6ce2634654"}
532
519
  Authenticating with gds_sso strategy
533
- User Load (0.7ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
534
-  (0.1ms) begin transaction
535
- SQL (0.3ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
536
-  (10.2ms) commit transaction
520
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
537
521
   (0.1ms) begin transaction
538
- SQL (0.3ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
539
-  (10.2ms) commit transaction
540
- Redirected to http://www.example-client.com/restricted
541
- Completed 302 Found in 29ms (ActiveRecord: 21.8ms)
542
- Started GET "/restricted" for 127.0.0.1 at 2014-11-20 14:05:28 +0000
543
- Processing by ExampleController#restricted as HTML
544
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1
545
- Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.3ms)
546
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'test@example-client.com' ORDER BY "users"."id" ASC LIMIT 1
522
+ SQL (0.3ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
523
+  (15.0ms) commit transaction
547
524
   (0.1ms) begin transaction
548
- SQL (0.2ms) UPDATE "users" SET "remotely_signed_out" = ?, "permissions" = ? WHERE "users"."id" = 1 [["remotely_signed_out", true], ["permissions", "---\n- signin\n"]]
549
-  (15.7ms) commit transaction
550
- Started GET "/restricted" for 127.0.0.1 at 2014-11-20 14:05:28 +0000
525
+ SQL (0.3ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
526
+  (12.1ms) commit transaction
527
+ Redirected to http://www.example-client.com/restricted
528
+ Completed 302 Found in 36ms (ActiveRecord: 28.2ms)
529
+ Started GET "/restricted" for 127.0.0.1 at 2015-04-20 13:13:07 +0000
551
530
  Processing by ExampleController#restricted as HTML
552
531
  User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1
532
+ Completed 200 OK in 3ms (Views: 0.7ms | ActiveRecord: 0.3ms)
533
+ Started GET "/" for 127.0.0.1 at 2015-04-20 13:13:07 +0000
534
+ Processing by ExampleController#index as HTML
535
+ Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
536
+ Started GET "/restricted" for 127.0.0.1 at 2015-04-20 13:13:07 +0000
537
+ Processing by ExampleController#restricted as HTML
553
538
  Authenticating with gds_sso strategy
554
- Completed in 2ms
555
- Started GET "/auth/gds" for 127.0.0.1 at 2014-11-20 14:05:28 +0000
556
- Started GET "/auth/gds/callback?code=e803a7c3da398f0d62bbfed0c36d5a9fb0a3d12c0da983663162c780f7e83833&state=9bdfae9f6d29e0b51581f7c1d3467acbbccdcfbffddc8ef3" for 127.0.0.1 at 2014-11-20 14:05:28 +0000
539
+ Completed in 1ms
540
+ Started GET "/auth/gds" for 127.0.0.1 at 2015-04-20 13:13:07 +0000
541
+ Started GET "/auth/gds/callback?code=a9c2866fc433c8069257b20b6a86752b6742d4857bf5081bf8333995cc7d253b&state=4ab7050d64e8b07dbc5c4a65f4ecf54d79868070e62c31d8" for 127.0.0.1 at 2015-04-20 13:13:08 +0000
557
542
  Processing by AuthenticationsController#callback as HTML
558
- Parameters: {"code"=>"e803a7c3da398f0d62bbfed0c36d5a9fb0a3d12c0da983663162c780f7e83833", "state"=>"9bdfae9f6d29e0b51581f7c1d3467acbbccdcfbffddc8ef3"}
543
+ Parameters: {"code"=>"a9c2866fc433c8069257b20b6a86752b6742d4857bf5081bf8333995cc7d253b", "state"=>"4ab7050d64e8b07dbc5c4a65f4ecf54d79868070e62c31d8"}
559
544
  Authenticating with gds_sso strategy
560
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
545
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
561
546
   (0.1ms) begin transaction
562
- SQL (0.3ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
563
-  (70.4ms) commit transaction
547
+ SQL (0.3ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
548
+  (10.2ms) commit transaction
564
549
   (0.1ms) begin transaction
565
- SQL (0.3ms) UPDATE "users" SET "remotely_signed_out" = ?, "permissions" = ? WHERE "users"."id" = 1 [["remotely_signed_out", false], ["permissions", "---\n- signin\n"]]
566
-  (12.3ms) commit transaction
550
+ SQL (0.3ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
551
+  (36.0ms) commit transaction
567
552
  Redirected to http://www.example-client.com/restricted
568
- Completed 302 Found in 91ms (ActiveRecord: 83.7ms)
569
- Started GET "/restricted" for 127.0.0.1 at 2014-11-20 14:05:29 +0000
553
+ Completed 302 Found in 56ms (ActiveRecord: 47.5ms)
554
+ Started GET "/restricted" for 127.0.0.1 at 2015-04-20 13:13:08 +0000
570
555
  Processing by ExampleController#restricted as HTML
571
556
  User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1
572
- Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.3ms)
573
- Started GET "/restricted" for 127.0.0.1 at 2014-11-20 14:05:29 +0000
557
+ Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.3ms)
558
+ Started GET "/restricted" for 127.0.0.1 at 2015-04-20 13:13:08 +0000
574
559
  Processing by ExampleController#restricted as HTML
575
560
  Authenticating with gds_sso strategy
576
- Completed in 1ms
577
- Started GET "/auth/gds" for 127.0.0.1 at 2014-11-20 14:05:29 +0000
578
- Started GET "/auth/gds/callback?code=4444db4381e3c332391de2ebe4c21fd66a37d10eedba6ab6771c16abd9946eb3&state=2510348991b806e3a08ba3cd8ae3e084991f17e40238ec31" for 127.0.0.1 at 2014-11-20 14:05:29 +0000
561
+ Completed in 0ms
562
+ Started GET "/auth/gds" for 127.0.0.1 at 2015-04-20 13:13:08 +0000
563
+ Started GET "/auth/gds/callback?code=30480405c10d68f5c7e99e60465021444d6d7cc7ed328a7a5a5270184e079fc9&state=cff49ac4e2ae235ce5d2573337d17090835dc7b06d8f159b" for 127.0.0.1 at 2015-04-20 13:13:08 +0000
579
564
  Processing by AuthenticationsController#callback as HTML
580
- Parameters: {"code"=>"4444db4381e3c332391de2ebe4c21fd66a37d10eedba6ab6771c16abd9946eb3", "state"=>"2510348991b806e3a08ba3cd8ae3e084991f17e40238ec31"}
565
+ Parameters: {"code"=>"30480405c10d68f5c7e99e60465021444d6d7cc7ed328a7a5a5270184e079fc9", "state"=>"cff49ac4e2ae235ce5d2573337d17090835dc7b06d8f159b"}
581
566
  Authenticating with gds_sso strategy
582
567
  User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
583
568
   (0.1ms) begin transaction
584
- SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
585
-  (24.9ms) commit transaction
569
+ SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
570
+  (43.8ms) commit transaction
586
571
   (0.1ms) begin transaction
587
- SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
588
-  (11.0ms) commit transaction
572
+ SQL (0.3ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
573
+  (23.7ms) commit transaction
589
574
  Redirected to http://www.example-client.com/restricted
590
- Completed 302 Found in 43ms (ActiveRecord: 36.7ms)
591
- Started GET "/restricted" for 127.0.0.1 at 2014-11-20 14:05:29 +0000
575
+ Completed 302 Found in 76ms (ActiveRecord: 68.5ms)
576
+ Started GET "/restricted" for 127.0.0.1 at 2015-04-20 13:13:09 +0000
592
577
  Processing by ExampleController#restricted as HTML
593
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1
594
- Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms)
595
- Started GET "/restricted" for 127.0.0.1 at 2014-11-21 10:10:29 +0000
578
+ User Load (2.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1
579
+ Completed 200 OK in 5ms (Views: 0.6ms | ActiveRecord: 2.1ms)
580
+ Started GET "/restricted" for 127.0.0.1 at 2015-04-20 13:13:09 +0000
596
581
  Processing by ExampleController#restricted as HTML
597
582
  Authenticating with gds_sso strategy
598
583
  Completed in 1ms
599
- Started GET "/auth/gds" for 127.0.0.1 at 2014-11-21 10:10:29 +0000
600
- Started GET "/auth/gds/callback?code=046f489ea9cb87e8f32e12115b2a92f46d6b6a4332d30c9711c89beaf9f4e753&state=19b9b5ef185a03f9643776eb1d54c573800d9a69be076457" for 127.0.0.1 at 2014-11-21 10:10:29 +0000
584
+ Started GET "/auth/gds" for 127.0.0.1 at 2015-04-20 13:13:09 +0000
585
+ Started GET "/auth/gds/callback?code=b81b46a91ef0f907d84a49bc845e38b668ad931f572ca1db8eb6c6311ec1b55a&state=55ec19f091d61da64d048b5297522d7026f8da944bc37bac" for 127.0.0.1 at 2015-04-20 13:13:10 +0000
601
586
  Processing by AuthenticationsController#callback as HTML
602
- Parameters: {"code"=>"046f489ea9cb87e8f32e12115b2a92f46d6b6a4332d30c9711c89beaf9f4e753", "state"=>"19b9b5ef185a03f9643776eb1d54c573800d9a69be076457"}
587
+ Parameters: {"code"=>"b81b46a91ef0f907d84a49bc845e38b668ad931f572ca1db8eb6c6311ec1b55a", "state"=>"55ec19f091d61da64d048b5297522d7026f8da944bc37bac"}
603
588
  Authenticating with gds_sso strategy
604
589
  User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
605
-  (0.3ms) begin transaction
606
- SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
607
-  (29.2ms) commit transaction
608
-  (0.2ms) begin transaction
609
- SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
610
-  (17.0ms) commit transaction
590
+  (0.1ms) begin transaction
591
+ SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
592
+  (13.5ms) commit transaction
593
+  (0.1ms) begin transaction
594
+ SQL (0.3ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
595
+  (13.1ms) commit transaction
611
596
  Redirected to http://www.example-client.com/restricted
612
- Completed 302 Found in 53ms (ActiveRecord: 47.4ms)
613
- Started GET "/restricted" for 127.0.0.1 at 2014-11-21 10:10:30 +0000
597
+ Completed 302 Found in 35ms (ActiveRecord: 27.6ms)
598
+ Started GET "/restricted" for 127.0.0.1 at 2015-04-20 13:13:10 +0000
614
599
  Processing by ExampleController#restricted as HTML
615
600
  User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1
616
- Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)
617
- Started GET "/restricted" for 127.0.0.1 at 2014-11-20 14:05:30 +0000
601
+ Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.3ms)
602
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'test@example-client.com' ORDER BY "users"."id" ASC LIMIT 1
603
+  (0.1ms) begin transaction
604
+ SQL (0.2ms) UPDATE "users" SET "remotely_signed_out" = ?, "permissions" = ? WHERE "users"."id" = 11 [["remotely_signed_out", true], ["permissions", "---\n- signin\n"]]
605
+  (26.3ms) commit transaction
606
+ Started GET "/restricted" for 127.0.0.1 at 2015-04-20 13:13:10 +0000
618
607
  Processing by ExampleController#restricted as HTML
608
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1
619
609
  Authenticating with gds_sso strategy
620
- Completed in 1ms
621
- Started GET "/auth/gds" for 127.0.0.1 at 2014-11-20 14:05:30 +0000
622
- Started GET "/auth/gds/callback?code=980ef024595d20009d5a10f76dbd97bf3bbeec0fc28ddcbd4a9e5f03a8d5e4c3&state=dcc2ccb1747bed29a5fe2740e72c5797ee3d763f65a00e23" for 127.0.0.1 at 2014-11-20 14:05:30 +0000
610
+ Completed in 2ms
611
+ Started GET "/auth/gds" for 127.0.0.1 at 2015-04-20 13:13:10 +0000
612
+ Started GET "/auth/gds/callback?code=407e9ef07c25f8622c5642b6d172ae690a9d0c64b01504ee5565aa143a549da8&state=1e995e2169f03eceb72d4040de2e8bd41c18311c3b3c62ca" for 127.0.0.1 at 2015-04-20 13:13:10 +0000
623
613
  Processing by AuthenticationsController#callback as HTML
624
- Parameters: {"code"=>"980ef024595d20009d5a10f76dbd97bf3bbeec0fc28ddcbd4a9e5f03a8d5e4c3", "state"=>"dcc2ccb1747bed29a5fe2740e72c5797ee3d763f65a00e23"}
614
+ Parameters: {"code"=>"407e9ef07c25f8622c5642b6d172ae690a9d0c64b01504ee5565aa143a549da8", "state"=>"1e995e2169f03eceb72d4040de2e8bd41c18311c3b3c62ca"}
625
615
  Authenticating with gds_sso strategy
626
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
627
-  (0.1ms) begin transaction
628
- SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
629
-  (16.1ms) commit transaction
616
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
630
617
   (0.1ms) begin transaction
631
- SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
632
-  (17.1ms) commit transaction
618
+ SQL (0.3ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
619
+  (22.1ms) commit transaction
620
+  (0.1ms) begin transaction
621
+ SQL (0.3ms) UPDATE "users" SET "remotely_signed_out" = ?, "permissions" = ? WHERE "users"."id" = 11 [["remotely_signed_out", false], ["permissions", "---\n- signin\n"]]
622
+  (16.2ms) commit transaction
633
623
  Redirected to http://www.example-client.com/restricted
634
- Completed 302 Found in 41ms (ActiveRecord: 34.2ms)
635
- Started GET "/restricted" for 127.0.0.1 at 2014-11-20 14:05:30 +0000
636
- Processing by ExampleController#restricted as HTML
637
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1
638
- Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.3ms)
639
- Started GET "/restricted" for 127.0.0.1 at 2014-11-21 10:00:30 +0000
624
+ Completed 302 Found in 46ms (ActiveRecord: 39.3ms)
625
+ Started GET "/restricted" for 127.0.0.1 at 2015-04-20 13:13:10 +0000
640
626
  Processing by ExampleController#restricted as HTML
641
627
  User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1
642
- Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)
643
- Started GET "/restricted" for 127.0.0.1 at 2014-11-20 14:05:31 +0000
644
- Processing by ExampleController#restricted as JSON
645
- Completed in 20ms
646
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2014-11-20 14:05:31 +0000
647
- Processing by ExampleController#this_requires_signin_permission as JSON
648
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
649
-  (0.1ms) begin transaction
650
- SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
651
-  (23.3ms) commit transaction
652
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
653
-  (0.1ms) begin transaction
654
- SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
655
-  (13.4ms) commit transaction
656
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
628
+ Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.3ms)
629
+ Started GET "/restricted" for 127.0.0.1 at 2015-04-20 13:13:11 +0000
630
+ Processing by ExampleController#restricted as HTML
631
+ Authenticating with gds_sso strategy
632
+ Completed in 1ms
633
+ Started GET "/auth/gds" for 127.0.0.1 at 2015-04-20 13:13:11 +0000
634
+ Started GET "/auth/gds/callback?code=0e06469e5cb0a6f45e17bc10df18e626c23ea61d467504098f491adbf9e16fa1&state=bb886fa649be596fcfee7e6a0a81c15a39a4474b554339ad" for 127.0.0.1 at 2015-04-20 13:13:11 +0000
635
+ Processing by AuthenticationsController#callback as HTML
636
+ Parameters: {"code"=>"0e06469e5cb0a6f45e17bc10df18e626c23ea61d467504098f491adbf9e16fa1", "state"=>"bb886fa649be596fcfee7e6a0a81c15a39a4474b554339ad"}
637
+ Authenticating with gds_sso strategy
638
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
657
639
   (0.1ms) begin transaction
658
- SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
659
-  (15.1ms) commit transaction
640
+ SQL (0.3ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
641
+  (16.5ms) commit transaction
642
+  (0.1ms) begin transaction
643
+ SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
644
+  (15.4ms) commit transaction
645
+ Redirected to http://www.example-client.com/restricted
646
+ Completed 302 Found in 40ms (ActiveRecord: 32.9ms)
647
+ Started GET "/restricted" for 127.0.0.1 at 2015-04-20 13:13:11 +0000
648
+ Processing by ExampleController#restricted as HTML
649
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1
650
+ Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.2ms)
651
+ Started GET "/restricted" for 127.0.0.1 at 2015-04-21 09:18:12 +0000
652
+ Processing by ExampleController#restricted as HTML
653
+ Authenticating with gds_sso strategy
654
+ Completed in 1ms
655
+ Started GET "/auth/gds" for 127.0.0.1 at 2015-04-21 09:18:12 +0000
656
+ Started GET "/auth/gds/callback?code=8782df3fac20fbf7bf53a50f92eafeb12dffc8dc38edc2f5a2152b1711b1b08e&state=1d3b14ab53584eae423309f7e0392a5f8b4d42dc6330dff2" for 127.0.0.1 at 2015-04-21 09:18:12 +0000
657
+ Processing by AuthenticationsController#callback as HTML
658
+ Parameters: {"code"=>"8782df3fac20fbf7bf53a50f92eafeb12dffc8dc38edc2f5a2152b1711b1b08e", "state"=>"1d3b14ab53584eae423309f7e0392a5f8b4d42dc6330dff2"}
659
+ Authenticating with gds_sso strategy
660
660
  User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
661
661
   (0.1ms) begin transaction
662
- SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
663
-  (14.1ms) commit transaction
662
+ SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
663
+  (11.5ms) commit transaction
664
+  (0.1ms) begin transaction
665
+ SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
666
+  (21.7ms) commit transaction
667
+ Redirected to http://www.example-client.com/restricted
668
+ Completed 302 Found in 40ms (ActiveRecord: 34.1ms)
669
+ Started GET "/restricted" for 127.0.0.1 at 2015-04-21 09:18:12 +0000
670
+ Processing by ExampleController#restricted as HTML
671
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1
672
+ Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.3ms)
673
+ Started GET "/restricted" for 127.0.0.1 at 2015-04-20 13:13:12 +0000
674
+ Processing by ExampleController#restricted as HTML
675
+ Authenticating with gds_sso strategy
676
+ Completed in 1ms
677
+ Started GET "/auth/gds" for 127.0.0.1 at 2015-04-20 13:13:12 +0000
678
+ Started GET "/auth/gds/callback?code=4ad7ff30d9a3f461eeee6e8d6b8e6844047006217b788688f8262ad63f00c65f&state=7a3328eae61b6c2e60abe7b904e1ee66507dca38774a0873" for 127.0.0.1 at 2015-04-20 13:13:12 +0000
679
+ Processing by AuthenticationsController#callback as HTML
680
+ Parameters: {"code"=>"4ad7ff30d9a3f461eeee6e8d6b8e6844047006217b788688f8262ad63f00c65f", "state"=>"7a3328eae61b6c2e60abe7b904e1ee66507dca38774a0873"}
681
+ Authenticating with gds_sso strategy
682
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
683
+  (0.1ms) begin transaction
684
+ SQL (0.3ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
685
+  (14.7ms) commit transaction
664
686
   (0.1ms) begin transaction
665
- SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
666
-  (8.4ms) commit transaction
667
- Completed 200 OK in 313ms (Views: 0.5ms | ActiveRecord: 76.8ms)
668
- Started GET "/restricted" for 127.0.0.1 at 2014-11-20 14:05:31 +0000
687
+ SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
688
+  (12.5ms) commit transaction
689
+ Redirected to http://www.example-client.com/restricted
690
+ Completed 302 Found in 37ms (ActiveRecord: 28.3ms)
691
+ Started GET "/restricted" for 127.0.0.1 at 2015-04-20 13:13:13 +0000
692
+ Processing by ExampleController#restricted as HTML
693
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1
694
+ Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.3ms)
695
+ Started GET "/restricted" for 127.0.0.1 at 2015-04-21 09:08:13 +0000
696
+ Processing by ExampleController#restricted as HTML
697
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1
698
+ Completed 200 OK in 7ms (Views: 0.4ms | ActiveRecord: 0.3ms)
699
+ Started GET "/restricted" for 127.0.0.1 at 2015-04-20 13:13:13 +0000
669
700
  Processing by ExampleController#restricted as JSON
670
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
701
+ Completed in 27ms
702
+ Started GET "/restricted" for 127.0.0.1 at 2015-04-20 13:13:13 +0000
703
+ Processing by ExampleController#restricted as JSON
704
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
671
705
   (0.1ms) begin transaction
672
- SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
673
-  (27.4ms) commit transaction
706
+ SQL (0.4ms) UPDATE "users" SET "disabled" = ?, "permissions" = ? WHERE "users"."id" = 11 [["disabled", nil], ["permissions", "---\n- signin\n"]]
707
+  (10.3ms) commit transaction
674
708
  User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
675
709
   (0.1ms) begin transaction
676
- SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
677
-  (21.8ms) commit transaction
678
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
710
+ SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
711
+  (12.3ms) commit transaction
712
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
679
713
   (0.1ms) begin transaction
680
- SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
681
-  (14.9ms) commit transaction
714
+ SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
715
+  (10.7ms) commit transaction
682
716
  User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
683
717
   (0.1ms) begin transaction
684
- SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
685
-  (12.0ms) commit transaction
718
+ SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
719
+  (7.1ms) commit transaction
686
720
   (0.1ms) begin transaction
687
- SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
688
-  (14.6ms) commit transaction
689
- Completed 200 OK in 307ms (Views: 0.5ms | ActiveRecord: 93.4ms)
690
- Started GET "/restricted" for 127.0.0.1 at 2014-11-20 14:05:32 +0000
721
+ SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
722
+  (57.0ms) commit transaction
723
+ Completed 200 OK in 332ms (Views: 0.5ms | ActiveRecord: 100.4ms)
724
+ Started GET "/restricted" for 127.0.0.1 at 2015-04-20 13:13:14 +0000
691
725
  Processing by ExampleController#restricted as JSON
692
- Completed in 69ms
693
-  (0.2ms) begin transaction
694
- SQL (0.4ms) INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["uid", "a1s2d31054"]]
695
-  (14.3ms) commit transaction
726
+ Completed in 109ms
727
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-20 13:13:15 +0000
728
+ Processing by ExampleController#this_requires_signin_permission as JSON
729
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
696
730
   (0.1ms) begin transaction
697
- SQL (0.2ms) INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"], ["uid", "a1s2d38516"]]
698
-  (18.3ms) commit transaction
699
- Processing by Api::UserController#update as HTML
700
- Parameters: {"uid"=>"a1s2d31054"}
701
- Completed 403 Forbidden in 4ms (Views: 3.3ms | ActiveRecord: 0.0ms)
702
-  (0.1ms) begin transaction
703
- SQL (0.3ms) INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["uid", "a1s2d31287"]]
704
-  (13.7ms) commit transaction
705
-  (0.2ms) begin transaction
706
- SQL (0.2ms) INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"], ["uid", "a1s2d31177"]]
707
-  (16.0ms) commit transaction
708
- Processing by Api::UserController#update as HTML
709
- Parameters: {"uid"=>"a1s2d31287"}
710
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d31287' ORDER BY "users"."id" ASC LIMIT 1
731
+ SQL (0.3ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
732
+  (10.8ms) commit transaction
733
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
711
734
   (0.1ms) begin transaction
712
- SQL (0.3ms) UPDATE "users" SET "email" = ?, "name" = ?, "permissions" = ?, "organisation_slug" = ? WHERE "users"."id" = 4 [["email", "user@domain.com"], ["name", "Joshua Marshall"], ["permissions", "---\n- signin\n- new permission\n"], ["organisation_slug", "justice-league"]]
713
-  (14.1ms) commit transaction
714
- Completed 200 OK in 19ms (ActiveRecord: 14.7ms)
715
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]]
735
+ SQL (0.3ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
736
+  (12.6ms) commit transaction
737
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
716
738
   (0.1ms) begin transaction
717
- SQL (0.2ms) INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["uid", "a1s2d38045"]]
718
-  (25.8ms) commit transaction
739
+ SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
740
+  (14.3ms) commit transaction
741
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
742
+  (0.1ms) begin transaction
743
+ SQL (0.3ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
744
+  (11.2ms) commit transaction
719
745
   (0.1ms) begin transaction
720
- SQL (0.2ms) INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"], ["uid", "a1s2d31590"]]
721
-  (30.1ms) commit transaction
722
- Processing by Api::UserController#reauth as HTML
723
- Parameters: {"uid"=>"a1s2d38045"}
724
- Completed 403 Forbidden in 2ms (Views: 1.0ms | ActiveRecord: 0.0ms)
746
+ SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
747
+  (8.8ms) commit transaction
748
+ Completed 200 OK in 324ms (Views: 0.5ms | ActiveRecord: 60.7ms)
725
749
   (0.1ms) begin transaction
726
- SQL (0.2ms) INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["uid", "a1s2d31317"]]
727
-  (19.4ms) commit transaction
750
+ SQL (0.6ms) INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["uid", "a1s2d33813"]]
751
+  (23.0ms) commit transaction
728
752
   (0.1ms) begin transaction
729
- SQL (0.2ms) INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"], ["uid", "a1s2d39828"]]
730
-  (30.0ms) commit transaction
731
- Processing by Api::UserController#reauth as HTML
732
- Parameters: {"uid"=>"a1s2d31317"}
733
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d31317' ORDER BY "users"."id" ASC LIMIT 1
753
+ SQL (0.2ms) INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"], ["uid", "a1s2d35294"]]
754
+  (29.7ms) commit transaction
755
+ Processing by Api::UserController#update as HTML
756
+ Parameters: {"uid"=>"a1s2d33813"}
757
+ Rendered /home/jenkins/workspace/govuk_gds_sso/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.5ms)
758
+ Completed 403 Forbidden in 109ms (Views: 108.0ms | ActiveRecord: 0.0ms)
759
+  (0.1ms) begin transaction
760
+ SQL (0.3ms) INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["uid", "a1s2d38565"]]
761
+  (11.8ms) commit transaction
734
762
   (0.1ms) begin transaction
735
- SQL (0.3ms) UPDATE "users" SET "remotely_signed_out" = ?, "permissions" = ? WHERE "users"."id" = 8 [["remotely_signed_out", true], ["permissions", "---\n- signin\n"]]
736
-  (33.4ms) commit transaction
737
- Completed 200 OK in 37ms (ActiveRecord: 34.1ms)
738
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 8]]
763
+ SQL (0.2ms) INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"], ["uid", "a1s2d35623"]]
764
+  (10.8ms) commit transaction
765
+ Processing by Api::UserController#update as HTML
766
+ Parameters: {"uid"=>"a1s2d38565"}
767
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d38565' ORDER BY "users"."id" ASC LIMIT 1
739
768
   (0.1ms) begin transaction
740
- SQL (0.3ms) INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["uid", "a1s2d37865"]]
741
-  (32.5ms) commit transaction
769
+ SQL (0.4ms) UPDATE "users" SET "email" = ?, "name" = ?, "organisation_slug" = ?, "permissions" = ? WHERE "users"."id" = 3 [["email", "user@domain.com"], ["name", "Joshua Marshall"], ["organisation_slug", "justice-league"], ["permissions", "---\n- signin\n- new permission\n"]]
770
+  (17.1ms) commit transaction
771
+ Completed 200 OK in 125ms (ActiveRecord: 17.9ms)
772
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
773
+  (0.1ms) begin transaction
774
+ SQL (0.3ms) INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["uid", "a1s2d38562"]]
775
+  (23.6ms) commit transaction
742
776
   (0.1ms) begin transaction
743
- SQL (0.2ms) INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"], ["uid", "a1s2d37746"]]
744
-  (22.9ms) commit transaction
777
+ SQL (0.2ms) INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"], ["uid", "a1s2d32441"]]
778
+  (9.8ms) commit transaction
745
779
  Processing by Api::UserController#reauth as HTML
746
- Parameters: {"uid"=>"nonexistent-user"}
747
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'nonexistent-user' ORDER BY "users"."id" ASC LIMIT 1
748
- Completed 200 OK in 2ms (ActiveRecord: 0.3ms)
749
- Started GET "/restricted" for 127.0.0.1 at 2014-11-20 14:06:31 +0000
750
- Processing by ExampleController#restricted as JSON
751
- Completed in 486ms
752
- Started GET "/restricted" for 127.0.0.1 at 2014-11-20 14:06:32 +0000
753
- Processing by ExampleController#restricted as JSON
754
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
755
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'test@example-client.com' ORDER BY "users"."id" ASC LIMIT 1
756
-  (0.1ms) begin transaction
757
- SQL (0.4ms) INSERT INTO "users" ("disabled", "email", "name", "permissions", "uid") VALUES (?, ?, ?, ?, ?) [["disabled", nil], ["email", "test@example-client.com"], ["name", "Test User"], ["permissions", "---\n- signin\n"], ["uid", "integration-uid"]]
758
-  (183.1ms) commit transaction
759
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
760
-  (0.2ms) begin transaction
761
- SQL (0.3ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
762
-  (13.4ms) commit transaction
763
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
780
+ Parameters: {"uid"=>"a1s2d38562"}
781
+ Completed 403 Forbidden in 3ms (Views: 1.6ms | ActiveRecord: 0.0ms)
782
+  (0.1ms) begin transaction
783
+ SQL (0.3ms) INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["uid", "a1s2d3795"]]
784
+  (12.6ms) commit transaction
764
785
   (0.1ms) begin transaction
765
- SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
766
-  (47.9ms) commit transaction
767
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
786
+ SQL (0.3ms) INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"], ["uid", "a1s2d37875"]]
787
+  (9.2ms) commit transaction
788
+ Processing by Api::UserController#reauth as HTML
789
+ Parameters: {"uid"=>"nonexistent-user"}
790
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'nonexistent-user' ORDER BY "users"."id" ASC LIMIT 1
791
+ Completed 200 OK in 3ms (ActiveRecord: 0.4ms)
768
792
   (0.1ms) begin transaction
769
- SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
770
-  (33.1ms) commit transaction
771
-  (0.1ms) begin transaction
772
- SQL (0.3ms) UPDATE "users" SET "permissions" = ?, "remotely_signed_out" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"], ["remotely_signed_out", "f"]]
773
-  (42.0ms) commit transaction
774
- Completed 200 OK in 897ms (Views: 56.5ms | ActiveRecord: 323.2ms)
775
- Started GET "/restricted" for 127.0.0.1 at 2014-11-20 14:06:33 +0000
776
- Processing by ExampleController#restricted as JSON
777
- Completed in 17ms
778
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2014-11-20 14:06:34 +0000
779
- Processing by ExampleController#this_requires_signin_permission as JSON
780
- User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
793
+ SQL (0.3ms) INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["uid", "a1s2d3553"]]
794
+  (26.1ms) commit transaction
781
795
   (0.1ms) begin transaction
782
- SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
783
-  (18.0ms) commit transaction
784
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
796
+ SQL (0.2ms) INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"], ["uid", "a1s2d31503"]]
797
+  (22.6ms) commit transaction
798
+ Processing by Api::UserController#reauth as HTML
799
+ Parameters: {"uid"=>"a1s2d3553"}
800
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d3553' ORDER BY "users"."id" ASC LIMIT 1
785
801
   (0.1ms) begin transaction
786
- SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
802
+ SQL (0.3ms) UPDATE "users" SET "permissions" = ?, "remotely_signed_out" = ? WHERE "users"."id" = 9 [["permissions", "---\n- signin\n"], ["remotely_signed_out", "t"]]
787
803
   (12.3ms) commit transaction
788
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
789
-  (0.1ms) begin transaction
790
- SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
791
-  (13.2ms) commit transaction
792
- User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
804
+ Completed 200 OK in 17ms (ActiveRecord: 12.9ms)
805
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 9]]
806
+ Started GET "/" for 127.0.0.1 at 2015-04-20 13:14:56 +0000
807
+ Processing by ExampleController#index as HTML
808
+ Completed 200 OK in 52ms (Views: 50.4ms | ActiveRecord: 0.0ms)
809
+ Started GET "/restricted" for 127.0.0.1 at 2015-04-20 13:14:58 +0000
810
+ Processing by ExampleController#restricted as HTML
811
+ Authenticating with gds_sso strategy
812
+ Completed in 320ms
813
+ Started GET "/auth/gds" for 127.0.0.1 at 2015-04-20 13:14:58 +0000
814
+ Started GET "/auth/gds/callback?code=9177f850e5cff19a11d72a0ddf2fbadfff9f498a03b823d7e9a0bbce73565325&state=b00951d7af21ca4e7a91db52b468e95f540d76fa7926d4e3" for 127.0.0.1 at 2015-04-20 13:15:03 +0000
815
+ Processing by AuthenticationsController#callback as HTML
816
+ Parameters: {"code"=>"9177f850e5cff19a11d72a0ddf2fbadfff9f498a03b823d7e9a0bbce73565325", "state"=>"b00951d7af21ca4e7a91db52b468e95f540d76fa7926d4e3"}
817
+ Authenticating with gds_sso strategy
818
+ User Load (0.8ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
819
+ User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'test@example-client.com' ORDER BY "users"."id" ASC LIMIT 1
820
+  (0.2ms) begin transaction
821
+ SQL (0.5ms) INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "test@example-client.com"], ["name", "Test User"], ["permissions", "---\n- signin\n"], ["uid", "integration-uid"]]
822
+  (29.5ms) commit transaction
823
+  (0.2ms) begin transaction
824
+ SQL (0.8ms) UPDATE "users" SET "permissions" = ?, "remotely_signed_out" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"], ["remotely_signed_out", "f"]]
825
+  (60.9ms) commit transaction
826
+ Redirected to http://www.example-client.com/restricted
827
+ Completed 302 Found in 135ms (ActiveRecord: 93.4ms)
828
+ Started GET "/restricted" for 127.0.0.1 at 2015-04-20 13:15:05 +0000
829
+ Processing by ExampleController#restricted as HTML
830
+ User Load (0.7ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1
831
+ Completed 200 OK in 16ms (Views: 1.3ms | ActiveRecord: 0.7ms)
832
+ Started GET "/restricted" for 127.0.0.1 at 2015-04-20 13:15:05 +0000
833
+ Processing by ExampleController#restricted as HTML
834
+ Authenticating with gds_sso strategy
835
+ Completed in 1ms
836
+ Started GET "/auth/gds" for 127.0.0.1 at 2015-04-20 13:15:05 +0000
837
+ Started GET "/auth/gds/callback?code=d4e3e44d4dd8901018d51978d4cfd32591e36747b891da9e3b49311f54dc8f48&state=6664acf2c4bc4a29116c9254010e95ac7408096cc077d5b9" for 127.0.0.1 at 2015-04-20 13:15:06 +0000
838
+ Processing by AuthenticationsController#callback as HTML
839
+ Parameters: {"code"=>"d4e3e44d4dd8901018d51978d4cfd32591e36747b891da9e3b49311f54dc8f48", "state"=>"6664acf2c4bc4a29116c9254010e95ac7408096cc077d5b9"}
840
+ Authenticating with gds_sso strategy
841
+ User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
793
842
   (0.1ms) begin transaction
794
- SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
795
-  (14.6ms) commit transaction
843
+ SQL (0.6ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
844
+  (101.9ms) commit transaction
796
845
   (0.2ms) begin transaction
797
- SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
798
-  (18.7ms) commit transaction
799
- Completed 200 OK in 278ms (Views: 0.6ms | ActiveRecord: 79.4ms)
800
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2014-11-20 14:06:34 +0000
801
- Processing by ExampleController#this_requires_signin_permission as HTML
846
+ SQL (0.8ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
847
+  (29.5ms) commit transaction
848
+ Redirected to http://www.example-client.com/restricted
849
+ Completed 302 Found in 171ms (ActiveRecord: 133.7ms)
850
+ Started GET "/restricted" for 127.0.0.1 at 2015-04-20 13:15:06 +0000
851
+ Processing by ExampleController#restricted as HTML
852
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1
853
+ Completed 200 OK in 4ms (Views: 0.9ms | ActiveRecord: 0.4ms)
854
+ Started GET "/restricted" for 127.0.0.1 at 2015-04-20 13:15:06 +0000
855
+ Processing by ExampleController#restricted as HTML
802
856
  Authenticating with gds_sso strategy
803
857
  Completed in 1ms
804
- Started GET "/auth/gds" for 127.0.0.1 at 2014-11-20 14:06:34 +0000
805
- Started GET "/auth/gds/callback?code=4f6433522203b6076c5db35a5f098857c749cbd843a22c11bb1d984819d3489b&state=13c846449c5c5ca21b9a9db311dfb2bdee7c96ac9e3252a2" for 127.0.0.1 at 2014-11-20 14:06:35 +0000
858
+ Started GET "/auth/gds" for 127.0.0.1 at 2015-04-20 13:15:06 +0000
859
+ Started GET "/auth/gds/callback?code=b25255a34182b673ac488fde41537b100c0ce31a991b63cad60c267c8fcc6682&state=6cbe44a62b9451f64435cbc6156b63872a761e67088aac31" for 127.0.0.1 at 2015-04-20 13:15:07 +0000
806
860
  Processing by AuthenticationsController#callback as HTML
807
- Parameters: {"code"=>"4f6433522203b6076c5db35a5f098857c749cbd843a22c11bb1d984819d3489b", "state"=>"13c846449c5c5ca21b9a9db311dfb2bdee7c96ac9e3252a2"}
861
+ Parameters: {"code"=>"b25255a34182b673ac488fde41537b100c0ce31a991b63cad60c267c8fcc6682", "state"=>"6cbe44a62b9451f64435cbc6156b63872a761e67088aac31"}
808
862
  Authenticating with gds_sso strategy
809
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
810
-  (0.1ms) begin transaction
811
- SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
812
-  (23.0ms) commit transaction
863
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
813
864
   (0.1ms) begin transaction
814
- SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
815
-  (17.5ms) commit transaction
816
- Redirected to http://www.example-client.com/this_requires_signin_permission
817
- Completed 302 Found in 48ms (ActiveRecord: 41.4ms)
818
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2014-11-20 14:06:35 +0000
819
- Processing by ExampleController#this_requires_signin_permission as HTML
820
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1
865
+ SQL (0.3ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
866
+  (24.1ms) commit transaction
867
+  (0.1ms) begin transaction
868
+ SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
869
+  (23.6ms) commit transaction
870
+ Redirected to http://www.example-client.com/restricted
871
+ Completed 302 Found in 56ms (ActiveRecord: 48.9ms)
872
+ Started GET "/restricted" for 127.0.0.1 at 2015-04-20 13:15:07 +0000
873
+ Processing by ExampleController#restricted as HTML
874
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1
821
875
  Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.3ms)
822
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2014-11-20 14:06:35 +0000
876
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-20 13:15:07 +0000
823
877
  Processing by ExampleController#this_requires_signin_permission as HTML
824
878
  Authenticating with gds_sso strategy
825
- Completed in 0ms
826
- Started GET "/auth/gds" for 127.0.0.1 at 2014-11-20 14:06:35 +0000
827
- Started GET "/auth/gds/callback?code=fad7497263b1e28a96974182bd605c8c8c673aa1bb1fe9d822e17671a538766a&state=1a39f40281be54d52ffc0b6b234cc3c509beb2e5e2c68d19" for 127.0.0.1 at 2014-11-20 14:06:36 +0000
879
+ Completed in 1ms
880
+ Started GET "/auth/gds" for 127.0.0.1 at 2015-04-20 13:15:07 +0000
881
+ Started GET "/auth/gds/callback?code=e6c52854f10869e2bdbfe0fe16a712eea9de97573903a905d79a0964fb32bb1d&state=002b5fa5b0434be43217bd78703d7d8ce1f1b9e1ab9ebdb9" for 127.0.0.1 at 2015-04-20 13:15:08 +0000
828
882
  Processing by AuthenticationsController#callback as HTML
829
- Parameters: {"code"=>"fad7497263b1e28a96974182bd605c8c8c673aa1bb1fe9d822e17671a538766a", "state"=>"1a39f40281be54d52ffc0b6b234cc3c509beb2e5e2c68d19"}
883
+ Parameters: {"code"=>"e6c52854f10869e2bdbfe0fe16a712eea9de97573903a905d79a0964fb32bb1d", "state"=>"002b5fa5b0434be43217bd78703d7d8ce1f1b9e1ab9ebdb9"}
830
884
  Authenticating with gds_sso strategy
831
- User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
832
-  (0.1ms) begin transaction
833
- SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
834
-  (16.6ms) commit transaction
885
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
835
886
   (0.1ms) begin transaction
836
- SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
837
-  (16.8ms) commit transaction
887
+ SQL (0.3ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
888
+  (55.5ms) commit transaction
889
+  (0.1ms) begin transaction
890
+ SQL (0.3ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
891
+  (53.0ms) commit transaction
838
892
  Redirected to http://www.example-client.com/this_requires_signin_permission
839
- Completed 302 Found in 40ms (ActiveRecord: 34.3ms)
840
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2014-11-20 14:06:36 +0000
893
+ Completed 302 Found in 117ms (ActiveRecord: 109.6ms)
894
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-20 13:15:08 +0000
895
+ Processing by ExampleController#this_requires_signin_permission as HTML
896
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1
897
+ Completed 200 OK in 3ms (Views: 0.7ms | ActiveRecord: 0.4ms)
898
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-20 13:15:08 +0000
841
899
  Processing by ExampleController#this_requires_signin_permission as HTML
842
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1
843
- Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.3ms)
844
- Started GET "/restricted" for 127.0.0.1 at 2014-11-20 14:06:36 +0000
845
- Processing by ExampleController#restricted as HTML
846
900
  Authenticating with gds_sso strategy
847
901
  Completed in 1ms
848
- Started GET "/auth/gds" for 127.0.0.1 at 2014-11-20 14:06:36 +0000
849
- Started GET "/auth/gds/callback?code=c4e2db3031ea38db877c78d8692da02d5208733dff0f49eb66c6e06960f7f2ec&state=633348c2c62e34429824e25ccbbc2083d4687f195fb81309" for 127.0.0.1 at 2014-11-20 14:06:36 +0000
902
+ Started GET "/auth/gds" for 127.0.0.1 at 2015-04-20 13:15:08 +0000
903
+ Started GET "/auth/gds/callback?code=607b95542f045f294722e623d451d68494bfd370e2967e126e47d2ca202b9090&state=6e4b0c45620ce2dc63cc4d189fdef501ef80b58f9e882e0b" for 127.0.0.1 at 2015-04-20 13:15:08 +0000
850
904
  Processing by AuthenticationsController#callback as HTML
851
- Parameters: {"code"=>"c4e2db3031ea38db877c78d8692da02d5208733dff0f49eb66c6e06960f7f2ec", "state"=>"633348c2c62e34429824e25ccbbc2083d4687f195fb81309"}
905
+ Parameters: {"code"=>"607b95542f045f294722e623d451d68494bfd370e2967e126e47d2ca202b9090", "state"=>"6e4b0c45620ce2dc63cc4d189fdef501ef80b58f9e882e0b"}
852
906
  Authenticating with gds_sso strategy
853
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
854
-  (0.1ms) begin transaction
855
- SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
856
-  (11.5ms) commit transaction
907
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
857
908
   (0.1ms) begin transaction
858
- SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
859
-  (15.8ms) commit transaction
860
- Redirected to http://www.example-client.com/restricted
861
- Completed 302 Found in 34ms (ActiveRecord: 28.2ms)
862
- Started GET "/restricted" for 127.0.0.1 at 2014-11-20 14:06:36 +0000
863
- Processing by ExampleController#restricted as HTML
864
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1
865
- Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.3ms)
866
- Started GET "/" for 127.0.0.1 at 2014-11-20 14:06:37 +0000
867
- Processing by ExampleController#index as HTML
868
- Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
869
- Started GET "/restricted" for 127.0.0.1 at 2014-11-20 14:06:37 +0000
909
+ SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
910
+  (21.6ms) commit transaction
911
+  (0.3ms) begin transaction
912
+ SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
913
+  (15.3ms) commit transaction
914
+ Redirected to http://www.example-client.com/this_requires_signin_permission
915
+ Completed 302 Found in 44ms (ActiveRecord: 37.9ms)
916
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-20 13:15:09 +0000
917
+ Processing by ExampleController#this_requires_signin_permission as HTML
918
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1
919
+ Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.3ms)
920
+ Started GET "/restricted" for 127.0.0.1 at 2015-04-20 13:15:09 +0000
870
921
  Processing by ExampleController#restricted as HTML
871
922
  Authenticating with gds_sso strategy
872
923
  Completed in 1ms
873
- Started GET "/auth/gds" for 127.0.0.1 at 2014-11-20 14:06:37 +0000
874
- Started GET "/auth/gds/callback?code=a555075b07739bc821541adbf8fbcba863d387c2195a27c57887ea1c8f105681&state=6eeeddc26bb3872582065c2ea2555d224a7d531bf4eab7ce" for 127.0.0.1 at 2014-11-20 14:06:37 +0000
924
+ Started GET "/auth/gds" for 127.0.0.1 at 2015-04-20 13:15:09 +0000
925
+ Started GET "/auth/gds/callback?code=1c6d433ed747d3330d2632faaf6933556ae489d7675205804dc49f5de3141231&state=8a1211963f673faa102757d36f47cffa60073da4ea38135f" for 127.0.0.1 at 2015-04-20 13:15:10 +0000
875
926
  Processing by AuthenticationsController#callback as HTML
876
- Parameters: {"code"=>"a555075b07739bc821541adbf8fbcba863d387c2195a27c57887ea1c8f105681", "state"=>"6eeeddc26bb3872582065c2ea2555d224a7d531bf4eab7ce"}
927
+ Parameters: {"code"=>"1c6d433ed747d3330d2632faaf6933556ae489d7675205804dc49f5de3141231", "state"=>"8a1211963f673faa102757d36f47cffa60073da4ea38135f"}
877
928
  Authenticating with gds_sso strategy
878
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
879
-  (0.1ms) begin transaction
880
- SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
881
-  (12.7ms) commit transaction
929
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
882
930
   (0.1ms) begin transaction
883
- SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
884
-  (12.9ms) commit transaction
931
+ SQL (0.3ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
932
+  (91.7ms) commit transaction
933
+  (0.1ms) begin transaction
934
+ SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
935
+  (75.7ms) commit transaction
885
936
  Redirected to http://www.example-client.com/restricted
886
- Completed 302 Found in 32ms (ActiveRecord: 26.5ms)
887
- Started GET "/restricted" for 127.0.0.1 at 2014-11-20 14:06:37 +0000
937
+ Completed 302 Found in 175ms (ActiveRecord: 168.4ms)
938
+ Started GET "/restricted" for 127.0.0.1 at 2015-04-20 13:15:10 +0000
888
939
  Processing by ExampleController#restricted as HTML
889
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1
940
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1
890
941
  Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.3ms)
891
- Started GET "/restricted" for 127.0.0.1 at 2014-11-20 14:06:37 +0000
892
- Processing by ExampleController#restricted as HTML
893
- Authenticating with gds_sso strategy
894
- Completed in 0ms
895
- Started GET "/auth/gds" for 127.0.0.1 at 2014-11-20 14:06:37 +0000
896
- Started GET "/auth/gds/callback?code=7c3fe4535b6c489535c13401387abd5e10a8a74a7d31d1ac6ac5fda8ab310b99&state=b5972127220f84ad86095f245c10e52668d3861e69214b7b" for 127.0.0.1 at 2014-11-20 14:06:37 +0000
897
- Processing by AuthenticationsController#callback as HTML
898
- Parameters: {"code"=>"7c3fe4535b6c489535c13401387abd5e10a8a74a7d31d1ac6ac5fda8ab310b99", "state"=>"b5972127220f84ad86095f245c10e52668d3861e69214b7b"}
899
- Authenticating with gds_sso strategy
900
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
901
-  (0.1ms) begin transaction
902
- SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
903
-  (10.6ms) commit transaction
942
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'test@example-client.com' ORDER BY "users"."id" ASC LIMIT 1
904
943
   (0.1ms) begin transaction
905
- SQL (0.3ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
906
-  (8.0ms) commit transaction
907
- Redirected to http://www.example-client.com/restricted
908
- Completed 302 Found in 29ms (ActiveRecord: 19.5ms)
909
- Started GET "/restricted" for 127.0.0.1 at 2014-11-20 14:06:38 +0000
944
+ SQL (0.2ms) UPDATE "users" SET "permissions" = ?, "remotely_signed_out" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"], ["remotely_signed_out", "t"]]
945
+  (27.8ms) commit transaction
946
+ Started GET "/restricted" for 127.0.0.1 at 2015-04-20 13:15:11 +0000
910
947
  Processing by ExampleController#restricted as HTML
911
948
  User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1
912
- Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.3ms)
913
- Started GET "/restricted" for 127.0.0.1 at 2014-11-20 14:06:38 +0000
914
- Processing by ExampleController#restricted as HTML
915
949
  Authenticating with gds_sso strategy
916
- Completed in 1ms
917
- Started GET "/auth/gds" for 127.0.0.1 at 2014-11-20 14:06:38 +0000
918
- Started GET "/auth/gds/callback?code=37c7f810ebfac6fd654a875f930973f2d822e9bf583726d7771c673f413418ea&state=708f35c9f38c566de0b645c8a2da9a85cdd1a9519b097dca" for 127.0.0.1 at 2014-11-20 14:06:38 +0000
950
+ Completed in 2ms
951
+ Started GET "/auth/gds" for 127.0.0.1 at 2015-04-20 13:15:11 +0000
952
+ Started GET "/auth/gds/callback?code=24a1d73247c6d2382503c7c2628ebf8284ce5fc339fb5a772d6a77682c199743&state=4a0f75e61cbb3682a942f3f128608dd8b01ee0bd1197ab3d" for 127.0.0.1 at 2015-04-20 13:15:11 +0000
919
953
  Processing by AuthenticationsController#callback as HTML
920
- Parameters: {"code"=>"37c7f810ebfac6fd654a875f930973f2d822e9bf583726d7771c673f413418ea", "state"=>"708f35c9f38c566de0b645c8a2da9a85cdd1a9519b097dca"}
954
+ Parameters: {"code"=>"24a1d73247c6d2382503c7c2628ebf8284ce5fc339fb5a772d6a77682c199743", "state"=>"4a0f75e61cbb3682a942f3f128608dd8b01ee0bd1197ab3d"}
921
955
  Authenticating with gds_sso strategy
922
956
  User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
923
957
   (0.1ms) begin transaction
924
- SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
925
-  (9.5ms) commit transaction
958
+ SQL (2.8ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
959
+  (32.3ms) commit transaction
926
960
   (0.1ms) begin transaction
927
- SQL (0.3ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
928
-  (13.0ms) commit transaction
961
+ SQL (0.2ms) UPDATE "users" SET "permissions" = ?, "remotely_signed_out" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"], ["remotely_signed_out", "f"]]
962
+  (20.5ms) commit transaction
929
963
  Redirected to http://www.example-client.com/restricted
930
- Completed 302 Found in 30ms (ActiveRecord: 23.5ms)
931
- Started GET "/restricted" for 127.0.0.1 at 2014-11-20 14:06:38 +0000
932
- Processing by ExampleController#restricted as HTML
933
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1
934
- Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.3ms)
935
- Started GET "/restricted" for 127.0.0.1 at 2014-11-21 10:01:38 +0000
964
+ Completed 302 Found in 64ms (ActiveRecord: 56.2ms)
965
+ Started GET "/restricted" for 127.0.0.1 at 2015-04-20 13:15:11 +0000
936
966
  Processing by ExampleController#restricted as HTML
937
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1
938
- Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.3ms)
939
- Started GET "/restricted" for 127.0.0.1 at 2014-11-20 14:06:38 +0000
967
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1
968
+ Completed 200 OK in 4ms (Views: 0.7ms | ActiveRecord: 0.4ms)
969
+ Started GET "/restricted" for 127.0.0.1 at 2015-04-20 13:15:12 +0000
940
970
  Processing by ExampleController#restricted as HTML
941
971
  Authenticating with gds_sso strategy
942
972
  Completed in 1ms
943
- Started GET "/auth/gds" for 127.0.0.1 at 2014-11-20 14:06:38 +0000
944
- Started GET "/auth/gds/callback?code=2b3c22be2679533c77eaa4d5006f884c8a5d3cd68f63ea3bd0a28bd2d50e88d3&state=f061d6855b5a5ad23ddf41b361f2cad61cb94203b4f8c940" for 127.0.0.1 at 2014-11-20 14:06:39 +0000
973
+ Started GET "/auth/gds" for 127.0.0.1 at 2015-04-20 13:15:12 +0000
974
+ Started GET "/auth/gds/callback?code=ff0942b9a2e26c2c8920e06951ec0cc036a9812ad03c2957a189ac4013035652&state=103429823d532b1dffa12c10279af2e1c2f780541d3e2995" for 127.0.0.1 at 2015-04-20 13:15:12 +0000
945
975
  Processing by AuthenticationsController#callback as HTML
946
- Parameters: {"code"=>"2b3c22be2679533c77eaa4d5006f884c8a5d3cd68f63ea3bd0a28bd2d50e88d3", "state"=>"f061d6855b5a5ad23ddf41b361f2cad61cb94203b4f8c940"}
976
+ Parameters: {"code"=>"ff0942b9a2e26c2c8920e06951ec0cc036a9812ad03c2957a189ac4013035652", "state"=>"103429823d532b1dffa12c10279af2e1c2f780541d3e2995"}
947
977
  Authenticating with gds_sso strategy
948
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
949
-  (0.1ms) begin transaction
950
- SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
951
-  (10.1ms) commit transaction
978
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
952
979
   (0.1ms) begin transaction
953
- SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
954
-  (16.8ms) commit transaction
980
+ SQL (0.3ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
981
+  (38.3ms) commit transaction
982
+  (0.3ms) begin transaction
983
+ SQL (0.4ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
984
+  (24.1ms) commit transaction
955
985
  Redirected to http://www.example-client.com/restricted
956
- Completed 302 Found in 34ms (ActiveRecord: 27.8ms)
957
- Started GET "/restricted" for 127.0.0.1 at 2014-11-20 14:06:39 +0000
986
+ Completed 302 Found in 73ms (ActiveRecord: 63.8ms)
987
+ Started GET "/restricted" for 127.0.0.1 at 2015-04-20 13:15:13 +0000
958
988
  Processing by ExampleController#restricted as HTML
959
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1
960
- Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.3ms)
961
- Started GET "/restricted" for 127.0.0.1 at 2014-11-21 10:11:39 +0000
989
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1
990
+ Completed 200 OK in 4ms (Views: 0.8ms | ActiveRecord: 0.4ms)
991
+ Started GET "/restricted" for 127.0.0.1 at 2015-04-21 09:20:13 +0000
962
992
  Processing by ExampleController#restricted as HTML
963
993
  Authenticating with gds_sso strategy
964
- Completed in 1ms
965
- Started GET "/auth/gds" for 127.0.0.1 at 2014-11-21 10:11:39 +0000
966
- Started GET "/auth/gds/callback?code=995671bf24b43e672a9d848557b81ee1a7ed81013af0f5103ba48c03ce9c71c2&state=0100c48622d0cda6bf74cc80340973432b17c6469572e7ed" for 127.0.0.1 at 2014-11-21 10:11:39 +0000
994
+ Completed in 10ms
995
+ Started GET "/auth/gds" for 127.0.0.1 at 2015-04-21 09:20:13 +0000
996
+ Started GET "/auth/gds/callback?code=28d219959548bc709b1af9c3a2fa56fb2545ff87aa1148fc768bf4d9966b6ec6&state=f062710ec432feec944619ad0efe0829a39cfe7f0b5e1fb3" for 127.0.0.1 at 2015-04-21 09:20:13 +0000
967
997
  Processing by AuthenticationsController#callback as HTML
968
- Parameters: {"code"=>"995671bf24b43e672a9d848557b81ee1a7ed81013af0f5103ba48c03ce9c71c2", "state"=>"0100c48622d0cda6bf74cc80340973432b17c6469572e7ed"}
998
+ Parameters: {"code"=>"28d219959548bc709b1af9c3a2fa56fb2545ff87aa1148fc768bf4d9966b6ec6", "state"=>"f062710ec432feec944619ad0efe0829a39cfe7f0b5e1fb3"}
969
999
  Authenticating with gds_sso strategy
970
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
1000
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
1001
+  (0.1ms) begin transaction
1002
+ SQL (0.3ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
1003
+  (24.0ms) commit transaction
971
1004
   (0.1ms) begin transaction
972
- SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
973
-  (32.1ms) commit transaction
974
-  (0.2ms) begin transaction
975
- SQL (0.3ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
976
-  (19.5ms) commit transaction
1005
+ SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
1006
+  (29.4ms) commit transaction
977
1007
  Redirected to http://www.example-client.com/restricted
978
- Completed 302 Found in 58ms (ActiveRecord: 52.6ms)
979
- Started GET "/restricted" for 127.0.0.1 at 2014-11-21 10:11:39 +0000
1008
+ Completed 302 Found in 60ms (ActiveRecord: 54.4ms)
1009
+ Started GET "/restricted" for 127.0.0.1 at 2015-04-21 09:20:13 +0000
980
1010
  Processing by ExampleController#restricted as HTML
981
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1
982
- Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.3ms)
983
- Started GET "/restricted" for 127.0.0.1 at 2014-11-20 14:06:39 +0000
1011
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1
1012
+ Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.3ms)
1013
+ Started GET "/restricted" for 127.0.0.1 at 2015-04-20 13:15:14 +0000
984
1014
  Processing by ExampleController#restricted as HTML
985
1015
  Authenticating with gds_sso strategy
986
1016
  Completed in 1ms
987
- Started GET "/auth/gds" for 127.0.0.1 at 2014-11-20 14:06:39 +0000
988
- Started GET "/auth/gds/callback?code=f3eea0b2a0c3e53513ea35e30885aee15b4034a45a2c928196757b6901057b7a&state=c2f4b8c9af6e9547d10c3cee2c6d7db2ea8f1736ab7da8d6" for 127.0.0.1 at 2014-11-20 14:06:39 +0000
989
- Processing by AuthenticationsController#callback as HTML
990
- Parameters: {"code"=>"f3eea0b2a0c3e53513ea35e30885aee15b4034a45a2c928196757b6901057b7a", "state"=>"c2f4b8c9af6e9547d10c3cee2c6d7db2ea8f1736ab7da8d6"}
991
- Authenticating with gds_sso strategy
992
- User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
993
-  (0.1ms) begin transaction
994
- SQL (0.3ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
995
-  (11.3ms) commit transaction
996
-  (0.1ms) begin transaction
997
- SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
998
-  (10.1ms) commit transaction
999
- Redirected to http://www.example-client.com/restricted
1000
- Completed 302 Found in 31ms (ActiveRecord: 22.7ms)
1001
- Started GET "/restricted" for 127.0.0.1 at 2014-11-20 14:06:39 +0000
1002
- Processing by ExampleController#restricted as HTML
1003
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1
1004
- Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.3ms)
1005
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'test@example-client.com' ORDER BY "users"."id" ASC LIMIT 1
1006
-  (0.1ms) begin transaction
1007
- SQL (0.2ms) UPDATE "users" SET "permissions" = ?, "remotely_signed_out" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"], ["remotely_signed_out", "t"]]
1008
-  (11.5ms) commit transaction
1009
- Started GET "/restricted" for 127.0.0.1 at 2014-11-20 14:06:40 +0000
1010
- Processing by ExampleController#restricted as HTML
1011
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1
1012
- Authenticating with gds_sso strategy
1013
- Completed in 2ms
1014
- Started GET "/auth/gds" for 127.0.0.1 at 2014-11-20 14:06:40 +0000
1015
- Started GET "/auth/gds/callback?code=f611f521076329a3eca0e62de304c4603c57874cdb29ae10a5d66ac5b0ff7356&state=dd3c17b954643f004b3eb2433695a634b04a972ceb013556" for 127.0.0.1 at 2014-11-20 14:06:40 +0000
1017
+ Started GET "/auth/gds" for 127.0.0.1 at 2015-04-20 13:15:14 +0000
1018
+ Started GET "/auth/gds/callback?code=d9416a80ba8959c9c1b703290c0945b4613a2eeea14105f8146d99793c684f7a&state=e24b9a0d4203033db790ae325ae3eb7d6f4b60a5b12d2021" for 127.0.0.1 at 2015-04-20 13:15:14 +0000
1016
1019
  Processing by AuthenticationsController#callback as HTML
1017
- Parameters: {"code"=>"f611f521076329a3eca0e62de304c4603c57874cdb29ae10a5d66ac5b0ff7356", "state"=>"dd3c17b954643f004b3eb2433695a634b04a972ceb013556"}
1020
+ Parameters: {"code"=>"d9416a80ba8959c9c1b703290c0945b4613a2eeea14105f8146d99793c684f7a", "state"=>"e24b9a0d4203033db790ae325ae3eb7d6f4b60a5b12d2021"}
1018
1021
  Authenticating with gds_sso strategy
1019
1022
  User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
1020
1023
   (0.1ms) begin transaction
1021
- SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
1022
-  (9.6ms) commit transaction
1024
+ SQL (0.4ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
1025
+  (74.8ms) commit transaction
1023
1026
   (0.1ms) begin transaction
1024
- SQL (0.3ms) UPDATE "users" SET "permissions" = ?, "remotely_signed_out" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"], ["remotely_signed_out", "f"]]
1025
-  (10.0ms) commit transaction
1027
+ SQL (0.3ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
1028
+  (30.1ms) commit transaction
1026
1029
  Redirected to http://www.example-client.com/restricted
1027
- Completed 302 Found in 26ms (ActiveRecord: 20.5ms)
1028
- Started GET "/restricted" for 127.0.0.1 at 2014-11-20 14:06:40 +0000
1030
+ Completed 302 Found in 113ms (ActiveRecord: 106.0ms)
1031
+ Started GET "/restricted" for 127.0.0.1 at 2015-04-20 13:15:14 +0000
1029
1032
  Processing by ExampleController#restricted as HTML
1030
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1
1031
- Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms)
1032
-  (0.1ms) begin transaction
1033
- SQL (0.3ms) INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["uid", "a1s2d32393"]]
1034
-  (15.4ms) commit transaction
1035
-  (0.1ms) begin transaction
1036
- SQL (0.2ms) INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"], ["uid", "a1s2d38157"]]
1037
-  (38.2ms) commit transaction
1038
- Processing by Api::UserController#reauth as HTML
1039
- Parameters: {"uid"=>"nonexistent-user"}
1040
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'nonexistent-user' ORDER BY "users"."id" ASC LIMIT 1
1041
- Completed 200 OK in 2ms (ActiveRecord: 0.3ms)
1042
-  (0.1ms) begin transaction
1043
- SQL (0.2ms) INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["uid", "a1s2d31990"]]
1044
-  (12.9ms) commit transaction
1033
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1
1034
+ Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.4ms)
1035
+ Started GET "/restricted" for 127.0.0.1 at 2015-04-21 09:10:14 +0000
1036
+ Processing by ExampleController#restricted as HTML
1037
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1
1038
+ Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.3ms)
1039
+ Started GET "/restricted" for 127.0.0.1 at 2015-04-20 13:15:15 +0000
1040
+ Processing by ExampleController#restricted as JSON
1041
+ Completed in 29ms
1042
+ Started GET "/restricted" for 127.0.0.1 at 2015-04-20 13:15:16 +0000
1043
+ Processing by ExampleController#restricted as JSON
1044
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
1045
1045
   (0.1ms) begin transaction
1046
- SQL (0.2ms) INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"], ["uid", "a1s2d33045"]]
1047
-  (14.5ms) commit transaction
1048
- Processing by Api::UserController#reauth as HTML
1049
- Parameters: {"uid"=>"a1s2d31990"}
1050
- Completed 403 Forbidden in 4ms (Views: 3.5ms | ActiveRecord: 0.0ms)
1051
-  (0.1ms) begin transaction
1052
- SQL (0.3ms) INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["uid", "a1s2d33679"]]
1053
-  (16.9ms) commit transaction
1046
+ SQL (0.4ms) UPDATE "users" SET "disabled" = ?, "permissions" = ? WHERE "users"."id" = 11 [["disabled", nil], ["permissions", "---\n- signin\n"]]
1047
+  (20.2ms) commit transaction
1048
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
1054
1049
   (0.1ms) begin transaction
1055
- SQL (0.2ms) INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"], ["uid", "a1s2d37545"]]
1056
-  (22.1ms) commit transaction
1057
- Processing by Api::UserController#reauth as HTML
1058
- Parameters: {"uid"=>"a1s2d33679"}
1059
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d33679' ORDER BY "users"."id" ASC LIMIT 1
1050
+ SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
1051
+  (33.3ms) commit transaction
1052
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
1060
1053
   (0.1ms) begin transaction
1061
- SQL (0.2ms) UPDATE "users" SET "permissions" = ?, "remotely_signed_out" = ? WHERE "users"."id" = 6 [["permissions", "---\n- signin\n"], ["remotely_signed_out", "t"]]
1062
-  (12.0ms) commit transaction
1063
- Completed 200 OK in 16ms (ActiveRecord: 12.6ms)
1064
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 6]]
1054
+ SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
1055
+  (27.8ms) commit transaction
1056
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
1065
1057
   (0.1ms) begin transaction
1066
- SQL (0.2ms) INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["uid", "a1s2d32901"]]
1067
-  (17.0ms) commit transaction
1058
+ SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
1059
+  (40.7ms) commit transaction
1068
1060
   (0.1ms) begin transaction
1069
- SQL (0.2ms) INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"], ["uid", "a1s2d35191"]]
1070
-  (16.5ms) commit transaction
1071
- Processing by Api::UserController#update as HTML
1072
- Parameters: {"uid"=>"a1s2d32901"}
1073
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d32901' ORDER BY "users"."id" ASC LIMIT 1
1061
+ SQL (0.3ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
1062
+  (31.6ms) commit transaction
1063
+ Completed 200 OK in 478ms (Views: 0.8ms | ActiveRecord: 156.7ms)
1064
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-20 13:15:17 +0000
1065
+ Processing by ExampleController#this_requires_signin_permission as JSON
1066
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
1074
1067
   (0.1ms) begin transaction
1075
- SQL (0.3ms) UPDATE "users" SET "email" = ?, "name" = ?, "organisation_slug" = ?, "permissions" = ? WHERE "users"."id" = 8 [["email", "user@domain.com"], ["name", "Joshua Marshall"], ["organisation_slug", "justice-league"], ["permissions", "---\n- signin\n- new permission\n"]]
1076
-  (14.6ms) commit transaction
1077
- Completed 200 OK in 20ms (ActiveRecord: 15.2ms)
1078
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 8]]
1068
+ SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
1069
+  (49.9ms) commit transaction
1070
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
1079
1071
   (0.1ms) begin transaction
1080
- SQL (0.2ms) INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["uid", "a1s2d38267"]]
1081
-  (16.3ms) commit transaction
1082
-  (0.1ms) begin transaction
1083
- SQL (0.2ms) INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"], ["uid", "a1s2d39370"]]
1084
-  (14.9ms) commit transaction
1085
- Processing by Api::UserController#update as HTML
1086
- Parameters: {"uid"=>"a1s2d38267"}
1087
- Completed 403 Forbidden in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms)
1072
+ SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
1073
+  (73.0ms) commit transaction
1074
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
1075
+  (0.1ms) begin transaction
1076
+ SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
1077
+  (44.0ms) commit transaction
1078
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
1079
+  (0.1ms) begin transaction
1080
+ SQL (0.4ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
1081
+  (65.7ms) commit transaction
1082
+  (0.2ms) begin transaction
1083
+ SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
1084
+  (51.2ms) commit transaction
1085
+ Completed 200 OK in 582ms (Views: 0.6ms | ActiveRecord: 287.0ms)
1086
+ Started GET "/restricted" for 127.0.0.1 at 2015-04-20 13:15:18 +0000
1087
+ Processing by ExampleController#restricted as JSON
1088
+ Completed in 25ms
1088
1089
  Connecting to database specified by database.yml
1089
1090
   (0.1ms) begin transaction
1090
- SQL (0.4ms) INSERT INTO "users" ("disabled", "email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?, ?) [["disabled", false], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["organisation_slug", nil], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d39640"]]
1091
-  (38.7ms) commit transaction
1091
+ SQL (0.3ms) INSERT INTO "users" ("disabled", "email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?, ?) [["disabled", false], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["organisation_slug", nil], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d3900"]]
1092
+  (37.4ms) commit transaction
1092
1093
   (0.1ms) begin transaction
1093
- SQL (0.2ms) INSERT INTO "users" ("disabled", "email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?, ?) [["disabled", false], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["organisation_slug", nil], ["permissions", "---\n- signin\n- user_update_permission\n"], ["remotely_signed_out", nil], ["uid", "a1s2d32172"]]
1094
-  (11.6ms) commit transaction
1094
+ SQL (0.4ms) INSERT INTO "users" ("disabled", "email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?, ?) [["disabled", false], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["organisation_slug", nil], ["permissions", "---\n- signin\n- user_update_permission\n"], ["remotely_signed_out", nil], ["uid", "a1s2d33980"]]
1095
+  (21.0ms) commit transaction
1095
1096
  WARNING: Can't mass-assign protected attributes: uid, name, permissions
1096
1097
  Processing by Api::UserController#update as HTML
1097
- Parameters: {"uid"=>"a1s2d39640"}
1098
- Rendered /home/jenkins/workspace/govuk_gds_sso/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.3ms)
1099
- Completed 403 Forbidden in 7.1ms (Views: 6.4ms | ActiveRecord: 0.0ms)
1098
+ Parameters: {"uid"=>"a1s2d3900"}
1099
+ Rendered /home/jenkins/workspace/govuk_gds_sso/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.5ms)
1100
+ Completed 403 Forbidden in 10.3ms (Views: 9.4ms | ActiveRecord: 0.0ms)
1100
1101
   (0.1ms) begin transaction
1101
- SQL (0.2ms) INSERT INTO "users" ("disabled", "email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?, ?) [["disabled", false], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["organisation_slug", nil], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d34620"]]
1102
-  (19.4ms) commit transaction
1102
+ SQL (0.2ms) INSERT INTO "users" ("disabled", "email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?, ?) [["disabled", false], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["organisation_slug", nil], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d35811"]]
1103
+  (43.0ms) commit transaction
1103
1104
   (0.1ms) begin transaction
1104
- SQL (0.2ms) INSERT INTO "users" ("disabled", "email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?, ?) [["disabled", false], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["organisation_slug", nil], ["permissions", "---\n- signin\n- user_update_permission\n"], ["remotely_signed_out", nil], ["uid", "a1s2d38526"]]
1105
-  (36.0ms) commit transaction
1105
+ SQL (0.5ms) INSERT INTO "users" ("disabled", "email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?, ?) [["disabled", false], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["organisation_slug", nil], ["permissions", "---\n- signin\n- user_update_permission\n"], ["remotely_signed_out", nil], ["uid", "a1s2d39289"]]
1106
+  (7.5ms) commit transaction
1106
1107
  Processing by Api::UserController#update as HTML
1107
- Parameters: {"uid"=>"a1s2d34620"}
1108
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d34620' LIMIT 1
1109
-  (0.0ms) begin transaction
1110
-  (0.2ms) UPDATE "users" SET "email" = 'user@domain.com', "name" = 'Joshua Marshall', "permissions" = '---
1108
+ Parameters: {"uid"=>"a1s2d35811"}
1109
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d35811' LIMIT 1
1110
+  (0.1ms) begin transaction
1111
+  (0.3ms) UPDATE "users" SET "email" = 'user@domain.com', "name" = 'Joshua Marshall', "permissions" = '---
1111
1112
  - signin
1112
1113
  - new permission
1113
1114
  ', "organisation_slug" = 'justice-league' WHERE "users"."id" = 3
1114
-  (18.2ms) commit transaction
1115
- Completed 200 OK in 27.1ms (ActiveRecord: 18.8ms)
1116
- User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
1115
+  (13.1ms) commit transaction
1116
+ Completed 200 OK in 25.4ms (ActiveRecord: 13.8ms)
1117
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
1117
1118
   (0.1ms) begin transaction
1118
- SQL (0.2ms) INSERT INTO "users" ("disabled", "email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?, ?) [["disabled", false], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["organisation_slug", nil], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d38855"]]
1119
-  (16.4ms) commit transaction
1119
+ SQL (0.3ms) INSERT INTO "users" ("disabled", "email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?, ?) [["disabled", false], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["organisation_slug", nil], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d39003"]]
1120
+  (18.2ms) commit transaction
1120
1121
   (0.1ms) begin transaction
1121
- SQL (0.2ms) INSERT INTO "users" ("disabled", "email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?, ?) [["disabled", false], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["organisation_slug", nil], ["permissions", "---\n- signin\n- user_update_permission\n"], ["remotely_signed_out", nil], ["uid", "a1s2d37785"]]
1122
-  (22.2ms) commit transaction
1122
+ SQL (0.3ms) INSERT INTO "users" ("disabled", "email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?, ?) [["disabled", false], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["organisation_slug", nil], ["permissions", "---\n- signin\n- user_update_permission\n"], ["remotely_signed_out", nil], ["uid", "a1s2d33454"]]
1123
+  (11.1ms) commit transaction
1124
+ WARNING: Can't mass-assign protected attributes: uid, name, permissions
1123
1125
  Processing by Api::UserController#reauth as HTML
1124
- Parameters: {"uid"=>"a1s2d38855"}
1125
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d38855' LIMIT 1
1126
-  (0.0ms) begin transaction
1127
-  (0.4ms) UPDATE "users" SET "remotely_signed_out" = 't', "permissions" = '---
1128
- - signin
1129
- ' WHERE "users"."id" = 5
1130
-  (12.8ms) commit transaction
1131
- Completed 200 OK in 16.4ms (ActiveRecord: 13.5ms)
1132
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]]
1133
-  (0.1ms) begin transaction
1134
- SQL (0.2ms) INSERT INTO "users" ("disabled", "email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?, ?) [["disabled", false], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["organisation_slug", nil], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d32001"]]
1135
-  (19.9ms) commit transaction
1126
+ Parameters: {"uid"=>"a1s2d39003"}
1127
+ Completed 403 Forbidden in 2.5ms (Views: 1.5ms | ActiveRecord: 0.0ms)
1136
1128
   (0.1ms) begin transaction
1137
- SQL (0.2ms) INSERT INTO "users" ("disabled", "email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?, ?) [["disabled", false], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["organisation_slug", nil], ["permissions", "---\n- signin\n- user_update_permission\n"], ["remotely_signed_out", nil], ["uid", "a1s2d35273"]]
1138
-  (11.9ms) commit transaction
1139
- WARNING: Can't mass-assign protected attributes: uid, name, permissions
1129
+ SQL (0.3ms) INSERT INTO "users" ("disabled", "email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?, ?) [["disabled", false], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["organisation_slug", nil], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d37930"]]
1130
+  (14.9ms) commit transaction
1131
+  (0.1ms) begin transaction
1132
+ SQL (0.3ms) INSERT INTO "users" ("disabled", "email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?, ?) [["disabled", false], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["organisation_slug", nil], ["permissions", "---\n- signin\n- user_update_permission\n"], ["remotely_signed_out", nil], ["uid", "a1s2d34699"]]
1133
+  (13.6ms) commit transaction
1140
1134
  Processing by Api::UserController#reauth as HTML
1141
- Parameters: {"uid"=>"a1s2d32001"}
1142
- Completed 403 Forbidden in 2.1ms (Views: 1.5ms | ActiveRecord: 0.0ms)
1135
+ Parameters: {"uid"=>"nonexistent-user"}
1136
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'nonexistent-user' LIMIT 1
1137
+ Completed 200 OK in 1.4ms (ActiveRecord: 0.2ms)
1143
1138
   (0.1ms) begin transaction
1144
- SQL (0.2ms) INSERT INTO "users" ("disabled", "email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?, ?) [["disabled", false], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["organisation_slug", nil], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d36854"]]
1145
-  (20.1ms) commit transaction
1139
+ SQL (10.7ms) INSERT INTO "users" ("disabled", "email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?, ?) [["disabled", false], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["organisation_slug", nil], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d39854"]]
1140
+  (22.7ms) commit transaction
1146
1141
   (0.1ms) begin transaction
1147
- SQL (0.2ms) INSERT INTO "users" ("disabled", "email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?, ?) [["disabled", false], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["organisation_slug", nil], ["permissions", "---\n- signin\n- user_update_permission\n"], ["remotely_signed_out", nil], ["uid", "a1s2d35579"]]
1148
-  (15.2ms) commit transaction
1142
+ SQL (0.3ms) INSERT INTO "users" ("disabled", "email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?, ?) [["disabled", false], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["organisation_slug", nil], ["permissions", "---\n- signin\n- user_update_permission\n"], ["remotely_signed_out", nil], ["uid", "a1s2d37655"]]
1143
+  (53.7ms) commit transaction
1149
1144
  Processing by Api::UserController#reauth as HTML
1150
- Parameters: {"uid"=>"nonexistent-user"}
1151
- User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'nonexistent-user' LIMIT 1
1152
- Completed 200 OK in 1.6ms (ActiveRecord: 0.6ms)
1153
- Started GET "/" for 127.0.0.1 at 2014-11-20 14:07:00 +0000
1145
+ Parameters: {"uid"=>"a1s2d39854"}
1146
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d39854' LIMIT 1
1147
+  (0.0ms) begin transaction
1148
+  (0.3ms) UPDATE "users" SET "remotely_signed_out" = 't', "permissions" = '---
1149
+ - signin
1150
+ ' WHERE "users"."id" = 9
1151
+  (18.2ms) commit transaction
1152
+ Completed 200 OK in 21.4ms (ActiveRecord: 18.7ms)
1153
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 9]]
1154
+ Started GET "/" for 127.0.0.1 at 2015-04-20 13:16:19 +0000
1154
1155
  Processing by ExampleController#index as HTML
1155
- Completed 200 OK in 2.4ms (Views: 2.0ms | ActiveRecord: 0.0ms)
1156
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2014-11-20 14:07:01 +0000
1157
- Processing by ExampleController#this_requires_signin_permission as HTML
1156
+ Completed 200 OK in 2.6ms (Views: 2.1ms | ActiveRecord: 0.0ms)
1157
+ Started GET "/restricted" for 127.0.0.1 at 2015-04-20 13:16:19 +0000
1158
+ Processing by ExampleController#restricted as HTML
1158
1159
  Authenticating with gds_sso strategy
1159
1160
  Completed in 0.8ms
1160
- Started GET "/auth/gds" for 127.0.0.1 at 2014-11-20 14:07:01 +0000
1161
- Started GET "/auth/gds/callback?code=300ad62c83ee2f432416a1f25ef3898d21980b35a593757c9e3f2265ecce645d&state=c53b2ed361c03e5e74b86cdc55fd88a7ff2fc9ba357d2574" for 127.0.0.1 at 2014-11-20 14:07:01 +0000
1161
+ Started GET "/auth/gds" for 127.0.0.1 at 2015-04-20 13:16:19 +0000
1162
+ Started GET "/auth/gds/callback?code=f8e70594b1d51e81d7fbda4bcc4a4b5214a3272d8f95b9ba5fbcccc625f57589&state=71a17142e7e41ea18b3665061d1d3dc3028cb1a3267d69d1" for 127.0.0.1 at 2015-04-20 13:16:20 +0000
1162
1163
  Processing by AuthenticationsController#callback as HTML
1163
- Parameters: {"code"=>"300ad62c83ee2f432416a1f25ef3898d21980b35a593757c9e3f2265ecce645d", "state"=>"c53b2ed361c03e5e74b86cdc55fd88a7ff2fc9ba357d2574"}
1164
+ Parameters: {"code"=>"f8e70594b1d51e81d7fbda4bcc4a4b5214a3272d8f95b9ba5fbcccc625f57589", "state"=>"71a17142e7e41ea18b3665061d1d3dc3028cb1a3267d69d1"}
1164
1165
  Authenticating with gds_sso strategy
1165
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
1166
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
1166
1167
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'test@example-client.com' LIMIT 1
1167
-  (0.0ms) begin transaction
1168
- SQL (0.2ms) INSERT INTO "users" ("disabled", "email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?, ?) [["disabled", nil], ["email", "test@example-client.com"], ["name", "Test User"], ["organisation_slug", nil], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "integration-uid"]]
1169
-  (18.1ms) commit transaction
1168
+  (0.1ms) begin transaction
1169
+ SQL (0.4ms) INSERT INTO "users" ("disabled", "email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?, ?) [["disabled", false], ["email", "test@example-client.com"], ["name", "Test User"], ["organisation_slug", nil], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "integration-uid"]]
1170
+  (41.8ms) commit transaction
1170
1171
   (0.1ms) begin transaction
1171
-  (0.2ms) UPDATE "users" SET "remotely_signed_out" = 'f', "permissions" = '---
1172
+  (0.8ms) UPDATE "users" SET "remotely_signed_out" = 'f', "permissions" = '---
1172
1173
  - signin
1173
1174
  ' WHERE "users"."id" = 11
1174
-  (27.9ms) commit transaction
1175
- Redirected to http://www.example-client.com/this_requires_signin_permission
1176
- Completed 302 Found in 53.4ms (ActiveRecord: 46.9ms)
1177
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2014-11-20 14:07:01 +0000
1178
- Processing by ExampleController#this_requires_signin_permission as HTML
1179
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1
1180
- Completed 200 OK in 1.9ms (Views: 0.3ms | ActiveRecord: 0.2ms)
1181
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2014-11-20 14:07:01 +0000
1182
- Processing by ExampleController#this_requires_signin_permission as HTML
1175
+  (25.8ms) commit transaction
1176
+ Redirected to http://www.example-client.com/restricted
1177
+ Completed 302 Found in 78.1ms (ActiveRecord: 69.4ms)
1178
+ Started GET "/restricted" for 127.0.0.1 at 2015-04-20 13:16:21 +0000
1179
+ Processing by ExampleController#restricted as HTML
1180
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1
1181
+ Completed 200 OK in 2.8ms (Views: 0.6ms | ActiveRecord: 0.3ms)
1182
+ Started GET "/restricted" for 127.0.0.1 at 2015-04-20 13:16:21 +0000
1183
+ Processing by ExampleController#restricted as HTML
1183
1184
  Authenticating with gds_sso strategy
1184
- Completed in 0.2ms
1185
- Started GET "/auth/gds" for 127.0.0.1 at 2014-11-20 14:07:01 +0000
1186
- Started GET "/auth/gds/callback?code=0616d1af63e7da1f68cd0f35d7a8ca667ebf2b97aa4a933a73ab738e074b6573&state=8e87cda45a4243ca34f5cb4ce8c5f6b6a156666b14ab2525" for 127.0.0.1 at 2014-11-20 14:07:02 +0000
1185
+ Completed in 0.3ms
1186
+ Started GET "/auth/gds" for 127.0.0.1 at 2015-04-20 13:16:21 +0000
1187
+ Started GET "/auth/gds/callback?code=f814e010cecb664208c2ae232011ca56a9be3e627a5fd30c32283bb9e5b066f5&state=7fec08fdba52d815045726bb783b49ce05817de4b457f21e" for 127.0.0.1 at 2015-04-20 13:16:21 +0000
1187
1188
  Processing by AuthenticationsController#callback as HTML
1188
- Parameters: {"code"=>"0616d1af63e7da1f68cd0f35d7a8ca667ebf2b97aa4a933a73ab738e074b6573", "state"=>"8e87cda45a4243ca34f5cb4ce8c5f6b6a156666b14ab2525"}
1189
+ Parameters: {"code"=>"f814e010cecb664208c2ae232011ca56a9be3e627a5fd30c32283bb9e5b066f5", "state"=>"7fec08fdba52d815045726bb783b49ce05817de4b457f21e"}
1189
1190
  Authenticating with gds_sso strategy
1190
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
1191
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
1191
1192
   (0.0ms) begin transaction
1192
-  (0.2ms) UPDATE "users" SET "permissions" = '---
1193
+  (0.4ms) UPDATE "users" SET "permissions" = '---
1193
1194
  - signin
1194
1195
  ' WHERE "users"."id" = 11
1195
-  (18.1ms) commit transaction
1196
+  (26.5ms) commit transaction
1196
1197
   (0.1ms) begin transaction
1197
-  (0.2ms) UPDATE "users" SET "permissions" = '---
1198
+  (0.3ms) UPDATE "users" SET "permissions" = '---
1198
1199
  - signin
1199
1200
  ' WHERE "users"."id" = 11
1200
-  (13.9ms) commit transaction
1201
- Redirected to http://www.example-client.com/this_requires_signin_permission
1202
- Completed 302 Found in 38.1ms (ActiveRecord: 32.7ms)
1203
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2014-11-20 14:07:02 +0000
1204
- Processing by ExampleController#this_requires_signin_permission as HTML
1205
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1
1206
- Completed 200 OK in 1.8ms (Views: 0.3ms | ActiveRecord: 0.2ms)
1207
- Started GET "/restricted" for 127.0.0.1 at 2014-11-20 14:07:02 +0000
1201
+  (25.2ms) commit transaction
1202
+ Redirected to http://www.example-client.com/restricted
1203
+ Completed 302 Found in 59.5ms (ActiveRecord: 52.8ms)
1204
+ Started GET "/restricted" for 127.0.0.1 at 2015-04-20 13:16:21 +0000
1205
+ Processing by ExampleController#restricted as HTML
1206
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1
1207
+ Completed 200 OK in 2.2ms (Views: 0.4ms | ActiveRecord: 0.3ms)
1208
+ Started GET "/restricted" for 127.0.0.1 at 2015-04-20 13:16:22 +0000
1208
1209
  Processing by ExampleController#restricted as HTML
1209
1210
  Authenticating with gds_sso strategy
1210
- Completed in 0.6ms
1211
- Started GET "/auth/gds" for 127.0.0.1 at 2014-11-20 14:07:02 +0000
1212
- Started GET "/auth/gds/callback?code=e31c8cfba445744ff3c426fea532af5bb80ae8956726405b6daf519b6a10cc00&state=0230c5bd07a188e7973f1b88bd99fa4b39a56a37f5f0defe" for 127.0.0.1 at 2014-11-20 14:07:02 +0000
1211
+ Completed in 0.4ms
1212
+ Started GET "/auth/gds" for 127.0.0.1 at 2015-04-20 13:16:22 +0000
1213
+ Started GET "/auth/gds/callback?code=da3c5df5188625286f4bb77be7a97024e888f46ec43192c49df50538e3b89fcf&state=2fe8b920fb9d7caf3fdb5584ccf43a43bec4e82100c47cb0" for 127.0.0.1 at 2015-04-20 13:16:22 +0000
1213
1214
  Processing by AuthenticationsController#callback as HTML
1214
- Parameters: {"code"=>"e31c8cfba445744ff3c426fea532af5bb80ae8956726405b6daf519b6a10cc00", "state"=>"0230c5bd07a188e7973f1b88bd99fa4b39a56a37f5f0defe"}
1215
+ Parameters: {"code"=>"da3c5df5188625286f4bb77be7a97024e888f46ec43192c49df50538e3b89fcf", "state"=>"2fe8b920fb9d7caf3fdb5584ccf43a43bec4e82100c47cb0"}
1215
1216
  Authenticating with gds_sso strategy
1216
1217
  User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
1217
-  (0.0ms) begin transaction
1218
-  (0.2ms) UPDATE "users" SET "permissions" = '---
1218
+  (0.1ms) begin transaction
1219
+  (0.3ms) UPDATE "users" SET "permissions" = '---
1219
1220
  - signin
1220
1221
  ' WHERE "users"."id" = 11
1221
-  (22.9ms) commit transaction
1222
+  (10.7ms) commit transaction
1222
1223
   (0.1ms) begin transaction
1223
-  (0.2ms) UPDATE "users" SET "permissions" = '---
1224
+  (0.3ms) UPDATE "users" SET "permissions" = '---
1224
1225
  - signin
1225
1226
  ' WHERE "users"."id" = 11
1226
-  (15.5ms) commit transaction
1227
+  (9.1ms) commit transaction
1227
1228
  Redirected to http://www.example-client.com/restricted
1228
- Completed 302 Found in 45.2ms (ActiveRecord: 39.3ms)
1229
- Started GET "/restricted" for 127.0.0.1 at 2014-11-20 14:07:02 +0000
1230
- Processing by ExampleController#restricted as HTML
1231
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1
1232
- Completed 200 OK in 1.7ms (Views: 0.4ms | ActiveRecord: 0.2ms)
1233
- Started GET "/restricted" for 127.0.0.1 at 2014-11-20 14:07:03 +0000
1229
+ Completed 302 Found in 28.1ms (ActiveRecord: 20.8ms)
1230
+ Started GET "/restricted" for 127.0.0.1 at 2015-04-20 13:16:22 +0000
1234
1231
  Processing by ExampleController#restricted as HTML
1232
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1
1233
+ Completed 200 OK in 2.6ms (Views: 0.6ms | ActiveRecord: 0.3ms)
1234
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-20 13:16:22 +0000
1235
+ Processing by ExampleController#this_requires_signin_permission as HTML
1235
1236
  Authenticating with gds_sso strategy
1236
- Completed in 0.3ms
1237
- Started GET "/auth/gds" for 127.0.0.1 at 2014-11-20 14:07:03 +0000
1238
- Started GET "/auth/gds/callback?code=42f334f76f0f6e161dbec1bb06ce47fe422e4b2d7f85dbda6f748b314735e723&state=afd3e005d074a4e66b323a7cba2aff56656c547340b1bb25" for 127.0.0.1 at 2014-11-20 14:07:03 +0000
1237
+ Completed in 0.9ms
1238
+ Started GET "/auth/gds" for 127.0.0.1 at 2015-04-20 13:16:22 +0000
1239
+ Started GET "/auth/gds/callback?code=cf0f476ead7bfde3944ab987eabdcde9892466b4c1416b723a91d90183bededd&state=26df1f09cf519d727e78e380f126d60418d0b5b0ef424731" for 127.0.0.1 at 2015-04-20 13:16:23 +0000
1239
1240
  Processing by AuthenticationsController#callback as HTML
1240
- Parameters: {"code"=>"42f334f76f0f6e161dbec1bb06ce47fe422e4b2d7f85dbda6f748b314735e723", "state"=>"afd3e005d074a4e66b323a7cba2aff56656c547340b1bb25"}
1241
+ Parameters: {"code"=>"cf0f476ead7bfde3944ab987eabdcde9892466b4c1416b723a91d90183bededd", "state"=>"26df1f09cf519d727e78e380f126d60418d0b5b0ef424731"}
1241
1242
  Authenticating with gds_sso strategy
1242
1243
  User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
1243
1244
   (0.1ms) begin transaction
1244
1245
   (0.3ms) UPDATE "users" SET "permissions" = '---
1245
1246
  - signin
1246
1247
  ' WHERE "users"."id" = 11
1247
-  (18.5ms) commit transaction
1248
+  (28.0ms) commit transaction
1248
1249
   (0.1ms) begin transaction
1249
-  (0.2ms) UPDATE "users" SET "permissions" = '---
1250
+  (0.3ms) UPDATE "users" SET "permissions" = '---
1250
1251
  - signin
1251
1252
  ' WHERE "users"."id" = 11
1252
-  (24.8ms) commit transaction
1253
- Redirected to http://www.example-client.com/restricted
1254
- Completed 302 Found in 50.4ms (ActiveRecord: 44.2ms)
1255
- Started GET "/restricted" for 127.0.0.1 at 2014-11-20 14:07:03 +0000
1256
- Processing by ExampleController#restricted as HTML
1257
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1
1258
- Completed 200 OK in 1.7ms (Views: 0.4ms | ActiveRecord: 0.2ms)
1259
- Started GET "/restricted" for 127.0.0.1 at 2014-11-20 14:07:03 +0000
1260
- Processing by ExampleController#restricted as HTML
1253
+  (40.7ms) commit transaction
1254
+ Redirected to http://www.example-client.com/this_requires_signin_permission
1255
+ Completed 302 Found in 76.6ms (ActiveRecord: 69.8ms)
1256
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-20 13:16:23 +0000
1257
+ Processing by ExampleController#this_requires_signin_permission as HTML
1258
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1
1259
+ Completed 200 OK in 2.6ms (Views: 0.6ms | ActiveRecord: 0.3ms)
1260
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-20 13:16:23 +0000
1261
+ Processing by ExampleController#this_requires_signin_permission as HTML
1261
1262
  Authenticating with gds_sso strategy
1262
1263
  Completed in 0.2ms
1263
- Started GET "/auth/gds" for 127.0.0.1 at 2014-11-20 14:07:03 +0000
1264
- Started GET "/auth/gds/callback?code=0df3558ab63701792fa72439bb95dea288354ee8505149adcc3afef762fd9026&state=3333bf52ec5046dc79deeb0121fb0781dbac126ec36f22b9" for 127.0.0.1 at 2014-11-20 14:07:03 +0000
1264
+ Started GET "/auth/gds" for 127.0.0.1 at 2015-04-20 13:16:23 +0000
1265
+ Started GET "/auth/gds/callback?code=a6e1c5de1da3677362b069b03ed1bafafb5d01faf4298905a91109551c57fd25&state=aa02ce40907f4dfab02b848d9ddad803f6893345edfa08f3" for 127.0.0.1 at 2015-04-20 13:16:23 +0000
1265
1266
  Processing by AuthenticationsController#callback as HTML
1266
- Parameters: {"code"=>"0df3558ab63701792fa72439bb95dea288354ee8505149adcc3afef762fd9026", "state"=>"3333bf52ec5046dc79deeb0121fb0781dbac126ec36f22b9"}
1267
+ Parameters: {"code"=>"a6e1c5de1da3677362b069b03ed1bafafb5d01faf4298905a91109551c57fd25", "state"=>"aa02ce40907f4dfab02b848d9ddad803f6893345edfa08f3"}
1267
1268
  Authenticating with gds_sso strategy
1268
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
1269
-  (0.0ms) begin transaction
1269
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
1270
+  (0.1ms) begin transaction
1270
1271
   (0.2ms) UPDATE "users" SET "permissions" = '---
1271
1272
  - signin
1272
1273
  ' WHERE "users"."id" = 11
1273
-  (12.1ms) commit transaction
1274
+  (56.5ms) commit transaction
1274
1275
   (0.1ms) begin transaction
1275
-  (0.2ms) UPDATE "users" SET "permissions" = '---
1276
+  (0.3ms) UPDATE "users" SET "permissions" = '---
1276
1277
  - signin
1277
1278
  ' WHERE "users"."id" = 11
1278
-  (12.8ms) commit transaction
1279
- Redirected to http://www.example-client.com/restricted
1280
- Completed 302 Found in 30.7ms (ActiveRecord: 25.6ms)
1281
- Started GET "/restricted" for 127.0.0.1 at 2014-11-20 14:07:03 +0000
1282
- Processing by ExampleController#restricted as HTML
1283
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1
1284
- Completed 200 OK in 1.6ms (Views: 0.3ms | ActiveRecord: 0.3ms)
1285
- Started GET "/restricted" for 127.0.0.1 at 2014-11-20 14:07:04 +0000
1279
+  (15.6ms) commit transaction
1280
+ Redirected to http://www.example-client.com/this_requires_signin_permission
1281
+ Completed 302 Found in 78.8ms (ActiveRecord: 73.0ms)
1282
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-20 13:16:24 +0000
1283
+ Processing by ExampleController#this_requires_signin_permission as HTML
1284
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1
1285
+ Completed 200 OK in 2.3ms (Views: 0.3ms | ActiveRecord: 0.2ms)
1286
+ Started GET "/restricted" for 127.0.0.1 at 2015-04-20 13:16:24 +0000
1286
1287
  Processing by ExampleController#restricted as HTML
1287
1288
  Authenticating with gds_sso strategy
1288
- Completed in 0.3ms
1289
- Started GET "/auth/gds" for 127.0.0.1 at 2014-11-20 14:07:04 +0000
1290
- Started GET "/auth/gds/callback?code=dc819cd32e3b10fe86a1ab63503d3f091a8f3e25d3c9b49768eb5c9c78c49ff8&state=f7fce5619118895df15bdd8c38994a5b90678a7c0f780de2" for 127.0.0.1 at 2014-11-20 14:07:04 +0000
1289
+ Completed in 0.4ms
1290
+ Started GET "/auth/gds" for 127.0.0.1 at 2015-04-20 13:16:24 +0000
1291
+ Started GET "/auth/gds/callback?code=62301137e640f9b6a927dd4567a4357657ae5c37806974ed99b77b2bd0558c9b&state=08c3c5eac77553c430bd1385578392d310152bb3a3c6ad92" for 127.0.0.1 at 2015-04-20 13:16:25 +0000
1291
1292
  Processing by AuthenticationsController#callback as HTML
1292
- Parameters: {"code"=>"dc819cd32e3b10fe86a1ab63503d3f091a8f3e25d3c9b49768eb5c9c78c49ff8", "state"=>"f7fce5619118895df15bdd8c38994a5b90678a7c0f780de2"}
1293
+ Parameters: {"code"=>"62301137e640f9b6a927dd4567a4357657ae5c37806974ed99b77b2bd0558c9b", "state"=>"08c3c5eac77553c430bd1385578392d310152bb3a3c6ad92"}
1293
1294
  Authenticating with gds_sso strategy
1294
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
1295
-  (0.0ms) begin transaction
1296
-  (0.2ms) UPDATE "users" SET "permissions" = '---
1295
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
1296
+  (0.1ms) begin transaction
1297
+  (0.3ms) UPDATE "users" SET "permissions" = '---
1297
1298
  - signin
1298
1299
  ' WHERE "users"."id" = 11
1299
-  (19.4ms) commit transaction
1300
+  (33.4ms) commit transaction
1300
1301
   (0.1ms) begin transaction
1301
-  (0.2ms) UPDATE "users" SET "permissions" = '---
1302
+  (0.3ms) UPDATE "users" SET "permissions" = '---
1302
1303
  - signin
1303
1304
  ' WHERE "users"."id" = 11
1304
-  (20.6ms) commit transaction
1305
+  (37.2ms) commit transaction
1305
1306
  Redirected to http://www.example-client.com/restricted
1306
- Completed 302 Found in 57.6ms (ActiveRecord: 40.8ms)
1307
- Started GET "/restricted" for 127.0.0.1 at 2014-11-20 14:07:04 +0000
1307
+ Completed 302 Found in 78.9ms (ActiveRecord: 71.7ms)
1308
+ Started GET "/restricted" for 127.0.0.1 at 2015-04-20 13:16:25 +0000
1308
1309
  Processing by ExampleController#restricted as HTML
1309
1310
  User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1
1310
- Completed 200 OK in 1.8ms (Views: 0.4ms | ActiveRecord: 0.3ms)
1311
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'test@example-client.com' LIMIT 1
1312
-  (0.0ms) begin transaction
1311
+ Completed 200 OK in 2.1ms (Views: 0.4ms | ActiveRecord: 0.3ms)
1312
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'test@example-client.com' LIMIT 1
1313
+  (0.1ms) begin transaction
1313
1314
   (0.2ms) UPDATE "users" SET "remotely_signed_out" = 't', "permissions" = '---
1314
1315
  - signin
1315
1316
  ' WHERE "users"."id" = 11
1316
-  (55.0ms) commit transaction
1317
- Started GET "/restricted" for 127.0.0.1 at 2014-11-20 14:07:04 +0000
1317
+  (15.5ms) commit transaction
1318
+ Started GET "/restricted" for 127.0.0.1 at 2015-04-20 13:16:25 +0000
1318
1319
  Processing by ExampleController#restricted as HTML
1319
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1
1320
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1
1320
1321
  Authenticating with gds_sso strategy
1321
- Completed in 1.3ms
1322
- Started GET "/auth/gds" for 127.0.0.1 at 2014-11-20 14:07:04 +0000
1323
- Started GET "/auth/gds/callback?code=1f3c719224309aa6421d22f890abb43305311a7b3cabf4c85a738054b5731cb3&state=8eb4bb5177c539b5e79e9450321d79a53a256fc9443341dc" for 127.0.0.1 at 2014-11-20 14:07:04 +0000
1322
+ Completed in 1.5ms
1323
+ Started GET "/auth/gds" for 127.0.0.1 at 2015-04-20 13:16:25 +0000
1324
+ Started GET "/auth/gds/callback?code=31a8e0b49abe2620f93bb64cdf99ad5f509a8b7fd8549e3e8c9bafe7572f08f1&state=730cedb124c2e8235bd87cc0a65165c055aa28c58af20a9b" for 127.0.0.1 at 2015-04-20 13:16:25 +0000
1324
1325
  Processing by AuthenticationsController#callback as HTML
1325
- Parameters: {"code"=>"1f3c719224309aa6421d22f890abb43305311a7b3cabf4c85a738054b5731cb3", "state"=>"8eb4bb5177c539b5e79e9450321d79a53a256fc9443341dc"}
1326
+ Parameters: {"code"=>"31a8e0b49abe2620f93bb64cdf99ad5f509a8b7fd8549e3e8c9bafe7572f08f1", "state"=>"730cedb124c2e8235bd87cc0a65165c055aa28c58af20a9b"}
1326
1327
  Authenticating with gds_sso strategy
1327
1328
  User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
1328
-  (0.0ms) begin transaction
1329
-  (0.2ms) UPDATE "users" SET "permissions" = '---
1329
+  (0.1ms) begin transaction
1330
+  (0.3ms) UPDATE "users" SET "permissions" = '---
1330
1331
  - signin
1331
1332
  ' WHERE "users"."id" = 11
1332
-  (21.1ms) commit transaction
1333
+  (13.0ms) commit transaction
1333
1334
   (0.1ms) begin transaction
1334
1335
   (0.2ms) UPDATE "users" SET "remotely_signed_out" = 'f', "permissions" = '---
1335
1336
  - signin
1336
1337
  ' WHERE "users"."id" = 11
1337
-  (26.6ms) commit transaction
1338
+  (13.7ms) commit transaction
1338
1339
  Redirected to http://www.example-client.com/restricted
1339
- Completed 302 Found in 53.8ms (ActiveRecord: 48.4ms)
1340
- Started GET "/restricted" for 127.0.0.1 at 2014-11-20 14:07:05 +0000
1340
+ Completed 302 Found in 33.9ms (ActiveRecord: 27.7ms)
1341
+ Started GET "/restricted" for 127.0.0.1 at 2015-04-20 13:16:25 +0000
1341
1342
  Processing by ExampleController#restricted as HTML
1342
1343
  User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1
1343
1344
  Completed 200 OK in 1.7ms (Views: 0.3ms | ActiveRecord: 0.3ms)
1344
- Started GET "/restricted" for 127.0.0.1 at 2014-11-20 14:07:05 +0000
1345
+ Started GET "/restricted" for 127.0.0.1 at 2015-04-20 13:16:28 +0000
1345
1346
  Processing by ExampleController#restricted as HTML
1346
1347
  Authenticating with gds_sso strategy
1347
1348
  Completed in 0.4ms
1348
- Started GET "/auth/gds" for 127.0.0.1 at 2014-11-20 14:07:05 +0000
1349
- Started GET "/auth/gds/callback?code=8e23e709a247ce42c16de9641abde8904937959c96fcc310f5226a640e60ecf8&state=52b5e47166e1bbaaaaf567022ae6e111a5b6d75db2eb40d3" for 127.0.0.1 at 2014-11-20 14:07:05 +0000
1349
+ Started GET "/auth/gds" for 127.0.0.1 at 2015-04-20 13:16:28 +0000
1350
+ Started GET "/auth/gds/callback?code=18d46886803ddbcd87550625c5da2823071183dba1af40c996274e8640b68ff0&state=dd03d59044e610c24d8ffc65c48c01881d367ce2c08a94c6" for 127.0.0.1 at 2015-04-20 13:16:28 +0000
1350
1351
  Processing by AuthenticationsController#callback as HTML
1351
- Parameters: {"code"=>"8e23e709a247ce42c16de9641abde8904937959c96fcc310f5226a640e60ecf8", "state"=>"52b5e47166e1bbaaaaf567022ae6e111a5b6d75db2eb40d3"}
1352
+ Parameters: {"code"=>"18d46886803ddbcd87550625c5da2823071183dba1af40c996274e8640b68ff0", "state"=>"dd03d59044e610c24d8ffc65c48c01881d367ce2c08a94c6"}
1352
1353
  Authenticating with gds_sso strategy
1353
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
1354
-  (0.0ms) begin transaction
1355
-  (0.2ms) UPDATE "users" SET "permissions" = '---
1354
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
1355
+  (0.1ms) begin transaction
1356
+  (0.4ms) UPDATE "users" SET "permissions" = '---
1356
1357
  - signin
1357
1358
  ' WHERE "users"."id" = 11
1358
-  (18.7ms) commit transaction
1359
+  (18.5ms) commit transaction
1359
1360
   (0.1ms) begin transaction
1360
1361
   (0.3ms) UPDATE "users" SET "permissions" = '---
1361
1362
  - signin
1362
1363
  ' WHERE "users"."id" = 11
1363
-  (19.9ms) commit transaction
1364
+  (11.2ms) commit transaction
1364
1365
  Redirected to http://www.example-client.com/restricted
1365
- Completed 302 Found in 45.9ms (ActiveRecord: 39.5ms)
1366
- Started GET "/restricted" for 127.0.0.1 at 2014-11-20 14:07:05 +0000
1366
+ Completed 302 Found in 39.8ms (ActiveRecord: 31.0ms)
1367
+ Started GET "/restricted" for 127.0.0.1 at 2015-04-20 13:16:28 +0000
1367
1368
  Processing by ExampleController#restricted as HTML
1368
1369
  User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1
1369
- Completed 200 OK in 1.8ms (Views: 0.3ms | ActiveRecord: 0.3ms)
1370
- Started GET "/restricted" for 127.0.0.1 at 2014-11-21 10:12:05 +0000
1370
+ Completed 200 OK in 2.2ms (Views: 0.5ms | ActiveRecord: 0.3ms)
1371
+ Started GET "/restricted" for 127.0.0.1 at 2015-04-21 09:21:28 +0000
1371
1372
  Processing by ExampleController#restricted as HTML
1372
1373
  Authenticating with gds_sso strategy
1373
1374
  Completed in 0.4ms
1374
- Started GET "/auth/gds" for 127.0.0.1 at 2014-11-21 10:12:05 +0000
1375
- Started GET "/auth/gds/callback?code=b30382e19223218c7fcef4dd0217985f6b05ba33c7f276be421d14f304e47031&state=0b81424d2c8ff6cefb0fb030e2aee6283ea7a18fd0196014" for 127.0.0.1 at 2014-11-21 10:12:05 +0000
1375
+ Started GET "/auth/gds" for 127.0.0.1 at 2015-04-21 09:21:28 +0000
1376
+ Started GET "/auth/gds/callback?code=32eeabd4e689344825cca3df17b1f4575a9dadf9dee60b1b90ac25d455db25a3&state=ad746e5f10cf55cd7ae2f6ec10870bee1336c0b570e9c198" for 127.0.0.1 at 2015-04-21 09:21:28 +0000
1376
1377
  Processing by AuthenticationsController#callback as HTML
1377
- Parameters: {"code"=>"b30382e19223218c7fcef4dd0217985f6b05ba33c7f276be421d14f304e47031", "state"=>"0b81424d2c8ff6cefb0fb030e2aee6283ea7a18fd0196014"}
1378
+ Parameters: {"code"=>"32eeabd4e689344825cca3df17b1f4575a9dadf9dee60b1b90ac25d455db25a3", "state"=>"ad746e5f10cf55cd7ae2f6ec10870bee1336c0b570e9c198"}
1378
1379
  Authenticating with gds_sso strategy
1379
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
1380
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
1380
1381
   (0.1ms) begin transaction
1381
-  (0.2ms) UPDATE "users" SET "permissions" = '---
1382
+  (0.3ms) UPDATE "users" SET "permissions" = '---
1382
1383
  - signin
1383
1384
  ' WHERE "users"."id" = 11
1384
-  (12.2ms) commit transaction
1385
+  (15.1ms) commit transaction
1385
1386
   (0.1ms) begin transaction
1386
-  (0.2ms) UPDATE "users" SET "permissions" = '---
1387
+  (0.3ms) UPDATE "users" SET "permissions" = '---
1387
1388
  - signin
1388
1389
  ' WHERE "users"."id" = 11
1389
-  (11.4ms) commit transaction
1390
+  (19.2ms) commit transaction
1390
1391
  Redirected to http://www.example-client.com/restricted
1391
- Completed 302 Found in 30.0ms (ActiveRecord: 24.5ms)
1392
- Started GET "/restricted" for 127.0.0.1 at 2014-11-21 10:12:05 +0000
1392
+ Completed 302 Found in 40.6ms (ActiveRecord: 35.2ms)
1393
+ Started GET "/restricted" for 127.0.0.1 at 2015-04-21 09:21:28 +0000
1393
1394
  Processing by ExampleController#restricted as HTML
1394
1395
  User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1
1395
- Completed 200 OK in 1.9ms (Views: 0.3ms | ActiveRecord: 0.3ms)
1396
- Started GET "/restricted" for 127.0.0.1 at 2014-11-20 14:07:05 +0000
1396
+ Completed 200 OK in 2.0ms (Views: 0.3ms | ActiveRecord: 0.3ms)
1397
+ Started GET "/restricted" for 127.0.0.1 at 2015-04-20 13:16:29 +0000
1397
1398
  Processing by ExampleController#restricted as HTML
1398
1399
  Authenticating with gds_sso strategy
1399
- Completed in 0.3ms
1400
- Started GET "/auth/gds" for 127.0.0.1 at 2014-11-20 14:07:05 +0000
1401
- Started GET "/auth/gds/callback?code=f275d04361fc87bebbd45611e3e8e7c7a5d53990427265d8376e98d7bb468104&state=1603f8c0adc5e16b42fa583c5e6f32f41508e200f4f3eb64" for 127.0.0.1 at 2014-11-20 14:07:06 +0000
1400
+ Completed in 0.4ms
1401
+ Started GET "/auth/gds" for 127.0.0.1 at 2015-04-20 13:16:29 +0000
1402
+ Started GET "/auth/gds/callback?code=a586aa7fc440c7fe39d8a7f6a476862ab6af650df8c248adfb397b5575faab4c&state=4dcd8483b7ddec70d460374a967bf3920cdfcf86095cffb6" for 127.0.0.1 at 2015-04-20 13:16:29 +0000
1402
1403
  Processing by AuthenticationsController#callback as HTML
1403
- Parameters: {"code"=>"f275d04361fc87bebbd45611e3e8e7c7a5d53990427265d8376e98d7bb468104", "state"=>"1603f8c0adc5e16b42fa583c5e6f32f41508e200f4f3eb64"}
1404
+ Parameters: {"code"=>"a586aa7fc440c7fe39d8a7f6a476862ab6af650df8c248adfb397b5575faab4c", "state"=>"4dcd8483b7ddec70d460374a967bf3920cdfcf86095cffb6"}
1404
1405
  Authenticating with gds_sso strategy
1405
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
1406
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
1406
1407
   (0.1ms) begin transaction
1407
-  (0.2ms) UPDATE "users" SET "permissions" = '---
1408
+  (0.3ms) UPDATE "users" SET "permissions" = '---
1408
1409
  - signin
1409
1410
  ' WHERE "users"."id" = 11
1410
-  (16.2ms) commit transaction
1411
+  (13.5ms) commit transaction
1411
1412
   (0.1ms) begin transaction
1412
-  (0.2ms) UPDATE "users" SET "permissions" = '---
1413
+  (0.3ms) UPDATE "users" SET "permissions" = '---
1413
1414
  - signin
1414
1415
  ' WHERE "users"."id" = 11
1415
-  (12.2ms) commit transaction
1416
+  (61.5ms) commit transaction
1416
1417
  Redirected to http://www.example-client.com/restricted
1417
- Completed 302 Found in 35.1ms (ActiveRecord: 29.2ms)
1418
- Started GET "/restricted" for 127.0.0.1 at 2014-11-20 14:07:06 +0000
1418
+ Completed 302 Found in 85.2ms (ActiveRecord: 76.2ms)
1419
+ Started GET "/restricted" for 127.0.0.1 at 2015-04-20 13:16:29 +0000
1419
1420
  Processing by ExampleController#restricted as HTML
1420
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1
1421
- Completed 200 OK in 1.8ms (Views: 0.4ms | ActiveRecord: 0.3ms)
1422
- Started GET "/restricted" for 127.0.0.1 at 2014-11-21 10:02:06 +0000
1421
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1
1422
+ Completed 200 OK in 3.3ms (Views: 0.6ms | ActiveRecord: 0.4ms)
1423
+ Started GET "/restricted" for 127.0.0.1 at 2015-04-21 09:11:29 +0000
1423
1424
  Processing by ExampleController#restricted as HTML
1424
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1
1425
- Completed 200 OK in 1.7ms (Views: 0.3ms | ActiveRecord: 0.3ms)
1426
- Started GET "/restricted" for 127.0.0.1 at 2014-11-20 14:07:06 +0000
1427
- Processing by ExampleController#restricted as JSON
1428
- Completed in 18.5ms
1429
- Started GET "/restricted" for 127.0.0.1 at 2014-11-20 14:07:06 +0000
1425
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1
1426
+ Completed 200 OK in 3.0ms (Views: 0.6ms | ActiveRecord: 0.4ms)
1427
+ Started GET "/restricted" for 127.0.0.1 at 2015-04-20 13:16:30 +0000
1430
1428
  Processing by ExampleController#restricted as JSON
1431
- Completed in 32.0ms
1432
- Started GET "/restricted" for 127.0.0.1 at 2014-11-20 14:07:07 +0000
1433
- Processing by ExampleController#restricted as JSON
1434
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
1429
+ Completed in 29.5ms
1430
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-20 13:16:31 +0000
1431
+ Processing by ExampleController#this_requires_signin_permission as JSON
1432
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
1435
1433
   (0.1ms) begin transaction
1436
-  (0.2ms) UPDATE "users" SET "permissions" = '---
1434
+  (0.4ms) UPDATE "users" SET "disabled" = NULL, "permissions" = '---
1437
1435
  - signin
1438
1436
  ' WHERE "users"."id" = 11
1439
-  (12.2ms) commit transaction
1440
- User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
1437
+  (18.4ms) commit transaction
1438
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
1441
1439
   (0.0ms) begin transaction
1442
-  (0.2ms) UPDATE "users" SET "permissions" = '---
1440
+  (0.3ms) UPDATE "users" SET "permissions" = '---
1443
1441
  - signin
1444
1442
  ' WHERE "users"."id" = 11
1445
-  (8.7ms) commit transaction
1446
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
1443
+  (16.1ms) commit transaction
1444
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
1447
1445
   (0.1ms) begin transaction
1448
-  (0.2ms) UPDATE "users" SET "permissions" = '---
1446
+  (0.3ms) UPDATE "users" SET "permissions" = '---
1449
1447
  - signin
1450
1448
  ' WHERE "users"."id" = 11
1451
-  (10.7ms) commit transaction
1452
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
1453
-  (0.0ms) begin transaction
1454
-  (0.2ms) UPDATE "users" SET "permissions" = '---
1449
+  (23.1ms) commit transaction
1450
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
1451
+  (0.1ms) begin transaction
1452
+  (0.3ms) UPDATE "users" SET "permissions" = '---
1455
1453
  - signin
1456
1454
  ' WHERE "users"."id" = 11
1457
-  (11.3ms) commit transaction
1455
+  (11.9ms) commit transaction
1458
1456
   (0.1ms) begin transaction
1459
1457
   (0.3ms) UPDATE "users" SET "permissions" = '---
1460
1458
  - signin
1461
1459
  ' WHERE "users"."id" = 11
1462
-  (14.2ms) commit transaction
1463
- Completed 200 OK in 213.0ms (Views: 0.4ms | ActiveRecord: 59.7ms)
1464
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2014-11-20 14:07:07 +0000
1465
- Processing by ExampleController#this_requires_signin_permission as JSON
1466
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
1460
+  (26.6ms) commit transaction
1461
+ Completed 200 OK in 263.9ms (Views: 0.6ms | ActiveRecord: 99.5ms)
1462
+ Started GET "/restricted" for 127.0.0.1 at 2015-04-20 13:16:31 +0000
1463
+ Processing by ExampleController#restricted as JSON
1464
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
1467
1465
   (0.1ms) begin transaction
1468
1466
   (0.3ms) UPDATE "users" SET "permissions" = '---
1469
1467
  - signin
1470
1468
  ' WHERE "users"."id" = 11
1471
-  (12.7ms) commit transaction
1472
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
1473
-  (0.0ms) begin transaction
1474
-  (0.2ms) UPDATE "users" SET "permissions" = '---
1469
+  (19.4ms) commit transaction
1470
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
1471
+  (0.1ms) begin transaction
1472
+  (0.3ms) UPDATE "users" SET "permissions" = '---
1475
1473
  - signin
1476
1474
  ' WHERE "users"."id" = 11
1477
-  (10.4ms) commit transaction
1478
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
1475
+  (10.2ms) commit transaction
1476
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
1479
1477
   (0.1ms) begin transaction
1480
-  (0.2ms) UPDATE "users" SET "permissions" = '---
1478
+  (0.4ms) UPDATE "users" SET "permissions" = '---
1481
1479
  - signin
1482
1480
  ' WHERE "users"."id" = 11
1483
-  (12.1ms) commit transaction
1481
+  (16.3ms) commit transaction
1484
1482
  User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
1485
-  (0.0ms) begin transaction
1486
-  (0.2ms) UPDATE "users" SET "permissions" = '---
1483
+  (0.1ms) begin transaction
1484
+  (0.3ms) UPDATE "users" SET "permissions" = '---
1487
1485
  - signin
1488
1486
  ' WHERE "users"."id" = 11
1489
-  (16.8ms) commit transaction
1487
+  (20.2ms) commit transaction
1490
1488
   (0.1ms) begin transaction
1491
-  (0.2ms) UPDATE "users" SET "permissions" = '---
1489
+  (0.3ms) UPDATE "users" SET "permissions" = '---
1492
1490
  - signin
1493
1491
  ' WHERE "users"."id" = 11
1494
-  (12.7ms) commit transaction
1495
- Completed 200 OK in 217.8ms (Views: 0.4ms | ActiveRecord: 67.2ms)
1496
- Started GET "/" for 127.0.0.1 at 2014-11-20 14:07:27 +0000
1497
- Processing by ExampleController#index as HTML
1498
- Rendered text template (0.0ms)
1499
- Completed 200 OK in 6ms (Views: 5.5ms | ActiveRecord: 0.0ms)
1500
- Started GET "/restricted" for 127.0.0.1 at 2014-11-20 14:07:27 +0000
1501
- Processing by ExampleController#restricted as HTML
1502
- Authenticating with gds_sso strategy
1503
- Completed in 14ms
1504
- Started GET "/auth/gds" for 127.0.0.1 at 2014-11-20 14:07:27 +0000
1505
- Started GET "/auth/gds/callback?code=24db9cdd9d847c6003aa39d62a0f6683d3d39fabc9bc25db1bca4096f31e6d42&state=a8473a8c9410d2e347a4080a10912bfdceea8b8b82030c3c" for 127.0.0.1 at 2014-11-20 14:07:28 +0000
1506
- Processing by AuthenticationsController#callback as HTML
1507
- Parameters: {"code"=>"24db9cdd9d847c6003aa39d62a0f6683d3d39fabc9bc25db1bca4096f31e6d42", "state"=>"a8473a8c9410d2e347a4080a10912bfdceea8b8b82030c3c"}
1508
- Authenticating with gds_sso strategy
1509
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
1510
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'test@example-client.com' ORDER BY "users"."id" ASC LIMIT 1
1492
+  (8.7ms) commit transaction
1493
+ Completed 200 OK in 261.0ms (Views: 0.7ms | ActiveRecord: 78.3ms)
1494
+ Started GET "/restricted" for 127.0.0.1 at 2015-04-20 13:16:32 +0000
1495
+ Processing by ExampleController#restricted as JSON
1496
+ Completed in 26.5ms
1511
1497
   (0.1ms) begin transaction
1512
- SQL (0.4ms) INSERT INTO "users" ("disabled", "email", "name", "permissions", "uid") VALUES (?, ?, ?, ?, ?) [["disabled", nil], ["email", "test@example-client.com"], ["name", "Test User"], ["permissions", "---\n- signin\n"], ["uid", "integration-uid"]]
1513
-  (20.0ms) commit transaction
1498
+ SQL (0.4ms) INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["uid", "a1s2d36255"]]
1499
+  (12.7ms) commit transaction
1514
1500
   (0.1ms) begin transaction
1515
- SQL (0.3ms) UPDATE "users" SET "remotely_signed_out" = ?, "permissions" = ? WHERE "users"."id" = 1 [["remotely_signed_out", false], ["permissions", "---\n- signin\n"]]
1516
-  (10.5ms) commit transaction
1517
- Redirected to http://www.example-client.com/restricted
1518
- Completed 302 Found in 56ms (ActiveRecord: 32.3ms)
1519
- Started GET "/restricted" for 127.0.0.1 at 2014-11-20 14:07:28 +0000
1520
- Processing by ExampleController#restricted as HTML
1521
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1
1522
- Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.3ms)
1523
- Started GET "/restricted" for 127.0.0.1 at 2014-11-20 14:07:28 +0000
1501
+ SQL (0.2ms) INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"], ["uid", "a1s2d31168"]]
1502
+  (32.5ms) commit transaction
1503
+ Processing by Api::UserController#update as HTML
1504
+ Parameters: {"uid"=>"a1s2d36255"}
1505
+ Rendered /home/jenkins/workspace/govuk_gds_sso/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.3ms)
1506
+ Completed 403 Forbidden in 8ms (Views: 7.6ms | ActiveRecord: 0.0ms)
1507
+  (0.1ms) begin transaction
1508
+ SQL (0.3ms) INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["uid", "a1s2d35848"]]
1509
+  (19.0ms) commit transaction
1510
+  (0.1ms) begin transaction
1511
+ SQL (0.2ms) INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"], ["uid", "a1s2d33568"]]
1512
+  (11.1ms) commit transaction
1513
+ Processing by Api::UserController#update as HTML
1514
+ Parameters: {"uid"=>"a1s2d35848"}
1515
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d35848' ORDER BY "users"."id" ASC LIMIT 1
1516
+  (0.1ms) begin transaction
1517
+ SQL (0.4ms) UPDATE "users" SET "email" = ?, "name" = ?, "permissions" = ?, "organisation_slug" = ? WHERE "users"."id" = 3 [["email", "user@domain.com"], ["name", "Joshua Marshall"], ["permissions", "---\n- signin\n- new permission\n"], ["organisation_slug", "justice-league"]]
1518
+  (29.4ms) commit transaction
1519
+ Completed 200 OK in 39ms (ActiveRecord: 30.2ms)
1520
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
1521
+  (0.1ms) begin transaction
1522
+ SQL (0.3ms) INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["uid", "a1s2d38991"]]
1523
+  (9.7ms) commit transaction
1524
+  (0.1ms) begin transaction
1525
+ SQL (0.2ms) INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"], ["uid", "a1s2d31157"]]
1526
+  (12.5ms) commit transaction
1527
+ Processing by Api::UserController#reauth as HTML
1528
+ Parameters: {"uid"=>"a1s2d38991"}
1529
+ Completed 403 Forbidden in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms)
1530
+  (0.1ms) begin transaction
1531
+ SQL (0.3ms) INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["uid", "a1s2d35413"]]
1532
+  (23.9ms) commit transaction
1533
+  (0.1ms) begin transaction
1534
+ SQL (0.3ms) INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"], ["uid", "a1s2d31249"]]
1535
+  (17.0ms) commit transaction
1536
+ Processing by Api::UserController#reauth as HTML
1537
+ Parameters: {"uid"=>"nonexistent-user"}
1538
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'nonexistent-user' ORDER BY "users"."id" ASC LIMIT 1
1539
+ Completed 200 OK in 2ms (ActiveRecord: 0.3ms)
1540
+  (0.1ms) begin transaction
1541
+ SQL (0.2ms) INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["uid", "a1s2d36065"]]
1542
+  (12.4ms) commit transaction
1543
+  (0.1ms) begin transaction
1544
+ SQL (0.2ms) INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"], ["uid", "a1s2d36571"]]
1545
+  (11.8ms) commit transaction
1546
+ Processing by Api::UserController#reauth as HTML
1547
+ Parameters: {"uid"=>"a1s2d36065"}
1548
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d36065' ORDER BY "users"."id" ASC LIMIT 1
1549
+  (0.1ms) begin transaction
1550
+ SQL (0.3ms) UPDATE "users" SET "remotely_signed_out" = ?, "permissions" = ? WHERE "users"."id" = 9 [["remotely_signed_out", true], ["permissions", "---\n- signin\n"]]
1551
+  (13.3ms) commit transaction
1552
+ Completed 200 OK in 17ms (ActiveRecord: 13.9ms)
1553
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 9]]
1554
+ Started GET "/" for 127.0.0.1 at 2015-04-20 13:17:05 +0000
1555
+ Processing by ExampleController#index as HTML
1556
+ Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms)
1557
+ Started GET "/restricted" for 127.0.0.1 at 2015-04-20 13:17:05 +0000
1524
1558
  Processing by ExampleController#restricted as HTML
1525
1559
  Authenticating with gds_sso strategy
1526
- Completed in 0ms
1527
- Started GET "/auth/gds" for 127.0.0.1 at 2014-11-20 14:07:28 +0000
1528
- Started GET "/auth/gds/callback?code=148d28c341b37c3269a5e9ad52b5b46cac31eb3eaab5dd9b0255af36f8ef9204&state=0f29833ba6fe15e60094b7ad2f87cfbb9bbb1e1307070fe5" for 127.0.0.1 at 2014-11-20 14:07:28 +0000
1560
+ Completed in 41ms
1561
+ Started GET "/auth/gds" for 127.0.0.1 at 2015-04-20 13:17:05 +0000
1562
+ Started GET "/auth/gds/callback?code=2c2be20cb2b7651ef4e3cc2b66c02b8330846bb65831dff4fca288ccc290f13f&state=44b83be35fec3ae91b43762ab7ab0cba558f4988259f1f88" for 127.0.0.1 at 2015-04-20 13:17:06 +0000
1529
1563
  Processing by AuthenticationsController#callback as HTML
1530
- Parameters: {"code"=>"148d28c341b37c3269a5e9ad52b5b46cac31eb3eaab5dd9b0255af36f8ef9204", "state"=>"0f29833ba6fe15e60094b7ad2f87cfbb9bbb1e1307070fe5"}
1564
+ Parameters: {"code"=>"2c2be20cb2b7651ef4e3cc2b66c02b8330846bb65831dff4fca288ccc290f13f", "state"=>"44b83be35fec3ae91b43762ab7ab0cba558f4988259f1f88"}
1531
1565
  Authenticating with gds_sso strategy
1532
1566
  User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
1533
-  (0.1ms) begin transaction
1534
- SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
1535
-  (12.6ms) commit transaction
1567
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'test@example-client.com' ORDER BY "users"."id" ASC LIMIT 1
1536
1568
   (0.1ms) begin transaction
1537
- SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
1538
-  (19.5ms) commit transaction
1569
+ SQL (0.3ms) INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "test@example-client.com"], ["name", "Test User"], ["permissions", "---\n- signin\n"], ["uid", "integration-uid"]]
1570
+  (15.6ms) commit transaction
1571
+  (0.1ms) begin transaction
1572
+ SQL (0.4ms) UPDATE "users" SET "remotely_signed_out" = ?, "permissions" = ? WHERE "users"."id" = 11 [["remotely_signed_out", false], ["permissions", "---\n- signin\n"]]
1573
+  (7.3ms) commit transaction
1539
1574
  Redirected to http://www.example-client.com/restricted
1540
- Completed 302 Found in 38ms (ActiveRecord: 32.9ms)
1541
- Started GET "/restricted" for 127.0.0.1 at 2014-11-20 14:07:28 +0000
1575
+ Completed 302 Found in 32ms (ActiveRecord: 24.2ms)
1576
+ Started GET "/restricted" for 127.0.0.1 at 2015-04-20 13:17:06 +0000
1542
1577
  Processing by ExampleController#restricted as HTML
1543
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1
1544
- Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)
1545
- Started GET "/restricted" for 127.0.0.1 at 2014-11-20 14:07:28 +0000
1578
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1
1579
+ Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.3ms)
1580
+ Started GET "/restricted" for 127.0.0.1 at 2015-04-20 13:17:06 +0000
1546
1581
  Processing by ExampleController#restricted as HTML
1547
1582
  Authenticating with gds_sso strategy
1548
- Completed in 1ms
1549
- Started GET "/auth/gds" for 127.0.0.1 at 2014-11-20 14:07:28 +0000
1550
- Started GET "/auth/gds/callback?code=4bd1b83f91efb602c89dc0037b3d8274da0b8fc40c0dd3955bc164b4f66486f2&state=c5364a35a4795160e723761752e1777e33ec324a2a14c275" for 127.0.0.1 at 2014-11-20 14:07:29 +0000
1583
+ Completed in 0ms
1584
+ Started GET "/auth/gds" for 127.0.0.1 at 2015-04-20 13:17:06 +0000
1585
+ Started GET "/auth/gds/callback?code=4833a4a8bb37ac25db38e0337d6bfbb90fa8e071ebba27eea030b35bb876d362&state=95d1f4bdaefbca8de57a89016a50a502a71cdbb900123667" for 127.0.0.1 at 2015-04-20 13:17:06 +0000
1551
1586
  Processing by AuthenticationsController#callback as HTML
1552
- Parameters: {"code"=>"4bd1b83f91efb602c89dc0037b3d8274da0b8fc40c0dd3955bc164b4f66486f2", "state"=>"c5364a35a4795160e723761752e1777e33ec324a2a14c275"}
1587
+ Parameters: {"code"=>"4833a4a8bb37ac25db38e0337d6bfbb90fa8e071ebba27eea030b35bb876d362", "state"=>"95d1f4bdaefbca8de57a89016a50a502a71cdbb900123667"}
1553
1588
  Authenticating with gds_sso strategy
1554
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
1555
-  (0.1ms) begin transaction
1556
- SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
1557
-  (10.8ms) commit transaction
1589
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
1558
1590
   (0.1ms) begin transaction
1559
- SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
1560
-  (17.7ms) commit transaction
1591
+ SQL (0.4ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
1592
+  (14.7ms) commit transaction
1593
+  (52.4ms) begin transaction
1594
+ SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
1595
+  (13.8ms) commit transaction
1561
1596
  Redirected to http://www.example-client.com/restricted
1562
- Completed 302 Found in 35ms (ActiveRecord: 29.4ms)
1563
- Started GET "/restricted" for 127.0.0.1 at 2014-11-20 14:07:29 +0000
1597
+ Completed 302 Found in 88ms (ActiveRecord: 81.9ms)
1598
+ Started GET "/restricted" for 127.0.0.1 at 2015-04-20 13:17:07 +0000
1564
1599
  Processing by ExampleController#restricted as HTML
1565
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1
1566
- Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.3ms)
1567
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2014-11-20 14:07:29 +0000
1600
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1
1601
+ Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)
1602
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-20 13:17:07 +0000
1568
1603
  Processing by ExampleController#this_requires_signin_permission as HTML
1569
1604
  Authenticating with gds_sso strategy
1570
- Completed in 0ms
1571
- Started GET "/auth/gds" for 127.0.0.1 at 2014-11-20 14:07:29 +0000
1572
- Started GET "/auth/gds/callback?code=ed945eeb1e9cafcc3c94e53a0cf1b0c4064d6bcd3ee8538c6ea99a8fb8d49873&state=bc9320f5daadc99f065fd3c2d6a5ca785db3556af4952893" for 127.0.0.1 at 2014-11-20 14:07:29 +0000
1605
+ Completed in 1ms
1606
+ Started GET "/auth/gds" for 127.0.0.1 at 2015-04-20 13:17:07 +0000
1607
+ Started GET "/auth/gds/callback?code=56ff9e599004007f9082ab429ba986eea7f848cf91016abf2a7c8fc594cf152c&state=8f1cfbcb635f15c4cfbcacc31dd1738c10c4b791d7ceb252" for 127.0.0.1 at 2015-04-20 13:17:07 +0000
1573
1608
  Processing by AuthenticationsController#callback as HTML
1574
- Parameters: {"code"=>"ed945eeb1e9cafcc3c94e53a0cf1b0c4064d6bcd3ee8538c6ea99a8fb8d49873", "state"=>"bc9320f5daadc99f065fd3c2d6a5ca785db3556af4952893"}
1609
+ Parameters: {"code"=>"56ff9e599004007f9082ab429ba986eea7f848cf91016abf2a7c8fc594cf152c", "state"=>"8f1cfbcb635f15c4cfbcacc31dd1738c10c4b791d7ceb252"}
1575
1610
  Authenticating with gds_sso strategy
1576
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
1577
-  (0.3ms) begin transaction
1578
- SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
1579
-  (15.1ms) commit transaction
1611
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
1580
1612
   (0.1ms) begin transaction
1581
- SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
1582
-  (12.8ms) commit transaction
1613
+ SQL (0.3ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
1614
+  (37.7ms) commit transaction
1615
+  (0.1ms) begin transaction
1616
+ SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
1617
+  (9.7ms) commit transaction
1583
1618
  Redirected to http://www.example-client.com/this_requires_signin_permission
1584
- Completed 302 Found in 35ms (ActiveRecord: 29.1ms)
1585
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2014-11-20 14:07:29 +0000
1619
+ Completed 302 Found in 56ms (ActiveRecord: 48.5ms)
1620
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-20 13:17:08 +0000
1586
1621
  Processing by ExampleController#this_requires_signin_permission as HTML
1587
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1
1588
- Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.3ms)
1589
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2014-11-20 14:07:29 +0000
1622
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1
1623
+ Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.3ms)
1624
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-20 13:17:08 +0000
1590
1625
  Processing by ExampleController#this_requires_signin_permission as HTML
1591
1626
  Authenticating with gds_sso strategy
1592
1627
  Completed in 0ms
1593
- Started GET "/auth/gds" for 127.0.0.1 at 2014-11-20 14:07:29 +0000
1594
- Started GET "/auth/gds/callback?code=7648c462f6891bd5f41c1699d88d4205139629968be92a2405e40f9f8e8a08d5&state=dbf35b15b8f47e6f34af8c6a4f4a3efb870f193b18acc4af" for 127.0.0.1 at 2014-11-20 14:07:30 +0000
1628
+ Started GET "/auth/gds" for 127.0.0.1 at 2015-04-20 13:17:08 +0000
1629
+ Started GET "/auth/gds/callback?code=4ae60cf36e25405f1af2c66ea50b89e39d867ed1cc31017443a776858b4e85f3&state=1377388451f001055493514b5368a936723e953642379d75" for 127.0.0.1 at 2015-04-20 13:17:08 +0000
1595
1630
  Processing by AuthenticationsController#callback as HTML
1596
- Parameters: {"code"=>"7648c462f6891bd5f41c1699d88d4205139629968be92a2405e40f9f8e8a08d5", "state"=>"dbf35b15b8f47e6f34af8c6a4f4a3efb870f193b18acc4af"}
1631
+ Parameters: {"code"=>"4ae60cf36e25405f1af2c66ea50b89e39d867ed1cc31017443a776858b4e85f3", "state"=>"1377388451f001055493514b5368a936723e953642379d75"}
1597
1632
  Authenticating with gds_sso strategy
1598
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
1599
-  (0.1ms) begin transaction
1600
- SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
1601
-  (12.4ms) commit transaction
1633
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
1602
1634
   (0.1ms) begin transaction
1603
- SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
1604
-  (15.1ms) commit transaction
1635
+ SQL (0.3ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
1636
+  (7.3ms) commit transaction
1637
+  (0.2ms) begin transaction
1638
+ SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
1639
+  (9.6ms) commit transaction
1605
1640
  Redirected to http://www.example-client.com/this_requires_signin_permission
1606
- Completed 302 Found in 34ms (ActiveRecord: 28.3ms)
1607
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2014-11-20 14:07:30 +0000
1641
+ Completed 302 Found in 23ms (ActiveRecord: 17.9ms)
1642
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-20 13:17:08 +0000
1608
1643
  Processing by ExampleController#this_requires_signin_permission as HTML
1609
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1
1644
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1
1610
1645
  Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.3ms)
1611
- Started GET "/restricted" for 127.0.0.1 at 2014-11-20 14:07:30 +0000
1646
+ Started GET "/restricted" for 127.0.0.1 at 2015-04-20 13:17:09 +0000
1612
1647
  Processing by ExampleController#restricted as HTML
1613
1648
  Authenticating with gds_sso strategy
1614
- Completed in 1ms
1615
- Started GET "/auth/gds" for 127.0.0.1 at 2014-11-20 14:07:30 +0000
1616
- Started GET "/auth/gds/callback?code=2f6450f564dc88ea603ba991335dad2f9fe60a03239d79173436192c815ff260&state=7951298d074990f196872d8afe1d8cb1be0c7a3dd2a886b2" for 127.0.0.1 at 2014-11-20 14:07:30 +0000
1649
+ Completed in 4ms
1650
+ Started GET "/auth/gds" for 127.0.0.1 at 2015-04-20 13:17:09 +0000
1651
+ Started GET "/auth/gds/callback?code=c5f48d0d483aaaeafa543ba5d16fd05b73258b603b779ac51bb4aa0c0bb32a06&state=c5aba9bf56ae0701cdfce8776b30037ad97a0d95a5f03368" for 127.0.0.1 at 2015-04-20 13:17:09 +0000
1617
1652
  Processing by AuthenticationsController#callback as HTML
1618
- Parameters: {"code"=>"2f6450f564dc88ea603ba991335dad2f9fe60a03239d79173436192c815ff260", "state"=>"7951298d074990f196872d8afe1d8cb1be0c7a3dd2a886b2"}
1653
+ Parameters: {"code"=>"c5f48d0d483aaaeafa543ba5d16fd05b73258b603b779ac51bb4aa0c0bb32a06", "state"=>"c5aba9bf56ae0701cdfce8776b30037ad97a0d95a5f03368"}
1619
1654
  Authenticating with gds_sso strategy
1620
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
1621
-  (0.1ms) begin transaction
1622
- SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
1623
-  (10.9ms) commit transaction
1655
+ User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
1624
1656
   (0.1ms) begin transaction
1625
- SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
1626
-  (17.5ms) commit transaction
1657
+ SQL (0.4ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
1658
+  (16.4ms) commit transaction
1659
+  (0.2ms) begin transaction
1660
+ SQL (0.3ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
1661
+  (71.2ms) commit transaction
1627
1662
  Redirected to http://www.example-client.com/restricted
1628
- Completed 302 Found in 36ms (ActiveRecord: 29.4ms)
1629
- Started GET "/restricted" for 127.0.0.1 at 2014-11-20 14:07:30 +0000
1663
+ Completed 302 Found in 98ms (ActiveRecord: 89.3ms)
1664
+ Started GET "/restricted" for 127.0.0.1 at 2015-04-20 13:17:09 +0000
1630
1665
  Processing by ExampleController#restricted as HTML
1631
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1
1632
- Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.3ms)
1633
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'test@example-client.com' ORDER BY "users"."id" ASC LIMIT 1
1634
-  (0.1ms) begin transaction
1635
- SQL (0.2ms) UPDATE "users" SET "remotely_signed_out" = ?, "permissions" = ? WHERE "users"."id" = 1 [["remotely_signed_out", true], ["permissions", "---\n- signin\n"]]
1636
-  (14.2ms) commit transaction
1637
- Started GET "/restricted" for 127.0.0.1 at 2014-11-20 14:07:30 +0000
1666
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1
1667
+ Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.4ms)
1668
+ Started GET "/restricted" for 127.0.0.1 at 2015-04-20 13:17:09 +0000
1638
1669
  Processing by ExampleController#restricted as HTML
1639
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1
1640
1670
  Authenticating with gds_sso strategy
1641
- Completed in 2ms
1642
- Started GET "/auth/gds" for 127.0.0.1 at 2014-11-20 14:07:30 +0000
1643
- Started GET "/auth/gds/callback?code=eb88f7545bf3663156781cada159d53ffe3919c03dfd38a1dba5159e94ac975c&state=e8877195c1cfe02c19968df1d1b1c126125b58100f3d7557" for 127.0.0.1 at 2014-11-20 14:07:31 +0000
1671
+ Completed in 1ms
1672
+ Started GET "/auth/gds" for 127.0.0.1 at 2015-04-20 13:17:09 +0000
1673
+ Started GET "/auth/gds/callback?code=01ba429d840ae0ba3764b05420231aeb2d35aa3e5493f99ef227105fbdd92e00&state=14ff43c46dfa72b689e99b1999eca7c459f06345e7640598" for 127.0.0.1 at 2015-04-20 13:17:10 +0000
1644
1674
  Processing by AuthenticationsController#callback as HTML
1645
- Parameters: {"code"=>"eb88f7545bf3663156781cada159d53ffe3919c03dfd38a1dba5159e94ac975c", "state"=>"e8877195c1cfe02c19968df1d1b1c126125b58100f3d7557"}
1675
+ Parameters: {"code"=>"01ba429d840ae0ba3764b05420231aeb2d35aa3e5493f99ef227105fbdd92e00", "state"=>"14ff43c46dfa72b689e99b1999eca7c459f06345e7640598"}
1646
1676
  Authenticating with gds_sso strategy
1647
1677
  User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
1648
1678
   (0.1ms) begin transaction
1649
- SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
1650
-  (9.8ms) commit transaction
1651
-  (0.2ms) begin transaction
1652
- SQL (0.3ms) UPDATE "users" SET "remotely_signed_out" = ?, "permissions" = ? WHERE "users"."id" = 1 [["remotely_signed_out", false], ["permissions", "---\n- signin\n"]]
1653
-  (10.3ms) commit transaction
1679
+ SQL (0.3ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
1680
+  (12.0ms) commit transaction
1681
+  (0.1ms) begin transaction
1682
+ SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
1683
+  (9.2ms) commit transaction
1654
1684
  Redirected to http://www.example-client.com/restricted
1655
- Completed 302 Found in 27ms (ActiveRecord: 21.2ms)
1656
- Started GET "/restricted" for 127.0.0.1 at 2014-11-20 14:07:31 +0000
1685
+ Completed 302 Found in 29ms (ActiveRecord: 22.2ms)
1686
+ Started GET "/restricted" for 127.0.0.1 at 2015-04-20 13:17:10 +0000
1657
1687
  Processing by ExampleController#restricted as HTML
1658
- User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1
1659
- Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.4ms)
1660
- Started GET "/restricted" for 127.0.0.1 at 2014-11-20 14:07:31 +0000
1688
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1
1689
+ Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.3ms)
1690
+ User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'test@example-client.com' ORDER BY "users"."id" ASC LIMIT 1
1691
+  (0.1ms) begin transaction
1692
+ SQL (0.2ms) UPDATE "users" SET "remotely_signed_out" = ?, "permissions" = ? WHERE "users"."id" = 11 [["remotely_signed_out", true], ["permissions", "---\n- signin\n"]]
1693
+  (14.1ms) commit transaction
1694
+ Started GET "/restricted" for 127.0.0.1 at 2015-04-20 13:17:10 +0000
1661
1695
  Processing by ExampleController#restricted as HTML
1696
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1
1662
1697
  Authenticating with gds_sso strategy
1663
- Completed in 0ms
1664
- Started GET "/auth/gds" for 127.0.0.1 at 2014-11-20 14:07:31 +0000
1665
- Started GET "/auth/gds/callback?code=7a8fdd39f76adc089349fd10a65450fd96df56fe88e33cfecf7ac02064e40911&state=5dff37ef18c15fe56140c63e429878b009a9530be2f19907" for 127.0.0.1 at 2014-11-20 14:07:31 +0000
1698
+ Completed in 2ms
1699
+ Started GET "/auth/gds" for 127.0.0.1 at 2015-04-20 13:17:10 +0000
1700
+ Started GET "/auth/gds/callback?code=fefcf40d2884359e650bbb1327471d0e8bb2bca62dc22d55fb70d5e382e8f5ef&state=9c7fdfcab2ccf690cf7a0d116adb988e93d7d1086d1d443f" for 127.0.0.1 at 2015-04-20 13:17:11 +0000
1666
1701
  Processing by AuthenticationsController#callback as HTML
1667
- Parameters: {"code"=>"7a8fdd39f76adc089349fd10a65450fd96df56fe88e33cfecf7ac02064e40911", "state"=>"5dff37ef18c15fe56140c63e429878b009a9530be2f19907"}
1702
+ Parameters: {"code"=>"fefcf40d2884359e650bbb1327471d0e8bb2bca62dc22d55fb70d5e382e8f5ef", "state"=>"9c7fdfcab2ccf690cf7a0d116adb988e93d7d1086d1d443f"}
1668
1703
  Authenticating with gds_sso strategy
1669
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
1670
-  (0.1ms) begin transaction
1671
- SQL (0.3ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
1672
-  (15.6ms) commit transaction
1704
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
1673
1705
   (0.1ms) begin transaction
1674
- SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
1675
-  (18.7ms) commit transaction
1706
+ SQL (0.3ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
1707
+  (13.2ms) commit transaction
1708
+  (0.1ms) begin transaction
1709
+ SQL (0.3ms) UPDATE "users" SET "remotely_signed_out" = ?, "permissions" = ? WHERE "users"."id" = 11 [["remotely_signed_out", false], ["permissions", "---\n- signin\n"]]
1710
+  (27.3ms) commit transaction
1676
1711
  Redirected to http://www.example-client.com/restricted
1677
- Completed 302 Found in 42ms (ActiveRecord: 35.3ms)
1678
- Started GET "/restricted" for 127.0.0.1 at 2014-11-20 14:07:31 +0000
1712
+ Completed 302 Found in 48ms (ActiveRecord: 41.6ms)
1713
+ Started GET "/restricted" for 127.0.0.1 at 2015-04-20 13:17:11 +0000
1679
1714
  Processing by ExampleController#restricted as HTML
1680
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1
1715
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1
1681
1716
  Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.3ms)
1682
- Started GET "/restricted" for 127.0.0.1 at 2014-11-21 10:12:31 +0000
1717
+ Started GET "/restricted" for 127.0.0.1 at 2015-04-20 13:17:11 +0000
1683
1718
  Processing by ExampleController#restricted as HTML
1684
1719
  Authenticating with gds_sso strategy
1685
1720
  Completed in 1ms
1686
- Started GET "/auth/gds" for 127.0.0.1 at 2014-11-21 10:12:31 +0000
1687
- Started GET "/auth/gds/callback?code=5e2077304c100c807fca800faafdb9fcb916044a8556c257a01d3559d4f9fc1a&state=ce24d0805bde438da5aebcd86e2579a367d66f142e459c3b" for 127.0.0.1 at 2014-11-21 10:12:31 +0000
1721
+ Started GET "/auth/gds" for 127.0.0.1 at 2015-04-20 13:17:11 +0000
1722
+ Started GET "/auth/gds/callback?code=df750af6947eb387ac78f652ecd2af7ca886f8c5d5c746b6cd854afcfb3a4471&state=50f1931100aee30dae0ac72b35542bb54332dfdf3abcebb4" for 127.0.0.1 at 2015-04-20 13:17:12 +0000
1688
1723
  Processing by AuthenticationsController#callback as HTML
1689
- Parameters: {"code"=>"5e2077304c100c807fca800faafdb9fcb916044a8556c257a01d3559d4f9fc1a", "state"=>"ce24d0805bde438da5aebcd86e2579a367d66f142e459c3b"}
1724
+ Parameters: {"code"=>"df750af6947eb387ac78f652ecd2af7ca886f8c5d5c746b6cd854afcfb3a4471", "state"=>"50f1931100aee30dae0ac72b35542bb54332dfdf3abcebb4"}
1690
1725
  Authenticating with gds_sso strategy
1691
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
1692
-  (0.1ms) begin transaction
1693
- SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
1694
-  (10.3ms) commit transaction
1726
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
1695
1727
   (0.1ms) begin transaction
1696
- SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
1697
-  (8.4ms) commit transaction
1728
+ SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
1729
+  (17.6ms) commit transaction
1730
+  (0.1ms) begin transaction
1731
+ SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
1732
+  (44.3ms) commit transaction
1698
1733
  Redirected to http://www.example-client.com/restricted
1699
- Completed 302 Found in 25ms (ActiveRecord: 19.5ms)
1700
- Started GET "/restricted" for 127.0.0.1 at 2014-11-21 10:12:31 +0000
1734
+ Completed 302 Found in 69ms (ActiveRecord: 62.9ms)
1735
+ Started GET "/restricted" for 127.0.0.1 at 2015-04-20 13:17:12 +0000
1701
1736
  Processing by ExampleController#restricted as HTML
1702
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1
1703
- Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)
1704
- Started GET "/restricted" for 127.0.0.1 at 2014-11-20 14:07:31 +0000
1737
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1
1738
+ Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.3ms)
1739
+ Started GET "/restricted" for 127.0.0.1 at 2015-04-21 09:22:12 +0000
1705
1740
  Processing by ExampleController#restricted as HTML
1706
1741
  Authenticating with gds_sso strategy
1707
- Completed in 0ms
1708
- Started GET "/auth/gds" for 127.0.0.1 at 2014-11-20 14:07:31 +0000
1709
- Started GET "/auth/gds/callback?code=37c4183adac220ec9309ebeca57789a1677e934f635461f95ea740d22bf288be&state=04be16181858166ccaae930c95e620e33b7c5a1ef0dd769c" for 127.0.0.1 at 2014-11-20 14:07:32 +0000
1742
+ Completed in 1ms
1743
+ Started GET "/auth/gds" for 127.0.0.1 at 2015-04-21 09:22:12 +0000
1744
+ Started GET "/auth/gds/callback?code=eb5d16cbeded8bc79d71fba397e69f5768f63efec55ee1e86585b15234feb1b0&state=7bf99e2cdb44f1c386168a1e5a378277648689b2a854d637" for 127.0.0.1 at 2015-04-21 09:22:12 +0000
1710
1745
  Processing by AuthenticationsController#callback as HTML
1711
- Parameters: {"code"=>"37c4183adac220ec9309ebeca57789a1677e934f635461f95ea740d22bf288be", "state"=>"04be16181858166ccaae930c95e620e33b7c5a1ef0dd769c"}
1746
+ Parameters: {"code"=>"eb5d16cbeded8bc79d71fba397e69f5768f63efec55ee1e86585b15234feb1b0", "state"=>"7bf99e2cdb44f1c386168a1e5a378277648689b2a854d637"}
1712
1747
  Authenticating with gds_sso strategy
1713
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
1748
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
1749
+  (0.1ms) begin transaction
1750
+ SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
1751
+  (14.8ms) commit transaction
1714
1752
   (0.1ms) begin transaction
1715
- SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
1716
-  (12.5ms) commit transaction
1717
-  (0.5ms) begin transaction
1718
- SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
1719
-  (15.6ms) commit transaction
1753
+ SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
1754
+  (9.3ms) commit transaction
1720
1755
  Redirected to http://www.example-client.com/restricted
1721
- Completed 302 Found in 36ms (ActiveRecord: 29.6ms)
1722
- Started GET "/restricted" for 127.0.0.1 at 2014-11-20 14:07:32 +0000
1756
+ Completed 302 Found in 30ms (ActiveRecord: 25.0ms)
1757
+ Started GET "/restricted" for 127.0.0.1 at 2015-04-21 09:22:12 +0000
1723
1758
  Processing by ExampleController#restricted as HTML
1724
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1
1725
- Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.3ms)
1726
- Started GET "/restricted" for 127.0.0.1 at 2014-11-21 10:02:32 +0000
1759
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1
1760
+ Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.3ms)
1761
+ Started GET "/restricted" for 127.0.0.1 at 2015-04-20 13:17:12 +0000
1762
+ Processing by ExampleController#restricted as HTML
1763
+ Authenticating with gds_sso strategy
1764
+ Completed in 1ms
1765
+ Started GET "/auth/gds" for 127.0.0.1 at 2015-04-20 13:17:12 +0000
1766
+ Started GET "/auth/gds/callback?code=78f0cc5f38efac2edf828a628a840801478de5229bdaca7dc8f4cf4190791a62&state=e2ed9f17f8d18dfb53424eddd0d779bf452745ac1c8d7573" for 127.0.0.1 at 2015-04-20 13:17:13 +0000
1767
+ Processing by AuthenticationsController#callback as HTML
1768
+ Parameters: {"code"=>"78f0cc5f38efac2edf828a628a840801478de5229bdaca7dc8f4cf4190791a62", "state"=>"e2ed9f17f8d18dfb53424eddd0d779bf452745ac1c8d7573"}
1769
+ Authenticating with gds_sso strategy
1770
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
1771
+  (0.1ms) begin transaction
1772
+ SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
1773
+  (19.2ms) commit transaction
1774
+  (0.1ms) begin transaction
1775
+ SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
1776
+  (80.8ms) commit transaction
1777
+ Redirected to http://www.example-client.com/restricted
1778
+ Completed 302 Found in 107ms (ActiveRecord: 101.1ms)
1779
+ Started GET "/restricted" for 127.0.0.1 at 2015-04-20 13:17:13 +0000
1727
1780
  Processing by ExampleController#restricted as HTML
1728
1781
  User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1
1782
+ Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.3ms)
1783
+ Started GET "/restricted" for 127.0.0.1 at 2015-04-21 09:12:13 +0000
1784
+ Processing by ExampleController#restricted as HTML
1785
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1
1729
1786
  Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.3ms)
1730
- Started GET "/restricted" for 127.0.0.1 at 2014-11-20 14:07:32 +0000
1787
+ Started GET "/restricted" for 127.0.0.1 at 2015-04-20 13:17:13 +0000
1731
1788
  Processing by ExampleController#restricted as JSON
1732
- Completed in 19ms
1733
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2014-11-20 14:07:32 +0000
1789
+ Completed in 46ms
1790
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-20 13:17:14 +0000
1734
1791
  Processing by ExampleController#this_requires_signin_permission as JSON
1735
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
1736
-  (0.1ms) begin transaction
1737
- SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
1738
-  (16.9ms) commit transaction
1739
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
1740
-  (0.1ms) begin transaction
1741
- SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
1742
-  (10.2ms) commit transaction
1743
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
1744
-  (0.1ms) begin transaction
1745
- SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
1746
-  (15.0ms) commit transaction
1747
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
1748
-  (0.1ms) begin transaction
1749
- SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
1750
-  (20.7ms) commit transaction
1751
-  (0.1ms) begin transaction
1752
- SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
1753
-  (22.4ms) commit transaction
1754
- Completed 200 OK in 263ms (Views: 0.5ms | ActiveRecord: 87.8ms)
1755
- Started GET "/restricted" for 127.0.0.1 at 2014-11-20 14:07:33 +0000
1756
- Processing by ExampleController#restricted as JSON
1757
1792
  User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
1758
1793
   (0.1ms) begin transaction
1759
- SQL (0.3ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
1760
-  (13.5ms) commit transaction
1761
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
1794
+ SQL (0.3ms) UPDATE "users" SET "disabled" = ?, "permissions" = ? WHERE "users"."id" = 11 [["disabled", nil], ["permissions", "---\n- signin\n"]]
1795
+  (64.3ms) commit transaction
1796
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
1762
1797
   (0.1ms) begin transaction
1763
- SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
1764
-  (13.0ms) commit transaction
1798
+ SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
1799
+  (21.3ms) commit transaction
1765
1800
  User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
1766
1801
   (0.1ms) begin transaction
1767
- SQL (0.3ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
1768
-  (17.3ms) commit transaction
1802
+ SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
1803
+  (63.3ms) commit transaction
1769
1804
  User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
1770
1805
   (0.1ms) begin transaction
1771
- SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
1772
-  (7.7ms) commit transaction
1806
+ SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
1807
+  (11.5ms) commit transaction
1773
1808
   (0.1ms) begin transaction
1774
- SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
1775
-  (15.3ms) commit transaction
1776
- Completed 200 OK in 224ms (Views: 0.5ms | ActiveRecord: 69.6ms)
1777
- Started GET "/restricted" for 127.0.0.1 at 2014-11-20 14:07:33 +0000
1809
+ SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
1810
+  (11.5ms) commit transaction
1811
+ Completed 200 OK in 367ms (Views: 0.4ms | ActiveRecord: 174.9ms)
1812
+ Started GET "/restricted" for 127.0.0.1 at 2015-04-20 13:17:15 +0000
1778
1813
  Processing by ExampleController#restricted as JSON
1779
- Completed in 19ms
1780
-  (0.2ms) begin transaction
1781
- SQL (0.4ms) INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["uid", "a1s2d31828"]]
1782
-  (10.3ms) commit transaction
1783
-  (0.1ms) begin transaction
1784
- SQL (0.2ms) INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"], ["uid", "a1s2d36386"]]
1785
-  (12.8ms) commit transaction
1786
- Processing by Api::UserController#update as HTML
1787
- Parameters: {"uid"=>"a1s2d31828"}
1788
- Completed 403 Forbidden in 4ms (Views: 3.3ms | ActiveRecord: 0.0ms)
1789
-  (0.1ms) begin transaction
1790
- SQL (0.3ms) INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["uid", "a1s2d32836"]]
1791
-  (17.2ms) commit transaction
1814
+ Completed in 38ms
1815
+ Started GET "/restricted" for 127.0.0.1 at 2015-04-20 13:17:15 +0000
1816
+ Processing by ExampleController#restricted as JSON
1817
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
1792
1818
   (0.1ms) begin transaction
1793
- SQL (0.2ms) INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"], ["uid", "a1s2d39200"]]
1794
-  (15.8ms) commit transaction
1795
- Processing by Api::UserController#update as HTML
1796
- Parameters: {"uid"=>"a1s2d32836"}
1797
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d32836' ORDER BY "users"."id" ASC LIMIT 1
1819
+ SQL (0.3ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
1820
+  (17.5ms) commit transaction
1821
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
1798
1822
   (0.1ms) begin transaction
1799
- SQL (0.3ms) UPDATE "users" SET "email" = ?, "name" = ?, "permissions" = ?, "organisation_slug" = ? WHERE "users"."id" = 4 [["email", "user@domain.com"], ["name", "Joshua Marshall"], ["permissions", "---\n- signin\n- new permission\n"], ["organisation_slug", "justice-league"]]
1800
-  (14.4ms) commit transaction
1801
- Completed 200 OK in 19ms (ActiveRecord: 15.1ms)
1802
- User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]]
1823
+ SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
1824
+  (10.3ms) commit transaction
1825
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
1803
1826
   (0.1ms) begin transaction
1804
- SQL (0.2ms) INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["uid", "a1s2d36788"]]
1805
-  (10.8ms) commit transaction
1806
-  (0.1ms) begin transaction
1807
- SQL (0.2ms) INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"], ["uid", "a1s2d37304"]]
1808
-  (8.3ms) commit transaction
1809
- Processing by Api::UserController#reauth as HTML
1810
- Parameters: {"uid"=>"a1s2d36788"}
1811
- Completed 403 Forbidden in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)
1827
+ SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
1828
+  (12.0ms) commit transaction
1829
+ User Load (0.7ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
1812
1830
   (0.1ms) begin transaction
1813
- SQL (0.3ms) INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["uid", "a1s2d38294"]]
1814
-  (11.1ms) commit transaction
1815
-  (0.1ms) begin transaction
1816
- SQL (0.2ms) INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"], ["uid", "a1s2d32070"]]
1817
-  (18.9ms) commit transaction
1818
- Processing by Api::UserController#reauth as HTML
1819
- Parameters: {"uid"=>"nonexistent-user"}
1820
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'nonexistent-user' ORDER BY "users"."id" ASC LIMIT 1
1821
- Completed 200 OK in 1ms (ActiveRecord: 0.3ms)
1831
+ SQL (0.3ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
1832
+  (47.1ms) commit transaction
1822
1833
   (0.1ms) begin transaction
1823
- SQL (0.4ms) INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["uid", "a1s2d34010"]]
1824
-  (19.1ms) commit transaction
1825
-  (0.1ms) begin transaction
1826
- SQL (1.0ms) INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"], ["uid", "a1s2d38133"]]
1827
-  (11.3ms) commit transaction
1828
- Processing by Api::UserController#reauth as HTML
1829
- Parameters: {"uid"=>"a1s2d34010"}
1830
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d34010' ORDER BY "users"."id" ASC LIMIT 1
1831
-  (0.1ms) begin transaction
1832
- SQL (0.2ms) UPDATE "users" SET "remotely_signed_out" = ?, "permissions" = ? WHERE "users"."id" = 10 [["remotely_signed_out", true], ["permissions", "---\n- signin\n"]]
1833
-  (14.7ms) commit transaction
1834
- Completed 200 OK in 18ms (ActiveRecord: 15.3ms)
1835
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 10]]
1834
+ SQL (0.5ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
1835
+  (65.6ms) commit transaction
1836
+ Completed 200 OK in 366ms (Views: 0.5ms | ActiveRecord: 156.3ms)
1836
1837
   (0.1ms) begin transaction
1837
- SQL (0.3ms) INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["uid", "a1s2d37578"]]
1838
-  (19.5ms) commit transaction
1838
+ SQL (0.4ms) INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["uid", "a1s2d35315"]]
1839
+  (20.7ms) commit transaction
1839
1840
   (0.1ms) begin transaction
1840
- SQL (0.2ms) INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"], ["uid", "a1s2d32975"]]
1841
-  (17.3ms) commit transaction
1841
+ SQL (0.4ms) INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"], ["uid", "a1s2d3120"]]
1842
+  (16.8ms) commit transaction
1842
1843
  Processing by Api::UserController#update as HTML
1843
- Parameters: {"uid"=>"a1s2d37578"}
1844
+ Parameters: {"uid"=>"a1s2d35315"}
1844
1845
  Rendered /home/jenkins/workspace/govuk_gds_sso/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.4ms)
1845
- Completed 403 Forbidden in 7ms (Views: 6.5ms | ActiveRecord: 0.0ms)
1846
+ Completed 403 Forbidden in 8ms (Views: 7.8ms | ActiveRecord: 0.0ms)
1846
1847
   (0.1ms) begin transaction
1847
- SQL (0.2ms) INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["uid", "a1s2d31040"]]
1848
-  (20.0ms) commit transaction
1848
+ SQL (0.2ms) INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["uid", "a1s2d37143"]]
1849
+  (15.7ms) commit transaction
1849
1850
   (0.1ms) begin transaction
1850
- SQL (0.2ms) INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"], ["uid", "a1s2d38717"]]
1851
-  (9.9ms) commit transaction
1851
+ SQL (0.2ms) INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"], ["uid", "a1s2d38754"]]
1852
+  (18.4ms) commit transaction
1852
1853
  Processing by Api::UserController#update as HTML
1853
- Parameters: {"uid"=>"a1s2d31040"}
1854
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d31040' ORDER BY "users"."id" ASC LIMIT 1
1854
+ Parameters: {"uid"=>"a1s2d37143"}
1855
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d37143' ORDER BY "users"."id" ASC LIMIT 1
1855
1856
   (0.1ms) begin transaction
1856
- SQL (0.3ms) UPDATE "users" SET "email" = ?, "name" = ?, "organisation_slug" = ?, "permissions" = ? WHERE "users"."id" = 3 [["email", "user@domain.com"], ["name", "Joshua Marshall"], ["organisation_slug", "justice-league"], ["permissions", "---\n- signin\n- new permission\n"]]
1857
-  (9.2ms) commit transaction
1858
- Completed 200 OK in 19ms (ActiveRecord: 9.8ms)
1859
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
1857
+ SQL (0.4ms) UPDATE "users" SET "email" = ?, "name" = ?, "organisation_slug" = ?, "permissions" = ? WHERE "users"."id" = 3 [["email", "user@domain.com"], ["name", "Joshua Marshall"], ["organisation_slug", "justice-league"], ["permissions", "---\n- signin\n- new permission\n"]]
1858
+  (17.3ms) commit transaction
1859
+ Completed 200 OK in 33ms (ActiveRecord: 18.1ms)
1860
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
1860
1861
   (0.1ms) begin transaction
1861
- SQL (0.2ms) INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["uid", "a1s2d3195"]]
1862
-  (11.3ms) commit transaction
1862
+ SQL (0.3ms) INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["uid", "a1s2d3357"]]
1863
+  (13.8ms) commit transaction
1863
1864
   (0.1ms) begin transaction
1864
- SQL (0.2ms) INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"], ["uid", "a1s2d31911"]]
1865
-  (6.3ms) commit transaction
1865
+ SQL (0.2ms) INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"], ["uid", "a1s2d3290"]]
1866
+  (24.7ms) commit transaction
1866
1867
  Processing by Api::UserController#reauth as HTML
1867
- Parameters: {"uid"=>"a1s2d3195"}
1868
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d3195' ORDER BY "users"."id" ASC LIMIT 1
1869
-  (0.1ms) begin transaction
1870
- SQL (0.2ms) UPDATE "users" SET "permissions" = ?, "remotely_signed_out" = ? WHERE "users"."id" = 5 [["permissions", "---\n- signin\n"], ["remotely_signed_out", "t"]]
1871
-  (9.1ms) commit transaction
1872
- Completed 200 OK in 12ms (ActiveRecord: 9.6ms)
1873
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]]
1874
-  (0.1ms) begin transaction
1875
- SQL (0.2ms) INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["uid", "a1s2d31459"]]
1876
-  (10.0ms) commit transaction
1868
+ Parameters: {"uid"=>"a1s2d3357"}
1869
+ Completed 403 Forbidden in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)
1877
1870
   (0.1ms) begin transaction
1878
- SQL (0.2ms) INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"], ["uid", "a1s2d31695"]]
1879
-  (9.7ms) commit transaction
1871
+ SQL (0.2ms) INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["uid", "a1s2d37787"]]
1872
+  (14.5ms) commit transaction
1873
+  (0.1ms) begin transaction
1874
+ SQL (0.2ms) INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"], ["uid", "a1s2d32170"]]
1875
+  (18.5ms) commit transaction
1880
1876
  Processing by Api::UserController#reauth as HTML
1881
1877
  Parameters: {"uid"=>"nonexistent-user"}
1882
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'nonexistent-user' ORDER BY "users"."id" ASC LIMIT 1
1878
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'nonexistent-user' ORDER BY "users"."id" ASC LIMIT 1
1883
1879
  Completed 200 OK in 1ms (ActiveRecord: 0.2ms)
1880
+  (0.2ms) begin transaction
1881
+ SQL (0.2ms) INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["uid", "a1s2d32493"]]
1882
+  (14.7ms) commit transaction
1884
1883
   (0.1ms) begin transaction
1885
- SQL (0.2ms) INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["uid", "a1s2d33502"]]
1886
-  (11.8ms) commit transaction
1887
-  (0.1ms) begin transaction
1888
- SQL (0.2ms) INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"], ["uid", "a1s2d39496"]]
1889
-  (12.2ms) commit transaction
1884
+ SQL (0.2ms) INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"], ["uid", "a1s2d31677"]]
1885
+  (11.7ms) commit transaction
1890
1886
  Processing by Api::UserController#reauth as HTML
1891
- Parameters: {"uid"=>"a1s2d33502"}
1892
- Completed 403 Forbidden in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)
1893
- Started GET "/restricted" for 127.0.0.1 at 2014-11-20 14:07:51 +0000
1894
- Processing by ExampleController#restricted as HTML
1887
+ Parameters: {"uid"=>"a1s2d32493"}
1888
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d32493' ORDER BY "users"."id" ASC LIMIT 1
1889
+  (0.1ms) begin transaction
1890
+ SQL (0.2ms) UPDATE "users" SET "permissions" = ?, "remotely_signed_out" = ? WHERE "users"."id" = 9 [["permissions", "---\n- signin\n"], ["remotely_signed_out", "t"]]
1891
+  (17.1ms) commit transaction
1892
+ Completed 200 OK in 20ms (ActiveRecord: 17.6ms)
1893
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 9]]
1894
+ Started GET "/" for 127.0.0.1 at 2015-04-20 13:17:34 +0000
1895
+ Processing by ExampleController#index as HTML
1896
+ Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)
1897
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-20 13:17:34 +0000
1898
+ Processing by ExampleController#this_requires_signin_permission as HTML
1895
1899
  Authenticating with gds_sso strategy
1896
- Completed in 14ms
1897
- Started GET "/auth/gds" for 127.0.0.1 at 2014-11-20 14:07:51 +0000
1898
- Started GET "/auth/gds/callback?code=ccd4400a2bbc3e4880da5994cd25551e5261c01cdc2735e0055a75336c525d86&state=6eaaf88e7aa54ab44ed37f277c1d37872ba916d4e0a20b1b" for 127.0.0.1 at 2014-11-20 14:07:52 +0000
1900
+ Completed in 16ms
1901
+ Started GET "/auth/gds" for 127.0.0.1 at 2015-04-20 13:17:34 +0000
1902
+ Started GET "/auth/gds/callback?code=c78b791c2e2cc0bb80e7a310deb2ad16c321d69259997716b9d74aec45777b84&state=585956d400aba3e9b19b26821026115f23b429ab02859605" for 127.0.0.1 at 2015-04-20 13:17:34 +0000
1899
1903
  Processing by AuthenticationsController#callback as HTML
1900
- Parameters: {"code"=>"ccd4400a2bbc3e4880da5994cd25551e5261c01cdc2735e0055a75336c525d86", "state"=>"6eaaf88e7aa54ab44ed37f277c1d37872ba916d4e0a20b1b"}
1904
+ Parameters: {"code"=>"c78b791c2e2cc0bb80e7a310deb2ad16c321d69259997716b9d74aec45777b84", "state"=>"585956d400aba3e9b19b26821026115f23b429ab02859605"}
1901
1905
  Authenticating with gds_sso strategy
1902
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
1903
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'test@example-client.com' ORDER BY "users"."id" ASC LIMIT 1
1906
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
1907
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'test@example-client.com' ORDER BY "users"."id" ASC LIMIT 1
1904
1908
   (0.1ms) begin transaction
1905
- SQL (0.3ms) INSERT INTO "users" ("disabled", "email", "name", "permissions", "uid") VALUES (?, ?, ?, ?, ?) [["disabled", nil], ["email", "test@example-client.com"], ["name", "Test User"], ["permissions", "---\n- signin\n"], ["uid", "integration-uid"]]
1909
+ SQL (0.2ms) INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "test@example-client.com"], ["name", "Test User"], ["permissions", "---\n- signin\n"], ["uid", "integration-uid"]]
1906
1910
   (11.9ms) commit transaction
1907
1911
   (0.1ms) begin transaction
1908
1912
  SQL (0.3ms) UPDATE "users" SET "permissions" = ?, "remotely_signed_out" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"], ["remotely_signed_out", "f"]]
1909
-  (11.9ms) commit transaction
1910
- Redirected to http://www.example-client.com/restricted
1911
- Completed 302 Found in 31ms (ActiveRecord: 24.9ms)
1912
- Started GET "/restricted" for 127.0.0.1 at 2014-11-20 14:07:52 +0000
1913
- Processing by ExampleController#restricted as HTML
1914
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1
1915
- Completed 200 OK in 3ms (Views: 1.6ms | ActiveRecord: 0.3ms)
1916
- Started GET "/restricted" for 127.0.0.1 at 2014-11-20 14:07:52 +0000
1917
- Processing by ExampleController#restricted as HTML
1913
+  (9.7ms) commit transaction
1914
+ Redirected to http://www.example-client.com/this_requires_signin_permission
1915
+ Completed 302 Found in 29ms (ActiveRecord: 22.6ms)
1916
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-20 13:17:35 +0000
1917
+ Processing by ExampleController#this_requires_signin_permission as HTML
1918
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1
1919
+ Completed 200 OK in 4ms (Views: 0.4ms | ActiveRecord: 0.2ms)
1920
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-20 13:17:35 +0000
1921
+ Processing by ExampleController#this_requires_signin_permission as HTML
1918
1922
  Authenticating with gds_sso strategy
1919
1923
  Completed in 0ms
1920
- Started GET "/auth/gds" for 127.0.0.1 at 2014-11-20 14:07:52 +0000
1921
- Started GET "/auth/gds/callback?code=03d6ed901024efcc2458a1a2d21118e929f10cf655ba8e32ca62484d10812e8e&state=d422aa82d17f0c1a9f818b30ca3f0c3a059e2e7826031920" for 127.0.0.1 at 2014-11-20 14:07:52 +0000
1924
+ Started GET "/auth/gds" for 127.0.0.1 at 2015-04-20 13:17:35 +0000
1925
+ Started GET "/auth/gds/callback?code=22684b2ff9f453c1656e4e0c4a2c49432ce5e71bc4ddccb2b8b68d87e615451f&state=6f8f659a925033f390a789830cc441de69756f2333b36f1b" for 127.0.0.1 at 2015-04-20 13:17:35 +0000
1922
1926
  Processing by AuthenticationsController#callback as HTML
1923
- Parameters: {"code"=>"03d6ed901024efcc2458a1a2d21118e929f10cf655ba8e32ca62484d10812e8e", "state"=>"d422aa82d17f0c1a9f818b30ca3f0c3a059e2e7826031920"}
1927
+ Parameters: {"code"=>"22684b2ff9f453c1656e4e0c4a2c49432ce5e71bc4ddccb2b8b68d87e615451f", "state"=>"6f8f659a925033f390a789830cc441de69756f2333b36f1b"}
1924
1928
  Authenticating with gds_sso strategy
1925
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
1929
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
1926
1930
   (0.1ms) begin transaction
1927
1931
  SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
1928
-  (19.8ms) commit transaction
1932
+  (11.5ms) commit transaction
1929
1933
   (0.1ms) begin transaction
1930
1934
  SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
1931
-  (34.2ms) commit transaction
1932
- Redirected to http://www.example-client.com/restricted
1933
- Completed 302 Found in 61ms (ActiveRecord: 54.9ms)
1934
- Started GET "/restricted" for 127.0.0.1 at 2014-11-20 14:07:52 +0000
1935
- Processing by ExampleController#restricted as HTML
1935
+  (11.2ms) commit transaction
1936
+ Redirected to http://www.example-client.com/this_requires_signin_permission
1937
+ Completed 302 Found in 29ms (ActiveRecord: 23.6ms)
1938
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-20 13:17:35 +0000
1939
+ Processing by ExampleController#this_requires_signin_permission as HTML
1936
1940
  User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1
1937
1941
  Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.3ms)
1938
- Started GET "/restricted" for 127.0.0.1 at 2014-11-20 14:07:53 +0000
1942
+ Started GET "/restricted" for 127.0.0.1 at 2015-04-20 13:17:35 +0000
1939
1943
  Processing by ExampleController#restricted as HTML
1940
1944
  Authenticating with gds_sso strategy
1941
1945
  Completed in 1ms
1942
- Started GET "/auth/gds" for 127.0.0.1 at 2014-11-20 14:07:53 +0000
1943
- Started GET "/auth/gds/callback?code=09ea288e168f5fd1d0cc1bbf45c82a75d74a0c1a6cd3c7a6872d69645d90b3dc&state=09f4e00ba2b4673c925dbbe888eab3b9bacb7df3a46404f5" for 127.0.0.1 at 2014-11-20 14:07:53 +0000
1946
+ Started GET "/auth/gds" for 127.0.0.1 at 2015-04-20 13:17:35 +0000
1947
+ Started GET "/auth/gds/callback?code=3d49049ed50c41f9e5fc4750381d62be46b6ea7828db7f1344a00d70f3ada9df&state=f3555385fc9cf219d081ecd1da3a3b8c7e37c435243388ab" for 127.0.0.1 at 2015-04-20 13:17:36 +0000
1944
1948
  Processing by AuthenticationsController#callback as HTML
1945
- Parameters: {"code"=>"09ea288e168f5fd1d0cc1bbf45c82a75d74a0c1a6cd3c7a6872d69645d90b3dc", "state"=>"09f4e00ba2b4673c925dbbe888eab3b9bacb7df3a46404f5"}
1949
+ Parameters: {"code"=>"3d49049ed50c41f9e5fc4750381d62be46b6ea7828db7f1344a00d70f3ada9df", "state"=>"f3555385fc9cf219d081ecd1da3a3b8c7e37c435243388ab"}
1946
1950
  Authenticating with gds_sso strategy
1947
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
1948
-  (0.1ms) begin transaction
1949
- SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
1950
-  (21.1ms) commit transaction
1951
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
1952
+  (0.2ms) begin transaction
1953
+ SQL (0.3ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
1954
+  (25.3ms) commit transaction
1951
1955
   (0.1ms) begin transaction
1952
- SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
1953
-  (14.4ms) commit transaction
1956
+ SQL (0.3ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
1957
+  (18.4ms) commit transaction
1954
1958
  Redirected to http://www.example-client.com/restricted
1955
- Completed 302 Found in 42ms (ActiveRecord: 36.3ms)
1956
- Started GET "/restricted" for 127.0.0.1 at 2014-11-20 14:07:53 +0000
1959
+ Completed 302 Found in 54ms (ActiveRecord: 45.0ms)
1960
+ Started GET "/restricted" for 127.0.0.1 at 2015-04-20 13:17:36 +0000
1957
1961
  Processing by ExampleController#restricted as HTML
1958
1962
  User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1
1959
- Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.3ms)
1960
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2014-11-20 14:07:53 +0000
1961
- Processing by ExampleController#this_requires_signin_permission as HTML
1963
+ Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.3ms)
1964
+ Started GET "/restricted" for 127.0.0.1 at 2015-04-20 13:17:36 +0000
1965
+ Processing by ExampleController#restricted as HTML
1962
1966
  Authenticating with gds_sso strategy
1963
1967
  Completed in 1ms
1964
- Started GET "/auth/gds" for 127.0.0.1 at 2014-11-20 14:07:53 +0000
1965
- Started GET "/auth/gds/callback?code=cf934e9bd2724f6b803444b5afab991951c917d1ddefb2fcb70541f94346be20&state=3528480cdfcf5e34c935a9d6bc0df9f6b4c5a4fae90a7c20" for 127.0.0.1 at 2014-11-20 14:07:54 +0000
1968
+ Started GET "/auth/gds" for 127.0.0.1 at 2015-04-20 13:17:36 +0000
1969
+ Started GET "/auth/gds/callback?code=c57743fcb6c233a520f13b00f2b0e5e0d342e9d805939710f3c56adad0c56119&state=57dc5403eb0d6103107061e9afd80e9711fb3814e1fcaf2d" for 127.0.0.1 at 2015-04-20 13:17:36 +0000
1966
1970
  Processing by AuthenticationsController#callback as HTML
1967
- Parameters: {"code"=>"cf934e9bd2724f6b803444b5afab991951c917d1ddefb2fcb70541f94346be20", "state"=>"3528480cdfcf5e34c935a9d6bc0df9f6b4c5a4fae90a7c20"}
1971
+ Parameters: {"code"=>"c57743fcb6c233a520f13b00f2b0e5e0d342e9d805939710f3c56adad0c56119", "state"=>"57dc5403eb0d6103107061e9afd80e9711fb3814e1fcaf2d"}
1968
1972
  Authenticating with gds_sso strategy
1969
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
1973
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
1970
1974
   (0.1ms) begin transaction
1971
- SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
1972
-  (16.3ms) commit transaction
1975
+ SQL (0.3ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
1976
+  (113.3ms) commit transaction
1973
1977
   (0.1ms) begin transaction
1974
1978
  SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
1975
-  (45.9ms) commit transaction
1976
- Redirected to http://www.example-client.com/this_requires_signin_permission
1977
- Completed 302 Found in 69ms (ActiveRecord: 63.1ms)
1978
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2014-11-20 14:07:54 +0000
1979
- Processing by ExampleController#this_requires_signin_permission as HTML
1979
+  (52.6ms) commit transaction
1980
+ Redirected to http://www.example-client.com/restricted
1981
+ Completed 302 Found in 175ms (ActiveRecord: 167.0ms)
1982
+ Started GET "/restricted" for 127.0.0.1 at 2015-04-20 13:17:37 +0000
1983
+ Processing by ExampleController#restricted as HTML
1980
1984
  User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1
1981
- Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.3ms)
1982
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2014-11-20 14:07:54 +0000
1983
- Processing by ExampleController#this_requires_signin_permission as HTML
1985
+ Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.3ms)
1986
+ Started GET "/restricted" for 127.0.0.1 at 2015-04-20 13:17:37 +0000
1987
+ Processing by ExampleController#restricted as HTML
1984
1988
  Authenticating with gds_sso strategy
1985
1989
  Completed in 0ms
1986
- Started GET "/auth/gds" for 127.0.0.1 at 2014-11-20 14:07:54 +0000
1987
- Started GET "/auth/gds/callback?code=cf26db0d32dfaf35fedb10869401749701f3955674f615799491ce397e82f57a&state=e6561b427911f0f1a988cd30b48d7475d65243c99ad587f0" for 127.0.0.1 at 2014-11-20 14:07:54 +0000
1990
+ Started GET "/auth/gds" for 127.0.0.1 at 2015-04-20 13:17:37 +0000
1991
+ Started GET "/auth/gds/callback?code=c209b6f387f957fbdae1d557bc5d0cf4c8681f8f7c25da5a9e367d894a791c5c&state=aa96d13ac3a016f37fb3adf27c681c12effd4da22e659e87" for 127.0.0.1 at 2015-04-20 13:17:37 +0000
1988
1992
  Processing by AuthenticationsController#callback as HTML
1989
- Parameters: {"code"=>"cf26db0d32dfaf35fedb10869401749701f3955674f615799491ce397e82f57a", "state"=>"e6561b427911f0f1a988cd30b48d7475d65243c99ad587f0"}
1993
+ Parameters: {"code"=>"c209b6f387f957fbdae1d557bc5d0cf4c8681f8f7c25da5a9e367d894a791c5c", "state"=>"aa96d13ac3a016f37fb3adf27c681c12effd4da22e659e87"}
1990
1994
  Authenticating with gds_sso strategy
1991
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
1992
-  (0.1ms) begin transaction
1993
- SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
1994
-  (10.0ms) commit transaction
1995
+ User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
1996
+  (0.2ms) begin transaction
1997
+ SQL (0.3ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
1998
+  (18.0ms) commit transaction
1995
1999
   (0.1ms) begin transaction
1996
- SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
1997
-  (11.1ms) commit transaction
1998
- Redirected to http://www.example-client.com/this_requires_signin_permission
1999
- Completed 302 Found in 27ms (ActiveRecord: 22.0ms)
2000
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2014-11-20 14:07:54 +0000
2001
- Processing by ExampleController#this_requires_signin_permission as HTML
2002
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1
2003
- Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.3ms)
2004
- Started GET "/" for 127.0.0.1 at 2014-11-20 14:07:54 +0000
2005
- Processing by ExampleController#index as HTML
2006
- Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
2007
- Started GET "/restricted" for 127.0.0.1 at 2014-11-20 14:07:55 +0000
2000
+ SQL (0.3ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
2001
+  (15.4ms) commit transaction
2002
+ Redirected to http://www.example-client.com/restricted
2003
+ Completed 302 Found in 42ms (ActiveRecord: 34.7ms)
2004
+ Started GET "/restricted" for 127.0.0.1 at 2015-04-20 13:17:37 +0000
2005
+ Processing by ExampleController#restricted as HTML
2006
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1
2007
+ Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.4ms)
2008
+ Started GET "/restricted" for 127.0.0.1 at 2015-04-20 13:17:38 +0000
2008
2009
  Processing by ExampleController#restricted as HTML
2009
2010
  Authenticating with gds_sso strategy
2010
2011
  Completed in 1ms
2011
- Started GET "/auth/gds" for 127.0.0.1 at 2014-11-20 14:07:55 +0000
2012
- Started GET "/auth/gds/callback?code=eb1eef25ac1309d9c5925b89b068611a6ae89b3a58604f2f734c0d5cea96c349&state=0b52ffd6626b1e1de835f7c292443580eb8aeb2cac739cfd" for 127.0.0.1 at 2014-11-20 14:07:55 +0000
2012
+ Started GET "/auth/gds" for 127.0.0.1 at 2015-04-20 13:17:38 +0000
2013
+ Started GET "/auth/gds/callback?code=fd8487fbe981c38278419d9e70f0b4d44d5f56d1dfd8be19f5c2b6438cb1406b&state=c6e27149372e50460d2410077d2337b039f89e0f2bef05fb" for 127.0.0.1 at 2015-04-20 13:17:38 +0000
2013
2014
  Processing by AuthenticationsController#callback as HTML
2014
- Parameters: {"code"=>"eb1eef25ac1309d9c5925b89b068611a6ae89b3a58604f2f734c0d5cea96c349", "state"=>"0b52ffd6626b1e1de835f7c292443580eb8aeb2cac739cfd"}
2015
+ Parameters: {"code"=>"fd8487fbe981c38278419d9e70f0b4d44d5f56d1dfd8be19f5c2b6438cb1406b", "state"=>"c6e27149372e50460d2410077d2337b039f89e0f2bef05fb"}
2015
2016
  Authenticating with gds_sso strategy
2016
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
2017
+ User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
2017
2018
   (0.1ms) begin transaction
2018
- SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
2019
-  (36.4ms) commit transaction
2019
+ SQL (0.4ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
2020
+  (17.0ms) commit transaction
2020
2021
   (0.1ms) begin transaction
2021
- SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
2022
-  (31.0ms) commit transaction
2022
+ SQL (0.3ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
2023
+  (15.5ms) commit transaction
2023
2024
  Redirected to http://www.example-client.com/restricted
2024
- Completed 302 Found in 74ms (ActiveRecord: 68.3ms)
2025
- Started GET "/restricted" for 127.0.0.1 at 2014-11-20 14:07:55 +0000
2025
+ Completed 302 Found in 43ms (ActiveRecord: 34.0ms)
2026
+ Started GET "/restricted" for 127.0.0.1 at 2015-04-20 13:17:38 +0000
2026
2027
  Processing by ExampleController#restricted as HTML
2027
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1
2028
- Completed 200 OK in 51ms (Views: 0.4ms | ActiveRecord: 0.3ms)
2029
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'test@example-client.com' ORDER BY "users"."id" ASC LIMIT 1
2028
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1
2029
+ Completed 200 OK in 4ms (Views: 0.7ms | ActiveRecord: 0.4ms)
2030
+ User Load (1.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'test@example-client.com' ORDER BY "users"."id" ASC LIMIT 1
2030
2031
   (0.1ms) begin transaction
2031
- SQL (0.2ms) UPDATE "users" SET "permissions" = ?, "remotely_signed_out" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"], ["remotely_signed_out", "t"]]
2032
-  (25.5ms) commit transaction
2033
- Started GET "/restricted" for 127.0.0.1 at 2014-11-20 14:07:55 +0000
2032
+ SQL (0.3ms) UPDATE "users" SET "permissions" = ?, "remotely_signed_out" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"], ["remotely_signed_out", "t"]]
2033
+  (24.2ms) commit transaction
2034
+ Started GET "/restricted" for 127.0.0.1 at 2015-04-20 13:17:38 +0000
2034
2035
  Processing by ExampleController#restricted as HTML
2035
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1
2036
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1
2036
2037
  Authenticating with gds_sso strategy
2037
- Completed in 2ms
2038
- Started GET "/auth/gds" for 127.0.0.1 at 2014-11-20 14:07:55 +0000
2039
- Started GET "/auth/gds/callback?code=48c1a343ac82ab1bd2d27639399013ff63a000306eb97b60d93f465c1049a87f&state=b56e53f84a2d6e10e7f9ae67ec099c0bba289ca58561e102" for 127.0.0.1 at 2014-11-20 14:07:56 +0000
2038
+ Completed in 3ms
2039
+ Started GET "/auth/gds" for 127.0.0.1 at 2015-04-20 13:17:38 +0000
2040
+ Started GET "/auth/gds/callback?code=0c01ce89432a86065f7cc539396e55009f5c080e8cece43d6ec5e91a4e467169&state=9396b6a4299d6da6711adb710115c7089422e28a093a338b" for 127.0.0.1 at 2015-04-20 13:17:39 +0000
2040
2041
  Processing by AuthenticationsController#callback as HTML
2041
- Parameters: {"code"=>"48c1a343ac82ab1bd2d27639399013ff63a000306eb97b60d93f465c1049a87f", "state"=>"b56e53f84a2d6e10e7f9ae67ec099c0bba289ca58561e102"}
2042
+ Parameters: {"code"=>"0c01ce89432a86065f7cc539396e55009f5c080e8cece43d6ec5e91a4e467169", "state"=>"9396b6a4299d6da6711adb710115c7089422e28a093a338b"}
2042
2043
  Authenticating with gds_sso strategy
2043
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
2044
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
2044
2045
   (0.1ms) begin transaction
2045
- SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
2046
-  (16.6ms) commit transaction
2046
+ SQL (0.3ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
2047
+  (22.3ms) commit transaction
2047
2048
   (0.1ms) begin transaction
2048
2049
  SQL (0.2ms) UPDATE "users" SET "permissions" = ?, "remotely_signed_out" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"], ["remotely_signed_out", "f"]]
2049
-  (29.3ms) commit transaction
2050
+  (19.9ms) commit transaction
2050
2051
  Redirected to http://www.example-client.com/restricted
2051
- Completed 302 Found in 52ms (ActiveRecord: 46.8ms)
2052
- Started GET "/restricted" for 127.0.0.1 at 2014-11-20 14:07:56 +0000
2052
+ Completed 302 Found in 49ms (ActiveRecord: 43.3ms)
2053
+ Started GET "/restricted" for 127.0.0.1 at 2015-04-20 13:17:39 +0000
2053
2054
  Processing by ExampleController#restricted as HTML
2054
2055
  User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1
2055
2056
  Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.3ms)
2056
- Started GET "/restricted" for 127.0.0.1 at 2014-11-20 14:07:56 +0000
2057
+ Started GET "/restricted" for 127.0.0.1 at 2015-04-20 13:17:39 +0000
2057
2058
  Processing by ExampleController#restricted as HTML
2058
2059
  Authenticating with gds_sso strategy
2059
2060
  Completed in 1ms
2060
- Started GET "/auth/gds" for 127.0.0.1 at 2014-11-20 14:07:56 +0000
2061
- Started GET "/auth/gds/callback?code=bea934edf9abe54e487a0a93109b07b2d00aa593df40bbb79dbadb91eff2c329&state=4a92f88e0f55352208fbb0122f793ac9755024daaa3afcb5" for 127.0.0.1 at 2014-11-20 14:07:56 +0000
2061
+ Started GET "/auth/gds" for 127.0.0.1 at 2015-04-20 13:17:39 +0000
2062
+ Started GET "/auth/gds/callback?code=4c05dc816330a8040c8d021649487f7441d91c21dfba6768f579ff5b60ba9c64&state=d92ef30c7dae97239a0534e6a0842ce294a642c8f93a32fe" for 127.0.0.1 at 2015-04-20 13:17:39 +0000
2062
2063
  Processing by AuthenticationsController#callback as HTML
2063
- Parameters: {"code"=>"bea934edf9abe54e487a0a93109b07b2d00aa593df40bbb79dbadb91eff2c329", "state"=>"4a92f88e0f55352208fbb0122f793ac9755024daaa3afcb5"}
2064
+ Parameters: {"code"=>"4c05dc816330a8040c8d021649487f7441d91c21dfba6768f579ff5b60ba9c64", "state"=>"d92ef30c7dae97239a0534e6a0842ce294a642c8f93a32fe"}
2064
2065
  Authenticating with gds_sso strategy
2065
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
2066
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
2066
2067
   (0.1ms) begin transaction
2067
- SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
2068
-  (8.5ms) commit transaction
2068
+ SQL (0.4ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
2069
+  (21.4ms) commit transaction
2069
2070
   (0.1ms) begin transaction
2070
2071
  SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
2071
-  (16.4ms) commit transaction
2072
+  (13.3ms) commit transaction
2072
2073
  Redirected to http://www.example-client.com/restricted
2073
- Completed 302 Found in 31ms (ActiveRecord: 25.7ms)
2074
- Started GET "/restricted" for 127.0.0.1 at 2014-11-20 14:07:56 +0000
2074
+ Completed 302 Found in 43ms (ActiveRecord: 35.9ms)
2075
+ Started GET "/restricted" for 127.0.0.1 at 2015-04-20 13:17:40 +0000
2075
2076
  Processing by ExampleController#restricted as HTML
2076
2077
  User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1
2077
2078
  Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.3ms)
2078
- Started GET "/restricted" for 127.0.0.1 at 2014-11-21 10:12:56 +0000
2079
+ Started GET "/restricted" for 127.0.0.1 at 2015-04-21 09:22:40 +0000
2079
2080
  Processing by ExampleController#restricted as HTML
2080
2081
  Authenticating with gds_sso strategy
2081
2082
  Completed in 1ms
2082
- Started GET "/auth/gds" for 127.0.0.1 at 2014-11-21 10:12:56 +0000
2083
- Started GET "/auth/gds/callback?code=f9daddfd3e553e181580faa1363987ae932c31d099d1581207dc3df20999d0bc&state=06849109dbf92fb328e76382083a2338cb715454f704dd48" for 127.0.0.1 at 2014-11-21 10:12:56 +0000
2083
+ Started GET "/auth/gds" for 127.0.0.1 at 2015-04-21 09:22:40 +0000
2084
+ Started GET "/auth/gds/callback?code=dc1dccf8a43b71f955bae71f6199c5b54556f5203485540b43bc983ed4d937a7&state=5c78b48b731237ddd0719e3dea2c7a2a4d3aaf168aea5e14" for 127.0.0.1 at 2015-04-21 09:22:40 +0000
2084
2085
  Processing by AuthenticationsController#callback as HTML
2085
- Parameters: {"code"=>"f9daddfd3e553e181580faa1363987ae932c31d099d1581207dc3df20999d0bc", "state"=>"06849109dbf92fb328e76382083a2338cb715454f704dd48"}
2086
+ Parameters: {"code"=>"dc1dccf8a43b71f955bae71f6199c5b54556f5203485540b43bc983ed4d937a7", "state"=>"5c78b48b731237ddd0719e3dea2c7a2a4d3aaf168aea5e14"}
2086
2087
  Authenticating with gds_sso strategy
2087
2088
  User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
2088
2089
   (0.1ms) begin transaction
2089
2090
  SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
2090
-  (13.8ms) commit transaction
2091
-  (0.2ms) begin transaction
2091
+  (10.5ms) commit transaction
2092
+  (0.1ms) begin transaction
2092
2093
  SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
2093
-  (20.2ms) commit transaction
2094
+  (9.9ms) commit transaction
2094
2095
  Redirected to http://www.example-client.com/restricted
2095
- Completed 302 Found in 41ms (ActiveRecord: 35.0ms)
2096
- Started GET "/restricted" for 127.0.0.1 at 2014-11-21 10:12:57 +0000
2096
+ Completed 302 Found in 27ms (ActiveRecord: 21.3ms)
2097
+ Started GET "/restricted" for 127.0.0.1 at 2015-04-21 09:22:40 +0000
2097
2098
  Processing by ExampleController#restricted as HTML
2098
2099
  User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1
2099
2100
  Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.3ms)
2100
- Started GET "/restricted" for 127.0.0.1 at 2014-11-20 14:07:57 +0000
2101
+ Started GET "/restricted" for 127.0.0.1 at 2015-04-20 13:17:40 +0000
2101
2102
  Processing by ExampleController#restricted as HTML
2102
2103
  Authenticating with gds_sso strategy
2103
2104
  Completed in 1ms
2104
- Started GET "/auth/gds" for 127.0.0.1 at 2014-11-20 14:07:57 +0000
2105
- Started GET "/auth/gds/callback?code=c09d9f0fec45e1f994d9205cd003b9833274a361feb40affe3decefd2ad3ae2f&state=0c827ec14c4f0b3ffc1bf24629040f78ea1cbaf722fe561e" for 127.0.0.1 at 2014-11-20 14:07:57 +0000
2105
+ Started GET "/auth/gds" for 127.0.0.1 at 2015-04-20 13:17:40 +0000
2106
+ Started GET "/auth/gds/callback?code=275fc6bd8adfa79fff04e657565bbd7082534a499713a27a6cf92de9e3a573ea&state=5d7721e70f7f6f7bd7f003347583330114edf84d3f9324f6" for 127.0.0.1 at 2015-04-20 13:17:40 +0000
2106
2107
  Processing by AuthenticationsController#callback as HTML
2107
- Parameters: {"code"=>"c09d9f0fec45e1f994d9205cd003b9833274a361feb40affe3decefd2ad3ae2f", "state"=>"0c827ec14c4f0b3ffc1bf24629040f78ea1cbaf722fe561e"}
2108
+ Parameters: {"code"=>"275fc6bd8adfa79fff04e657565bbd7082534a499713a27a6cf92de9e3a573ea", "state"=>"5d7721e70f7f6f7bd7f003347583330114edf84d3f9324f6"}
2108
2109
  Authenticating with gds_sso strategy
2109
2110
  User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
2110
2111
   (0.1ms) begin transaction
2111
2112
  SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
2112
-  (14.6ms) commit transaction
2113
+  (7.7ms) commit transaction
2113
2114
   (0.1ms) begin transaction
2114
- SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
2115
-  (27.4ms) commit transaction
2115
+ SQL (0.3ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
2116
+  (10.0ms) commit transaction
2116
2117
  Redirected to http://www.example-client.com/restricted
2117
- Completed 302 Found in 49ms (ActiveRecord: 42.8ms)
2118
- Started GET "/restricted" for 127.0.0.1 at 2014-11-20 14:07:57 +0000
2118
+ Completed 302 Found in 25ms (ActiveRecord: 18.8ms)
2119
+ Started GET "/restricted" for 127.0.0.1 at 2015-04-20 13:17:40 +0000
2119
2120
  Processing by ExampleController#restricted as HTML
2120
2121
  User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1
2121
2122
  Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.3ms)
2122
- Started GET "/restricted" for 127.0.0.1 at 2014-11-21 10:02:57 +0000
2123
+ Started GET "/restricted" for 127.0.0.1 at 2015-04-21 09:12:40 +0000
2123
2124
  Processing by ExampleController#restricted as HTML
2124
2125
  User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1
2125
- Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)
2126
- Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2014-11-20 14:07:57 +0000
2127
- Processing by ExampleController#this_requires_signin_permission as JSON
2126
+ Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.3ms)
2127
+ Started GET "/restricted" for 127.0.0.1 at 2015-04-20 13:17:41 +0000
2128
+ Processing by ExampleController#restricted as JSON
2129
+ Completed in 18ms
2130
+ Started GET "/restricted" for 127.0.0.1 at 2015-04-20 13:17:41 +0000
2131
+ Processing by ExampleController#restricted as JSON
2132
+ Completed in 17ms
2133
+ Started GET "/restricted" for 127.0.0.1 at 2015-04-20 13:17:41 +0000
2134
+ Processing by ExampleController#restricted as JSON
2128
2135
  User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
2129
2136
   (0.1ms) begin transaction
2130
- SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
2131
-  (12.8ms) commit transaction
2137
+ SQL (0.3ms) UPDATE "users" SET "disabled" = ?, "permissions" = ? WHERE "users"."id" = 11 [["disabled", nil], ["permissions", "---\n- signin\n"]]
2138
+  (14.6ms) commit transaction
2132
2139
  User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
2133
2140
   (0.1ms) begin transaction
2134
2141
  SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
2135
-  (20.4ms) commit transaction
2142
+  (7.0ms) commit transaction
2136
2143
  User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
2137
2144
   (0.1ms) begin transaction
2138
2145
  SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
2139
-  (36.5ms) commit transaction
2146
+  (14.1ms) commit transaction
2140
2147
  User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
2141
2148
   (0.1ms) begin transaction
2142
2149
  SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
2143
-  (25.3ms) commit transaction
2150
+  (10.3ms) commit transaction
2144
2151
   (0.1ms) begin transaction
2145
- SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
2146
-  (12.4ms) commit transaction
2147
- Completed 200 OK in 304ms (Views: 0.5ms | ActiveRecord: 109.9ms)
2148
- Started GET "/restricted" for 127.0.0.1 at 2014-11-20 14:07:58 +0000
2149
- Processing by ExampleController#restricted as JSON
2152
+ SQL (0.1ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
2153
+  (17.6ms) commit transaction
2154
+ Completed 200 OK in 191ms (Views: 0.5ms | ActiveRecord: 66.2ms)
2155
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-20 13:17:41 +0000
2156
+ Processing by ExampleController#this_requires_signin_permission as JSON
2150
2157
  User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
2151
2158
   (0.1ms) begin transaction
2152
2159
  SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
2153
-  (13.9ms) commit transaction
2160
+  (10.4ms) commit transaction
2154
2161
  User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
2155
2162
   (0.1ms) begin transaction
2156
2163
  SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
2157
-  (15.0ms) commit transaction
2164
+  (11.2ms) commit transaction
2158
2165
  User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
2159
2166
   (0.1ms) begin transaction
2160
2167
  SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
2161
-  (28.2ms) commit transaction
2162
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
2168
+  (9.5ms) commit transaction
2169
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
2163
2170
   (0.1ms) begin transaction
2164
2171
  SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
2165
-  (16.1ms) commit transaction
2172
+  (6.9ms) commit transaction
2166
2173
   (0.1ms) begin transaction
2167
- SQL (0.2ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
2168
-  (27.4ms) commit transaction
2169
- Completed 200 OK in 277ms (Views: 0.5ms | ActiveRecord: 102.9ms)
2170
- Started GET "/restricted" for 127.0.0.1 at 2014-11-20 14:07:59 +0000
2171
- Processing by ExampleController#restricted as JSON
2172
- Completed in 19ms
2173
- Started GET "/restricted" for 127.0.0.1 at 2014-11-20 14:07:59 +0000
2174
- Processing by ExampleController#restricted as JSON
2175
- Completed in 16ms
2174
+ SQL (0.3ms) UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
2175
+  (13.0ms) commit transaction
2176
+ Completed 200 OK in 172ms (Views: 0.5ms | ActiveRecord: 53.7ms)