gds-sso 10.0.0 → 10.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/gds-sso/lint/user_spec.rb +4 -2
- data/lib/gds-sso/version.rb +1 -1
- data/spec/fixtures/integration/signonotron2.sql +11 -8
- data/spec/internal/db/combustion_test.sqlite +0 -0
- data/spec/internal/log/test.log +1415 -1414
- metadata +2 -2
data/spec/internal/log/test.log
CHANGED
@@ -1,2175 +1,2176 @@
|
|
1
1
|
Connecting to database specified by database.yml
|
2
|
-
Started GET "/" for 127.0.0.1 at
|
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
|
6
|
-
Started GET "/restricted" for 127.0.0.1 at
|
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
|
10
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
11
|
-
Started GET "/auth/gds/callback?code=
|
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"=>"
|
13
|
+
Parameters: {"code"=>"f86ff11f57968276dbb15ae678ddb0cd857c13701987b6310ff1c4d70de56c7b", "state"=>"8cc6c345559d0e564954540c10b931dfaecca55673f14a88"}
|
14
14
|
Authenticating with gds_sso strategy
|
15
|
-
[1m[36mUser Load (0.
|
16
|
-
[1m[35mUser Load (0.
|
17
|
-
[1m[36m (0.
|
18
|
-
[1m[35mSQL (
|
19
|
-
[1m[36m (
|
15
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
16
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'test@example-client.com' LIMIT 1
|
17
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
18
|
+
[1m[35mSQL (1.0ms)[0m 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
|
+
[1m[36m (19.0ms)[0m [1mcommit transaction[0m
|
20
20
|
[1m[35m (0.1ms)[0m begin transaction
|
21
|
-
[1m[36m (0.
|
21
|
+
[1m[36m (0.4ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = 'f', "permissions" = '---
|
22
22
|
- signin
|
23
23
|
' WHERE "users"."id" = 1[0m
|
24
|
-
[1m[35m (
|
24
|
+
[1m[35m (38.3ms)[0m commit transaction
|
25
25
|
Redirected to http://www.example-client.com/restricted
|
26
|
-
Completed 302 Found in
|
27
|
-
Started GET "/restricted" for 127.0.0.1 at
|
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
|
-
[1m[36mUser Load (0.
|
30
|
-
Completed 200 OK in
|
31
|
-
Started GET "/restricted" for 127.0.0.1 at
|
29
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1[0m
|
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.
|
35
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
36
|
-
Started GET "/auth/gds/callback?code=
|
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"=>"
|
38
|
+
Parameters: {"code"=>"76370fd98cec1d2352dd648546b407f7113eb04eb661d5c8b1fa0794d637c4f7", "state"=>"c74fd87870f6e1a8766a2cf87ebae90d8e410fb80c6ad47f"}
|
39
39
|
Authenticating with gds_sso strategy
|
40
40
|
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
41
41
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
42
42
|
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
43
43
|
- signin
|
44
44
|
' WHERE "users"."id" = 1
|
45
|
-
[1m[36m (
|
45
|
+
[1m[36m (27.9ms)[0m [1mcommit transaction[0m
|
46
46
|
[1m[35m (0.1ms)[0m begin transaction
|
47
|
-
[1m[36m (0.
|
47
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
48
48
|
- signin
|
49
49
|
' WHERE "users"."id" = 1[0m
|
50
|
-
[1m[35m (
|
50
|
+
[1m[35m (32.1ms)[0m commit transaction
|
51
51
|
Redirected to http://www.example-client.com/restricted
|
52
|
-
Completed 302 Found in
|
53
|
-
Started GET "/restricted" for 127.0.0.1 at
|
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
|
-
[1m[36mUser Load (0.
|
56
|
-
Completed 200 OK in
|
57
|
-
Started GET "/restricted" for 127.0.0.1 at
|
55
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1[0m
|
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.
|
61
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
62
|
-
Started GET "/auth/gds/callback?code=
|
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"=>"
|
64
|
+
Parameters: {"code"=>"07f47a911aba115de54e8f2bffd7a53ecf9cc3799683744bde2768e8d1595095", "state"=>"ba484170e6f127456334bd175cbc85a01ddc780ae4bfd90e"}
|
65
65
|
Authenticating with gds_sso strategy
|
66
|
-
[1m[35mUser Load (0.
|
66
|
+
[1m[35mUser Load (0.4ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
67
67
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
68
|
-
[1m[35m (0.
|
68
|
+
[1m[35m (0.4ms)[0m UPDATE "users" SET "permissions" = '---
|
69
69
|
- signin
|
70
70
|
' WHERE "users"."id" = 1
|
71
|
-
[1m[36m (
|
71
|
+
[1m[36m (28.3ms)[0m [1mcommit transaction[0m
|
72
72
|
[1m[35m (0.1ms)[0m begin transaction
|
73
|
-
[1m[36m (0.
|
73
|
+
[1m[36m (0.4ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
74
74
|
- signin
|
75
75
|
' WHERE "users"."id" = 1[0m
|
76
|
-
[1m[35m (
|
76
|
+
[1m[35m (10.1ms)[0m commit transaction
|
77
77
|
Redirected to http://www.example-client.com/restricted
|
78
|
-
Completed 302 Found in
|
79
|
-
Started GET "/restricted" for 127.0.0.1 at
|
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
|
-
[1m[36mUser Load (0.
|
82
|
-
Completed 200 OK in
|
83
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at
|
81
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1[0m
|
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
|
87
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
88
|
-
Started GET "/auth/gds/callback?code=
|
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"=>"
|
90
|
+
Parameters: {"code"=>"a376a992bdbc43628c19cdaab0b3019c4b3394b7dc6cdd38b58a95f953249084", "state"=>"38e73451272f55d131f8b9d4c3fb6bf49c9128ef04575e56"}
|
91
91
|
Authenticating with gds_sso strategy
|
92
|
-
[1m[35mUser Load (0.
|
92
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
93
93
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
94
|
-
[1m[35m (0.
|
94
|
+
[1m[35m (0.4ms)[0m UPDATE "users" SET "permissions" = '---
|
95
95
|
- signin
|
96
96
|
' WHERE "users"."id" = 1
|
97
|
-
[1m[36m (
|
97
|
+
[1m[36m (25.1ms)[0m [1mcommit transaction[0m
|
98
98
|
[1m[35m (0.1ms)[0m begin transaction
|
99
|
-
[1m[36m (0.
|
99
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
100
100
|
- signin
|
101
101
|
' WHERE "users"."id" = 1[0m
|
102
|
-
[1m[35m (
|
102
|
+
[1m[35m (15.6ms)[0m commit transaction
|
103
103
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
104
|
-
Completed 302 Found in
|
105
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at
|
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
|
-
[1m[36mUser Load (0.
|
108
|
-
Completed 200 OK in 2.
|
109
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at
|
107
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1[0m
|
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.
|
113
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
114
|
-
Started GET "/auth/gds/callback?code=
|
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"=>"
|
116
|
+
Parameters: {"code"=>"ecc0baaa32dd3863c4bc0ebe034626edafebfe155157cf666f0fa1e6fe32e4ed", "state"=>"d8f2f5e7dd4e87a27df14b457f6b7b901dc27a99b8215f2a"}
|
117
117
|
Authenticating with gds_sso strategy
|
118
|
-
[1m[35mUser Load (0.
|
119
|
-
[1m[36m (0.
|
120
|
-
[1m[35m (0.
|
118
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
119
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
120
|
+
[1m[35m (0.4ms)[0m UPDATE "users" SET "permissions" = '---
|
121
121
|
- signin
|
122
122
|
' WHERE "users"."id" = 1
|
123
|
-
[1m[36m (
|
123
|
+
[1m[36m (24.3ms)[0m [1mcommit transaction[0m
|
124
124
|
[1m[35m (0.1ms)[0m begin transaction
|
125
|
-
[1m[36m (0.
|
125
|
+
[1m[36m (0.4ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
126
126
|
- signin
|
127
127
|
' WHERE "users"."id" = 1[0m
|
128
|
-
[1m[35m (
|
128
|
+
[1m[35m (23.1ms)[0m commit transaction
|
129
129
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
130
|
-
Completed 302 Found in
|
131
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at
|
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
|
-
[1m[36mUser Load (0.
|
134
|
-
Completed 200 OK in 2.
|
135
|
-
Started GET "/restricted" for 127.0.0.1 at
|
133
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1[0m
|
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.
|
139
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
140
|
-
Started GET "/auth/gds/callback?code=
|
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"=>"
|
142
|
+
Parameters: {"code"=>"238b57fe176e7a699db37ca4b5808c5b1875a6affbc56dd2b89dab84e8329636", "state"=>"e8169ca1a82781dbabe2d3aa04722a3cda70110178b6850f"}
|
143
143
|
Authenticating with gds_sso strategy
|
144
144
|
[1m[35mUser Load (0.4ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
145
145
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
146
146
|
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
147
147
|
- signin
|
148
148
|
' WHERE "users"."id" = 1
|
149
|
-
[1m[36m (
|
149
|
+
[1m[36m (22.1ms)[0m [1mcommit transaction[0m
|
150
150
|
[1m[35m (0.1ms)[0m begin transaction
|
151
|
-
[1m[36m (0.
|
151
|
+
[1m[36m (0.4ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
152
152
|
- signin
|
153
153
|
' WHERE "users"."id" = 1[0m
|
154
|
-
[1m[35m (
|
154
|
+
[1m[35m (11.1ms)[0m commit transaction
|
155
155
|
Redirected to http://www.example-client.com/restricted
|
156
|
-
Completed 302 Found in
|
157
|
-
Started GET "/restricted" for 127.0.0.1 at
|
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
|
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1[0m
|
160
|
-
Completed 200 OK in 2.
|
161
|
-
[1m[35mUser Load (0.
|
162
|
-
[1m[36m (0.
|
163
|
-
[1m[35m (0.
|
160
|
+
Completed 200 OK in 2.8ms (Views: 0.8ms | ActiveRecord: 0.3ms)
|
161
|
+
[1m[35mUser Load (0.5ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'test@example-client.com' LIMIT 1
|
162
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
163
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "remotely_signed_out" = 't', "permissions" = '---
|
164
164
|
- signin
|
165
165
|
' WHERE "users"."id" = 1
|
166
|
-
[1m[36m (
|
167
|
-
Started GET "/restricted" for 127.0.0.1 at
|
166
|
+
[1m[36m (15.2ms)[0m [1mcommit transaction[0m
|
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
|
-
[1m[35mUser Load (0.
|
169
|
+
[1m[35mUser Load (0.3ms)[0m 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
|
172
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
173
|
-
Started GET "/auth/gds/callback?code=
|
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"=>"
|
175
|
+
Parameters: {"code"=>"06ec3945c73cebb7e2ac4aefc42577b1eb9d384563177760b150625da71688b3", "state"=>"96a50a77307b5c2b63085621a0c8143fa3fc169266b4ac28"}
|
176
176
|
Authenticating with gds_sso strategy
|
177
177
|
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
178
178
|
[1m[35m (0.1ms)[0m begin transaction
|
179
|
-
[1m[36m (0.
|
179
|
+
[1m[36m (0.4ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
180
180
|
- signin
|
181
181
|
' WHERE "users"."id" = 1[0m
|
182
|
-
[1m[35m (
|
182
|
+
[1m[35m (12.7ms)[0m commit transaction
|
183
183
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
184
|
-
[1m[35m (0.
|
184
|
+
[1m[35m (0.6ms)[0m UPDATE "users" SET "remotely_signed_out" = 'f', "permissions" = '---
|
185
185
|
- signin
|
186
186
|
' WHERE "users"."id" = 1
|
187
|
-
[1m[36m (
|
187
|
+
[1m[36m (32.8ms)[0m [1mcommit transaction[0m
|
188
188
|
Redirected to http://www.example-client.com/restricted
|
189
|
-
Completed 302 Found in
|
190
|
-
Started GET "/restricted" for 127.0.0.1 at
|
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
|
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1
|
193
|
-
Completed 200 OK in 2.
|
194
|
-
Started GET "/restricted" for 127.0.0.1 at
|
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.
|
198
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
199
|
-
Started GET "/auth/gds/callback?code=
|
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"=>"
|
201
|
+
Parameters: {"code"=>"daa5e2fc0ad0328af9878ea9598b8589f4cea2b29d38a6aa196e7a8994a5ab45", "state"=>"35f142a543812a04aeb5629d0e2bf6ac5a941ea67abd888b"}
|
202
202
|
Authenticating with gds_sso strategy
|
203
|
-
[1m[36mUser Load (0.
|
203
|
+
[1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
204
204
|
[1m[35m (0.1ms)[0m begin transaction
|
205
|
-
[1m[36m (0.
|
205
|
+
[1m[36m (0.4ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
206
206
|
- signin
|
207
207
|
' WHERE "users"."id" = 1[0m
|
208
|
-
[1m[35m (
|
208
|
+
[1m[35m (19.0ms)[0m commit transaction
|
209
209
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
210
210
|
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
211
211
|
- signin
|
212
212
|
' WHERE "users"."id" = 1
|
213
|
-
[1m[36m (
|
213
|
+
[1m[36m (8.8ms)[0m [1mcommit transaction[0m
|
214
214
|
Redirected to http://www.example-client.com/restricted
|
215
|
-
Completed 302 Found in
|
216
|
-
Started GET "/restricted" for 127.0.0.1 at
|
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
|
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1
|
219
|
-
Completed 200 OK in 2.
|
220
|
-
Started GET "/restricted" for 127.0.0.1 at
|
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.
|
224
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
225
|
-
Started GET "/auth/gds/callback?code=
|
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"=>"
|
227
|
+
Parameters: {"code"=>"6d449a11a4e3f73cc5bdecd3540af55be1e44b2c117fa9df539448548ed7776c", "state"=>"7cebff92e180f1f2c8243f98a2000efc06d5cbf6b3bd11d3"}
|
228
228
|
Authenticating with gds_sso strategy
|
229
229
|
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
230
230
|
[1m[35m (0.1ms)[0m begin transaction
|
231
|
-
[1m[36m (0.
|
231
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
232
232
|
- signin
|
233
233
|
' WHERE "users"."id" = 1[0m
|
234
|
-
[1m[35m (
|
234
|
+
[1m[35m (15.4ms)[0m commit transaction
|
235
235
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
236
|
-
[1m[35m (0.
|
236
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "permissions" = '---
|
237
237
|
- signin
|
238
238
|
' WHERE "users"."id" = 1
|
239
|
-
[1m[36m (
|
239
|
+
[1m[36m (17.9ms)[0m [1mcommit transaction[0m
|
240
240
|
Redirected to http://www.example-client.com/restricted
|
241
|
-
Completed 302 Found in
|
242
|
-
Started GET "/restricted" for 127.0.0.1 at
|
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
|
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1
|
245
|
-
Completed 200 OK in
|
246
|
-
Started GET "/restricted" for 127.0.0.1 at
|
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
|
251
|
-
Started GET "/auth/gds/callback?code=
|
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"=>"
|
253
|
+
Parameters: {"code"=>"e4d9ffbd0f19975cfac64dcbb1f1e0055c8402aa73ec98f2f397f90b7d08a898", "state"=>"c6f06456d8e46b25759206fe6a2203625a295e7e70fab927"}
|
254
254
|
Authenticating with gds_sso strategy
|
255
255
|
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
256
|
-
[1m[35m (0.
|
257
|
-
[1m[36m (0.
|
256
|
+
[1m[35m (0.1ms)[0m begin transaction
|
257
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
258
258
|
- signin
|
259
259
|
' WHERE "users"."id" = 1[0m
|
260
|
-
[1m[35m (
|
260
|
+
[1m[35m (23.4ms)[0m commit transaction
|
261
261
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
262
|
-
[1m[35m (0.
|
262
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
263
263
|
- signin
|
264
264
|
' WHERE "users"."id" = 1
|
265
|
-
[1m[36m (
|
265
|
+
[1m[36m (20.0ms)[0m [1mcommit transaction[0m
|
266
266
|
Redirected to http://www.example-client.com/restricted
|
267
|
-
Completed 302 Found in
|
268
|
-
Started GET "/restricted" for 127.0.0.1 at
|
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
|
-
[1m[35mUser Load (0.
|
271
|
-
Completed 200 OK in
|
272
|
-
Started GET "/restricted" for 127.0.0.1 at
|
270
|
+
[1m[35mUser Load (0.3ms)[0m 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
|
-
[1m[36mUser Load (0.
|
275
|
-
Completed 200 OK in
|
276
|
-
Started GET "/restricted" for 127.0.0.1 at
|
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
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1[0m
|
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
|
-
|
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
|
+
[1m[35mUser Load (0.4ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
282
282
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
283
|
-
[1m[35m (0.
|
283
|
+
[1m[35m (0.4ms)[0m UPDATE "users" SET "disabled" = NULL, "permissions" = '---
|
284
284
|
- signin
|
285
285
|
' WHERE "users"."id" = 1
|
286
|
-
[1m[36m (
|
287
|
-
[1m[35mUser Load (0.
|
286
|
+
[1m[36m (35.1ms)[0m [1mcommit transaction[0m
|
287
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
288
288
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
289
289
|
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
290
290
|
- signin
|
291
291
|
' WHERE "users"."id" = 1
|
292
|
-
[1m[36m (
|
292
|
+
[1m[36m (15.2ms)[0m [1mcommit transaction[0m
|
293
293
|
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
294
|
-
[1m[36m (0.
|
295
|
-
[1m[35m (0.
|
294
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
295
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
296
296
|
- signin
|
297
297
|
' WHERE "users"."id" = 1
|
298
|
-
[1m[36m (
|
298
|
+
[1m[36m (28.3ms)[0m [1mcommit transaction[0m
|
299
299
|
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
300
300
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
301
301
|
[1m[35m (0.2ms)[0m UPDATE "users" SET "permissions" = '---
|
302
302
|
- signin
|
303
303
|
' WHERE "users"."id" = 1
|
304
|
-
[1m[36m (
|
304
|
+
[1m[36m (15.4ms)[0m [1mcommit transaction[0m
|
305
305
|
[1m[35m (0.1ms)[0m begin transaction
|
306
306
|
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
307
307
|
- signin
|
308
308
|
' WHERE "users"."id" = 1[0m
|
309
|
-
[1m[35m (
|
310
|
-
Completed 200 OK in
|
311
|
-
Started GET "/
|
312
|
-
Processing by ExampleController#
|
313
|
-
[1m[36mUser Load (0.
|
309
|
+
[1m[35m (14.9ms)[0m 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
|
+
[1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
314
314
|
[1m[35m (0.1ms)[0m begin transaction
|
315
|
-
[1m[36m (0.
|
315
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
316
316
|
- signin
|
317
317
|
' WHERE "users"."id" = 1[0m
|
318
|
-
[1m[35m (
|
319
|
-
[1m[36mUser Load (0.
|
318
|
+
[1m[35m (21.3ms)[0m commit transaction
|
319
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
320
320
|
[1m[35m (0.1ms)[0m begin transaction
|
321
321
|
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
322
322
|
- signin
|
323
323
|
' WHERE "users"."id" = 1[0m
|
324
|
-
[1m[35m (
|
324
|
+
[1m[35m (16.0ms)[0m commit transaction
|
325
325
|
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
326
326
|
[1m[35m (0.1ms)[0m begin transaction
|
327
|
-
[1m[36m (0.
|
327
|
+
[1m[36m (0.4ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
328
328
|
- signin
|
329
329
|
' WHERE "users"."id" = 1[0m
|
330
|
-
[1m[35m (
|
331
|
-
[1m[36mUser Load (0.
|
332
|
-
[1m[35m (0.
|
333
|
-
[1m[36m (0.
|
330
|
+
[1m[35m (11.1ms)[0m commit transaction
|
331
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
332
|
+
[1m[35m (0.1ms)[0m begin transaction
|
333
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
334
334
|
- signin
|
335
335
|
' WHERE "users"."id" = 1[0m
|
336
|
-
[1m[35m (
|
336
|
+
[1m[35m (27.1ms)[0m commit transaction
|
337
337
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
338
|
-
[1m[35m (0.
|
338
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
339
339
|
- signin
|
340
340
|
' WHERE "users"."id" = 1
|
341
|
-
[1m[36m (
|
342
|
-
Completed 200 OK in
|
343
|
-
Started GET "/restricted" for 127.0.0.1 at
|
341
|
+
[1m[36m (17.6ms)[0m [1mcommit transaction[0m
|
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
|
346
|
-
[1m[35m (0.
|
347
|
-
[1m[36mSQL (0.
|
348
|
-
[1m[35m (
|
345
|
+
Completed in 33.1ms
|
346
|
+
[1m[35m (0.2ms)[0m begin transaction
|
347
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("disabled", "email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["disabled", false], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["organisation_slug", nil], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d36859"]]
|
348
|
+
[1m[35m (37.7ms)[0m commit transaction
|
349
349
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
350
|
-
[1m[35mSQL (0.
|
351
|
-
[1m[36m (
|
350
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (10.5ms)[0m [1mcommit transaction[0m
|
352
352
|
WARNING: Can't mass-assign protected attributes: uid, name, permissions
|
353
353
|
Processing by Api::UserController#update as HTML
|
354
|
-
Parameters: {"uid"=>"
|
355
|
-
Completed 403 Forbidden in
|
354
|
+
Parameters: {"uid"=>"a1s2d36859"}
|
355
|
+
Completed 403 Forbidden in 18.1ms (Views: 16.7ms | ActiveRecord: 0.0ms)
|
356
356
|
[1m[35m (0.1ms)[0m begin transaction
|
357
|
-
[1m[36mSQL (0.
|
358
|
-
[1m[35m (
|
357
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("disabled", "email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["disabled", false], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["organisation_slug", nil], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d39333"]]
|
358
|
+
[1m[35m (65.2ms)[0m commit transaction
|
359
359
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
360
|
-
[1m[35mSQL (0.2ms)[0m 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", "
|
361
|
-
[1m[36m (
|
360
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (45.9ms)[0m [1mcommit transaction[0m
|
362
362
|
Processing by Api::UserController#update as HTML
|
363
|
-
Parameters: {"uid"=>"
|
364
|
-
[1m[35mUser Load (0.4ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = '
|
363
|
+
Parameters: {"uid"=>"a1s2d39333"}
|
364
|
+
[1m[35mUser Load (0.4ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d39333' LIMIT 1
|
365
365
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
366
|
-
[1m[35m (0.
|
366
|
+
[1m[35m (0.3ms)[0m 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
|
-
[1m[36m (
|
371
|
-
Completed 200 OK in
|
372
|
-
[1m[35mUser Load (0.
|
370
|
+
[1m[36m (24.4ms)[0m [1mcommit transaction[0m
|
371
|
+
Completed 200 OK in 30.9ms (ActiveRecord: 25.2ms)
|
372
|
+
[1m[35mUser Load (0.4ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]]
|
373
373
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
374
|
-
[1m[35mSQL (0.4ms)[0m 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", "
|
375
|
-
[1m[36m (
|
374
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (27.6ms)[0m [1mcommit transaction[0m
|
376
376
|
[1m[35m (0.1ms)[0m begin transaction
|
377
|
-
[1m[36mSQL (0.
|
378
|
-
[1m[35m (
|
377
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("disabled", "email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (9.9ms)[0m 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"=>"
|
382
|
-
Completed 403 Forbidden in 2.
|
381
|
+
Parameters: {"uid"=>"a1s2d33478"}
|
382
|
+
Completed 403 Forbidden in 2.7ms (Views: 1.5ms | ActiveRecord: 0.0ms)
|
383
383
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
384
|
-
[1m[35mSQL (0.3ms)[0m 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", "
|
385
|
-
[1m[36m (
|
384
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (16.5ms)[0m [1mcommit transaction[0m
|
386
386
|
[1m[35m (0.1ms)[0m begin transaction
|
387
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("disabled", "email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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", "
|
388
|
-
[1m[35m (
|
387
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("disabled", "email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (18.7ms)[0m commit transaction
|
389
389
|
Processing by Api::UserController#reauth as HTML
|
390
390
|
Parameters: {"uid"=>"nonexistent-user"}
|
391
|
-
[1m[36mUser Load (0.
|
392
|
-
Completed 200 OK in 1.4ms (ActiveRecord: 0.
|
391
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'nonexistent-user' LIMIT 1[0m
|
392
|
+
Completed 200 OK in 1.4ms (ActiveRecord: 0.2ms)
|
393
393
|
[1m[35m (0.1ms)[0m begin transaction
|
394
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("disabled", "email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["disabled", false], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["organisation_slug", nil], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "
|
395
|
-
[1m[35m (
|
394
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("disabled", "email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["disabled", false], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["organisation_slug", nil], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d38785"]]
|
395
|
+
[1m[35m (25.4ms)[0m commit transaction
|
396
396
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
397
|
-
[1m[35mSQL (0.
|
398
|
-
[1m[36m (
|
397
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (9.2ms)[0m [1mcommit transaction[0m
|
399
399
|
Processing by Api::UserController#reauth as HTML
|
400
|
-
Parameters: {"uid"=>"
|
401
|
-
[1m[35mUser Load (
|
400
|
+
Parameters: {"uid"=>"a1s2d38785"}
|
401
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d38785' LIMIT 1
|
402
402
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
403
|
-
[1m[35m (0.
|
403
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "remotely_signed_out" = 't', "permissions" = '---
|
404
404
|
- signin
|
405
405
|
' WHERE "users"."id" = 10
|
406
|
-
[1m[36m (
|
407
|
-
Completed 200 OK in
|
406
|
+
[1m[36m (6.5ms)[0m [1mcommit transaction[0m
|
407
|
+
Completed 200 OK in 10.4ms (ActiveRecord: 7.1ms)
|
408
408
|
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 10]]
|
409
|
-
|
410
|
-
|
411
|
-
|
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
|
-
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
423
|
-
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'test@example-client.com' ORDER BY "users"."id" ASC LIMIT 1
|
424
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
425
|
-
[1m[35mSQL (0.4ms)[0m 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
|
-
[1m[36m (21.0ms)[0m [1mcommit transaction[0m
|
409
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
410
|
+
[1m[35mSQL (4.7ms)[0m INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["uid", "a1s2d3542"]]
|
411
|
+
[1m[36m (13.4ms)[0m [1mcommit transaction[0m
|
427
412
|
[1m[35m (0.1ms)[0m begin transaction
|
428
|
-
[1m[36mSQL (0.
|
429
|
-
[1m[35m (
|
430
|
-
|
431
|
-
|
432
|
-
|
433
|
-
|
434
|
-
[1m[
|
435
|
-
|
436
|
-
|
437
|
-
|
438
|
-
|
439
|
-
|
440
|
-
|
441
|
-
|
442
|
-
|
443
|
-
|
444
|
-
|
445
|
-
[1m[
|
413
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?)[0m [["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"], ["uid", "a1s2d33294"]]
|
414
|
+
[1m[35m (10.3ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
420
|
+
[1m[35mSQL (14.7ms)[0m INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["uid", "a1s2d3390"]]
|
421
|
+
[1m[36m (18.5ms)[0m [1mcommit transaction[0m
|
422
|
+
[1m[35m (0.3ms)[0m begin transaction
|
423
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?)[0m [["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"], ["uid", "a1s2d32796"]]
|
424
|
+
[1m[35m (18.2ms)[0m commit transaction
|
425
|
+
Processing by Api::UserController#update as HTML
|
426
|
+
Parameters: {"uid"=>"a1s2d3390"}
|
427
|
+
[1m[36mUser Load (1.9ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d3390' ORDER BY "users"."id" ASC LIMIT 1[0m
|
428
|
+
[1m[35m (0.2ms)[0m begin transaction
|
429
|
+
[1m[36mSQL (0.8ms)[0m [1mUPDATE "users" SET "email" = ?, "name" = ?, "permissions" = ?, "organisation_slug" = ? WHERE "users"."id" = 3[0m [["email", "user@domain.com"], ["name", "Joshua Marshall"], ["permissions", "---\n- signin\n- new permission\n"], ["organisation_slug", "justice-league"]]
|
430
|
+
[1m[35m (27.8ms)[0m commit transaction
|
431
|
+
Completed 200 OK in 85ms (ActiveRecord: 30.6ms)
|
432
|
+
[1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 3]]
|
433
|
+
[1m[35m (0.2ms)[0m begin transaction
|
434
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?)[0m [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["uid", "a1s2d39292"]]
|
435
|
+
[1m[35m (51.7ms)[0m commit transaction
|
446
436
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
447
|
-
[1m[35mSQL (0.3ms)[0m
|
448
|
-
[1m[36m (
|
437
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (68.6ms)[0m [1mcommit transaction[0m
|
439
|
+
Processing by Api::UserController#reauth as HTML
|
440
|
+
Parameters: {"uid"=>"a1s2d39292"}
|
441
|
+
[1m[35mUser Load (0.4ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d39292' ORDER BY "users"."id" ASC LIMIT 1
|
442
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
443
|
+
[1m[35mSQL (0.6ms)[0m UPDATE "users" SET "remotely_signed_out" = ?, "permissions" = ? WHERE "users"."id" = 5 [["remotely_signed_out", true], ["permissions", "---\n- signin\n"]]
|
444
|
+
[1m[36m (32.3ms)[0m [1mcommit transaction[0m
|
445
|
+
Completed 200 OK in 40ms (ActiveRecord: 33.4ms)
|
446
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]]
|
447
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
448
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["uid", "a1s2d38465"]]
|
449
|
+
[1m[36m (30.1ms)[0m [1mcommit transaction[0m
|
449
450
|
[1m[35m (0.1ms)[0m begin transaction
|
450
|
-
[1m[36mSQL (0.
|
451
|
-
[1m[35m (
|
452
|
-
|
453
|
-
|
454
|
-
|
455
|
-
|
456
|
-
[1m[
|
457
|
-
|
458
|
-
|
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
|
-
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
451
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?)[0m [["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"], ["uid", "a1s2d31128"]]
|
452
|
+
[1m[35m (24.6ms)[0m commit transaction
|
453
|
+
Processing by Api::UserController#reauth as HTML
|
454
|
+
Parameters: {"uid"=>"nonexistent-user"}
|
455
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'nonexistent-user' ORDER BY "users"."id" ASC LIMIT 1[0m
|
456
|
+
Completed 200 OK in 3ms (ActiveRecord: 0.3ms)
|
457
|
+
[1m[35m (0.2ms)[0m begin transaction
|
458
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?)[0m [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["uid", "a1s2d35674"]]
|
459
|
+
[1m[35m (26.5ms)[0m commit transaction
|
468
460
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
469
|
-
[1m[35mSQL (0.
|
470
|
-
[1m[36m (
|
471
|
-
|
472
|
-
|
473
|
-
|
474
|
-
|
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
|
-
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1[0m
|
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
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (12.1ms)[0m [1mcommit transaction[0m
|
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
|
484
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
485
|
-
Started GET "/auth/gds/callback?code=
|
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"=>"
|
473
|
+
Parameters: {"code"=>"13bd05510dd29919d0893826652110cb4d8906738229ea4054fdf0318c788532", "state"=>"4ba15512ade890ee5832c87ad7f125c97fd6b1b59e788f5e"}
|
488
474
|
Authenticating with gds_sso strategy
|
489
|
-
[1m[35mUser Load (0.
|
490
|
-
[1m[
|
491
|
-
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
|
492
|
-
[1m[36m (15.0ms)[0m [1mcommit transaction[0m
|
475
|
+
[1m[35mUser Load (0.4ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
476
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'test@example-client.com' ORDER BY "users"."id" ASC LIMIT 1[0m
|
493
477
|
[1m[35m (0.1ms)[0m begin transaction
|
494
|
-
[1m[36mSQL (0.3ms)[0m [
|
495
|
-
[1m[35m (
|
478
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?)[0m [["email", "test@example-client.com"], ["name", "Test User"], ["permissions", "---\n- signin\n"], ["uid", "integration-uid"]]
|
479
|
+
[1m[35m (13.6ms)[0m commit transaction
|
480
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
481
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "remotely_signed_out" = ?, "permissions" = ? WHERE "users"."id" = 11 [["remotely_signed_out", false], ["permissions", "---\n- signin\n"]]
|
482
|
+
[1m[36m (11.8ms)[0m [1mcommit transaction[0m
|
496
483
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
497
|
-
Completed 302 Found in
|
498
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at
|
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
|
-
[1m[
|
501
|
-
Completed 200 OK in
|
502
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at
|
487
|
+
[1m[35mUser Load (0.3ms)[0m 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
|
506
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
507
|
-
Started GET "/auth/gds/callback?code=
|
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"=>"
|
496
|
+
Parameters: {"code"=>"b873fe327c4f2a40795189f9daba11180ca894403276092064b3fcb44f815ec3", "state"=>"859c821a1cff0c832e1ab80c41fca5e35517f9d5be02b4d8"}
|
510
497
|
Authenticating with gds_sso strategy
|
511
|
-
[1m[
|
512
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
513
|
-
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
|
514
|
-
[1m[36m (8.8ms)[0m [1mcommit transaction[0m
|
498
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
515
499
|
[1m[35m (0.1ms)[0m begin transaction
|
516
|
-
[1m[36mSQL (0.
|
517
|
-
[1m[35m (
|
500
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
501
|
+
[1m[35m (13.7ms)[0m commit transaction
|
502
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
503
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
504
|
+
[1m[36m (29.3ms)[0m [1mcommit transaction[0m
|
518
505
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
519
|
-
Completed 302 Found in
|
520
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at
|
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
|
-
[1m[
|
509
|
+
[1m[35mUser Load (0.3ms)[0m 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
|
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
|
529
|
-
Started GET "/auth/gds/callback?code=
|
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"=>"
|
518
|
+
Parameters: {"code"=>"1fa99cf66f371d175d0fa88eb6801a78820cca0ab2fff8ff49ee8a612ae94f44", "state"=>"e011cd8bcbc6f002ff839b7054fef36b766e7b6ce2634654"}
|
532
519
|
Authenticating with gds_sso strategy
|
533
|
-
[1m[
|
534
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
535
|
-
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
|
536
|
-
[1m[36m (10.2ms)[0m [1mcommit transaction[0m
|
520
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
537
521
|
[1m[35m (0.1ms)[0m begin transaction
|
538
|
-
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" =
|
539
|
-
[1m[35m (
|
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
|
-
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1[0m
|
545
|
-
Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.3ms)
|
546
|
-
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'test@example-client.com' ORDER BY "users"."id" ASC LIMIT 1
|
522
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
523
|
+
[1m[35m (15.0ms)[0m commit transaction
|
547
524
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
548
|
-
[1m[35mSQL (0.
|
549
|
-
[1m[36m (
|
550
|
-
|
525
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
526
|
+
[1m[36m (12.1ms)[0m [1mcommit transaction[0m
|
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
|
[1m[35mUser Load (0.3ms)[0m 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
|
555
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
556
|
-
Started GET "/auth/gds/callback?code=
|
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"=>"
|
543
|
+
Parameters: {"code"=>"a9c2866fc433c8069257b20b6a86752b6742d4857bf5081bf8333995cc7d253b", "state"=>"4ab7050d64e8b07dbc5c4a65f4ecf54d79868070e62c31d8"}
|
559
544
|
Authenticating with gds_sso strategy
|
560
|
-
[1m[36mUser Load (0.
|
545
|
+
[1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
561
546
|
[1m[35m (0.1ms)[0m begin transaction
|
562
|
-
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" =
|
563
|
-
[1m[35m (
|
547
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
548
|
+
[1m[35m (10.2ms)[0m commit transaction
|
564
549
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
565
|
-
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "
|
566
|
-
[1m[36m (
|
550
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
551
|
+
[1m[36m (36.0ms)[0m [1mcommit transaction[0m
|
567
552
|
Redirected to http://www.example-client.com/restricted
|
568
|
-
Completed 302 Found in
|
569
|
-
Started GET "/restricted" for 127.0.0.1 at
|
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
|
[1m[35mUser Load (0.3ms)[0m 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.
|
573
|
-
Started GET "/restricted" for 127.0.0.1 at
|
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
|
577
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
578
|
-
Started GET "/auth/gds/callback?code=
|
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"=>"
|
565
|
+
Parameters: {"code"=>"30480405c10d68f5c7e99e60465021444d6d7cc7ed328a7a5a5270184e079fc9", "state"=>"cff49ac4e2ae235ce5d2573337d17090835dc7b06d8f159b"}
|
581
566
|
Authenticating with gds_sso strategy
|
582
567
|
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
583
568
|
[1m[35m (0.1ms)[0m begin transaction
|
584
|
-
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" =
|
585
|
-
[1m[35m (
|
569
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
570
|
+
[1m[35m (43.8ms)[0m commit transaction
|
586
571
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
587
|
-
[1m[35mSQL (0.
|
588
|
-
[1m[36m (
|
572
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
573
|
+
[1m[36m (23.7ms)[0m [1mcommit transaction[0m
|
589
574
|
Redirected to http://www.example-client.com/restricted
|
590
|
-
Completed 302 Found in
|
591
|
-
Started GET "/restricted" for 127.0.0.1 at
|
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
|
-
[1m[35mUser Load (
|
594
|
-
Completed 200 OK in
|
595
|
-
Started GET "/restricted" for 127.0.0.1 at
|
578
|
+
[1m[35mUser Load (2.1ms)[0m 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
|
600
|
-
Started GET "/auth/gds/callback?code=
|
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"=>"
|
587
|
+
Parameters: {"code"=>"b81b46a91ef0f907d84a49bc845e38b668ad931f572ca1db8eb6c6311ec1b55a", "state"=>"55ec19f091d61da64d048b5297522d7026f8da944bc37bac"}
|
603
588
|
Authenticating with gds_sso strategy
|
604
589
|
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
605
|
-
[1m[35m (0.
|
606
|
-
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" =
|
607
|
-
[1m[35m (
|
608
|
-
[1m[36m (0.
|
609
|
-
[1m[35mSQL (0.
|
610
|
-
[1m[36m (
|
590
|
+
[1m[35m (0.1ms)[0m begin transaction
|
591
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
592
|
+
[1m[35m (13.5ms)[0m commit transaction
|
593
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
594
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
595
|
+
[1m[36m (13.1ms)[0m [1mcommit transaction[0m
|
611
596
|
Redirected to http://www.example-client.com/restricted
|
612
|
-
Completed 302 Found in
|
613
|
-
Started GET "/restricted" for 127.0.0.1 at
|
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
|
[1m[35mUser Load (0.3ms)[0m 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
|
617
|
-
|
601
|
+
Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.3ms)
|
602
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'test@example-client.com' ORDER BY "users"."id" ASC LIMIT 1[0m
|
603
|
+
[1m[35m (0.1ms)[0m begin transaction
|
604
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = ?, "permissions" = ? WHERE "users"."id" = 11[0m [["remotely_signed_out", true], ["permissions", "---\n- signin\n"]]
|
605
|
+
[1m[35m (26.3ms)[0m 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
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1[0m
|
619
609
|
Authenticating with gds_sso strategy
|
620
|
-
Completed in
|
621
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
622
|
-
Started GET "/auth/gds/callback?code=
|
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"=>"
|
614
|
+
Parameters: {"code"=>"407e9ef07c25f8622c5642b6d172ae690a9d0c64b01504ee5565aa143a549da8", "state"=>"1e995e2169f03eceb72d4040de2e8bd41c18311c3b3c62ca"}
|
625
615
|
Authenticating with gds_sso strategy
|
626
|
-
[1m[
|
627
|
-
[1m[35m (0.1ms)[0m begin transaction
|
628
|
-
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1[0m [["permissions", "---\n- signin\n"]]
|
629
|
-
[1m[35m (16.1ms)[0m commit transaction
|
616
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
630
617
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
631
|
-
[1m[35mSQL (0.
|
632
|
-
[1m[36m (
|
618
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
619
|
+
[1m[36m (22.1ms)[0m [1mcommit transaction[0m
|
620
|
+
[1m[35m (0.1ms)[0m begin transaction
|
621
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = ?, "permissions" = ? WHERE "users"."id" = 11[0m [["remotely_signed_out", false], ["permissions", "---\n- signin\n"]]
|
622
|
+
[1m[35m (16.2ms)[0m commit transaction
|
633
623
|
Redirected to http://www.example-client.com/restricted
|
634
|
-
Completed 302 Found in
|
635
|
-
Started GET "/restricted" for 127.0.0.1 at
|
636
|
-
Processing by ExampleController#restricted as HTML
|
637
|
-
[1m[35mUser Load (0.3ms)[0m 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
|
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1[0m
|
642
|
-
Completed 200 OK in 2ms (Views: 0.
|
643
|
-
Started GET "/restricted" for 127.0.0.1 at
|
644
|
-
Processing by ExampleController#restricted as
|
645
|
-
|
646
|
-
|
647
|
-
|
648
|
-
|
649
|
-
|
650
|
-
|
651
|
-
|
652
|
-
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
653
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
654
|
-
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
|
655
|
-
[1m[36m (13.4ms)[0m [1mcommit transaction[0m
|
656
|
-
[1m[35mUser Load (0.2ms)[0m 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
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
657
639
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
658
|
-
[1m[35mSQL (0.
|
659
|
-
[1m[36m (
|
640
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
641
|
+
[1m[36m (16.5ms)[0m [1mcommit transaction[0m
|
642
|
+
[1m[35m (0.1ms)[0m begin transaction
|
643
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
644
|
+
[1m[35m (15.4ms)[0m 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
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1[0m
|
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
|
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
661
661
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
662
|
-
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" =
|
663
|
-
[1m[36m (
|
662
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
663
|
+
[1m[36m (11.5ms)[0m [1mcommit transaction[0m
|
664
|
+
[1m[35m (0.1ms)[0m begin transaction
|
665
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
666
|
+
[1m[35m (21.7ms)[0m 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
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1[0m
|
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
|
+
[1m[35mUser Load (0.4ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
683
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
684
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
685
|
+
[1m[36m (14.7ms)[0m [1mcommit transaction[0m
|
664
686
|
[1m[35m (0.1ms)[0m begin transaction
|
665
|
-
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" =
|
666
|
-
[1m[35m (
|
667
|
-
|
668
|
-
|
687
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
688
|
+
[1m[35m (12.5ms)[0m 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
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1[0m
|
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
|
+
[1m[35mUser Load (0.3ms)[0m 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
|
-
|
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
|
+
[1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
671
705
|
[1m[35m (0.1ms)[0m begin transaction
|
672
|
-
[1m[36mSQL (0.
|
673
|
-
[1m[35m (
|
706
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "disabled" = ?, "permissions" = ? WHERE "users"."id" = 11[0m [["disabled", nil], ["permissions", "---\n- signin\n"]]
|
707
|
+
[1m[35m (10.3ms)[0m commit transaction
|
674
708
|
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
675
709
|
[1m[35m (0.1ms)[0m begin transaction
|
676
|
-
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" =
|
677
|
-
[1m[35m (
|
678
|
-
[1m[36mUser Load (0.
|
710
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
711
|
+
[1m[35m (12.3ms)[0m commit transaction
|
712
|
+
[1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
679
713
|
[1m[35m (0.1ms)[0m begin transaction
|
680
|
-
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" =
|
681
|
-
[1m[35m (
|
714
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
715
|
+
[1m[35m (10.7ms)[0m commit transaction
|
682
716
|
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
683
717
|
[1m[35m (0.1ms)[0m begin transaction
|
684
|
-
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" =
|
685
|
-
[1m[35m (
|
718
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
719
|
+
[1m[35m (7.1ms)[0m commit transaction
|
686
720
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
687
|
-
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" =
|
688
|
-
[1m[36m (
|
689
|
-
Completed 200 OK in
|
690
|
-
Started GET "/restricted" for 127.0.0.1 at
|
721
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
722
|
+
[1m[36m (57.0ms)[0m [1mcommit transaction[0m
|
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
|
693
|
-
|
694
|
-
|
695
|
-
[1m[
|
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
|
+
[1m[35mUser Load (0.4ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
696
730
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
697
|
-
[1m[35mSQL (0.
|
698
|
-
[1m[36m (
|
699
|
-
|
700
|
-
Parameters: {"uid"=>"a1s2d31054"}
|
701
|
-
Completed 403 Forbidden in 4ms (Views: 3.3ms | ActiveRecord: 0.0ms)
|
702
|
-
[1m[35m (0.1ms)[0m begin transaction
|
703
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?)[0m [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["uid", "a1s2d31287"]]
|
704
|
-
[1m[35m (13.7ms)[0m commit transaction
|
705
|
-
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
706
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (16.0ms)[0m [1mcommit transaction[0m
|
708
|
-
Processing by Api::UserController#update as HTML
|
709
|
-
Parameters: {"uid"=>"a1s2d31287"}
|
710
|
-
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d31287' ORDER BY "users"."id" ASC LIMIT 1
|
731
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
732
|
+
[1m[36m (10.8ms)[0m [1mcommit transaction[0m
|
733
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
711
734
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
712
|
-
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "
|
713
|
-
[1m[36m (
|
714
|
-
|
715
|
-
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]]
|
735
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
736
|
+
[1m[36m (12.6ms)[0m [1mcommit transaction[0m
|
737
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
716
738
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
717
|
-
[1m[35mSQL (0.2ms)[0m
|
718
|
-
[1m[36m (
|
739
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
740
|
+
[1m[36m (14.3ms)[0m [1mcommit transaction[0m
|
741
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
742
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
743
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
744
|
+
[1m[36m (11.2ms)[0m [1mcommit transaction[0m
|
719
745
|
[1m[35m (0.1ms)[0m begin transaction
|
720
|
-
[1m[36mSQL (0.2ms)[0m [
|
721
|
-
[1m[35m (
|
722
|
-
|
723
|
-
Parameters: {"uid"=>"a1s2d38045"}
|
724
|
-
Completed 403 Forbidden in 2ms (Views: 1.0ms | ActiveRecord: 0.0ms)
|
746
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
747
|
+
[1m[35m (8.8ms)[0m commit transaction
|
748
|
+
Completed 200 OK in 324ms (Views: 0.5ms | ActiveRecord: 60.7ms)
|
725
749
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
726
|
-
[1m[35mSQL (0.
|
727
|
-
[1m[36m (
|
750
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["uid", "a1s2d33813"]]
|
751
|
+
[1m[36m (23.0ms)[0m [1mcommit transaction[0m
|
728
752
|
[1m[35m (0.1ms)[0m begin transaction
|
729
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?)[0m [["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"], ["uid", "
|
730
|
-
[1m[35m (
|
731
|
-
Processing by Api::UserController#
|
732
|
-
Parameters: {"uid"=>"
|
733
|
-
|
753
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?)[0m [["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"], ["uid", "a1s2d35294"]]
|
754
|
+
[1m[35m (29.7ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
760
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["uid", "a1s2d38565"]]
|
761
|
+
[1m[36m (11.8ms)[0m [1mcommit transaction[0m
|
734
762
|
[1m[35m (0.1ms)[0m begin transaction
|
735
|
-
[1m[36mSQL (0.
|
736
|
-
[1m[35m (
|
737
|
-
|
738
|
-
|
763
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?)[0m [["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"], ["uid", "a1s2d35623"]]
|
764
|
+
[1m[35m (10.8ms)[0m commit transaction
|
765
|
+
Processing by Api::UserController#update as HTML
|
766
|
+
Parameters: {"uid"=>"a1s2d38565"}
|
767
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d38565' ORDER BY "users"."id" ASC LIMIT 1[0m
|
739
768
|
[1m[35m (0.1ms)[0m begin transaction
|
740
|
-
[1m[36mSQL (0.
|
741
|
-
[1m[35m (
|
769
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "email" = ?, "name" = ?, "organisation_slug" = ?, "permissions" = ? WHERE "users"."id" = 3[0m [["email", "user@domain.com"], ["name", "Joshua Marshall"], ["organisation_slug", "justice-league"], ["permissions", "---\n- signin\n- new permission\n"]]
|
770
|
+
[1m[35m (17.1ms)[0m commit transaction
|
771
|
+
Completed 200 OK in 125ms (ActiveRecord: 17.9ms)
|
772
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 3]]
|
773
|
+
[1m[35m (0.1ms)[0m begin transaction
|
774
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?)[0m [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["uid", "a1s2d38562"]]
|
775
|
+
[1m[35m (23.6ms)[0m commit transaction
|
742
776
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
743
|
-
[1m[35mSQL (0.2ms)[0m 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", "
|
744
|
-
[1m[36m (
|
777
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (9.8ms)[0m [1mcommit transaction[0m
|
745
779
|
Processing by Api::UserController#reauth as HTML
|
746
|
-
Parameters: {"uid"=>"
|
747
|
-
|
748
|
-
|
749
|
-
|
750
|
-
|
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
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
755
|
-
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'test@example-client.com' ORDER BY "users"."id" ASC LIMIT 1
|
756
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
757
|
-
[1m[35mSQL (0.4ms)[0m 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
|
-
[1m[36m (183.1ms)[0m [1mcommit transaction[0m
|
759
|
-
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
760
|
-
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
761
|
-
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
|
762
|
-
[1m[36m (13.4ms)[0m [1mcommit transaction[0m
|
763
|
-
[1m[35mUser Load (0.3ms)[0m 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
|
+
[1m[35m (0.1ms)[0m begin transaction
|
783
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?)[0m [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["uid", "a1s2d3795"]]
|
784
|
+
[1m[35m (12.6ms)[0m commit transaction
|
764
785
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
765
|
-
[1m[35mSQL (0.
|
766
|
-
[1m[36m (
|
767
|
-
|
786
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (9.2ms)[0m [1mcommit transaction[0m
|
788
|
+
Processing by Api::UserController#reauth as HTML
|
789
|
+
Parameters: {"uid"=>"nonexistent-user"}
|
790
|
+
[1m[35mUser Load (0.4ms)[0m 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
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
769
|
-
[1m[35mSQL (0.
|
770
|
-
[1m[36m (
|
771
|
-
[1m[35m (0.1ms)[0m begin transaction
|
772
|
-
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "permissions" = ?, "remotely_signed_out" = ? WHERE "users"."id" = 1[0m [["permissions", "---\n- signin\n"], ["remotely_signed_out", "f"]]
|
773
|
-
[1m[35m (42.0ms)[0m 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
|
-
[1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
793
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["uid", "a1s2d3553"]]
|
794
|
+
[1m[36m (26.1ms)[0m [1mcommit transaction[0m
|
781
795
|
[1m[35m (0.1ms)[0m begin transaction
|
782
|
-
[1m[36mSQL (0.2ms)[0m [
|
783
|
-
[1m[35m (
|
784
|
-
|
796
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?)[0m [["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"], ["uid", "a1s2d31503"]]
|
797
|
+
[1m[35m (22.6ms)[0m commit transaction
|
798
|
+
Processing by Api::UserController#reauth as HTML
|
799
|
+
Parameters: {"uid"=>"a1s2d3553"}
|
800
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d3553' ORDER BY "users"."id" ASC LIMIT 1[0m
|
785
801
|
[1m[35m (0.1ms)[0m begin transaction
|
786
|
-
[1m[36mSQL (0.
|
802
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "permissions" = ?, "remotely_signed_out" = ? WHERE "users"."id" = 9[0m [["permissions", "---\n- signin\n"], ["remotely_signed_out", "t"]]
|
787
803
|
[1m[35m (12.3ms)[0m commit transaction
|
788
|
-
|
789
|
-
[1m[
|
790
|
-
|
791
|
-
|
792
|
-
|
804
|
+
Completed 200 OK in 17ms (ActiveRecord: 12.9ms)
|
805
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["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
|
+
[1m[35mUser Load (0.8ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
819
|
+
[1m[36mUser Load (0.6ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'test@example-client.com' ORDER BY "users"."id" ASC LIMIT 1[0m
|
820
|
+
[1m[35m (0.2ms)[0m begin transaction
|
821
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?)[0m [["email", "test@example-client.com"], ["name", "Test User"], ["permissions", "---\n- signin\n"], ["uid", "integration-uid"]]
|
822
|
+
[1m[35m (29.5ms)[0m commit transaction
|
823
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
824
|
+
[1m[35mSQL (0.8ms)[0m UPDATE "users" SET "permissions" = ?, "remotely_signed_out" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"], ["remotely_signed_out", "f"]]
|
825
|
+
[1m[36m (60.9ms)[0m [1mcommit transaction[0m
|
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
|
+
[1m[35mUser Load (0.7ms)[0m 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
|
+
[1m[36mUser Load (0.5ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
793
842
|
[1m[35m (0.1ms)[0m begin transaction
|
794
|
-
[1m[36mSQL (0.
|
795
|
-
[1m[35m (
|
843
|
+
[1m[36mSQL (0.6ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
844
|
+
[1m[35m (101.9ms)[0m commit transaction
|
796
845
|
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
797
|
-
[1m[35mSQL (0.
|
798
|
-
[1m[36m (
|
799
|
-
|
800
|
-
|
801
|
-
|
846
|
+
[1m[35mSQL (0.8ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
847
|
+
[1m[36m (29.5ms)[0m [1mcommit transaction[0m
|
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
|
+
[1m[35mUser Load (0.4ms)[0m 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
|
805
|
-
Started GET "/auth/gds/callback?code=
|
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"=>"
|
861
|
+
Parameters: {"code"=>"b25255a34182b673ac488fde41537b100c0ce31a991b63cad60c267c8fcc6682", "state"=>"6cbe44a62b9451f64435cbc6156b63872a761e67088aac31"}
|
808
862
|
Authenticating with gds_sso strategy
|
809
|
-
[1m[
|
810
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
811
|
-
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
|
812
|
-
[1m[36m (23.0ms)[0m [1mcommit transaction[0m
|
863
|
+
[1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
813
864
|
[1m[35m (0.1ms)[0m begin transaction
|
814
|
-
[1m[36mSQL (0.
|
815
|
-
[1m[35m (
|
816
|
-
|
817
|
-
|
818
|
-
|
819
|
-
|
820
|
-
|
865
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
866
|
+
[1m[35m (24.1ms)[0m commit transaction
|
867
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
868
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
869
|
+
[1m[36m (23.6ms)[0m [1mcommit transaction[0m
|
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
|
+
[1m[35mUser Load (0.3ms)[0m 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
|
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
|
826
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
827
|
-
Started GET "/auth/gds/callback?code=
|
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"=>"
|
883
|
+
Parameters: {"code"=>"e6c52854f10869e2bdbfe0fe16a712eea9de97573903a905d79a0964fb32bb1d", "state"=>"002b5fa5b0434be43217bd78703d7d8ce1f1b9e1ab9ebdb9"}
|
830
884
|
Authenticating with gds_sso strategy
|
831
|
-
[1m[
|
832
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
833
|
-
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
|
834
|
-
[1m[36m (16.6ms)[0m [1mcommit transaction[0m
|
885
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
835
886
|
[1m[35m (0.1ms)[0m begin transaction
|
836
|
-
[1m[36mSQL (0.
|
837
|
-
[1m[35m (
|
887
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
888
|
+
[1m[35m (55.5ms)[0m commit transaction
|
889
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
890
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
891
|
+
[1m[36m (53.0ms)[0m [1mcommit transaction[0m
|
838
892
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
839
|
-
Completed 302 Found in
|
840
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at
|
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
|
+
[1m[35mUser Load (0.4ms)[0m 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
|
-
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1[0m
|
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
|
849
|
-
Started GET "/auth/gds/callback?code=
|
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"=>"
|
905
|
+
Parameters: {"code"=>"607b95542f045f294722e623d451d68494bfd370e2967e126e47d2ca202b9090", "state"=>"6e4b0c45620ce2dc63cc4d189fdef501ef80b58f9e882e0b"}
|
852
906
|
Authenticating with gds_sso strategy
|
853
|
-
[1m[
|
854
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
855
|
-
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
|
856
|
-
[1m[36m (11.5ms)[0m [1mcommit transaction[0m
|
907
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
857
908
|
[1m[35m (0.1ms)[0m begin transaction
|
858
|
-
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" =
|
859
|
-
[1m[35m (
|
860
|
-
|
861
|
-
|
862
|
-
|
863
|
-
|
864
|
-
|
865
|
-
|
866
|
-
|
867
|
-
|
868
|
-
Completed 200 OK in
|
869
|
-
Started GET "/restricted" for 127.0.0.1 at
|
909
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
910
|
+
[1m[35m (21.6ms)[0m commit transaction
|
911
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
912
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
913
|
+
[1m[36m (15.3ms)[0m [1mcommit transaction[0m
|
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
|
+
[1m[35mUser Load (0.3ms)[0m 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
|
874
|
-
Started GET "/auth/gds/callback?code=
|
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"=>"
|
927
|
+
Parameters: {"code"=>"1c6d433ed747d3330d2632faaf6933556ae489d7675205804dc49f5de3141231", "state"=>"8a1211963f673faa102757d36f47cffa60073da4ea38135f"}
|
877
928
|
Authenticating with gds_sso strategy
|
878
|
-
[1m[
|
879
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
880
|
-
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
|
881
|
-
[1m[36m (12.7ms)[0m [1mcommit transaction[0m
|
929
|
+
[1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
882
930
|
[1m[35m (0.1ms)[0m begin transaction
|
883
|
-
[1m[36mSQL (0.
|
884
|
-
[1m[35m (
|
931
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
932
|
+
[1m[35m (91.7ms)[0m commit transaction
|
933
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
934
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
935
|
+
[1m[36m (75.7ms)[0m [1mcommit transaction[0m
|
885
936
|
Redirected to http://www.example-client.com/restricted
|
886
|
-
Completed 302 Found in
|
887
|
-
Started GET "/restricted" for 127.0.0.1 at
|
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
|
-
[1m[
|
940
|
+
[1m[35mUser Load (0.3ms)[0m 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
|
-
|
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
|
-
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
901
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
902
|
-
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
|
903
|
-
[1m[36m (10.6ms)[0m [1mcommit transaction[0m
|
942
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'test@example-client.com' ORDER BY "users"."id" ASC LIMIT 1[0m
|
904
943
|
[1m[35m (0.1ms)[0m begin transaction
|
905
|
-
[1m[36mSQL (0.
|
906
|
-
[1m[35m (
|
907
|
-
|
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
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ?, "remotely_signed_out" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"], ["remotely_signed_out", "t"]]
|
945
|
+
[1m[35m (27.8ms)[0m 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
|
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1[0m
|
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
|
917
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
918
|
-
Started GET "/auth/gds/callback?code=
|
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"=>"
|
954
|
+
Parameters: {"code"=>"24a1d73247c6d2382503c7c2628ebf8284ce5fc339fb5a772d6a77682c199743", "state"=>"4a0f75e61cbb3682a942f3f128608dd8b01ee0bd1197ab3d"}
|
921
955
|
Authenticating with gds_sso strategy
|
922
956
|
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
923
957
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
924
|
-
[1m[35mSQL (
|
925
|
-
[1m[36m (
|
958
|
+
[1m[35mSQL (2.8ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
959
|
+
[1m[36m (32.3ms)[0m [1mcommit transaction[0m
|
926
960
|
[1m[35m (0.1ms)[0m begin transaction
|
927
|
-
[1m[36mSQL (0.
|
928
|
-
[1m[35m (
|
961
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ?, "remotely_signed_out" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"], ["remotely_signed_out", "f"]]
|
962
|
+
[1m[35m (20.5ms)[0m commit transaction
|
929
963
|
Redirected to http://www.example-client.com/restricted
|
930
|
-
Completed 302 Found in
|
931
|
-
Started GET "/restricted" for 127.0.0.1 at
|
932
|
-
Processing by ExampleController#restricted as HTML
|
933
|
-
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1[0m
|
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
|
-
[1m[
|
938
|
-
Completed 200 OK in
|
939
|
-
Started GET "/restricted" for 127.0.0.1 at
|
967
|
+
[1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1[0m
|
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
|
944
|
-
Started GET "/auth/gds/callback?code=
|
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"=>"
|
976
|
+
Parameters: {"code"=>"ff0942b9a2e26c2c8920e06951ec0cc036a9812ad03c2957a189ac4013035652", "state"=>"103429823d532b1dffa12c10279af2e1c2f780541d3e2995"}
|
947
977
|
Authenticating with gds_sso strategy
|
948
|
-
[1m[
|
949
|
-
[1m[35m (0.1ms)[0m begin transaction
|
950
|
-
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1[0m [["permissions", "---\n- signin\n"]]
|
951
|
-
[1m[35m (10.1ms)[0m commit transaction
|
978
|
+
[1m[35mUser Load (0.4ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
952
979
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
953
|
-
[1m[35mSQL (0.
|
954
|
-
[1m[36m (
|
980
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
981
|
+
[1m[36m (38.3ms)[0m [1mcommit transaction[0m
|
982
|
+
[1m[35m (0.3ms)[0m begin transaction
|
983
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
984
|
+
[1m[35m (24.1ms)[0m commit transaction
|
955
985
|
Redirected to http://www.example-client.com/restricted
|
956
|
-
Completed 302 Found in
|
957
|
-
Started GET "/restricted" for 127.0.0.1 at
|
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
|
-
[1m[
|
960
|
-
Completed 200 OK in
|
961
|
-
Started GET "/restricted" for 127.0.0.1 at
|
989
|
+
[1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1[0m
|
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
|
965
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
966
|
-
Started GET "/auth/gds/callback?code=
|
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"=>"
|
998
|
+
Parameters: {"code"=>"28d219959548bc709b1af9c3a2fa56fb2545ff87aa1148fc768bf4d9966b6ec6", "state"=>"f062710ec432feec944619ad0efe0829a39cfe7f0b5e1fb3"}
|
969
999
|
Authenticating with gds_sso strategy
|
970
|
-
[1m[
|
1000
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
1001
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1002
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
1003
|
+
[1m[36m (24.0ms)[0m [1mcommit transaction[0m
|
971
1004
|
[1m[35m (0.1ms)[0m begin transaction
|
972
|
-
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" =
|
973
|
-
[1m[35m (
|
974
|
-
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
975
|
-
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
|
976
|
-
[1m[36m (19.5ms)[0m [1mcommit transaction[0m
|
1005
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
1006
|
+
[1m[35m (29.4ms)[0m commit transaction
|
977
1007
|
Redirected to http://www.example-client.com/restricted
|
978
|
-
Completed 302 Found in
|
979
|
-
Started GET "/restricted" for 127.0.0.1 at
|
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
|
-
[1m[
|
982
|
-
Completed 200 OK in
|
983
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1011
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1[0m
|
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
|
988
|
-
Started GET "/auth/gds/callback?code=
|
989
|
-
Processing by AuthenticationsController#callback as HTML
|
990
|
-
Parameters: {"code"=>"f3eea0b2a0c3e53513ea35e30885aee15b4034a45a2c928196757b6901057b7a", "state"=>"c2f4b8c9af6e9547d10c3cee2c6d7db2ea8f1736ab7da8d6"}
|
991
|
-
Authenticating with gds_sso strategy
|
992
|
-
[1m[36mUser Load (0.6ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
993
|
-
[1m[35m (0.1ms)[0m begin transaction
|
994
|
-
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1[0m [["permissions", "---\n- signin\n"]]
|
995
|
-
[1m[35m (11.3ms)[0m commit transaction
|
996
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
997
|
-
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
|
998
|
-
[1m[36m (10.1ms)[0m [1mcommit transaction[0m
|
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
|
-
[1m[35mUser Load (0.3ms)[0m 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
|
-
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'test@example-client.com' ORDER BY "users"."id" ASC LIMIT 1[0m
|
1006
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1007
|
-
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ?, "remotely_signed_out" = ? WHERE "users"."id" = 1[0m [["permissions", "---\n- signin\n"], ["remotely_signed_out", "t"]]
|
1008
|
-
[1m[35m (11.5ms)[0m 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
|
-
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1[0m
|
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"=>"
|
1020
|
+
Parameters: {"code"=>"d9416a80ba8959c9c1b703290c0945b4613a2eeea14105f8146d99793c684f7a", "state"=>"e24b9a0d4203033db790ae325ae3eb7d6f4b60a5b12d2021"}
|
1018
1021
|
Authenticating with gds_sso strategy
|
1019
1022
|
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
1020
1023
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1021
|
-
[1m[35mSQL (0.
|
1022
|
-
[1m[36m (
|
1024
|
+
[1m[35mSQL (0.4ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
1025
|
+
[1m[36m (74.8ms)[0m [1mcommit transaction[0m
|
1023
1026
|
[1m[35m (0.1ms)[0m begin transaction
|
1024
|
-
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "permissions" =
|
1025
|
-
[1m[35m (
|
1027
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
1028
|
+
[1m[35m (30.1ms)[0m commit transaction
|
1026
1029
|
Redirected to http://www.example-client.com/restricted
|
1027
|
-
Completed 302 Found in
|
1028
|
-
Started GET "/restricted" for 127.0.0.1 at
|
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
|
-
[1m[36mUser Load (0.
|
1031
|
-
Completed 200 OK in
|
1032
|
-
|
1033
|
-
|
1034
|
-
[1m[
|
1035
|
-
|
1036
|
-
|
1037
|
-
|
1038
|
-
|
1039
|
-
|
1040
|
-
|
1041
|
-
|
1042
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1043
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["uid", "a1s2d31990"]]
|
1044
|
-
[1m[36m (12.9ms)[0m [1mcommit transaction[0m
|
1033
|
+
[1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1[0m
|
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
|
+
[1m[35mUser Load (0.3ms)[0m 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
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
1045
1045
|
[1m[35m (0.1ms)[0m begin transaction
|
1046
|
-
[1m[36mSQL (0.
|
1047
|
-
[1m[35m (
|
1048
|
-
|
1049
|
-
Parameters: {"uid"=>"a1s2d31990"}
|
1050
|
-
Completed 403 Forbidden in 4ms (Views: 3.5ms | ActiveRecord: 0.0ms)
|
1051
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1052
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["uid", "a1s2d33679"]]
|
1053
|
-
[1m[36m (16.9ms)[0m [1mcommit transaction[0m
|
1046
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "disabled" = ?, "permissions" = ? WHERE "users"."id" = 11[0m [["disabled", nil], ["permissions", "---\n- signin\n"]]
|
1047
|
+
[1m[35m (20.2ms)[0m commit transaction
|
1048
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
1054
1049
|
[1m[35m (0.1ms)[0m begin transaction
|
1055
|
-
[1m[36mSQL (0.2ms)[0m [
|
1056
|
-
[1m[35m (
|
1057
|
-
|
1058
|
-
Parameters: {"uid"=>"a1s2d33679"}
|
1059
|
-
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d33679' ORDER BY "users"."id" ASC LIMIT 1[0m
|
1050
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
1051
|
+
[1m[35m (33.3ms)[0m commit transaction
|
1052
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
1060
1053
|
[1m[35m (0.1ms)[0m begin transaction
|
1061
|
-
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" =
|
1062
|
-
[1m[35m (
|
1063
|
-
|
1064
|
-
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 6]]
|
1054
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
1055
|
+
[1m[35m (27.8ms)[0m commit transaction
|
1056
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
1065
1057
|
[1m[35m (0.1ms)[0m begin transaction
|
1066
|
-
[1m[36mSQL (0.2ms)[0m [
|
1067
|
-
[1m[35m (
|
1058
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
1059
|
+
[1m[35m (40.7ms)[0m commit transaction
|
1068
1060
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1069
|
-
[1m[35mSQL (0.
|
1070
|
-
[1m[36m (
|
1071
|
-
|
1072
|
-
|
1073
|
-
|
1061
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
1062
|
+
[1m[36m (31.6ms)[0m [1mcommit transaction[0m
|
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
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
1074
1067
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1075
|
-
[1m[35mSQL (0.
|
1076
|
-
[1m[36m (
|
1077
|
-
|
1078
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 8]]
|
1068
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
1069
|
+
[1m[36m (49.9ms)[0m [1mcommit transaction[0m
|
1070
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
1079
1071
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1080
|
-
[1m[35mSQL (0.2ms)[0m
|
1081
|
-
[1m[36m (
|
1082
|
-
[1m[
|
1083
|
-
[1m[
|
1084
|
-
[1m[
|
1085
|
-
|
1086
|
-
|
1087
|
-
|
1072
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
1073
|
+
[1m[36m (73.0ms)[0m [1mcommit transaction[0m
|
1074
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
1075
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1076
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
1077
|
+
[1m[36m (44.0ms)[0m [1mcommit transaction[0m
|
1078
|
+
[1m[35mUser Load (0.4ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
1079
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1080
|
+
[1m[35mSQL (0.4ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
1081
|
+
[1m[36m (65.7ms)[0m [1mcommit transaction[0m
|
1082
|
+
[1m[35m (0.2ms)[0m begin transaction
|
1083
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
1084
|
+
[1m[35m (51.2ms)[0m 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
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1090
|
-
[1m[35mSQL (0.
|
1091
|
-
[1m[36m (
|
1091
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (37.4ms)[0m [1mcommit transaction[0m
|
1092
1093
|
[1m[35m (0.1ms)[0m begin transaction
|
1093
|
-
[1m[36mSQL (0.
|
1094
|
-
[1m[35m (
|
1094
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("disabled", "email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (21.0ms)[0m 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"=>"
|
1098
|
-
Rendered /home/jenkins/workspace/govuk_gds_sso/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.
|
1099
|
-
Completed 403 Forbidden in
|
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
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1101
|
-
[1m[35mSQL (0.2ms)[0m 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", "
|
1102
|
-
[1m[36m (
|
1102
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (43.0ms)[0m [1mcommit transaction[0m
|
1103
1104
|
[1m[35m (0.1ms)[0m begin transaction
|
1104
|
-
[1m[36mSQL (0.
|
1105
|
-
[1m[35m (
|
1105
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("disabled", "email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (7.5ms)[0m commit transaction
|
1106
1107
|
Processing by Api::UserController#update as HTML
|
1107
|
-
Parameters: {"uid"=>"
|
1108
|
-
[1m[36mUser Load (0.
|
1109
|
-
[1m[35m (0.
|
1110
|
-
[1m[36m (0.
|
1108
|
+
Parameters: {"uid"=>"a1s2d35811"}
|
1109
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d35811' LIMIT 1[0m
|
1110
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1111
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "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[0m
|
1114
|
-
[1m[35m (
|
1115
|
-
Completed 200 OK in
|
1116
|
-
[1m[36mUser Load (0.
|
1115
|
+
[1m[35m (13.1ms)[0m commit transaction
|
1116
|
+
Completed 200 OK in 25.4ms (ActiveRecord: 13.8ms)
|
1117
|
+
[1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 3]]
|
1117
1118
|
[1m[35m (0.1ms)[0m begin transaction
|
1118
|
-
[1m[36mSQL (0.
|
1119
|
-
[1m[35m (
|
1119
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("disabled", "email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["disabled", false], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["organisation_slug", nil], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d39003"]]
|
1120
|
+
[1m[35m (18.2ms)[0m commit transaction
|
1120
1121
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1121
|
-
[1m[35mSQL (0.
|
1122
|
-
[1m[36m (
|
1122
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (11.1ms)[0m [1mcommit transaction[0m
|
1124
|
+
WARNING: Can't mass-assign protected attributes: uid, name, permissions
|
1123
1125
|
Processing by Api::UserController#reauth as HTML
|
1124
|
-
Parameters: {"uid"=>"
|
1125
|
-
|
1126
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1127
|
-
[1m[35m (0.4ms)[0m UPDATE "users" SET "remotely_signed_out" = 't', "permissions" = '---
|
1128
|
-
- signin
|
1129
|
-
' WHERE "users"."id" = 5
|
1130
|
-
[1m[36m (12.8ms)[0m [1mcommit transaction[0m
|
1131
|
-
Completed 200 OK in 16.4ms (ActiveRecord: 13.5ms)
|
1132
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]]
|
1133
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1134
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (19.9ms)[0m [1mcommit transaction[0m
|
1126
|
+
Parameters: {"uid"=>"a1s2d39003"}
|
1127
|
+
Completed 403 Forbidden in 2.5ms (Views: 1.5ms | ActiveRecord: 0.0ms)
|
1136
1128
|
[1m[35m (0.1ms)[0m begin transaction
|
1137
|
-
[1m[36mSQL (0.
|
1138
|
-
[1m[35m (
|
1139
|
-
|
1129
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("disabled", "email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["disabled", false], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["organisation_slug", nil], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d37930"]]
|
1130
|
+
[1m[35m (14.9ms)[0m commit transaction
|
1131
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1132
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (13.6ms)[0m [1mcommit transaction[0m
|
1140
1134
|
Processing by Api::UserController#reauth as HTML
|
1141
|
-
Parameters: {"uid"=>"
|
1142
|
-
|
1135
|
+
Parameters: {"uid"=>"nonexistent-user"}
|
1136
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'nonexistent-user' LIMIT 1
|
1137
|
+
Completed 200 OK in 1.4ms (ActiveRecord: 0.2ms)
|
1143
1138
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1144
|
-
[1m[35mSQL (
|
1145
|
-
[1m[36m (
|
1139
|
+
[1m[35mSQL (10.7ms)[0m 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
|
+
[1m[36m (22.7ms)[0m [1mcommit transaction[0m
|
1146
1141
|
[1m[35m (0.1ms)[0m begin transaction
|
1147
|
-
[1m[36mSQL (0.
|
1148
|
-
[1m[35m (
|
1142
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("disabled", "email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (53.7ms)[0m commit transaction
|
1149
1144
|
Processing by Api::UserController#reauth as HTML
|
1150
|
-
Parameters: {"uid"=>"
|
1151
|
-
[1m[36mUser Load (0.
|
1152
|
-
|
1153
|
-
|
1145
|
+
Parameters: {"uid"=>"a1s2d39854"}
|
1146
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d39854' LIMIT 1[0m
|
1147
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1148
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = 't', "permissions" = '---
|
1149
|
+
- signin
|
1150
|
+
' WHERE "users"."id" = 9[0m
|
1151
|
+
[1m[35m (18.2ms)[0m commit transaction
|
1152
|
+
Completed 200 OK in 21.4ms (ActiveRecord: 18.7ms)
|
1153
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["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.
|
1156
|
-
Started GET "/
|
1157
|
-
Processing by ExampleController#
|
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
|
1161
|
-
Started GET "/auth/gds/callback?code=
|
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"=>"
|
1164
|
+
Parameters: {"code"=>"f8e70594b1d51e81d7fbda4bcc4a4b5214a3272d8f95b9ba5fbcccc625f57589", "state"=>"71a17142e7e41ea18b3665061d1d3dc3028cb1a3267d69d1"}
|
1164
1165
|
Authenticating with gds_sso strategy
|
1165
|
-
[1m[35mUser Load (0.
|
1166
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
1166
1167
|
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'test@example-client.com' LIMIT 1[0m
|
1167
|
-
[1m[35m (0.
|
1168
|
-
[1m[36mSQL (0.
|
1169
|
-
[1m[35m (
|
1168
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1169
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("disabled", "email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (41.8ms)[0m commit transaction
|
1170
1171
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1171
|
-
[1m[35m (0.
|
1172
|
+
[1m[35m (0.8ms)[0m UPDATE "users" SET "remotely_signed_out" = 'f', "permissions" = '---
|
1172
1173
|
- signin
|
1173
1174
|
' WHERE "users"."id" = 11
|
1174
|
-
[1m[36m (
|
1175
|
-
Redirected to http://www.example-client.com/
|
1176
|
-
Completed 302 Found in
|
1177
|
-
Started GET "/
|
1178
|
-
Processing by ExampleController#
|
1179
|
-
[1m[35mUser Load (0.
|
1180
|
-
Completed 200 OK in
|
1181
|
-
Started GET "/
|
1182
|
-
Processing by ExampleController#
|
1175
|
+
[1m[36m (25.8ms)[0m [1mcommit transaction[0m
|
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
|
+
[1m[35mUser Load (0.3ms)[0m 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.
|
1185
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1186
|
-
Started GET "/auth/gds/callback?code=
|
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"=>"
|
1189
|
+
Parameters: {"code"=>"f814e010cecb664208c2ae232011ca56a9be3e627a5fd30c32283bb9e5b066f5", "state"=>"7fec08fdba52d815045726bb783b49ce05817de4b457f21e"}
|
1189
1190
|
Authenticating with gds_sso strategy
|
1190
|
-
[1m[36mUser Load (0.
|
1191
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
1191
1192
|
[1m[35m (0.0ms)[0m begin transaction
|
1192
|
-
[1m[36m (0.
|
1193
|
+
[1m[36m (0.4ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
1193
1194
|
- signin
|
1194
1195
|
' WHERE "users"."id" = 11[0m
|
1195
|
-
[1m[35m (
|
1196
|
+
[1m[35m (26.5ms)[0m commit transaction
|
1196
1197
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1197
|
-
[1m[35m (0.
|
1198
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
1198
1199
|
- signin
|
1199
1200
|
' WHERE "users"."id" = 11
|
1200
|
-
[1m[36m (
|
1201
|
-
Redirected to http://www.example-client.com/
|
1202
|
-
Completed 302 Found in
|
1203
|
-
Started GET "/
|
1204
|
-
Processing by ExampleController#
|
1205
|
-
[1m[35mUser Load (0.
|
1206
|
-
Completed 200 OK in
|
1207
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1201
|
+
[1m[36m (25.2ms)[0m [1mcommit transaction[0m
|
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
|
+
[1m[35mUser Load (0.3ms)[0m 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.
|
1211
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1212
|
-
Started GET "/auth/gds/callback?code=
|
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"=>"
|
1215
|
+
Parameters: {"code"=>"da3c5df5188625286f4bb77be7a97024e888f46ec43192c49df50538e3b89fcf", "state"=>"2fe8b920fb9d7caf3fdb5584ccf43a43bec4e82100c47cb0"}
|
1215
1216
|
Authenticating with gds_sso strategy
|
1216
1217
|
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
1217
|
-
[1m[35m (0.
|
1218
|
-
[1m[36m (0.
|
1218
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1219
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
1219
1220
|
- signin
|
1220
1221
|
' WHERE "users"."id" = 11[0m
|
1221
|
-
[1m[35m (
|
1222
|
+
[1m[35m (10.7ms)[0m commit transaction
|
1222
1223
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1223
|
-
[1m[35m (0.
|
1224
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
1224
1225
|
- signin
|
1225
1226
|
' WHERE "users"."id" = 11
|
1226
|
-
[1m[36m (
|
1227
|
+
[1m[36m (9.1ms)[0m [1mcommit transaction[0m
|
1227
1228
|
Redirected to http://www.example-client.com/restricted
|
1228
|
-
Completed 302 Found in
|
1229
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1230
|
-
Processing by ExampleController#restricted as HTML
|
1231
|
-
[1m[35mUser Load (0.2ms)[0m 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
|
+
[1m[35mUser Load (0.3ms)[0m 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.
|
1237
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1238
|
-
Started GET "/auth/gds/callback?code=
|
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"=>"
|
1241
|
+
Parameters: {"code"=>"cf0f476ead7bfde3944ab987eabdcde9892466b4c1416b723a91d90183bededd", "state"=>"26df1f09cf519d727e78e380f126d60418d0b5b0ef424731"}
|
1241
1242
|
Authenticating with gds_sso strategy
|
1242
1243
|
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
1243
1244
|
[1m[35m (0.1ms)[0m begin transaction
|
1244
1245
|
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
1245
1246
|
- signin
|
1246
1247
|
' WHERE "users"."id" = 11[0m
|
1247
|
-
[1m[35m (
|
1248
|
+
[1m[35m (28.0ms)[0m commit transaction
|
1248
1249
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1249
|
-
[1m[35m (0.
|
1250
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
1250
1251
|
- signin
|
1251
1252
|
' WHERE "users"."id" = 11
|
1252
|
-
[1m[36m (
|
1253
|
-
Redirected to http://www.example-client.com/
|
1254
|
-
Completed 302 Found in
|
1255
|
-
Started GET "/
|
1256
|
-
Processing by ExampleController#
|
1257
|
-
[1m[35mUser Load (0.
|
1258
|
-
Completed 200 OK in
|
1259
|
-
Started GET "/
|
1260
|
-
Processing by ExampleController#
|
1253
|
+
[1m[36m (40.7ms)[0m [1mcommit transaction[0m
|
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
|
+
[1m[35mUser Load (0.3ms)[0m 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
|
1264
|
-
Started GET "/auth/gds/callback?code=
|
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"=>"
|
1267
|
+
Parameters: {"code"=>"a6e1c5de1da3677362b069b03ed1bafafb5d01faf4298905a91109551c57fd25", "state"=>"aa02ce40907f4dfab02b848d9ddad803f6893345edfa08f3"}
|
1267
1268
|
Authenticating with gds_sso strategy
|
1268
|
-
[1m[36mUser Load (0.
|
1269
|
-
[1m[35m (0.
|
1269
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
1270
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1270
1271
|
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
1271
1272
|
- signin
|
1272
1273
|
' WHERE "users"."id" = 11[0m
|
1273
|
-
[1m[35m (
|
1274
|
+
[1m[35m (56.5ms)[0m commit transaction
|
1274
1275
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1275
|
-
[1m[35m (0.
|
1276
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
1276
1277
|
- signin
|
1277
1278
|
' WHERE "users"."id" = 11
|
1278
|
-
[1m[36m (
|
1279
|
-
Redirected to http://www.example-client.com/
|
1280
|
-
Completed 302 Found in
|
1281
|
-
Started GET "/
|
1282
|
-
Processing by ExampleController#
|
1283
|
-
[1m[35mUser Load (0.
|
1284
|
-
Completed 200 OK in
|
1285
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1279
|
+
[1m[36m (15.6ms)[0m [1mcommit transaction[0m
|
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
|
+
[1m[35mUser Load (0.2ms)[0m 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.
|
1289
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1290
|
-
Started GET "/auth/gds/callback?code=
|
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"=>"
|
1293
|
+
Parameters: {"code"=>"62301137e640f9b6a927dd4567a4357657ae5c37806974ed99b77b2bd0558c9b", "state"=>"08c3c5eac77553c430bd1385578392d310152bb3a3c6ad92"}
|
1293
1294
|
Authenticating with gds_sso strategy
|
1294
|
-
[1m[36mUser Load (0.
|
1295
|
-
[1m[35m (0.
|
1296
|
-
[1m[36m (0.
|
1295
|
+
[1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
1296
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1297
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
1297
1298
|
- signin
|
1298
1299
|
' WHERE "users"."id" = 11[0m
|
1299
|
-
[1m[35m (
|
1300
|
+
[1m[35m (33.4ms)[0m commit transaction
|
1300
1301
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1301
|
-
[1m[35m (0.
|
1302
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
1302
1303
|
- signin
|
1303
1304
|
' WHERE "users"."id" = 11
|
1304
|
-
[1m[36m (
|
1305
|
+
[1m[36m (37.2ms)[0m [1mcommit transaction[0m
|
1305
1306
|
Redirected to http://www.example-client.com/restricted
|
1306
|
-
Completed 302 Found in
|
1307
|
-
Started GET "/restricted" for 127.0.0.1 at
|
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
|
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1
|
1310
|
-
Completed 200 OK in
|
1311
|
-
[1m[36mUser Load (0.
|
1312
|
-
[1m[35m (0.
|
1311
|
+
Completed 200 OK in 2.1ms (Views: 0.4ms | ActiveRecord: 0.3ms)
|
1312
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'test@example-client.com' LIMIT 1[0m
|
1313
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1313
1314
|
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = 't', "permissions" = '---
|
1314
1315
|
- signin
|
1315
1316
|
' WHERE "users"."id" = 11[0m
|
1316
|
-
[1m[35m (
|
1317
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1317
|
+
[1m[35m (15.5ms)[0m 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
|
-
[1m[36mUser Load (0.
|
1320
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1[0m
|
1320
1321
|
Authenticating with gds_sso strategy
|
1321
|
-
Completed in 1.
|
1322
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1323
|
-
Started GET "/auth/gds/callback?code=
|
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"=>"
|
1326
|
+
Parameters: {"code"=>"31a8e0b49abe2620f93bb64cdf99ad5f509a8b7fd8549e3e8c9bafe7572f08f1", "state"=>"730cedb124c2e8235bd87cc0a65165c055aa28c58af20a9b"}
|
1326
1327
|
Authenticating with gds_sso strategy
|
1327
1328
|
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
1328
|
-
[1m[36m (0.
|
1329
|
-
[1m[35m (0.
|
1329
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1330
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
1330
1331
|
- signin
|
1331
1332
|
' WHERE "users"."id" = 11
|
1332
|
-
[1m[36m (
|
1333
|
+
[1m[36m (13.0ms)[0m [1mcommit transaction[0m
|
1333
1334
|
[1m[35m (0.1ms)[0m begin transaction
|
1334
1335
|
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = 'f', "permissions" = '---
|
1335
1336
|
- signin
|
1336
1337
|
' WHERE "users"."id" = 11[0m
|
1337
|
-
[1m[35m (
|
1338
|
+
[1m[35m (13.7ms)[0m commit transaction
|
1338
1339
|
Redirected to http://www.example-client.com/restricted
|
1339
|
-
Completed 302 Found in
|
1340
|
-
Started GET "/restricted" for 127.0.0.1 at
|
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
|
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1[0m
|
1343
1344
|
Completed 200 OK in 1.7ms (Views: 0.3ms | ActiveRecord: 0.3ms)
|
1344
|
-
Started GET "/restricted" for 127.0.0.1 at
|
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
|
1349
|
-
Started GET "/auth/gds/callback?code=
|
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"=>"
|
1352
|
+
Parameters: {"code"=>"18d46886803ddbcd87550625c5da2823071183dba1af40c996274e8640b68ff0", "state"=>"dd03d59044e610c24d8ffc65c48c01881d367ce2c08a94c6"}
|
1352
1353
|
Authenticating with gds_sso strategy
|
1353
|
-
[1m[35mUser Load (0.
|
1354
|
-
[1m[36m (0.
|
1355
|
-
[1m[35m (0.
|
1354
|
+
[1m[35mUser Load (0.4ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
1355
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1356
|
+
[1m[35m (0.4ms)[0m UPDATE "users" SET "permissions" = '---
|
1356
1357
|
- signin
|
1357
1358
|
' WHERE "users"."id" = 11
|
1358
|
-
[1m[36m (18.
|
1359
|
+
[1m[36m (18.5ms)[0m [1mcommit transaction[0m
|
1359
1360
|
[1m[35m (0.1ms)[0m begin transaction
|
1360
1361
|
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
1361
1362
|
- signin
|
1362
1363
|
' WHERE "users"."id" = 11[0m
|
1363
|
-
[1m[35m (
|
1364
|
+
[1m[35m (11.2ms)[0m commit transaction
|
1364
1365
|
Redirected to http://www.example-client.com/restricted
|
1365
|
-
Completed 302 Found in
|
1366
|
-
Started GET "/restricted" for 127.0.0.1 at
|
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
|
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1[0m
|
1369
|
-
Completed 200 OK in
|
1370
|
-
Started GET "/restricted" for 127.0.0.1 at
|
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
|
1375
|
-
Started GET "/auth/gds/callback?code=
|
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"=>"
|
1378
|
+
Parameters: {"code"=>"32eeabd4e689344825cca3df17b1f4575a9dadf9dee60b1b90ac25d455db25a3", "state"=>"ad746e5f10cf55cd7ae2f6ec10870bee1336c0b570e9c198"}
|
1378
1379
|
Authenticating with gds_sso strategy
|
1379
|
-
[1m[35mUser Load (0.
|
1380
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
1380
1381
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1381
|
-
[1m[35m (0.
|
1382
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
1382
1383
|
- signin
|
1383
1384
|
' WHERE "users"."id" = 11
|
1384
|
-
[1m[36m (
|
1385
|
+
[1m[36m (15.1ms)[0m [1mcommit transaction[0m
|
1385
1386
|
[1m[35m (0.1ms)[0m begin transaction
|
1386
|
-
[1m[36m (0.
|
1387
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
1387
1388
|
- signin
|
1388
1389
|
' WHERE "users"."id" = 11[0m
|
1389
|
-
[1m[35m (
|
1390
|
+
[1m[35m (19.2ms)[0m commit transaction
|
1390
1391
|
Redirected to http://www.example-client.com/restricted
|
1391
|
-
Completed 302 Found in
|
1392
|
-
Started GET "/restricted" for 127.0.0.1 at
|
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
|
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1[0m
|
1395
|
-
Completed 200 OK in
|
1396
|
-
Started GET "/restricted" for 127.0.0.1 at
|
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.
|
1400
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1401
|
-
Started GET "/auth/gds/callback?code=
|
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"=>"
|
1404
|
+
Parameters: {"code"=>"a586aa7fc440c7fe39d8a7f6a476862ab6af650df8c248adfb397b5575faab4c", "state"=>"4dcd8483b7ddec70d460374a967bf3920cdfcf86095cffb6"}
|
1404
1405
|
Authenticating with gds_sso strategy
|
1405
|
-
[1m[35mUser Load (0.
|
1406
|
+
[1m[35mUser Load (0.4ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
1406
1407
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1407
|
-
[1m[35m (0.
|
1408
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
1408
1409
|
- signin
|
1409
1410
|
' WHERE "users"."id" = 11
|
1410
|
-
[1m[36m (
|
1411
|
+
[1m[36m (13.5ms)[0m [1mcommit transaction[0m
|
1411
1412
|
[1m[35m (0.1ms)[0m begin transaction
|
1412
|
-
[1m[36m (0.
|
1413
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
1413
1414
|
- signin
|
1414
1415
|
' WHERE "users"."id" = 11[0m
|
1415
|
-
[1m[35m (
|
1416
|
+
[1m[35m (61.5ms)[0m commit transaction
|
1416
1417
|
Redirected to http://www.example-client.com/restricted
|
1417
|
-
Completed 302 Found in
|
1418
|
-
Started GET "/restricted" for 127.0.0.1 at
|
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
|
-
[1m[36mUser Load (0.
|
1421
|
-
Completed 200 OK in
|
1422
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1421
|
+
[1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1[0m
|
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
|
-
[1m[35mUser Load (0.
|
1425
|
-
Completed 200 OK in
|
1426
|
-
Started GET "/restricted" for 127.0.0.1 at
|
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
|
+
[1m[35mUser Load (0.4ms)[0m 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
|
1432
|
-
Started GET "/
|
1433
|
-
Processing by ExampleController#
|
1434
|
-
[1m[36mUser Load (0.
|
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
|
+
[1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
1435
1433
|
[1m[35m (0.1ms)[0m begin transaction
|
1436
|
-
[1m[36m (0.
|
1434
|
+
[1m[36m (0.4ms)[0m [1mUPDATE "users" SET "disabled" = NULL, "permissions" = '---
|
1437
1435
|
- signin
|
1438
1436
|
' WHERE "users"."id" = 11[0m
|
1439
|
-
[1m[35m (
|
1440
|
-
[1m[36mUser Load (0.
|
1437
|
+
[1m[35m (18.4ms)[0m commit transaction
|
1438
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
1441
1439
|
[1m[35m (0.0ms)[0m begin transaction
|
1442
|
-
[1m[36m (0.
|
1440
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
1443
1441
|
- signin
|
1444
1442
|
' WHERE "users"."id" = 11[0m
|
1445
|
-
[1m[35m (
|
1446
|
-
[1m[36mUser Load (0.
|
1443
|
+
[1m[35m (16.1ms)[0m commit transaction
|
1444
|
+
[1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
1447
1445
|
[1m[35m (0.1ms)[0m begin transaction
|
1448
|
-
[1m[36m (0.
|
1446
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
1449
1447
|
- signin
|
1450
1448
|
' WHERE "users"."id" = 11[0m
|
1451
|
-
[1m[35m (
|
1452
|
-
[1m[36mUser Load (0.
|
1453
|
-
[1m[35m (0.
|
1454
|
-
[1m[36m (0.
|
1449
|
+
[1m[35m (23.1ms)[0m commit transaction
|
1450
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
1451
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1452
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
1455
1453
|
- signin
|
1456
1454
|
' WHERE "users"."id" = 11[0m
|
1457
|
-
[1m[35m (11.
|
1455
|
+
[1m[35m (11.9ms)[0m commit transaction
|
1458
1456
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1459
1457
|
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
1460
1458
|
- signin
|
1461
1459
|
' WHERE "users"."id" = 11
|
1462
|
-
[1m[36m (
|
1463
|
-
Completed 200 OK in
|
1464
|
-
Started GET "/
|
1465
|
-
Processing by ExampleController#
|
1466
|
-
[1m[35mUser Load (0.
|
1460
|
+
[1m[36m (26.6ms)[0m [1mcommit transaction[0m
|
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
|
+
[1m[35mUser Load (0.4ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
1467
1465
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1468
1466
|
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
1469
1467
|
- signin
|
1470
1468
|
' WHERE "users"."id" = 11
|
1471
|
-
[1m[36m (
|
1472
|
-
[1m[35mUser Load (0.
|
1473
|
-
[1m[36m (0.
|
1474
|
-
[1m[35m (0.
|
1469
|
+
[1m[36m (19.4ms)[0m [1mcommit transaction[0m
|
1470
|
+
[1m[35mUser Load (0.4ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
1471
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1472
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
1475
1473
|
- signin
|
1476
1474
|
' WHERE "users"."id" = 11
|
1477
|
-
[1m[36m (10.
|
1478
|
-
[1m[35mUser Load (0.
|
1475
|
+
[1m[36m (10.2ms)[0m [1mcommit transaction[0m
|
1476
|
+
[1m[35mUser Load (0.4ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
1479
1477
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1480
|
-
[1m[35m (0.
|
1478
|
+
[1m[35m (0.4ms)[0m UPDATE "users" SET "permissions" = '---
|
1481
1479
|
- signin
|
1482
1480
|
' WHERE "users"."id" = 11
|
1483
|
-
[1m[36m (
|
1481
|
+
[1m[36m (16.3ms)[0m [1mcommit transaction[0m
|
1484
1482
|
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
1485
|
-
[1m[36m (0.
|
1486
|
-
[1m[35m (0.
|
1483
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1484
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
1487
1485
|
- signin
|
1488
1486
|
' WHERE "users"."id" = 11
|
1489
|
-
[1m[36m (
|
1487
|
+
[1m[36m (20.2ms)[0m [1mcommit transaction[0m
|
1490
1488
|
[1m[35m (0.1ms)[0m begin transaction
|
1491
|
-
[1m[36m (0.
|
1489
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
1492
1490
|
- signin
|
1493
1491
|
' WHERE "users"."id" = 11[0m
|
1494
|
-
[1m[35m (
|
1495
|
-
Completed 200 OK in
|
1496
|
-
Started GET "/" for 127.0.0.1 at
|
1497
|
-
Processing by ExampleController#
|
1498
|
-
|
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
|
-
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
1510
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'test@example-client.com' ORDER BY "users"."id" ASC LIMIT 1
|
1492
|
+
[1m[35m (8.7ms)[0m 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
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1512
|
-
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("
|
1513
|
-
[1m[36m (
|
1498
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["uid", "a1s2d36255"]]
|
1499
|
+
[1m[36m (12.7ms)[0m [1mcommit transaction[0m
|
1514
1500
|
[1m[35m (0.1ms)[0m begin transaction
|
1515
|
-
[1m[36mSQL (0.
|
1516
|
-
[1m[35m (
|
1517
|
-
|
1518
|
-
|
1519
|
-
|
1520
|
-
|
1521
|
-
[1m[
|
1522
|
-
|
1523
|
-
|
1501
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?)[0m [["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"], ["uid", "a1s2d31168"]]
|
1502
|
+
[1m[35m (32.5ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1508
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["uid", "a1s2d35848"]]
|
1509
|
+
[1m[36m (19.0ms)[0m [1mcommit transaction[0m
|
1510
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1511
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?)[0m [["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"], ["uid", "a1s2d33568"]]
|
1512
|
+
[1m[35m (11.1ms)[0m commit transaction
|
1513
|
+
Processing by Api::UserController#update as HTML
|
1514
|
+
Parameters: {"uid"=>"a1s2d35848"}
|
1515
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d35848' ORDER BY "users"."id" ASC LIMIT 1[0m
|
1516
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1517
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "email" = ?, "name" = ?, "permissions" = ?, "organisation_slug" = ? WHERE "users"."id" = 3[0m [["email", "user@domain.com"], ["name", "Joshua Marshall"], ["permissions", "---\n- signin\n- new permission\n"], ["organisation_slug", "justice-league"]]
|
1518
|
+
[1m[35m (29.4ms)[0m commit transaction
|
1519
|
+
Completed 200 OK in 39ms (ActiveRecord: 30.2ms)
|
1520
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 3]]
|
1521
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1522
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?)[0m [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["uid", "a1s2d38991"]]
|
1523
|
+
[1m[35m (9.7ms)[0m commit transaction
|
1524
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1525
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (12.5ms)[0m [1mcommit transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1531
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?)[0m [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["uid", "a1s2d35413"]]
|
1532
|
+
[1m[35m (23.9ms)[0m commit transaction
|
1533
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1534
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (17.0ms)[0m [1mcommit transaction[0m
|
1536
|
+
Processing by Api::UserController#reauth as HTML
|
1537
|
+
Parameters: {"uid"=>"nonexistent-user"}
|
1538
|
+
[1m[35mUser Load (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1541
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["uid", "a1s2d36065"]]
|
1542
|
+
[1m[36m (12.4ms)[0m [1mcommit transaction[0m
|
1543
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1544
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?)[0m [["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"], ["uid", "a1s2d36571"]]
|
1545
|
+
[1m[35m (11.8ms)[0m commit transaction
|
1546
|
+
Processing by Api::UserController#reauth as HTML
|
1547
|
+
Parameters: {"uid"=>"a1s2d36065"}
|
1548
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d36065' ORDER BY "users"."id" ASC LIMIT 1[0m
|
1549
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1550
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = ?, "permissions" = ? WHERE "users"."id" = 9[0m [["remotely_signed_out", true], ["permissions", "---\n- signin\n"]]
|
1551
|
+
[1m[35m (13.3ms)[0m commit transaction
|
1552
|
+
Completed 200 OK in 17ms (ActiveRecord: 13.9ms)
|
1553
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["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
|
1527
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1528
|
-
Started GET "/auth/gds/callback?code=
|
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"=>"
|
1564
|
+
Parameters: {"code"=>"2c2be20cb2b7651ef4e3cc2b66c02b8330846bb65831dff4fca288ccc290f13f", "state"=>"44b83be35fec3ae91b43762ab7ab0cba558f4988259f1f88"}
|
1531
1565
|
Authenticating with gds_sso strategy
|
1532
1566
|
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
1533
|
-
[1m[
|
1534
|
-
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
|
1535
|
-
[1m[36m (12.6ms)[0m [1mcommit transaction[0m
|
1567
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'test@example-client.com' ORDER BY "users"."id" ASC LIMIT 1[0m
|
1536
1568
|
[1m[35m (0.1ms)[0m begin transaction
|
1537
|
-
[1m[36mSQL (0.
|
1538
|
-
[1m[35m (
|
1569
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?)[0m [["email", "test@example-client.com"], ["name", "Test User"], ["permissions", "---\n- signin\n"], ["uid", "integration-uid"]]
|
1570
|
+
[1m[35m (15.6ms)[0m commit transaction
|
1571
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1572
|
+
[1m[35mSQL (0.4ms)[0m UPDATE "users" SET "remotely_signed_out" = ?, "permissions" = ? WHERE "users"."id" = 11 [["remotely_signed_out", false], ["permissions", "---\n- signin\n"]]
|
1573
|
+
[1m[36m (7.3ms)[0m [1mcommit transaction[0m
|
1539
1574
|
Redirected to http://www.example-client.com/restricted
|
1540
|
-
Completed 302 Found in
|
1541
|
-
Started GET "/restricted" for 127.0.0.1 at
|
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
|
-
[1m[
|
1544
|
-
Completed 200 OK in
|
1545
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1578
|
+
[1m[35mUser Load (0.3ms)[0m 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
|
1549
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1550
|
-
Started GET "/auth/gds/callback?code=
|
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"=>"
|
1587
|
+
Parameters: {"code"=>"4833a4a8bb37ac25db38e0337d6bfbb90fa8e071ebba27eea030b35bb876d362", "state"=>"95d1f4bdaefbca8de57a89016a50a502a71cdbb900123667"}
|
1553
1588
|
Authenticating with gds_sso strategy
|
1554
|
-
[1m[
|
1555
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1556
|
-
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
|
1557
|
-
[1m[36m (10.8ms)[0m [1mcommit transaction[0m
|
1589
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
1558
1590
|
[1m[35m (0.1ms)[0m begin transaction
|
1559
|
-
[1m[36mSQL (0.
|
1560
|
-
[1m[35m (
|
1591
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
1592
|
+
[1m[35m (14.7ms)[0m commit transaction
|
1593
|
+
[1m[36m (52.4ms)[0m [1mbegin transaction[0m
|
1594
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
1595
|
+
[1m[36m (13.8ms)[0m [1mcommit transaction[0m
|
1561
1596
|
Redirected to http://www.example-client.com/restricted
|
1562
|
-
Completed 302 Found in
|
1563
|
-
Started GET "/restricted" for 127.0.0.1 at
|
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
|
-
[1m[
|
1566
|
-
Completed 200 OK in 2ms (Views: 0.
|
1567
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at
|
1600
|
+
[1m[35mUser Load (0.3ms)[0m 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
|
1571
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1572
|
-
Started GET "/auth/gds/callback?code=
|
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"=>"
|
1609
|
+
Parameters: {"code"=>"56ff9e599004007f9082ab429ba986eea7f848cf91016abf2a7c8fc594cf152c", "state"=>"8f1cfbcb635f15c4cfbcacc31dd1738c10c4b791d7ceb252"}
|
1575
1610
|
Authenticating with gds_sso strategy
|
1576
|
-
[1m[
|
1577
|
-
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
1578
|
-
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
|
1579
|
-
[1m[36m (15.1ms)[0m [1mcommit transaction[0m
|
1611
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
1580
1612
|
[1m[35m (0.1ms)[0m begin transaction
|
1581
|
-
[1m[36mSQL (0.
|
1582
|
-
[1m[35m (
|
1613
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
1614
|
+
[1m[35m (37.7ms)[0m commit transaction
|
1615
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1616
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
1617
|
+
[1m[36m (9.7ms)[0m [1mcommit transaction[0m
|
1583
1618
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
1584
|
-
Completed 302 Found in
|
1585
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at
|
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
|
-
[1m[
|
1588
|
-
Completed 200 OK in
|
1589
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at
|
1622
|
+
[1m[35mUser Load (0.3ms)[0m 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
|
1594
|
-
Started GET "/auth/gds/callback?code=
|
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"=>"
|
1631
|
+
Parameters: {"code"=>"4ae60cf36e25405f1af2c66ea50b89e39d867ed1cc31017443a776858b4e85f3", "state"=>"1377388451f001055493514b5368a936723e953642379d75"}
|
1597
1632
|
Authenticating with gds_sso strategy
|
1598
|
-
[1m[
|
1599
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1600
|
-
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
|
1601
|
-
[1m[36m (12.4ms)[0m [1mcommit transaction[0m
|
1633
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
1602
1634
|
[1m[35m (0.1ms)[0m begin transaction
|
1603
|
-
[1m[36mSQL (0.
|
1604
|
-
[1m[35m (
|
1635
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
1636
|
+
[1m[35m (7.3ms)[0m commit transaction
|
1637
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
1638
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
1639
|
+
[1m[36m (9.6ms)[0m [1mcommit transaction[0m
|
1605
1640
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
1606
|
-
Completed 302 Found in
|
1607
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at
|
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
|
-
[1m[
|
1644
|
+
[1m[35mUser Load (0.3ms)[0m 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
|
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
|
1615
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1616
|
-
Started GET "/auth/gds/callback?code=
|
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"=>"
|
1653
|
+
Parameters: {"code"=>"c5f48d0d483aaaeafa543ba5d16fd05b73258b603b779ac51bb4aa0c0bb32a06", "state"=>"c5aba9bf56ae0701cdfce8776b30037ad97a0d95a5f03368"}
|
1619
1654
|
Authenticating with gds_sso strategy
|
1620
|
-
[1m[
|
1621
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1622
|
-
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
|
1623
|
-
[1m[36m (10.9ms)[0m [1mcommit transaction[0m
|
1655
|
+
[1m[36mUser Load (0.6ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
1624
1656
|
[1m[35m (0.1ms)[0m begin transaction
|
1625
|
-
[1m[36mSQL (0.
|
1626
|
-
[1m[35m (
|
1657
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
1658
|
+
[1m[35m (16.4ms)[0m commit transaction
|
1659
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
1660
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
1661
|
+
[1m[36m (71.2ms)[0m [1mcommit transaction[0m
|
1627
1662
|
Redirected to http://www.example-client.com/restricted
|
1628
|
-
Completed 302 Found in
|
1629
|
-
Started GET "/restricted" for 127.0.0.1 at
|
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
|
-
[1m[
|
1632
|
-
Completed 200 OK in
|
1633
|
-
|
1634
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1635
|
-
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "remotely_signed_out" = ?, "permissions" = ? WHERE "users"."id" = 1 [["remotely_signed_out", true], ["permissions", "---\n- signin\n"]]
|
1636
|
-
[1m[36m (14.2ms)[0m [1mcommit transaction[0m
|
1637
|
-
Started GET "/restricted" for 127.0.0.1 at 2014-11-20 14:07:30 +0000
|
1666
|
+
[1m[35mUser Load (0.4ms)[0m 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
|
-
[1m[35mUser Load (0.2ms)[0m 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
|
1642
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1643
|
-
Started GET "/auth/gds/callback?code=
|
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"=>"
|
1675
|
+
Parameters: {"code"=>"01ba429d840ae0ba3764b05420231aeb2d35aa3e5493f99ef227105fbdd92e00", "state"=>"14ff43c46dfa72b689e99b1999eca7c459f06345e7640598"}
|
1646
1676
|
Authenticating with gds_sso strategy
|
1647
1677
|
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
1648
1678
|
[1m[35m (0.1ms)[0m begin transaction
|
1649
|
-
[1m[36mSQL (0.
|
1650
|
-
[1m[35m (
|
1651
|
-
[1m[36m (0.
|
1652
|
-
[1m[35mSQL (0.
|
1653
|
-
[1m[36m (
|
1679
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
1680
|
+
[1m[35m (12.0ms)[0m commit transaction
|
1681
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1682
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
1683
|
+
[1m[36m (9.2ms)[0m [1mcommit transaction[0m
|
1654
1684
|
Redirected to http://www.example-client.com/restricted
|
1655
|
-
Completed 302 Found in
|
1656
|
-
Started GET "/restricted" for 127.0.0.1 at
|
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
|
-
[1m[35mUser Load (0.
|
1659
|
-
Completed 200 OK in 2ms (Views: 0.
|
1660
|
-
|
1688
|
+
[1m[35mUser Load (0.3ms)[0m 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
|
+
[1m[36mUser Load (0.5ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'test@example-client.com' ORDER BY "users"."id" ASC LIMIT 1[0m
|
1691
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1692
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = ?, "permissions" = ? WHERE "users"."id" = 11[0m [["remotely_signed_out", true], ["permissions", "---\n- signin\n"]]
|
1693
|
+
[1m[35m (14.1ms)[0m 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
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1[0m
|
1662
1697
|
Authenticating with gds_sso strategy
|
1663
|
-
Completed in
|
1664
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1665
|
-
Started GET "/auth/gds/callback?code=
|
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"=>"
|
1702
|
+
Parameters: {"code"=>"fefcf40d2884359e650bbb1327471d0e8bb2bca62dc22d55fb70d5e382e8f5ef", "state"=>"9c7fdfcab2ccf690cf7a0d116adb988e93d7d1086d1d443f"}
|
1668
1703
|
Authenticating with gds_sso strategy
|
1669
|
-
[1m[
|
1670
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1671
|
-
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1[0m [["permissions", "---\n- signin\n"]]
|
1672
|
-
[1m[35m (15.6ms)[0m commit transaction
|
1704
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
1673
1705
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1674
|
-
[1m[35mSQL (0.
|
1675
|
-
[1m[36m (
|
1706
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
1707
|
+
[1m[36m (13.2ms)[0m [1mcommit transaction[0m
|
1708
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1709
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = ?, "permissions" = ? WHERE "users"."id" = 11[0m [["remotely_signed_out", false], ["permissions", "---\n- signin\n"]]
|
1710
|
+
[1m[35m (27.3ms)[0m commit transaction
|
1676
1711
|
Redirected to http://www.example-client.com/restricted
|
1677
|
-
Completed 302 Found in
|
1678
|
-
Started GET "/restricted" for 127.0.0.1 at
|
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
|
-
[1m[
|
1715
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1[0m
|
1681
1716
|
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.3ms)
|
1682
|
-
Started GET "/restricted" for 127.0.0.1 at
|
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
|
1687
|
-
Started GET "/auth/gds/callback?code=
|
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"=>"
|
1724
|
+
Parameters: {"code"=>"df750af6947eb387ac78f652ecd2af7ca886f8c5d5c746b6cd854afcfb3a4471", "state"=>"50f1931100aee30dae0ac72b35542bb54332dfdf3abcebb4"}
|
1690
1725
|
Authenticating with gds_sso strategy
|
1691
|
-
[1m[
|
1692
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1693
|
-
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1[0m [["permissions", "---\n- signin\n"]]
|
1694
|
-
[1m[35m (10.3ms)[0m commit transaction
|
1726
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
1695
1727
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1696
|
-
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" =
|
1697
|
-
[1m[36m (
|
1728
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
1729
|
+
[1m[36m (17.6ms)[0m [1mcommit transaction[0m
|
1730
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1731
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
1732
|
+
[1m[35m (44.3ms)[0m commit transaction
|
1698
1733
|
Redirected to http://www.example-client.com/restricted
|
1699
|
-
Completed 302 Found in
|
1700
|
-
Started GET "/restricted" for 127.0.0.1 at
|
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
|
-
[1m[
|
1703
|
-
Completed 200 OK in
|
1704
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1737
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1[0m
|
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
|
1708
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1709
|
-
Started GET "/auth/gds/callback?code=
|
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"=>"
|
1746
|
+
Parameters: {"code"=>"eb5d16cbeded8bc79d71fba397e69f5768f63efec55ee1e86585b15234feb1b0", "state"=>"7bf99e2cdb44f1c386168a1e5a378277648689b2a854d637"}
|
1712
1747
|
Authenticating with gds_sso strategy
|
1713
|
-
[1m[
|
1748
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
1749
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1750
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
1751
|
+
[1m[36m (14.8ms)[0m [1mcommit transaction[0m
|
1714
1752
|
[1m[35m (0.1ms)[0m begin transaction
|
1715
|
-
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" =
|
1716
|
-
[1m[35m (
|
1717
|
-
[1m[36m (0.5ms)[0m [1mbegin transaction[0m
|
1718
|
-
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
|
1719
|
-
[1m[36m (15.6ms)[0m [1mcommit transaction[0m
|
1753
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
1754
|
+
[1m[35m (9.3ms)[0m commit transaction
|
1720
1755
|
Redirected to http://www.example-client.com/restricted
|
1721
|
-
Completed 302 Found in
|
1722
|
-
Started GET "/restricted" for 127.0.0.1 at
|
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
|
-
[1m[
|
1725
|
-
Completed 200 OK in
|
1726
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1759
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1[0m
|
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
|
+
[1m[35mUser Load (0.4ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
1771
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1772
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
1773
|
+
[1m[36m (19.2ms)[0m [1mcommit transaction[0m
|
1774
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1775
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
1776
|
+
[1m[35m (80.8ms)[0m 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
|
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1[0m
|
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
|
+
[1m[35mUser Load (0.3ms)[0m 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
|
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
|
1733
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at
|
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
|
-
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
1736
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1737
|
-
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
|
1738
|
-
[1m[36m (16.9ms)[0m [1mcommit transaction[0m
|
1739
|
-
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
1740
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1741
|
-
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
|
1742
|
-
[1m[36m (10.2ms)[0m [1mcommit transaction[0m
|
1743
|
-
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
1744
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1745
|
-
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
|
1746
|
-
[1m[36m (15.0ms)[0m [1mcommit transaction[0m
|
1747
|
-
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
1748
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1749
|
-
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
|
1750
|
-
[1m[36m (20.7ms)[0m [1mcommit transaction[0m
|
1751
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1752
|
-
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1[0m [["permissions", "---\n- signin\n"]]
|
1753
|
-
[1m[35m (22.4ms)[0m 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
|
[1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
1758
1793
|
[1m[35m (0.1ms)[0m begin transaction
|
1759
|
-
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" =
|
1760
|
-
[1m[35m (
|
1761
|
-
[1m[36mUser Load (0.
|
1794
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "disabled" = ?, "permissions" = ? WHERE "users"."id" = 11[0m [["disabled", nil], ["permissions", "---\n- signin\n"]]
|
1795
|
+
[1m[35m (64.3ms)[0m commit transaction
|
1796
|
+
[1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
1762
1797
|
[1m[35m (0.1ms)[0m begin transaction
|
1763
|
-
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" =
|
1764
|
-
[1m[35m (
|
1798
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
1799
|
+
[1m[35m (21.3ms)[0m commit transaction
|
1765
1800
|
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
1766
1801
|
[1m[35m (0.1ms)[0m begin transaction
|
1767
|
-
[1m[36mSQL (0.
|
1768
|
-
[1m[35m (
|
1802
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
1803
|
+
[1m[35m (63.3ms)[0m commit transaction
|
1769
1804
|
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
1770
1805
|
[1m[35m (0.1ms)[0m begin transaction
|
1771
|
-
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" =
|
1772
|
-
[1m[35m (
|
1806
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
1807
|
+
[1m[35m (11.5ms)[0m commit transaction
|
1773
1808
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1774
|
-
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" =
|
1775
|
-
[1m[36m (
|
1776
|
-
Completed 200 OK in
|
1777
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1809
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
1810
|
+
[1m[36m (11.5ms)[0m [1mcommit transaction[0m
|
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
|
1780
|
-
|
1781
|
-
|
1782
|
-
[1m[
|
1783
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1784
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (12.8ms)[0m [1mcommit transaction[0m
|
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
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1790
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?)[0m [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["uid", "a1s2d32836"]]
|
1791
|
-
[1m[35m (17.2ms)[0m 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
|
+
[1m[35mUser Load (0.4ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
1792
1818
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1793
|
-
[1m[35mSQL (0.
|
1794
|
-
[1m[36m (
|
1795
|
-
|
1796
|
-
Parameters: {"uid"=>"a1s2d32836"}
|
1797
|
-
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d32836' ORDER BY "users"."id" ASC LIMIT 1
|
1819
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
1820
|
+
[1m[36m (17.5ms)[0m [1mcommit transaction[0m
|
1821
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
1798
1822
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1799
|
-
[1m[35mSQL (0.
|
1800
|
-
[1m[36m (
|
1801
|
-
|
1802
|
-
[1m[35mUser Load (0.4ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]]
|
1823
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
1824
|
+
[1m[36m (10.3ms)[0m [1mcommit transaction[0m
|
1825
|
+
[1m[35mUser Load (0.4ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
1803
1826
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1804
|
-
[1m[35mSQL (0.2ms)[0m
|
1805
|
-
[1m[36m (
|
1806
|
-
[1m[
|
1807
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?)[0m [["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"], ["uid", "a1s2d37304"]]
|
1808
|
-
[1m[35m (8.3ms)[0m 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
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
1828
|
+
[1m[36m (12.0ms)[0m [1mcommit transaction[0m
|
1829
|
+
[1m[35mUser Load (0.7ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
1812
1830
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1813
|
-
[1m[35mSQL (0.3ms)[0m
|
1814
|
-
[1m[36m (
|
1815
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1816
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?)[0m [["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"], ["uid", "a1s2d32070"]]
|
1817
|
-
[1m[35m (18.9ms)[0m commit transaction
|
1818
|
-
Processing by Api::UserController#reauth as HTML
|
1819
|
-
Parameters: {"uid"=>"nonexistent-user"}
|
1820
|
-
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'nonexistent-user' ORDER BY "users"."id" ASC LIMIT 1[0m
|
1821
|
-
Completed 200 OK in 1ms (ActiveRecord: 0.3ms)
|
1831
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
1832
|
+
[1m[36m (47.1ms)[0m [1mcommit transaction[0m
|
1822
1833
|
[1m[35m (0.1ms)[0m begin transaction
|
1823
|
-
[1m[36mSQL (0.
|
1824
|
-
[1m[35m (
|
1825
|
-
|
1826
|
-
[1m[35mSQL (1.0ms)[0m 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
|
-
[1m[36m (11.3ms)[0m [1mcommit transaction[0m
|
1828
|
-
Processing by Api::UserController#reauth as HTML
|
1829
|
-
Parameters: {"uid"=>"a1s2d34010"}
|
1830
|
-
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d34010' ORDER BY "users"."id" ASC LIMIT 1
|
1831
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1832
|
-
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "remotely_signed_out" = ?, "permissions" = ? WHERE "users"."id" = 10 [["remotely_signed_out", true], ["permissions", "---\n- signin\n"]]
|
1833
|
-
[1m[36m (14.7ms)[0m [1mcommit transaction[0m
|
1834
|
-
Completed 200 OK in 18ms (ActiveRecord: 15.3ms)
|
1835
|
-
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 10]]
|
1834
|
+
[1m[36mSQL (0.5ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
1835
|
+
[1m[35m (65.6ms)[0m commit transaction
|
1836
|
+
Completed 200 OK in 366ms (Views: 0.5ms | ActiveRecord: 156.3ms)
|
1836
1837
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1837
|
-
[1m[35mSQL (0.
|
1838
|
-
[1m[36m (
|
1838
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["uid", "a1s2d35315"]]
|
1839
|
+
[1m[36m (20.7ms)[0m [1mcommit transaction[0m
|
1839
1840
|
[1m[35m (0.1ms)[0m begin transaction
|
1840
|
-
[1m[36mSQL (0.
|
1841
|
-
[1m[35m (
|
1841
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?)[0m [["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"], ["uid", "a1s2d3120"]]
|
1842
|
+
[1m[35m (16.8ms)[0m commit transaction
|
1842
1843
|
Processing by Api::UserController#update as HTML
|
1843
|
-
Parameters: {"uid"=>"
|
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
|
1846
|
+
Completed 403 Forbidden in 8ms (Views: 7.8ms | ActiveRecord: 0.0ms)
|
1846
1847
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1847
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["uid", "
|
1848
|
-
[1m[36m (
|
1848
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["uid", "a1s2d37143"]]
|
1849
|
+
[1m[36m (15.7ms)[0m [1mcommit transaction[0m
|
1849
1850
|
[1m[35m (0.1ms)[0m begin transaction
|
1850
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?)[0m [["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"], ["uid", "
|
1851
|
-
[1m[35m (
|
1851
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?)[0m [["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"], ["uid", "a1s2d38754"]]
|
1852
|
+
[1m[35m (18.4ms)[0m commit transaction
|
1852
1853
|
Processing by Api::UserController#update as HTML
|
1853
|
-
Parameters: {"uid"=>"
|
1854
|
-
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = '
|
1854
|
+
Parameters: {"uid"=>"a1s2d37143"}
|
1855
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d37143' ORDER BY "users"."id" ASC LIMIT 1[0m
|
1855
1856
|
[1m[35m (0.1ms)[0m begin transaction
|
1856
|
-
[1m[36mSQL (0.
|
1857
|
-
[1m[35m (
|
1858
|
-
Completed 200 OK in
|
1859
|
-
[1m[36mUser Load (0.
|
1857
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "email" = ?, "name" = ?, "organisation_slug" = ?, "permissions" = ? WHERE "users"."id" = 3[0m [["email", "user@domain.com"], ["name", "Joshua Marshall"], ["organisation_slug", "justice-league"], ["permissions", "---\n- signin\n- new permission\n"]]
|
1858
|
+
[1m[35m (17.3ms)[0m commit transaction
|
1859
|
+
Completed 200 OK in 33ms (ActiveRecord: 18.1ms)
|
1860
|
+
[1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 3]]
|
1860
1861
|
[1m[35m (0.1ms)[0m begin transaction
|
1861
|
-
[1m[36mSQL (0.
|
1862
|
-
[1m[35m (
|
1862
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?)[0m [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["uid", "a1s2d3357"]]
|
1863
|
+
[1m[35m (13.8ms)[0m commit transaction
|
1863
1864
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1864
|
-
[1m[35mSQL (0.2ms)[0m 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", "
|
1865
|
-
[1m[36m (
|
1865
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (24.7ms)[0m [1mcommit transaction[0m
|
1866
1867
|
Processing by Api::UserController#reauth as HTML
|
1867
|
-
Parameters: {"uid"=>"
|
1868
|
-
|
1869
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1870
|
-
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ?, "remotely_signed_out" = ? WHERE "users"."id" = 5 [["permissions", "---\n- signin\n"], ["remotely_signed_out", "t"]]
|
1871
|
-
[1m[36m (9.1ms)[0m [1mcommit transaction[0m
|
1872
|
-
Completed 200 OK in 12ms (ActiveRecord: 9.6ms)
|
1873
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]]
|
1874
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1875
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["uid", "a1s2d31459"]]
|
1876
|
-
[1m[36m (10.0ms)[0m [1mcommit transaction[0m
|
1868
|
+
Parameters: {"uid"=>"a1s2d3357"}
|
1869
|
+
Completed 403 Forbidden in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)
|
1877
1870
|
[1m[35m (0.1ms)[0m begin transaction
|
1878
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?)[0m [["email", "
|
1879
|
-
[1m[35m (
|
1871
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?)[0m [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["uid", "a1s2d37787"]]
|
1872
|
+
[1m[35m (14.5ms)[0m commit transaction
|
1873
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1874
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (18.5ms)[0m [1mcommit transaction[0m
|
1880
1876
|
Processing by Api::UserController#reauth as HTML
|
1881
1877
|
Parameters: {"uid"=>"nonexistent-user"}
|
1882
|
-
[1m[
|
1878
|
+
[1m[35mUser Load (0.2ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
1881
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["uid", "a1s2d32493"]]
|
1882
|
+
[1m[36m (14.7ms)[0m [1mcommit transaction[0m
|
1884
1883
|
[1m[35m (0.1ms)[0m begin transaction
|
1885
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?)[0m [["email", "
|
1886
|
-
[1m[35m (11.
|
1887
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1888
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (12.2ms)[0m [1mcommit transaction[0m
|
1884
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?)[0m [["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"], ["uid", "a1s2d31677"]]
|
1885
|
+
[1m[35m (11.7ms)[0m commit transaction
|
1890
1886
|
Processing by Api::UserController#reauth as HTML
|
1891
|
-
Parameters: {"uid"=>"
|
1892
|
-
|
1893
|
-
|
1894
|
-
|
1887
|
+
Parameters: {"uid"=>"a1s2d32493"}
|
1888
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d32493' ORDER BY "users"."id" ASC LIMIT 1[0m
|
1889
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1890
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ?, "remotely_signed_out" = ? WHERE "users"."id" = 9[0m [["permissions", "---\n- signin\n"], ["remotely_signed_out", "t"]]
|
1891
|
+
[1m[35m (17.1ms)[0m commit transaction
|
1892
|
+
Completed 200 OK in 20ms (ActiveRecord: 17.6ms)
|
1893
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["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
|
1897
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1898
|
-
Started GET "/auth/gds/callback?code=
|
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"=>"
|
1904
|
+
Parameters: {"code"=>"c78b791c2e2cc0bb80e7a310deb2ad16c321d69259997716b9d74aec45777b84", "state"=>"585956d400aba3e9b19b26821026115f23b429ab02859605"}
|
1901
1905
|
Authenticating with gds_sso strategy
|
1902
|
-
[1m[35mUser Load (0.
|
1903
|
-
[1m[36mUser Load (0.
|
1906
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
1907
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'test@example-client.com' ORDER BY "users"."id" ASC LIMIT 1[0m
|
1904
1908
|
[1m[35m (0.1ms)[0m begin transaction
|
1905
|
-
[1m[36mSQL (0.
|
1909
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?)[0m [["email", "test@example-client.com"], ["name", "Test User"], ["permissions", "---\n- signin\n"], ["uid", "integration-uid"]]
|
1906
1910
|
[1m[35m (11.9ms)[0m commit transaction
|
1907
1911
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1908
1912
|
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "permissions" = ?, "remotely_signed_out" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"], ["remotely_signed_out", "f"]]
|
1909
|
-
[1m[36m (
|
1910
|
-
Redirected to http://www.example-client.com/
|
1911
|
-
Completed 302 Found in
|
1912
|
-
Started GET "/
|
1913
|
-
Processing by ExampleController#
|
1914
|
-
[1m[35mUser Load (0.
|
1915
|
-
Completed 200 OK in
|
1916
|
-
Started GET "/
|
1917
|
-
Processing by ExampleController#
|
1913
|
+
[1m[36m (9.7ms)[0m [1mcommit transaction[0m
|
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
|
+
[1m[35mUser Load (0.2ms)[0m 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
|
1921
|
-
Started GET "/auth/gds/callback?code=
|
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"=>"
|
1927
|
+
Parameters: {"code"=>"22684b2ff9f453c1656e4e0c4a2c49432ce5e71bc4ddccb2b8b68d87e615451f", "state"=>"6f8f659a925033f390a789830cc441de69756f2333b36f1b"}
|
1924
1928
|
Authenticating with gds_sso strategy
|
1925
|
-
[1m[36mUser Load (0.
|
1929
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
1926
1930
|
[1m[35m (0.1ms)[0m begin transaction
|
1927
1931
|
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
1928
|
-
[1m[35m (
|
1932
|
+
[1m[35m (11.5ms)[0m commit transaction
|
1929
1933
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1930
1934
|
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
1931
|
-
[1m[36m (
|
1932
|
-
Redirected to http://www.example-client.com/
|
1933
|
-
Completed 302 Found in
|
1934
|
-
Started GET "/
|
1935
|
-
Processing by ExampleController#
|
1935
|
+
[1m[36m (11.2ms)[0m [1mcommit transaction[0m
|
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
|
[1m[35mUser Load (0.3ms)[0m 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
|
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
|
1943
|
-
Started GET "/auth/gds/callback?code=
|
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"=>"
|
1949
|
+
Parameters: {"code"=>"3d49049ed50c41f9e5fc4750381d62be46b6ea7828db7f1344a00d70f3ada9df", "state"=>"f3555385fc9cf219d081ecd1da3a3b8c7e37c435243388ab"}
|
1946
1950
|
Authenticating with gds_sso strategy
|
1947
|
-
[1m[36mUser Load (0.
|
1948
|
-
[1m[35m (0.
|
1949
|
-
[1m[36mSQL (0.
|
1950
|
-
[1m[35m (
|
1951
|
+
[1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
1952
|
+
[1m[35m (0.2ms)[0m begin transaction
|
1953
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
1954
|
+
[1m[35m (25.3ms)[0m commit transaction
|
1951
1955
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1952
|
-
[1m[35mSQL (0.
|
1953
|
-
[1m[36m (
|
1956
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
1957
|
+
[1m[36m (18.4ms)[0m [1mcommit transaction[0m
|
1954
1958
|
Redirected to http://www.example-client.com/restricted
|
1955
|
-
Completed 302 Found in
|
1956
|
-
Started GET "/restricted" for 127.0.0.1 at
|
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
|
[1m[35mUser Load (0.3ms)[0m 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.
|
1960
|
-
Started GET "/
|
1961
|
-
Processing by ExampleController#
|
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
|
1965
|
-
Started GET "/auth/gds/callback?code=
|
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"=>"
|
1971
|
+
Parameters: {"code"=>"c57743fcb6c233a520f13b00f2b0e5e0d342e9d805939710f3c56adad0c56119", "state"=>"57dc5403eb0d6103107061e9afd80e9711fb3814e1fcaf2d"}
|
1968
1972
|
Authenticating with gds_sso strategy
|
1969
|
-
[1m[36mUser Load (0.
|
1973
|
+
[1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
1970
1974
|
[1m[35m (0.1ms)[0m begin transaction
|
1971
|
-
[1m[36mSQL (0.
|
1972
|
-
[1m[35m (
|
1975
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
1976
|
+
[1m[35m (113.3ms)[0m commit transaction
|
1973
1977
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1974
1978
|
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
1975
|
-
[1m[36m (
|
1976
|
-
Redirected to http://www.example-client.com/
|
1977
|
-
Completed 302 Found in
|
1978
|
-
Started GET "/
|
1979
|
-
Processing by ExampleController#
|
1979
|
+
[1m[36m (52.6ms)[0m [1mcommit transaction[0m
|
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
|
[1m[35mUser Load (0.3ms)[0m 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
|
1982
|
-
Started GET "/
|
1983
|
-
Processing by ExampleController#
|
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
|
1987
|
-
Started GET "/auth/gds/callback?code=
|
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"=>"
|
1993
|
+
Parameters: {"code"=>"c209b6f387f957fbdae1d557bc5d0cf4c8681f8f7c25da5a9e367d894a791c5c", "state"=>"aa96d13ac3a016f37fb3adf27c681c12effd4da22e659e87"}
|
1990
1994
|
Authenticating with gds_sso strategy
|
1991
|
-
[1m[36mUser Load (0.
|
1992
|
-
[1m[35m (0.
|
1993
|
-
[1m[36mSQL (0.
|
1994
|
-
[1m[35m (
|
1995
|
+
[1m[36mUser Load (0.5ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
1996
|
+
[1m[35m (0.2ms)[0m begin transaction
|
1997
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
1998
|
+
[1m[35m (18.0ms)[0m commit transaction
|
1995
1999
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1996
|
-
[1m[35mSQL (0.
|
1997
|
-
[1m[36m (
|
1998
|
-
Redirected to http://www.example-client.com/
|
1999
|
-
Completed 302 Found in
|
2000
|
-
Started GET "/
|
2001
|
-
Processing by ExampleController#
|
2002
|
-
[1m[35mUser Load (0.
|
2003
|
-
Completed 200 OK in
|
2004
|
-
Started GET "/" for 127.0.0.1 at
|
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
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
2001
|
+
[1m[36m (15.4ms)[0m [1mcommit transaction[0m
|
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
|
+
[1m[35mUser Load (0.4ms)[0m 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
|
2012
|
-
Started GET "/auth/gds/callback?code=
|
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"=>"
|
2015
|
+
Parameters: {"code"=>"fd8487fbe981c38278419d9e70f0b4d44d5f56d1dfd8be19f5c2b6438cb1406b", "state"=>"c6e27149372e50460d2410077d2337b039f89e0f2bef05fb"}
|
2015
2016
|
Authenticating with gds_sso strategy
|
2016
|
-
[1m[36mUser Load (0.
|
2017
|
+
[1m[36mUser Load (0.5ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
2017
2018
|
[1m[35m (0.1ms)[0m begin transaction
|
2018
|
-
[1m[36mSQL (0.
|
2019
|
-
[1m[35m (
|
2019
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
2020
|
+
[1m[35m (17.0ms)[0m commit transaction
|
2020
2021
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2021
|
-
[1m[35mSQL (0.
|
2022
|
-
[1m[36m (
|
2022
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
2023
|
+
[1m[36m (15.5ms)[0m [1mcommit transaction[0m
|
2023
2024
|
Redirected to http://www.example-client.com/restricted
|
2024
|
-
Completed 302 Found in
|
2025
|
-
Started GET "/restricted" for 127.0.0.1 at
|
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
|
-
[1m[35mUser Load (0.
|
2028
|
-
Completed 200 OK in
|
2029
|
-
[1m[36mUser Load (
|
2028
|
+
[1m[35mUser Load (0.4ms)[0m 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
|
+
[1m[36mUser Load (1.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'test@example-client.com' ORDER BY "users"."id" ASC LIMIT 1[0m
|
2030
2031
|
[1m[35m (0.1ms)[0m begin transaction
|
2031
|
-
[1m[36mSQL (0.
|
2032
|
-
[1m[35m (
|
2033
|
-
Started GET "/restricted" for 127.0.0.1 at
|
2032
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "permissions" = ?, "remotely_signed_out" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"], ["remotely_signed_out", "t"]]
|
2033
|
+
[1m[35m (24.2ms)[0m 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
|
-
[1m[36mUser Load (0.
|
2036
|
+
[1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1[0m
|
2036
2037
|
Authenticating with gds_sso strategy
|
2037
|
-
Completed in
|
2038
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
2039
|
-
Started GET "/auth/gds/callback?code=
|
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"=>"
|
2042
|
+
Parameters: {"code"=>"0c01ce89432a86065f7cc539396e55009f5c080e8cece43d6ec5e91a4e467169", "state"=>"9396b6a4299d6da6711adb710115c7089422e28a093a338b"}
|
2042
2043
|
Authenticating with gds_sso strategy
|
2043
|
-
[1m[35mUser Load (0.
|
2044
|
+
[1m[35mUser Load (0.4ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
2044
2045
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2045
|
-
[1m[35mSQL (0.
|
2046
|
-
[1m[36m (
|
2046
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
2047
|
+
[1m[36m (22.3ms)[0m [1mcommit transaction[0m
|
2047
2048
|
[1m[35m (0.1ms)[0m begin transaction
|
2048
2049
|
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ?, "remotely_signed_out" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"], ["remotely_signed_out", "f"]]
|
2049
|
-
[1m[35m (
|
2050
|
+
[1m[35m (19.9ms)[0m commit transaction
|
2050
2051
|
Redirected to http://www.example-client.com/restricted
|
2051
|
-
Completed 302 Found in
|
2052
|
-
Started GET "/restricted" for 127.0.0.1 at
|
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
|
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1[0m
|
2055
2056
|
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.3ms)
|
2056
|
-
Started GET "/restricted" for 127.0.0.1 at
|
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
|
2061
|
-
Started GET "/auth/gds/callback?code=
|
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"=>"
|
2064
|
+
Parameters: {"code"=>"4c05dc816330a8040c8d021649487f7441d91c21dfba6768f579ff5b60ba9c64", "state"=>"d92ef30c7dae97239a0534e6a0842ce294a642c8f93a32fe"}
|
2064
2065
|
Authenticating with gds_sso strategy
|
2065
|
-
[1m[35mUser Load (0.
|
2066
|
+
[1m[35mUser Load (0.4ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
2066
2067
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2067
|
-
[1m[35mSQL (0.
|
2068
|
-
[1m[36m (
|
2068
|
+
[1m[35mSQL (0.4ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
2069
|
+
[1m[36m (21.4ms)[0m [1mcommit transaction[0m
|
2069
2070
|
[1m[35m (0.1ms)[0m begin transaction
|
2070
2071
|
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
2071
|
-
[1m[35m (
|
2072
|
+
[1m[35m (13.3ms)[0m commit transaction
|
2072
2073
|
Redirected to http://www.example-client.com/restricted
|
2073
|
-
Completed 302 Found in
|
2074
|
-
Started GET "/restricted" for 127.0.0.1 at
|
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
|
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1[0m
|
2077
2078
|
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.3ms)
|
2078
|
-
Started GET "/restricted" for 127.0.0.1 at
|
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
|
2083
|
-
Started GET "/auth/gds/callback?code=
|
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"=>"
|
2086
|
+
Parameters: {"code"=>"dc1dccf8a43b71f955bae71f6199c5b54556f5203485540b43bc983ed4d937a7", "state"=>"5c78b48b731237ddd0719e3dea2c7a2a4d3aaf168aea5e14"}
|
2086
2087
|
Authenticating with gds_sso strategy
|
2087
2088
|
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
2088
2089
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2089
2090
|
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
2090
|
-
[1m[36m (
|
2091
|
-
[1m[35m (0.
|
2091
|
+
[1m[36m (10.5ms)[0m [1mcommit transaction[0m
|
2092
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2092
2093
|
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
2093
|
-
[1m[35m (
|
2094
|
+
[1m[35m (9.9ms)[0m commit transaction
|
2094
2095
|
Redirected to http://www.example-client.com/restricted
|
2095
|
-
Completed 302 Found in
|
2096
|
-
Started GET "/restricted" for 127.0.0.1 at
|
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
|
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1[0m
|
2099
2100
|
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.3ms)
|
2100
|
-
Started GET "/restricted" for 127.0.0.1 at
|
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
|
2105
|
-
Started GET "/auth/gds/callback?code=
|
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"=>"
|
2108
|
+
Parameters: {"code"=>"275fc6bd8adfa79fff04e657565bbd7082534a499713a27a6cf92de9e3a573ea", "state"=>"5d7721e70f7f6f7bd7f003347583330114edf84d3f9324f6"}
|
2108
2109
|
Authenticating with gds_sso strategy
|
2109
2110
|
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
2110
2111
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2111
2112
|
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
2112
|
-
[1m[36m (
|
2113
|
+
[1m[36m (7.7ms)[0m [1mcommit transaction[0m
|
2113
2114
|
[1m[35m (0.1ms)[0m begin transaction
|
2114
|
-
[1m[36mSQL (0.
|
2115
|
-
[1m[35m (
|
2115
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
2116
|
+
[1m[35m (10.0ms)[0m commit transaction
|
2116
2117
|
Redirected to http://www.example-client.com/restricted
|
2117
|
-
Completed 302 Found in
|
2118
|
-
Started GET "/restricted" for 127.0.0.1 at
|
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
|
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1[0m
|
2121
2122
|
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.3ms)
|
2122
|
-
Started GET "/restricted" for 127.0.0.1 at
|
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
|
[1m[35mUser Load (0.3ms)[0m 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
|
2126
|
-
Started GET "/
|
2127
|
-
Processing by ExampleController#
|
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
|
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
2129
2136
|
[1m[35m (0.1ms)[0m begin transaction
|
2130
|
-
[1m[36mSQL (0.
|
2131
|
-
[1m[35m (
|
2137
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "disabled" = ?, "permissions" = ? WHERE "users"."id" = 11[0m [["disabled", nil], ["permissions", "---\n- signin\n"]]
|
2138
|
+
[1m[35m (14.6ms)[0m commit transaction
|
2132
2139
|
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
2133
2140
|
[1m[35m (0.1ms)[0m begin transaction
|
2134
2141
|
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
2135
|
-
[1m[35m (
|
2142
|
+
[1m[35m (7.0ms)[0m commit transaction
|
2136
2143
|
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
2137
2144
|
[1m[35m (0.1ms)[0m begin transaction
|
2138
2145
|
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
2139
|
-
[1m[35m (
|
2146
|
+
[1m[35m (14.1ms)[0m commit transaction
|
2140
2147
|
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
2141
2148
|
[1m[35m (0.1ms)[0m begin transaction
|
2142
2149
|
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
2143
|
-
[1m[35m (
|
2150
|
+
[1m[35m (10.3ms)[0m commit transaction
|
2144
2151
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2145
|
-
[1m[35mSQL (0.
|
2146
|
-
[1m[36m (
|
2147
|
-
Completed 200 OK in
|
2148
|
-
Started GET "/
|
2149
|
-
Processing by ExampleController#
|
2152
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
2153
|
+
[1m[36m (17.6ms)[0m [1mcommit transaction[0m
|
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
|
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
2151
2158
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2152
2159
|
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
2153
|
-
[1m[36m (
|
2160
|
+
[1m[36m (10.4ms)[0m [1mcommit transaction[0m
|
2154
2161
|
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
2155
2162
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2156
2163
|
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
2157
|
-
[1m[36m (
|
2164
|
+
[1m[36m (11.2ms)[0m [1mcommit transaction[0m
|
2158
2165
|
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
2159
2166
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2160
2167
|
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
2161
|
-
[1m[36m (
|
2162
|
-
[1m[35mUser Load (0.
|
2168
|
+
[1m[36m (9.5ms)[0m [1mcommit transaction[0m
|
2169
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
2163
2170
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2164
2171
|
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
2165
|
-
[1m[36m (
|
2172
|
+
[1m[36m (6.9ms)[0m [1mcommit transaction[0m
|
2166
2173
|
[1m[35m (0.1ms)[0m begin transaction
|
2167
|
-
[1m[36mSQL (0.
|
2168
|
-
[1m[35m (
|
2169
|
-
Completed 200 OK in
|
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
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
2175
|
+
[1m[35m (13.0ms)[0m commit transaction
|
2176
|
+
Completed 200 OK in 172ms (Views: 0.5ms | ActiveRecord: 53.7ms)
|