gds-sso 3.1.0 → 3.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/app/controllers/api/user_controller.rb +7 -6
- data/lib/gds-sso/version.rb +1 -1
- data/spec/internal/db/combustion_test.sqlite +0 -0
- data/spec/internal/log/test.log +3546 -461
- metadata +217 -149
@@ -1,4 +1,5 @@
|
|
1
1
|
class Api::UserController < ApplicationController
|
2
|
+
skip_before_filter :verify_authenticity_token
|
2
3
|
before_filter :authenticate_user!
|
3
4
|
before_filter :require_user_update_permission
|
4
5
|
|
@@ -23,13 +24,13 @@ class Api::UserController < ApplicationController
|
|
23
24
|
# By doing this, we can reuse the code for creating/updating the user
|
24
25
|
def build_gds_oauth_hash(user_json)
|
25
26
|
OmniAuth::AuthHash.new(
|
26
|
-
uid: user_json['uid'],
|
27
|
-
provider: 'gds',
|
28
|
-
info: {
|
29
|
-
name: user_json['name'],
|
27
|
+
uid: user_json['uid'],
|
28
|
+
provider: 'gds',
|
29
|
+
info: {
|
30
|
+
name: user_json['name'],
|
30
31
|
email: user_json['email']
|
31
|
-
},
|
32
|
-
extra: {
|
32
|
+
},
|
33
|
+
extra: {
|
33
34
|
user: { permissions: user_json['permissions'] }
|
34
35
|
})
|
35
36
|
end
|
data/lib/gds-sso/version.rb
CHANGED
Binary file
|
data/spec/internal/log/test.log
CHANGED
@@ -1,759 +1,3844 @@
|
|
1
1
|
Connecting to database specified by database.yml
|
2
|
-
[1m[36m (
|
3
|
-
[1m[35m (
|
4
|
-
[1m[36m (2.
|
5
|
-
[1m[35m (
|
2
|
+
[1m[36m (0.7ms)[0m [1mselect sqlite_version(*)[0m
|
3
|
+
[1m[35m (7.4ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "uid" varchar(255) NOT NULL, "email" varchar(255) NOT NULL, "remotely_signed_out" boolean, "permissions" text)
|
4
|
+
[1m[36m (2.8ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
5
|
+
[1m[35m (2.9ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
6
6
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7
|
-
[1m[35mSQL (
|
7
|
+
[1m[35mSQL (1.9ms)[0m INSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d31153"]]
|
8
|
+
[1m[36m (3.6ms)[0m [1mcommit transaction[0m
|
9
|
+
WARNING: Can't mass-assign protected attributes: uid, name, permissions
|
10
|
+
Processing by Api::UserController#update as HTML
|
11
|
+
Parameters: {"uid"=>"a1s2d31153"}
|
12
|
+
Rendered /home/jenkins/workspace/govuk_gds_sso/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.7ms)
|
13
|
+
Completed 403 Forbidden in 7ms (Views: 5.9ms | ActiveRecord: 0.0ms)
|
14
|
+
[1m[35m (0.1ms)[0m begin transaction
|
15
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?)[0m [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d3755"]]
|
16
|
+
[1m[35m (3.1ms)[0m commit transaction
|
17
|
+
Processing by Api::UserController#update as HTML
|
18
|
+
Parameters: {"uid"=>"a1s2d3755"}
|
19
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d3755' LIMIT 1[0m
|
20
|
+
[1m[35m (0.0ms)[0m begin transaction
|
21
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "email" = 'user@domain.com', "name" = 'Joshua Marshall', "permissions" = '---
|
22
|
+
- signin
|
23
|
+
- new permission
|
24
|
+
' WHERE "users"."id" = 2[0m
|
25
|
+
[1m[35m (3.7ms)[0m commit transaction
|
26
|
+
Completed 200 OK in 12ms (ActiveRecord: 4.1ms)
|
27
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 2]]
|
28
|
+
[1m[35m (0.1ms)[0m begin transaction
|
29
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?)[0m [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d33273"]]
|
30
|
+
[1m[35m (2.8ms)[0m commit transaction
|
31
|
+
WARNING: Can't mass-assign protected attributes: uid, name, permissions
|
32
|
+
Processing by Api::UserController#reauth as HTML
|
33
|
+
Parameters: {"uid"=>"a1s2d33273"}
|
34
|
+
Completed 403 Forbidden in 2ms (Views: 1.0ms | ActiveRecord: 0.0ms)
|
35
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
36
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d37928"]]
|
37
|
+
[1m[36m (3.5ms)[0m [1mcommit transaction[0m
|
38
|
+
Processing by Api::UserController#reauth as HTML
|
39
|
+
Parameters: {"uid"=>"nonexistent-user"}
|
40
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'nonexistent-user' LIMIT 1
|
41
|
+
Completed 200 OK in 1ms (ActiveRecord: 0.1ms)
|
42
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d32662"]]
|
44
|
+
[1m[36m (2.8ms)[0m [1mcommit transaction[0m
|
45
|
+
Processing by Api::UserController#reauth as HTML
|
46
|
+
Parameters: {"uid"=>"a1s2d32662"}
|
47
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d32662' LIMIT 1
|
48
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
49
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "remotely_signed_out" = 't', "permissions" = '---
|
50
|
+
- signin
|
51
|
+
' WHERE "users"."id" = 5
|
52
|
+
[1m[36m (2.8ms)[0m [1mcommit transaction[0m
|
53
|
+
Completed 200 OK in 7ms (ActiveRecord: 3.2ms)
|
54
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]]
|
55
|
+
Connecting to database specified by database.yml
|
56
|
+
[1m[36m (0.7ms)[0m [1mselect sqlite_version(*)[0m
|
57
|
+
[1m[35m (5.6ms)[0m DROP TABLE "users"
|
58
|
+
[1m[36m (3.0ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "uid" varchar(255) NOT NULL, "email" varchar(255) NOT NULL, "remotely_signed_out" boolean, "permissions" text) [0m
|
59
|
+
[1m[35m (0.1ms)[0m begin transaction
|
60
|
+
[1m[36mSQL (1.9ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?)[0m [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d31969"]]
|
61
|
+
[1m[35m (3.0ms)[0m commit transaction
|
62
|
+
WARNING: Can't mass-assign protected attributes: uid, name, permissions
|
63
|
+
Processing by Api::UserController#update as HTML
|
64
|
+
Parameters: {"uid"=>"a1s2d31969"}
|
65
|
+
Rendered /home/jenkins/workspace/govuk_gds_sso/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.8ms)
|
66
|
+
Completed 403 Forbidden in 6ms (Views: 5.7ms | ActiveRecord: 0.0ms)
|
67
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
68
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d36064"]]
|
69
|
+
[1m[36m (2.9ms)[0m [1mcommit transaction[0m
|
70
|
+
Processing by Api::UserController#update as HTML
|
71
|
+
Parameters: {"uid"=>"a1s2d36064"}
|
72
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d36064' LIMIT 1
|
73
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
74
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "email" = 'user@domain.com', "name" = 'Joshua Marshall', "permissions" = '---
|
75
|
+
- signin
|
76
|
+
- new permission
|
77
|
+
' WHERE "users"."id" = 2
|
78
|
+
[1m[36m (3.0ms)[0m [1mcommit transaction[0m
|
79
|
+
Completed 200 OK in 12ms (ActiveRecord: 3.4ms)
|
80
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
|
81
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
82
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d34297"]]
|
83
|
+
[1m[36m (3.7ms)[0m [1mcommit transaction[0m
|
84
|
+
WARNING: Can't mass-assign protected attributes: uid, name, permissions
|
85
|
+
Processing by Api::UserController#reauth as HTML
|
86
|
+
Parameters: {"uid"=>"a1s2d34297"}
|
87
|
+
Completed 403 Forbidden in 2ms (Views: 1.0ms | ActiveRecord: 0.0ms)
|
88
|
+
[1m[35m (0.1ms)[0m begin transaction
|
89
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?)[0m [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d35885"]]
|
90
|
+
[1m[35m (4.4ms)[0m commit transaction
|
91
|
+
Processing by Api::UserController#reauth as HTML
|
92
|
+
Parameters: {"uid"=>"nonexistent-user"}
|
93
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'nonexistent-user' LIMIT 1[0m
|
94
|
+
Completed 200 OK in 1ms (ActiveRecord: 0.1ms)
|
95
|
+
[1m[35m (0.0ms)[0m begin transaction
|
96
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?)[0m [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d39447"]]
|
97
|
+
[1m[35m (3.6ms)[0m commit transaction
|
98
|
+
Processing by Api::UserController#reauth as HTML
|
99
|
+
Parameters: {"uid"=>"a1s2d39447"}
|
100
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d39447' LIMIT 1[0m
|
101
|
+
[1m[35m (0.1ms)[0m begin transaction
|
102
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = 't', "permissions" = '---
|
103
|
+
- signin
|
104
|
+
' WHERE "users"."id" = 5[0m
|
105
|
+
[1m[35m (3.1ms)[0m commit transaction
|
106
|
+
Completed 200 OK in 7ms (ActiveRecord: 3.4ms)
|
107
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 5]]
|
108
|
+
Started GET "/" for 127.0.0.1 at 2013-09-16 13:43:51 +0000
|
109
|
+
Processing by ExampleController#index as HTML
|
110
|
+
Completed 200 OK in 1ms (Views: 1.2ms | ActiveRecord: 0.0ms)
|
111
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-09-16 13:43:51 +0000
|
112
|
+
Processing by ExampleController#restricted as HTML
|
113
|
+
Authenticating with gds_sso strategy
|
114
|
+
Completed in 3ms
|
115
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-09-16 13:43:51 +0000
|
116
|
+
Started GET "/auth/gds/callback?code=4cd55425411f5f17191049bf5a5b0b88fb17587557e24b248875998935813c69&state=88e2aa542b830685b71793311d588c9fb868c49b063d6617" for 127.0.0.1 at 2013-09-16 13:43:52 +0000
|
117
|
+
Processing by AuthenticationsController#callback as HTML
|
118
|
+
Parameters: {"code"=>"4cd55425411f5f17191049bf5a5b0b88fb17587557e24b248875998935813c69", "state"=>"88e2aa542b830685b71793311d588c9fb868c49b063d6617"}
|
119
|
+
Authenticating with gds_sso strategy
|
120
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
121
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
122
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?) [["email", "test@example-client.com"], ["name", "Test User"], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "integration-uid"]]
|
123
|
+
[1m[36m (3.8ms)[0m [1mcommit transaction[0m
|
124
|
+
[1m[35m (0.0ms)[0m begin transaction
|
125
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = 'f', "permissions" = '---
|
126
|
+
- signin
|
127
|
+
' WHERE "users"."id" = 6[0m
|
128
|
+
[1m[35m (2.7ms)[0m commit transaction
|
129
|
+
Redirected to http://www.example-client.com/restricted
|
130
|
+
Completed 302 Found in 13ms (ActiveRecord: 7.0ms)
|
131
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-09-16 13:43:52 +0000
|
132
|
+
Processing by ExampleController#restricted as HTML
|
133
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
134
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.1ms)
|
135
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-09-16 13:43:52 +0000
|
136
|
+
Processing by ExampleController#restricted as HTML
|
137
|
+
Authenticating with gds_sso strategy
|
138
|
+
Completed in 0ms
|
139
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-09-16 13:43:52 +0000
|
140
|
+
Started GET "/auth/gds/callback?code=f540a8943ce23cc5af7291b757c22235707e603d5a5f561d6d837db04b99d7f8&state=4e1ed685832c88d85150aec0809fe136bc587590149ed46b" for 127.0.0.1 at 2013-09-16 13:43:52 +0000
|
141
|
+
Processing by AuthenticationsController#callback as HTML
|
142
|
+
Parameters: {"code"=>"f540a8943ce23cc5af7291b757c22235707e603d5a5f561d6d837db04b99d7f8", "state"=>"4e1ed685832c88d85150aec0809fe136bc587590149ed46b"}
|
143
|
+
Authenticating with gds_sso strategy
|
144
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
145
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
146
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "permissions" = '---
|
147
|
+
- signin
|
148
|
+
' WHERE "users"."id" = 6
|
149
|
+
[1m[36m (4.3ms)[0m [1mcommit transaction[0m
|
150
|
+
[1m[35m (0.0ms)[0m begin transaction
|
151
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
152
|
+
- signin
|
153
|
+
' WHERE "users"."id" = 6[0m
|
154
|
+
[1m[35m (2.9ms)[0m commit transaction
|
155
|
+
Redirected to http://www.example-client.com/restricted
|
156
|
+
Completed 302 Found in 44ms (ActiveRecord: 7.8ms)
|
157
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-09-16 13:43:52 +0000
|
158
|
+
Processing by ExampleController#restricted as HTML
|
159
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
160
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.1ms)
|
161
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-09-16 13:43:52 +0000
|
162
|
+
Processing by ExampleController#restricted as HTML
|
163
|
+
Authenticating with gds_sso strategy
|
164
|
+
Completed in 0ms
|
165
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-09-16 13:43:52 +0000
|
166
|
+
Started GET "/auth/gds/callback?code=b796d9db1611e33c6f642258e238c1acbfcc20ca270a4d167fc3b8320859e562&state=108cbb9bcd9f995597cdf670f6c29304e2a023677c52f1c2" for 127.0.0.1 at 2013-09-16 13:43:53 +0000
|
167
|
+
Processing by AuthenticationsController#callback as HTML
|
168
|
+
Parameters: {"code"=>"b796d9db1611e33c6f642258e238c1acbfcc20ca270a4d167fc3b8320859e562", "state"=>"108cbb9bcd9f995597cdf670f6c29304e2a023677c52f1c2"}
|
169
|
+
Authenticating with gds_sso strategy
|
170
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
171
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
172
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "permissions" = '---
|
173
|
+
- signin
|
174
|
+
' WHERE "users"."id" = 6
|
175
|
+
[1m[36m (4.4ms)[0m [1mcommit transaction[0m
|
176
|
+
[1m[35m (0.0ms)[0m begin transaction
|
177
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
178
|
+
- signin
|
179
|
+
' WHERE "users"."id" = 6[0m
|
180
|
+
[1m[35m (3.1ms)[0m commit transaction
|
181
|
+
Redirected to http://www.example-client.com/restricted
|
182
|
+
Completed 302 Found in 15ms (ActiveRecord: 8.0ms)
|
183
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-09-16 13:43:53 +0000
|
184
|
+
Processing by ExampleController#restricted as HTML
|
185
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
186
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
187
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-09-16 13:43:53 +0000
|
188
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
189
|
+
Authenticating with gds_sso strategy
|
190
|
+
Completed in 1ms
|
191
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-09-16 13:43:53 +0000
|
192
|
+
Started GET "/auth/gds/callback?code=d97d65756eb1e88462c295525367febf92e10b5d30cafa8ed486211fa6d83742&state=e6d8e85324bab268370a322643ac4145aecd15e2813b7e87" for 127.0.0.1 at 2013-09-16 13:43:53 +0000
|
193
|
+
Processing by AuthenticationsController#callback as HTML
|
194
|
+
Parameters: {"code"=>"d97d65756eb1e88462c295525367febf92e10b5d30cafa8ed486211fa6d83742", "state"=>"e6d8e85324bab268370a322643ac4145aecd15e2813b7e87"}
|
195
|
+
Authenticating with gds_sso strategy
|
196
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
197
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
198
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "permissions" = '---
|
199
|
+
- signin
|
200
|
+
' WHERE "users"."id" = 6
|
201
|
+
[1m[36m (4.0ms)[0m [1mcommit transaction[0m
|
202
|
+
[1m[35m (0.0ms)[0m begin transaction
|
203
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
204
|
+
- signin
|
205
|
+
' WHERE "users"."id" = 6[0m
|
206
|
+
[1m[35m (2.9ms)[0m commit transaction
|
207
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
208
|
+
Completed 302 Found in 15ms (ActiveRecord: 7.4ms)
|
209
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-09-16 13:43:53 +0000
|
210
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
211
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
212
|
+
Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
213
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-09-16 13:43:53 +0000
|
214
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
215
|
+
Authenticating with gds_sso strategy
|
216
|
+
Completed in 0ms
|
217
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-09-16 13:43:53 +0000
|
218
|
+
Started GET "/auth/gds/callback?code=55bd5f47a39b8ec4e6258331208190d0c888ee1016c67f24ef5011b3f011b811&state=29b7c8f8436a98cf04140436d32a2a0dbac1fde0d1d631ec" for 127.0.0.1 at 2013-09-16 13:43:53 +0000
|
219
|
+
Processing by AuthenticationsController#callback as HTML
|
220
|
+
Parameters: {"code"=>"55bd5f47a39b8ec4e6258331208190d0c888ee1016c67f24ef5011b3f011b811", "state"=>"29b7c8f8436a98cf04140436d32a2a0dbac1fde0d1d631ec"}
|
221
|
+
Authenticating with gds_sso strategy
|
222
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
223
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
224
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "permissions" = '---
|
225
|
+
- signin
|
226
|
+
' WHERE "users"."id" = 6
|
227
|
+
[1m[36m (3.7ms)[0m [1mcommit transaction[0m
|
228
|
+
[1m[35m (0.0ms)[0m begin transaction
|
229
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
230
|
+
- signin
|
231
|
+
' WHERE "users"."id" = 6[0m
|
232
|
+
[1m[35m (3.6ms)[0m commit transaction
|
233
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
234
|
+
Completed 302 Found in 14ms (ActiveRecord: 7.7ms)
|
235
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-09-16 13:43:53 +0000
|
236
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
237
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
238
|
+
Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
239
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-09-16 13:43:53 +0000
|
240
|
+
Processing by ExampleController#restricted as HTML
|
241
|
+
Authenticating with gds_sso strategy
|
242
|
+
Completed in 0ms
|
243
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-09-16 13:43:53 +0000
|
244
|
+
Started GET "/auth/gds/callback?code=ca935d837cf7b6d476023db86acbf743a187e97c4771d246a4a3b9c1e74ba772&state=0cd65d47b189d50037b1e0f44fa8098cf5de72f8234cb390" for 127.0.0.1 at 2013-09-16 13:43:54 +0000
|
245
|
+
Processing by AuthenticationsController#callback as HTML
|
246
|
+
Parameters: {"code"=>"ca935d837cf7b6d476023db86acbf743a187e97c4771d246a4a3b9c1e74ba772", "state"=>"0cd65d47b189d50037b1e0f44fa8098cf5de72f8234cb390"}
|
247
|
+
Authenticating with gds_sso strategy
|
248
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
249
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
250
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "permissions" = '---
|
251
|
+
- signin
|
252
|
+
' WHERE "users"."id" = 6
|
253
|
+
[1m[36m (5.0ms)[0m [1mcommit transaction[0m
|
254
|
+
[1m[35m (0.0ms)[0m begin transaction
|
255
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
256
|
+
- signin
|
257
|
+
' WHERE "users"."id" = 6[0m
|
258
|
+
[1m[35m (3.2ms)[0m commit transaction
|
259
|
+
Redirected to http://www.example-client.com/restricted
|
260
|
+
Completed 302 Found in 16ms (ActiveRecord: 8.8ms)
|
261
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-09-16 13:43:54 +0000
|
262
|
+
Processing by ExampleController#restricted as HTML
|
263
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
264
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
265
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
266
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
267
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "remotely_signed_out" = 't', "permissions" = '---
|
268
|
+
- signin
|
269
|
+
' WHERE "users"."id" = 6
|
270
|
+
[1m[36m (3.0ms)[0m [1mcommit transaction[0m
|
271
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-09-16 13:43:54 +0000
|
272
|
+
Processing by ExampleController#restricted as HTML
|
273
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
274
|
+
Filter chain halted as :authenticate_user! rendered or redirected
|
275
|
+
Completed 403 Forbidden in 3ms (Views: 1.8ms | ActiveRecord: 0.1ms)
|
276
|
+
Started GET "/auth/gds/sign_out" for 127.0.0.1 at 2013-09-16 13:43:54 +0000
|
277
|
+
Processing by AuthenticationsController#sign_out as HTML
|
278
|
+
Redirected to http://localhost:4567/users/sign_out
|
279
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
280
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-09-16 13:43:54 +0000
|
281
|
+
Processing by ExampleController#restricted as HTML
|
282
|
+
Authenticating with gds_sso strategy
|
283
|
+
Completed in 0ms
|
284
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-09-16 13:43:54 +0000
|
285
|
+
Started GET "/auth/gds/callback?code=14b4757002e4edec2988e34d70e04c5a6668d8de1f707ed69715b8a7b0b277e0&state=f83f76a95d9d502514e8b18ef26e5c5633fa201735582379" for 127.0.0.1 at 2013-09-16 13:43:54 +0000
|
286
|
+
Processing by AuthenticationsController#callback as HTML
|
287
|
+
Parameters: {"code"=>"14b4757002e4edec2988e34d70e04c5a6668d8de1f707ed69715b8a7b0b277e0", "state"=>"f83f76a95d9d502514e8b18ef26e5c5633fa201735582379"}
|
288
|
+
Authenticating with gds_sso strategy
|
289
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
290
|
+
[1m[35m (0.0ms)[0m begin transaction
|
291
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
292
|
+
- signin
|
293
|
+
' WHERE "users"."id" = 6[0m
|
294
|
+
[1m[35m (5.4ms)[0m commit transaction
|
295
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
296
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "remotely_signed_out" = 'f', "permissions" = '---
|
297
|
+
- signin
|
298
|
+
' WHERE "users"."id" = 6
|
299
|
+
[1m[36m (2.9ms)[0m [1mcommit transaction[0m
|
300
|
+
Redirected to http://www.example-client.com/restricted
|
301
|
+
Completed 302 Found in 16ms (ActiveRecord: 8.8ms)
|
302
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-09-16 13:43:54 +0000
|
303
|
+
Processing by ExampleController#restricted as HTML
|
304
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
305
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
306
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-09-16 13:43:54 +0000
|
307
|
+
Processing by ExampleController#restricted as HTML
|
308
|
+
Authenticating with gds_sso strategy
|
309
|
+
Completed in 0ms
|
310
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-09-16 13:43:54 +0000
|
311
|
+
Started GET "/auth/gds/callback?code=de6654fc8171cdde1193e757faf0d123bf19da9f222f3a10a0bbf76c612bd2af&state=5fca6928f35151486626a2c964b69906658e222439a0448b" for 127.0.0.1 at 2013-09-16 13:43:54 +0000
|
312
|
+
Processing by AuthenticationsController#callback as HTML
|
313
|
+
Parameters: {"code"=>"de6654fc8171cdde1193e757faf0d123bf19da9f222f3a10a0bbf76c612bd2af", "state"=>"5fca6928f35151486626a2c964b69906658e222439a0448b"}
|
314
|
+
Authenticating with gds_sso strategy
|
315
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
316
|
+
[1m[35m (0.1ms)[0m begin transaction
|
317
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
318
|
+
- signin
|
319
|
+
' WHERE "users"."id" = 6[0m
|
320
|
+
[1m[35m (4.2ms)[0m commit transaction
|
321
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
322
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "permissions" = '---
|
323
|
+
- signin
|
324
|
+
' WHERE "users"."id" = 6
|
325
|
+
[1m[36m (2.7ms)[0m [1mcommit transaction[0m
|
326
|
+
Redirected to http://www.example-client.com/restricted
|
327
|
+
Completed 302 Found in 15ms (ActiveRecord: 7.4ms)
|
328
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-09-16 13:43:54 +0000
|
329
|
+
Processing by ExampleController#restricted as HTML
|
330
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
331
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.1ms)
|
332
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-09-17 09:48:54 +0000
|
333
|
+
Processing by ExampleController#restricted as HTML
|
334
|
+
Authenticating with gds_sso strategy
|
335
|
+
Completed in 0ms
|
336
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-09-17 09:48:54 +0000
|
337
|
+
Started GET "/auth/gds/callback?code=210fe92b3031924190d42cac8ae62872432a561c37db5b949c6c401151a640a1&state=9d88db5b8bc8173164ee381d06ba0a0014edf2b038277951" for 127.0.0.1 at 2013-09-17 09:48:54 +0000
|
338
|
+
Processing by AuthenticationsController#callback as HTML
|
339
|
+
Parameters: {"code"=>"210fe92b3031924190d42cac8ae62872432a561c37db5b949c6c401151a640a1", "state"=>"9d88db5b8bc8173164ee381d06ba0a0014edf2b038277951"}
|
340
|
+
Authenticating with gds_sso strategy
|
341
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
342
|
+
[1m[35m (0.1ms)[0m begin transaction
|
343
|
+
[1m[36m (0.4ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
344
|
+
- signin
|
345
|
+
' WHERE "users"."id" = 6[0m
|
346
|
+
[1m[35m (3.6ms)[0m commit transaction
|
347
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
348
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "permissions" = '---
|
349
|
+
- signin
|
350
|
+
' WHERE "users"."id" = 6
|
351
|
+
[1m[36m (3.5ms)[0m [1mcommit transaction[0m
|
352
|
+
Redirected to http://www.example-client.com/restricted
|
353
|
+
Completed 302 Found in 46ms (ActiveRecord: 7.9ms)
|
354
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-09-17 09:48:54 +0000
|
355
|
+
Processing by ExampleController#restricted as HTML
|
356
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
357
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
358
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-09-16 13:43:54 +0000
|
359
|
+
Processing by ExampleController#restricted as HTML
|
360
|
+
Authenticating with gds_sso strategy
|
361
|
+
Completed in 0ms
|
362
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-09-16 13:43:54 +0000
|
363
|
+
Started GET "/auth/gds/callback?code=7435f598318f6156aef6f49a3890c45b1c3590461698af63d3403dcf5b4f0e2f&state=4563da7f010b0a616b1f2e63414581cc5d055df8a431f06d" for 127.0.0.1 at 2013-09-16 13:43:55 +0000
|
364
|
+
Processing by AuthenticationsController#callback as HTML
|
365
|
+
Parameters: {"code"=>"7435f598318f6156aef6f49a3890c45b1c3590461698af63d3403dcf5b4f0e2f", "state"=>"4563da7f010b0a616b1f2e63414581cc5d055df8a431f06d"}
|
366
|
+
Authenticating with gds_sso strategy
|
367
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
368
|
+
[1m[35m (0.1ms)[0m begin transaction
|
369
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
370
|
+
- signin
|
371
|
+
' WHERE "users"."id" = 6[0m
|
372
|
+
[1m[35m (4.0ms)[0m commit transaction
|
373
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
374
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "permissions" = '---
|
375
|
+
- signin
|
376
|
+
' WHERE "users"."id" = 6
|
377
|
+
[1m[36m (2.9ms)[0m [1mcommit transaction[0m
|
378
|
+
Redirected to http://www.example-client.com/restricted
|
379
|
+
Completed 302 Found in 15ms (ActiveRecord: 7.4ms)
|
380
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-09-16 13:43:55 +0000
|
381
|
+
Processing by ExampleController#restricted as HTML
|
382
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
383
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.1ms)
|
384
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-09-17 09:38:55 +0000
|
385
|
+
Processing by ExampleController#restricted as HTML
|
386
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
387
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
388
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-09-16 13:43:55 +0000
|
389
|
+
Processing by ExampleController#restricted as JSON
|
390
|
+
Authenticating with gds_sso_api_access strategy
|
391
|
+
Completed in 2ms
|
392
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-09-16 13:43:55 +0000
|
393
|
+
Processing by ExampleController#restricted as JSON
|
394
|
+
Authenticating with gds_sso_api_access strategy
|
395
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
396
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-09-16 13:43:55 +0000
|
397
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
398
|
+
Authenticating with gds_sso_api_access strategy
|
399
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
400
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-09-16 13:43:55 +0000
|
401
|
+
Processing by ExampleController#restricted as JSON
|
402
|
+
Authenticating with gds_bearer_token strategy
|
403
|
+
Completed in 7ms
|
404
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-09-16 13:43:55 +0000
|
405
|
+
Processing by ExampleController#restricted as JSON
|
406
|
+
Authenticating with gds_bearer_token strategy
|
407
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
408
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
409
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "permissions" = '---
|
410
|
+
- signin
|
411
|
+
' WHERE "users"."id" = 6
|
412
|
+
[1m[36m (4.1ms)[0m [1mcommit transaction[0m
|
413
|
+
[1m[35m (0.0ms)[0m begin transaction
|
414
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
415
|
+
- signin
|
416
|
+
' WHERE "users"."id" = 6[0m
|
417
|
+
[1m[35m (2.7ms)[0m commit transaction
|
418
|
+
Completed 200 OK in 35ms (Views: 0.2ms | ActiveRecord: 7.3ms)
|
419
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-09-16 13:43:55 +0000
|
420
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
421
|
+
Authenticating with gds_bearer_token strategy
|
422
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
423
|
+
[1m[35m (0.0ms)[0m begin transaction
|
424
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
425
|
+
- signin
|
426
|
+
' WHERE "users"."id" = 6[0m
|
427
|
+
[1m[35m (3.3ms)[0m commit transaction
|
428
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
429
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "permissions" = '---
|
430
|
+
- signin
|
431
|
+
' WHERE "users"."id" = 6
|
432
|
+
[1m[36m (3.4ms)[0m [1mcommit transaction[0m
|
433
|
+
Completed 200 OK in 35ms (Views: 0.2ms | ActiveRecord: 7.2ms)
|
434
|
+
Connecting to database specified by database.yml
|
435
|
+
[1m[36m (0.7ms)[0m [1mselect sqlite_version(*)[0m
|
436
|
+
[1m[35m (14.3ms)[0m DROP TABLE "users"
|
437
|
+
[1m[36m (11.7ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "uid" varchar(255) NOT NULL, "email" varchar(255) NOT NULL, "remotely_signed_out" boolean, "permissions" text) [0m
|
438
|
+
[1m[35m (0.1ms)[0m begin transaction
|
439
|
+
[1m[36mSQL (2.0ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?)[0m [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d39228"]]
|
440
|
+
[1m[35m (10.7ms)[0m commit transaction
|
441
|
+
WARNING: Can't mass-assign protected attributes: uid, name, permissions
|
442
|
+
Processing by Api::UserController#update as HTML
|
443
|
+
Parameters: {"uid"=>"a1s2d39228"}
|
444
|
+
Rendered /home/jenkins/workspace/govuk_gds_sso/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.7ms)
|
445
|
+
Completed 403 Forbidden in 21ms (Views: 20.0ms | ActiveRecord: 0.0ms)
|
446
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
447
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d34759"]]
|
448
|
+
[1m[36m (11.3ms)[0m [1mcommit transaction[0m
|
449
|
+
Processing by Api::UserController#update as HTML
|
450
|
+
Parameters: {"uid"=>"a1s2d34759"}
|
451
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d34759' LIMIT 1
|
452
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
453
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "email" = 'user@domain.com', "name" = 'Joshua Marshall', "permissions" = '---
|
454
|
+
- signin
|
455
|
+
- new permission
|
456
|
+
' WHERE "users"."id" = 2
|
457
|
+
[1m[36m (11.9ms)[0m [1mcommit transaction[0m
|
458
|
+
Completed 200 OK in 20ms (ActiveRecord: 12.3ms)
|
459
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
|
460
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
461
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d36361"]]
|
462
|
+
[1m[36m (32.4ms)[0m [1mcommit transaction[0m
|
463
|
+
WARNING: Can't mass-assign protected attributes: uid, name, permissions
|
464
|
+
Processing by Api::UserController#reauth as HTML
|
465
|
+
Parameters: {"uid"=>"a1s2d36361"}
|
466
|
+
Completed 403 Forbidden in 2ms (Views: 1.0ms | ActiveRecord: 0.0ms)
|
467
|
+
[1m[35m (0.1ms)[0m begin transaction
|
468
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?)[0m [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d32615"]]
|
469
|
+
[1m[35m (11.5ms)[0m commit transaction
|
470
|
+
Processing by Api::UserController#reauth as HTML
|
471
|
+
Parameters: {"uid"=>"nonexistent-user"}
|
472
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'nonexistent-user' LIMIT 1[0m
|
473
|
+
Completed 200 OK in 1ms (ActiveRecord: 0.2ms)
|
474
|
+
[1m[35m (0.0ms)[0m begin transaction
|
475
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?)[0m [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d39189"]]
|
476
|
+
[1m[35m (12.0ms)[0m commit transaction
|
477
|
+
Processing by Api::UserController#reauth as HTML
|
478
|
+
Parameters: {"uid"=>"a1s2d39189"}
|
479
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d39189' LIMIT 1[0m
|
480
|
+
[1m[35m (0.0ms)[0m begin transaction
|
481
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = 't', "permissions" = '---
|
482
|
+
- signin
|
483
|
+
' WHERE "users"."id" = 5[0m
|
484
|
+
[1m[35m (12.0ms)[0m commit transaction
|
485
|
+
Completed 200 OK in 16ms (ActiveRecord: 12.4ms)
|
486
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 5]]
|
487
|
+
Started GET "/" for 127.0.0.1 at 2013-09-23 11:30:45 +0000
|
488
|
+
Processing by ExampleController#index as HTML
|
489
|
+
Completed 200 OK in 1ms (Views: 1.2ms | ActiveRecord: 0.0ms)
|
490
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-09-23 11:30:45 +0000
|
491
|
+
Processing by ExampleController#restricted as HTML
|
492
|
+
Authenticating with gds_sso strategy
|
493
|
+
Completed in 2ms
|
494
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-09-23 11:30:45 +0000
|
495
|
+
Started GET "/auth/gds/callback?code=bdee3e71c9f2f13d411966be940130266e796aab92a2b4e2b21252d868dda087&state=dfebadce4a162af9389ba8874be6579ce1b711176de75971" for 127.0.0.1 at 2013-09-23 11:30:46 +0000
|
496
|
+
Processing by AuthenticationsController#callback as HTML
|
497
|
+
Parameters: {"code"=>"bdee3e71c9f2f13d411966be940130266e796aab92a2b4e2b21252d868dda087", "state"=>"dfebadce4a162af9389ba8874be6579ce1b711176de75971"}
|
498
|
+
Authenticating with gds_sso strategy
|
499
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
500
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
501
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?) [["email", "test@example-client.com"], ["name", "Test User"], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "integration-uid"]]
|
502
|
+
[1m[36m (3.6ms)[0m [1mcommit transaction[0m
|
503
|
+
[1m[35m (0.1ms)[0m begin transaction
|
504
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = 'f', "permissions" = '---
|
505
|
+
- signin
|
506
|
+
' WHERE "users"."id" = 6[0m
|
507
|
+
[1m[35m (2.7ms)[0m commit transaction
|
508
|
+
Redirected to http://www.example-client.com/restricted
|
509
|
+
Completed 302 Found in 14ms (ActiveRecord: 6.9ms)
|
510
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-09-23 11:30:46 +0000
|
511
|
+
Processing by ExampleController#restricted as HTML
|
512
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
513
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
514
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-09-23 11:30:46 +0000
|
515
|
+
Processing by ExampleController#restricted as HTML
|
516
|
+
Authenticating with gds_sso strategy
|
517
|
+
Completed in 0ms
|
518
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-09-23 11:30:46 +0000
|
519
|
+
Started GET "/auth/gds/callback?code=ead45bb6be335fbd5c0e6189e912ddc74622c31dd13aa0fdbfd8d064cef55fad&state=3c4b825384b5576836abc0eb698312b41eb20ff0e291c7b4" for 127.0.0.1 at 2013-09-23 11:30:46 +0000
|
520
|
+
Processing by AuthenticationsController#callback as HTML
|
521
|
+
Parameters: {"code"=>"ead45bb6be335fbd5c0e6189e912ddc74622c31dd13aa0fdbfd8d064cef55fad", "state"=>"3c4b825384b5576836abc0eb698312b41eb20ff0e291c7b4"}
|
522
|
+
Authenticating with gds_sso strategy
|
523
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
524
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
525
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "permissions" = '---
|
526
|
+
- signin
|
527
|
+
' WHERE "users"."id" = 6
|
528
|
+
[1m[36m (4.7ms)[0m [1mcommit transaction[0m
|
529
|
+
[1m[35m (0.0ms)[0m begin transaction
|
530
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
531
|
+
- signin
|
532
|
+
' WHERE "users"."id" = 6[0m
|
533
|
+
[1m[35m (3.2ms)[0m commit transaction
|
534
|
+
Redirected to http://www.example-client.com/restricted
|
535
|
+
Completed 302 Found in 45ms (ActiveRecord: 8.6ms)
|
536
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-09-23 11:30:46 +0000
|
537
|
+
Processing by ExampleController#restricted as HTML
|
538
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
539
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
540
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-09-23 11:30:46 +0000
|
541
|
+
Processing by ExampleController#restricted as HTML
|
542
|
+
Authenticating with gds_sso strategy
|
543
|
+
Completed in 0ms
|
544
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-09-23 11:30:46 +0000
|
545
|
+
Started GET "/auth/gds/callback?code=609fcdc1a2297ee45c2a60e54efc93b0f7de9f608c6c463b52cd01a4d8869525&state=cfc88f934b9f9b00d3dadeeda67c3db641988c63df97b47e" for 127.0.0.1 at 2013-09-23 11:30:47 +0000
|
546
|
+
Processing by AuthenticationsController#callback as HTML
|
547
|
+
Parameters: {"code"=>"609fcdc1a2297ee45c2a60e54efc93b0f7de9f608c6c463b52cd01a4d8869525", "state"=>"cfc88f934b9f9b00d3dadeeda67c3db641988c63df97b47e"}
|
548
|
+
Authenticating with gds_sso strategy
|
549
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
550
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
551
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "permissions" = '---
|
552
|
+
- signin
|
553
|
+
' WHERE "users"."id" = 6
|
554
|
+
[1m[36m (5.2ms)[0m [1mcommit transaction[0m
|
555
|
+
[1m[35m (0.0ms)[0m begin transaction
|
556
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
557
|
+
- signin
|
558
|
+
' WHERE "users"."id" = 6[0m
|
559
|
+
[1m[35m (3.3ms)[0m commit transaction
|
560
|
+
Redirected to http://www.example-client.com/restricted
|
561
|
+
Completed 302 Found in 16ms (ActiveRecord: 9.0ms)
|
562
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-09-23 11:30:47 +0000
|
563
|
+
Processing by ExampleController#restricted as HTML
|
564
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
565
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.1ms)
|
566
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-09-23 11:30:47 +0000
|
567
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
568
|
+
Authenticating with gds_sso strategy
|
569
|
+
Completed in 1ms
|
570
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-09-23 11:30:47 +0000
|
571
|
+
Started GET "/auth/gds/callback?code=6f2be0abb02c49562330b9cc643173e8f81daf92e985ca1482ea1054104a024f&state=0b7cae04d7db420a81f7a96c4018f7de7595bf43f6ad052a" for 127.0.0.1 at 2013-09-23 11:30:47 +0000
|
572
|
+
Processing by AuthenticationsController#callback as HTML
|
573
|
+
Parameters: {"code"=>"6f2be0abb02c49562330b9cc643173e8f81daf92e985ca1482ea1054104a024f", "state"=>"0b7cae04d7db420a81f7a96c4018f7de7595bf43f6ad052a"}
|
574
|
+
Authenticating with gds_sso strategy
|
575
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
576
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
577
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "permissions" = '---
|
578
|
+
- signin
|
579
|
+
' WHERE "users"."id" = 6
|
580
|
+
[1m[36m (5.5ms)[0m [1mcommit transaction[0m
|
581
|
+
[1m[35m (0.0ms)[0m begin transaction
|
582
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
583
|
+
- signin
|
584
|
+
' WHERE "users"."id" = 6[0m
|
585
|
+
[1m[35m (3.5ms)[0m commit transaction
|
586
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
587
|
+
Completed 302 Found in 17ms (ActiveRecord: 9.6ms)
|
588
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-09-23 11:30:47 +0000
|
589
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
590
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
591
|
+
Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
592
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-09-23 11:30:47 +0000
|
593
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
594
|
+
Authenticating with gds_sso strategy
|
595
|
+
Completed in 0ms
|
596
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-09-23 11:30:47 +0000
|
597
|
+
Started GET "/auth/gds/callback?code=ac955142e56830c27a94ef2a82563e46d2325cfee4bdfa95f4307d36767f436c&state=f77a1c0438590e2eeb8615ec7d5ffca3d19ab548b57ba9ed" for 127.0.0.1 at 2013-09-23 11:30:47 +0000
|
598
|
+
Processing by AuthenticationsController#callback as HTML
|
599
|
+
Parameters: {"code"=>"ac955142e56830c27a94ef2a82563e46d2325cfee4bdfa95f4307d36767f436c", "state"=>"f77a1c0438590e2eeb8615ec7d5ffca3d19ab548b57ba9ed"}
|
600
|
+
Authenticating with gds_sso strategy
|
601
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
602
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
603
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "permissions" = '---
|
604
|
+
- signin
|
605
|
+
' WHERE "users"."id" = 6
|
606
|
+
[1m[36m (5.0ms)[0m [1mcommit transaction[0m
|
607
|
+
[1m[35m (0.0ms)[0m begin transaction
|
608
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
609
|
+
- signin
|
610
|
+
' WHERE "users"."id" = 6[0m
|
611
|
+
[1m[35m (3.6ms)[0m commit transaction
|
612
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
613
|
+
Completed 302 Found in 16ms (ActiveRecord: 9.1ms)
|
614
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-09-23 11:30:47 +0000
|
615
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
616
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
617
|
+
Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
618
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-09-23 11:30:47 +0000
|
619
|
+
Processing by ExampleController#restricted as HTML
|
620
|
+
Authenticating with gds_sso strategy
|
621
|
+
Completed in 0ms
|
622
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-09-23 11:30:47 +0000
|
623
|
+
Started GET "/auth/gds/callback?code=05d3e5b0dd2b3dfe7171a66b8c5962549bee156c8a9976b74841641d8385d7b8&state=eb6e4ae8f6ef2c9dd607917e0fed0cfe5c7099508d8f573a" for 127.0.0.1 at 2013-09-23 11:30:48 +0000
|
624
|
+
Processing by AuthenticationsController#callback as HTML
|
625
|
+
Parameters: {"code"=>"05d3e5b0dd2b3dfe7171a66b8c5962549bee156c8a9976b74841641d8385d7b8", "state"=>"eb6e4ae8f6ef2c9dd607917e0fed0cfe5c7099508d8f573a"}
|
626
|
+
Authenticating with gds_sso strategy
|
627
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
628
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
629
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "permissions" = '---
|
630
|
+
- signin
|
631
|
+
' WHERE "users"."id" = 6
|
632
|
+
[1m[36m (4.9ms)[0m [1mcommit transaction[0m
|
633
|
+
[1m[35m (0.0ms)[0m begin transaction
|
634
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
635
|
+
- signin
|
636
|
+
' WHERE "users"."id" = 6[0m
|
637
|
+
[1m[35m (4.2ms)[0m commit transaction
|
638
|
+
Redirected to http://www.example-client.com/restricted
|
639
|
+
Completed 302 Found in 17ms (ActiveRecord: 9.6ms)
|
640
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-09-23 11:30:48 +0000
|
641
|
+
Processing by ExampleController#restricted as HTML
|
642
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
643
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
644
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
645
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
646
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "remotely_signed_out" = 't', "permissions" = '---
|
647
|
+
- signin
|
648
|
+
' WHERE "users"."id" = 6
|
649
|
+
[1m[36m (3.7ms)[0m [1mcommit transaction[0m
|
650
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-09-23 11:30:48 +0000
|
651
|
+
Processing by ExampleController#restricted as HTML
|
652
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
653
|
+
Filter chain halted as :authenticate_user! rendered or redirected
|
654
|
+
Completed 403 Forbidden in 3ms (Views: 1.7ms | ActiveRecord: 0.1ms)
|
655
|
+
Started GET "/auth/gds/sign_out" for 127.0.0.1 at 2013-09-23 11:30:48 +0000
|
656
|
+
Processing by AuthenticationsController#sign_out as HTML
|
657
|
+
Redirected to http://localhost:4567/users/sign_out
|
658
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
659
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-09-23 11:30:48 +0000
|
660
|
+
Processing by ExampleController#restricted as HTML
|
661
|
+
Authenticating with gds_sso strategy
|
662
|
+
Completed in 0ms
|
663
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-09-23 11:30:48 +0000
|
664
|
+
Started GET "/auth/gds/callback?code=8448e7fe5f7a7953e45de6fc9acf910e47aa26eaf5358a30e3c161993129fb60&state=a8e8575a54e33efff78fda39f092646b1b8f8338e2b7f3a6" for 127.0.0.1 at 2013-09-23 11:30:48 +0000
|
665
|
+
Processing by AuthenticationsController#callback as HTML
|
666
|
+
Parameters: {"code"=>"8448e7fe5f7a7953e45de6fc9acf910e47aa26eaf5358a30e3c161993129fb60", "state"=>"a8e8575a54e33efff78fda39f092646b1b8f8338e2b7f3a6"}
|
667
|
+
Authenticating with gds_sso strategy
|
668
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
669
|
+
[1m[35m (0.0ms)[0m begin transaction
|
670
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
671
|
+
- signin
|
672
|
+
' WHERE "users"."id" = 6[0m
|
673
|
+
[1m[35m (5.2ms)[0m commit transaction
|
674
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
675
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "remotely_signed_out" = 'f', "permissions" = '---
|
676
|
+
- signin
|
677
|
+
' WHERE "users"."id" = 6
|
678
|
+
[1m[36m (4.2ms)[0m [1mcommit transaction[0m
|
679
|
+
Redirected to http://www.example-client.com/restricted
|
680
|
+
Completed 302 Found in 17ms (ActiveRecord: 10.0ms)
|
681
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-09-23 11:30:48 +0000
|
682
|
+
Processing by ExampleController#restricted as HTML
|
683
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
684
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
685
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-09-23 11:30:48 +0000
|
686
|
+
Processing by ExampleController#restricted as HTML
|
687
|
+
Authenticating with gds_sso strategy
|
688
|
+
Completed in 0ms
|
689
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-09-23 11:30:48 +0000
|
690
|
+
Started GET "/auth/gds/callback?code=8d6a586ed25f31979a6882b59fbf1b16f3a5c867a55c5dcd3535c8c877ace626&state=b9c54448a1c07decba8f60ffe97bc07f523ead372e9b8045" for 127.0.0.1 at 2013-09-23 11:30:48 +0000
|
691
|
+
Processing by AuthenticationsController#callback as HTML
|
692
|
+
Parameters: {"code"=>"8d6a586ed25f31979a6882b59fbf1b16f3a5c867a55c5dcd3535c8c877ace626", "state"=>"b9c54448a1c07decba8f60ffe97bc07f523ead372e9b8045"}
|
693
|
+
Authenticating with gds_sso strategy
|
694
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
695
|
+
[1m[35m (0.1ms)[0m begin transaction
|
696
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
697
|
+
- signin
|
698
|
+
' WHERE "users"."id" = 6[0m
|
699
|
+
[1m[35m (4.8ms)[0m commit transaction
|
700
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
701
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "permissions" = '---
|
702
|
+
- signin
|
703
|
+
' WHERE "users"."id" = 6
|
704
|
+
[1m[36m (4.3ms)[0m [1mcommit transaction[0m
|
705
|
+
Redirected to http://www.example-client.com/restricted
|
706
|
+
Completed 302 Found in 17ms (ActiveRecord: 9.6ms)
|
707
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-09-23 11:30:48 +0000
|
708
|
+
Processing by ExampleController#restricted as HTML
|
709
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
710
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
711
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-09-24 07:35:48 +0000
|
712
|
+
Processing by ExampleController#restricted as HTML
|
713
|
+
Authenticating with gds_sso strategy
|
714
|
+
Completed in 0ms
|
715
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-09-24 07:35:48 +0000
|
716
|
+
Started GET "/auth/gds/callback?code=fa39c2668673b8005193ff4b2dd82df3c95bfa71f25a5acab21a1c4446fe23f4&state=4c494cabb99675828db85230c1b041df8d9525354d4f969e" for 127.0.0.1 at 2013-09-24 07:35:48 +0000
|
717
|
+
Processing by AuthenticationsController#callback as HTML
|
718
|
+
Parameters: {"code"=>"fa39c2668673b8005193ff4b2dd82df3c95bfa71f25a5acab21a1c4446fe23f4", "state"=>"4c494cabb99675828db85230c1b041df8d9525354d4f969e"}
|
719
|
+
Authenticating with gds_sso strategy
|
720
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
721
|
+
[1m[35m (0.0ms)[0m begin transaction
|
722
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
723
|
+
- signin
|
724
|
+
' WHERE "users"."id" = 6[0m
|
725
|
+
[1m[35m (4.9ms)[0m commit transaction
|
726
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
727
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "permissions" = '---
|
728
|
+
- signin
|
729
|
+
' WHERE "users"."id" = 6
|
730
|
+
[1m[36m (3.7ms)[0m [1mcommit transaction[0m
|
731
|
+
Redirected to http://www.example-client.com/restricted
|
732
|
+
Completed 302 Found in 15ms (ActiveRecord: 9.1ms)
|
733
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-09-24 07:35:48 +0000
|
734
|
+
Processing by ExampleController#restricted as HTML
|
735
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
736
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
737
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-09-23 11:30:48 +0000
|
738
|
+
Processing by ExampleController#restricted as HTML
|
739
|
+
Authenticating with gds_sso strategy
|
740
|
+
Completed in 0ms
|
741
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-09-23 11:30:48 +0000
|
742
|
+
Started GET "/auth/gds/callback?code=9da24ac5af0bc125433ecc9524db2068ff3549eeadf2a22a78177dfafadebbb3&state=2be262b2d2ed96e507a8908b23ba2c554e6e9b1dbec84be5" for 127.0.0.1 at 2013-09-23 11:30:49 +0000
|
743
|
+
Processing by AuthenticationsController#callback as HTML
|
744
|
+
Parameters: {"code"=>"9da24ac5af0bc125433ecc9524db2068ff3549eeadf2a22a78177dfafadebbb3", "state"=>"2be262b2d2ed96e507a8908b23ba2c554e6e9b1dbec84be5"}
|
745
|
+
Authenticating with gds_sso strategy
|
746
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
747
|
+
[1m[35m (0.1ms)[0m begin transaction
|
748
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
749
|
+
- signin
|
750
|
+
' WHERE "users"."id" = 6[0m
|
751
|
+
[1m[35m (4.3ms)[0m commit transaction
|
752
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
753
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "permissions" = '---
|
754
|
+
- signin
|
755
|
+
' WHERE "users"."id" = 6
|
756
|
+
[1m[36m (4.2ms)[0m [1mcommit transaction[0m
|
757
|
+
Redirected to http://www.example-client.com/restricted
|
758
|
+
Completed 302 Found in 16ms (ActiveRecord: 9.0ms)
|
759
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-09-23 11:30:49 +0000
|
760
|
+
Processing by ExampleController#restricted as HTML
|
761
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
762
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
763
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-09-24 07:25:49 +0000
|
764
|
+
Processing by ExampleController#restricted as HTML
|
765
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
766
|
+
Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.1ms)
|
767
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-09-23 11:30:49 +0000
|
768
|
+
Processing by ExampleController#restricted as JSON
|
769
|
+
Authenticating with gds_sso_api_access strategy
|
770
|
+
Completed in 2ms
|
771
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-09-23 11:30:49 +0000
|
772
|
+
Processing by ExampleController#restricted as JSON
|
773
|
+
Authenticating with gds_sso_api_access strategy
|
774
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
775
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-09-23 11:30:49 +0000
|
776
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
777
|
+
Authenticating with gds_sso_api_access strategy
|
778
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
779
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-09-23 11:30:49 +0000
|
780
|
+
Processing by ExampleController#restricted as JSON
|
781
|
+
Authenticating with gds_bearer_token strategy
|
782
|
+
Completed in 7ms
|
783
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-09-23 11:30:49 +0000
|
784
|
+
Processing by ExampleController#restricted as JSON
|
785
|
+
Authenticating with gds_bearer_token strategy
|
786
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
787
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
788
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "permissions" = '---
|
789
|
+
- signin
|
790
|
+
' WHERE "users"."id" = 6
|
791
|
+
[1m[36m (4.2ms)[0m [1mcommit transaction[0m
|
792
|
+
[1m[35m (0.0ms)[0m begin transaction
|
793
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
794
|
+
- signin
|
795
|
+
' WHERE "users"."id" = 6[0m
|
796
|
+
[1m[35m (4.8ms)[0m commit transaction
|
797
|
+
Completed 200 OK in 38ms (Views: 0.2ms | ActiveRecord: 9.5ms)
|
798
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-09-23 11:30:49 +0000
|
799
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
800
|
+
Authenticating with gds_bearer_token strategy
|
801
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
802
|
+
[1m[35m (0.0ms)[0m begin transaction
|
803
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
804
|
+
- signin
|
805
|
+
' WHERE "users"."id" = 6[0m
|
806
|
+
[1m[35m (5.0ms)[0m commit transaction
|
807
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
808
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "permissions" = '---
|
809
|
+
- signin
|
810
|
+
' WHERE "users"."id" = 6
|
811
|
+
[1m[36m (2.9ms)[0m [1mcommit transaction[0m
|
812
|
+
Completed 200 OK in 38ms (Views: 0.2ms | ActiveRecord: 8.4ms)
|
813
|
+
Connecting to database specified by database.yml
|
814
|
+
[1m[36m (0.8ms)[0m [1mselect sqlite_version(*)[0m
|
815
|
+
[1m[35m (13.3ms)[0m DROP TABLE "users"
|
816
|
+
[1m[36m (31.4ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "uid" varchar(255) NOT NULL, "email" varchar(255) NOT NULL, "remotely_signed_out" boolean, "permissions" text) [0m
|
817
|
+
[1m[35m (0.1ms)[0m begin transaction
|
818
|
+
[1m[36mSQL (1.9ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?)[0m [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d3884"]]
|
819
|
+
[1m[35m (10.3ms)[0m commit transaction
|
820
|
+
WARNING: Can't mass-assign protected attributes: uid, name, permissions
|
821
|
+
Processing by Api::UserController#update as HTML
|
822
|
+
Parameters: {"uid"=>"a1s2d3884"}
|
823
|
+
Rendered /home/jenkins/workspace/govuk_gds_sso/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.8ms)
|
824
|
+
Completed 403 Forbidden in 6ms (Views: 5.7ms | ActiveRecord: 0.0ms)
|
825
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
826
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d35734"]]
|
827
|
+
[1m[36m (37.5ms)[0m [1mcommit transaction[0m
|
828
|
+
Processing by Api::UserController#update as HTML
|
829
|
+
Parameters: {"uid"=>"a1s2d35734"}
|
830
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d35734' LIMIT 1
|
831
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
832
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "email" = 'user@domain.com', "name" = 'Joshua Marshall', "permissions" = '---
|
833
|
+
- signin
|
834
|
+
- new permission
|
835
|
+
' WHERE "users"."id" = 2
|
836
|
+
[1m[36m (17.0ms)[0m [1mcommit transaction[0m
|
837
|
+
Completed 200 OK in 25ms (ActiveRecord: 17.4ms)
|
838
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
|
839
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
840
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d34199"]]
|
841
|
+
[1m[36m (18.8ms)[0m [1mcommit transaction[0m
|
842
|
+
WARNING: Can't mass-assign protected attributes: uid, name, permissions
|
843
|
+
Processing by Api::UserController#reauth as HTML
|
844
|
+
Parameters: {"uid"=>"a1s2d34199"}
|
845
|
+
Completed 403 Forbidden in 2ms (Views: 1.0ms | ActiveRecord: 0.0ms)
|
846
|
+
[1m[35m (0.1ms)[0m begin transaction
|
847
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?)[0m [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d31081"]]
|
848
|
+
[1m[35m (8.6ms)[0m commit transaction
|
849
|
+
Processing by Api::UserController#reauth as HTML
|
850
|
+
Parameters: {"uid"=>"nonexistent-user"}
|
851
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'nonexistent-user' LIMIT 1[0m
|
852
|
+
Completed 200 OK in 1ms (ActiveRecord: 0.2ms)
|
853
|
+
[1m[35m (0.0ms)[0m begin transaction
|
854
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?)[0m [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d32250"]]
|
855
|
+
[1m[35m (3.6ms)[0m commit transaction
|
856
|
+
Processing by Api::UserController#reauth as HTML
|
857
|
+
Parameters: {"uid"=>"a1s2d32250"}
|
858
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d32250' LIMIT 1[0m
|
859
|
+
[1m[35m (0.0ms)[0m begin transaction
|
860
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = 't', "permissions" = '---
|
861
|
+
- signin
|
862
|
+
' WHERE "users"."id" = 5[0m
|
863
|
+
[1m[35m (2.7ms)[0m commit transaction
|
864
|
+
Completed 200 OK in 6ms (ActiveRecord: 3.1ms)
|
865
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 5]]
|
866
|
+
Started GET "/" for 127.0.0.1 at 2013-09-23 12:37:30 +0000
|
867
|
+
Processing by ExampleController#index as HTML
|
868
|
+
Completed 200 OK in 1ms (Views: 1.2ms | ActiveRecord: 0.0ms)
|
869
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-09-23 12:37:30 +0000
|
870
|
+
Processing by ExampleController#restricted as HTML
|
871
|
+
Authenticating with gds_sso strategy
|
872
|
+
Completed in 2ms
|
873
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-09-23 12:37:30 +0000
|
874
|
+
Started GET "/auth/gds/callback?code=055c5e5115e535a3c909d62315c3a6db0a7e15ffcde8e329fc71ea9a170be736&state=d8a52901859ffbc4a2c48a2e109b6ff5cbc3a832b3c4bbf9" for 127.0.0.1 at 2013-09-23 12:37:31 +0000
|
875
|
+
Processing by AuthenticationsController#callback as HTML
|
876
|
+
Parameters: {"code"=>"055c5e5115e535a3c909d62315c3a6db0a7e15ffcde8e329fc71ea9a170be736", "state"=>"d8a52901859ffbc4a2c48a2e109b6ff5cbc3a832b3c4bbf9"}
|
877
|
+
Authenticating with gds_sso strategy
|
878
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
879
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
880
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?) [["email", "test@example-client.com"], ["name", "Test User"], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "integration-uid"]]
|
881
|
+
[1m[36m (5.0ms)[0m [1mcommit transaction[0m
|
882
|
+
[1m[35m (0.0ms)[0m begin transaction
|
883
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = 'f', "permissions" = '---
|
884
|
+
- signin
|
885
|
+
' WHERE "users"."id" = 6[0m
|
886
|
+
[1m[35m (2.9ms)[0m commit transaction
|
887
|
+
Redirected to http://www.example-client.com/restricted
|
888
|
+
Completed 302 Found in 14ms (ActiveRecord: 8.4ms)
|
889
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-09-23 12:37:31 +0000
|
890
|
+
Processing by ExampleController#restricted as HTML
|
891
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
892
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
893
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-09-23 12:37:31 +0000
|
894
|
+
Processing by ExampleController#restricted as HTML
|
895
|
+
Authenticating with gds_sso strategy
|
896
|
+
Completed in 0ms
|
897
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-09-23 12:37:31 +0000
|
898
|
+
Started GET "/auth/gds/callback?code=9884bd0f7c963f4c38422c50e6283674378e49a7c38d54e296b1433ebe99b03b&state=3181d316ff573488c20bda39399d6ea5063e89380d6f3143" for 127.0.0.1 at 2013-09-23 12:37:32 +0000
|
899
|
+
Processing by AuthenticationsController#callback as HTML
|
900
|
+
Parameters: {"code"=>"9884bd0f7c963f4c38422c50e6283674378e49a7c38d54e296b1433ebe99b03b", "state"=>"3181d316ff573488c20bda39399d6ea5063e89380d6f3143"}
|
901
|
+
Authenticating with gds_sso strategy
|
902
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
903
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
904
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "permissions" = '---
|
905
|
+
- signin
|
906
|
+
' WHERE "users"."id" = 6
|
907
|
+
[1m[36m (4.1ms)[0m [1mcommit transaction[0m
|
908
|
+
[1m[35m (0.0ms)[0m begin transaction
|
909
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
910
|
+
- signin
|
911
|
+
' WHERE "users"."id" = 6[0m
|
912
|
+
[1m[35m (3.6ms)[0m commit transaction
|
913
|
+
Redirected to http://www.example-client.com/restricted
|
914
|
+
Completed 302 Found in 45ms (ActiveRecord: 8.4ms)
|
915
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-09-23 12:37:32 +0000
|
916
|
+
Processing by ExampleController#restricted as HTML
|
917
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
918
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
919
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-09-23 12:37:32 +0000
|
920
|
+
Processing by ExampleController#restricted as HTML
|
921
|
+
Authenticating with gds_sso strategy
|
922
|
+
Completed in 0ms
|
923
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-09-23 12:37:32 +0000
|
924
|
+
Started GET "/auth/gds/callback?code=80d8dc624d65622878e4c3c1eb174e4d28c9b1d9e7319c83335f0eaf572e313d&state=e5a89af3fa88ea720177be4b7946de40693fb0096820a0ac" for 127.0.0.1 at 2013-09-23 12:37:32 +0000
|
925
|
+
Processing by AuthenticationsController#callback as HTML
|
926
|
+
Parameters: {"code"=>"80d8dc624d65622878e4c3c1eb174e4d28c9b1d9e7319c83335f0eaf572e313d", "state"=>"e5a89af3fa88ea720177be4b7946de40693fb0096820a0ac"}
|
927
|
+
Authenticating with gds_sso strategy
|
928
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
929
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
930
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "permissions" = '---
|
931
|
+
- signin
|
932
|
+
' WHERE "users"."id" = 6
|
933
|
+
[1m[36m (4.2ms)[0m [1mcommit transaction[0m
|
934
|
+
[1m[35m (0.0ms)[0m begin transaction
|
935
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
936
|
+
- signin
|
937
|
+
' WHERE "users"."id" = 6[0m
|
938
|
+
[1m[35m (3.0ms)[0m commit transaction
|
939
|
+
Redirected to http://www.example-client.com/restricted
|
940
|
+
Completed 302 Found in 14ms (ActiveRecord: 7.7ms)
|
941
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-09-23 12:37:32 +0000
|
942
|
+
Processing by ExampleController#restricted as HTML
|
943
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
944
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
945
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-09-23 12:37:32 +0000
|
946
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
947
|
+
Authenticating with gds_sso strategy
|
948
|
+
Completed in 1ms
|
949
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-09-23 12:37:32 +0000
|
950
|
+
Started GET "/auth/gds/callback?code=da4935f3727a513cfcd258d36bd769a429bba53972f7c6ab59c68892616aa513&state=dcfc1695bf5b9a894de6b703a7f69b4ebe772a9b03a07a5d" for 127.0.0.1 at 2013-09-23 12:37:32 +0000
|
951
|
+
Processing by AuthenticationsController#callback as HTML
|
952
|
+
Parameters: {"code"=>"da4935f3727a513cfcd258d36bd769a429bba53972f7c6ab59c68892616aa513", "state"=>"dcfc1695bf5b9a894de6b703a7f69b4ebe772a9b03a07a5d"}
|
953
|
+
Authenticating with gds_sso strategy
|
954
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
955
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
956
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "permissions" = '---
|
957
|
+
- signin
|
958
|
+
' WHERE "users"."id" = 6
|
959
|
+
[1m[36m (3.9ms)[0m [1mcommit transaction[0m
|
960
|
+
[1m[35m (0.0ms)[0m begin transaction
|
961
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
962
|
+
- signin
|
963
|
+
' WHERE "users"."id" = 6[0m
|
964
|
+
[1m[35m (2.6ms)[0m commit transaction
|
965
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
966
|
+
Completed 302 Found in 14ms (ActiveRecord: 7.0ms)
|
967
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-09-23 12:37:32 +0000
|
968
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
969
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
970
|
+
Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.1ms)
|
971
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-09-23 12:37:32 +0000
|
972
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
973
|
+
Authenticating with gds_sso strategy
|
974
|
+
Completed in 0ms
|
975
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-09-23 12:37:32 +0000
|
976
|
+
Started GET "/auth/gds/callback?code=7c321cd30d0c43ab2851a7cc3d6687ab5bbe3afd7847cafd6fad512cb8e2d6e2&state=2bddf3a79f4b65e60bbb5c565430b36326a9d0fa94816b20" for 127.0.0.1 at 2013-09-23 12:37:33 +0000
|
977
|
+
Processing by AuthenticationsController#callback as HTML
|
978
|
+
Parameters: {"code"=>"7c321cd30d0c43ab2851a7cc3d6687ab5bbe3afd7847cafd6fad512cb8e2d6e2", "state"=>"2bddf3a79f4b65e60bbb5c565430b36326a9d0fa94816b20"}
|
979
|
+
Authenticating with gds_sso strategy
|
980
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
981
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
982
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "permissions" = '---
|
983
|
+
- signin
|
984
|
+
' WHERE "users"."id" = 6
|
985
|
+
[1m[36m (12.0ms)[0m [1mcommit transaction[0m
|
986
|
+
[1m[35m (0.0ms)[0m begin transaction
|
987
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
988
|
+
- signin
|
989
|
+
' WHERE "users"."id" = 6[0m
|
990
|
+
[1m[35m (11.9ms)[0m commit transaction
|
991
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
992
|
+
Completed 302 Found in 31ms (ActiveRecord: 24.4ms)
|
993
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-09-23 12:37:33 +0000
|
994
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
995
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
996
|
+
Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
997
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-09-23 12:37:33 +0000
|
998
|
+
Processing by ExampleController#restricted as HTML
|
999
|
+
Authenticating with gds_sso strategy
|
1000
|
+
Completed in 0ms
|
1001
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-09-23 12:37:33 +0000
|
1002
|
+
Started GET "/auth/gds/callback?code=0c3b23240b97cb7d99126dd2c3397a06fc3f8c531a47fabaf9e39ab7f9d9a001&state=59102a409f214d76343f2ce4108ae7ebe90d6ee8b20f2893" for 127.0.0.1 at 2013-09-23 12:37:33 +0000
|
1003
|
+
Processing by AuthenticationsController#callback as HTML
|
1004
|
+
Parameters: {"code"=>"0c3b23240b97cb7d99126dd2c3397a06fc3f8c531a47fabaf9e39ab7f9d9a001", "state"=>"59102a409f214d76343f2ce4108ae7ebe90d6ee8b20f2893"}
|
1005
|
+
Authenticating with gds_sso strategy
|
1006
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
1007
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1008
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "permissions" = '---
|
1009
|
+
- signin
|
1010
|
+
' WHERE "users"."id" = 6
|
1011
|
+
[1m[36m (12.2ms)[0m [1mcommit transaction[0m
|
1012
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1013
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
1014
|
+
- signin
|
1015
|
+
' WHERE "users"."id" = 6[0m
|
1016
|
+
[1m[35m (12.3ms)[0m commit transaction
|
1017
|
+
Redirected to http://www.example-client.com/restricted
|
1018
|
+
Completed 302 Found in 32ms (ActiveRecord: 25.0ms)
|
1019
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-09-23 12:37:33 +0000
|
1020
|
+
Processing by ExampleController#restricted as HTML
|
1021
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
1022
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
1023
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
1024
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1025
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "remotely_signed_out" = 't', "permissions" = '---
|
1026
|
+
- signin
|
1027
|
+
' WHERE "users"."id" = 6
|
1028
|
+
[1m[36m (10.2ms)[0m [1mcommit transaction[0m
|
1029
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-09-23 12:37:33 +0000
|
1030
|
+
Processing by ExampleController#restricted as HTML
|
1031
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
1032
|
+
Filter chain halted as :authenticate_user! rendered or redirected
|
1033
|
+
Completed 403 Forbidden in 3ms (Views: 1.9ms | ActiveRecord: 0.1ms)
|
1034
|
+
Started GET "/auth/gds/sign_out" for 127.0.0.1 at 2013-09-23 12:37:33 +0000
|
1035
|
+
Processing by AuthenticationsController#sign_out as HTML
|
1036
|
+
Redirected to http://localhost:4567/users/sign_out
|
1037
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
1038
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-09-23 12:37:33 +0000
|
1039
|
+
Processing by ExampleController#restricted as HTML
|
1040
|
+
Authenticating with gds_sso strategy
|
1041
|
+
Completed in 0ms
|
1042
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-09-23 12:37:33 +0000
|
1043
|
+
Started GET "/auth/gds/callback?code=4aa78db028388035a6cfee00434bd3310848e6a5c4a368f779f40522b1a04979&state=58e4edf72f862d640aa271c8e9d89ce0a8353d20ce87c272" for 127.0.0.1 at 2013-09-23 12:37:33 +0000
|
1044
|
+
Processing by AuthenticationsController#callback as HTML
|
1045
|
+
Parameters: {"code"=>"4aa78db028388035a6cfee00434bd3310848e6a5c4a368f779f40522b1a04979", "state"=>"58e4edf72f862d640aa271c8e9d89ce0a8353d20ce87c272"}
|
1046
|
+
Authenticating with gds_sso strategy
|
1047
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
1048
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1049
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
1050
|
+
- signin
|
1051
|
+
' WHERE "users"."id" = 6[0m
|
1052
|
+
[1m[35m (3.5ms)[0m commit transaction
|
1053
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1054
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "remotely_signed_out" = 'f', "permissions" = '---
|
1055
|
+
- signin
|
1056
|
+
' WHERE "users"."id" = 6
|
1057
|
+
[1m[36m (3.7ms)[0m [1mcommit transaction[0m
|
1058
|
+
Redirected to http://www.example-client.com/restricted
|
1059
|
+
Completed 302 Found in 14ms (ActiveRecord: 7.6ms)
|
1060
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-09-23 12:37:33 +0000
|
1061
|
+
Processing by ExampleController#restricted as HTML
|
1062
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
1063
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
1064
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-09-23 12:37:33 +0000
|
1065
|
+
Processing by ExampleController#restricted as HTML
|
1066
|
+
Authenticating with gds_sso strategy
|
1067
|
+
Completed in 0ms
|
1068
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-09-23 12:37:33 +0000
|
1069
|
+
Started GET "/auth/gds/callback?code=b7d909b346c327e4bf227637f560ed19c90ae5e712188df5a1ae8b52d5046405&state=f5d58cc9029dc6607e7899f4e3dd7e87b0532d8a63b7599e" for 127.0.0.1 at 2013-09-23 12:37:34 +0000
|
1070
|
+
Processing by AuthenticationsController#callback as HTML
|
1071
|
+
Parameters: {"code"=>"b7d909b346c327e4bf227637f560ed19c90ae5e712188df5a1ae8b52d5046405", "state"=>"f5d58cc9029dc6607e7899f4e3dd7e87b0532d8a63b7599e"}
|
1072
|
+
Authenticating with gds_sso strategy
|
1073
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
1074
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1075
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
1076
|
+
- signin
|
1077
|
+
' WHERE "users"."id" = 6[0m
|
1078
|
+
[1m[35m (4.1ms)[0m commit transaction
|
1079
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1080
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "permissions" = '---
|
1081
|
+
- signin
|
1082
|
+
' WHERE "users"."id" = 6
|
1083
|
+
[1m[36m (2.4ms)[0m [1mcommit transaction[0m
|
1084
|
+
Redirected to http://www.example-client.com/restricted
|
1085
|
+
Completed 302 Found in 14ms (ActiveRecord: 7.0ms)
|
1086
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-09-23 12:37:34 +0000
|
1087
|
+
Processing by ExampleController#restricted as HTML
|
1088
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
1089
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
1090
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-09-24 08:42:34 +0000
|
1091
|
+
Processing by ExampleController#restricted as HTML
|
1092
|
+
Authenticating with gds_sso strategy
|
1093
|
+
Completed in 0ms
|
1094
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-09-24 08:42:34 +0000
|
1095
|
+
Started GET "/auth/gds/callback?code=6b11da83c5d76f81708ed1270ff93c01018676674569959874aed9665f7c7e82&state=230300d21864fdb6e3a47558d0fb7882da07dac4e6f23ed7" for 127.0.0.1 at 2013-09-24 08:42:34 +0000
|
1096
|
+
Processing by AuthenticationsController#callback as HTML
|
1097
|
+
Parameters: {"code"=>"6b11da83c5d76f81708ed1270ff93c01018676674569959874aed9665f7c7e82", "state"=>"230300d21864fdb6e3a47558d0fb7882da07dac4e6f23ed7"}
|
1098
|
+
Authenticating with gds_sso strategy
|
1099
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
1100
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1101
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
1102
|
+
- signin
|
1103
|
+
' WHERE "users"."id" = 6[0m
|
1104
|
+
[1m[35m (3.3ms)[0m commit transaction
|
1105
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1106
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "permissions" = '---
|
1107
|
+
- signin
|
1108
|
+
' WHERE "users"."id" = 6
|
1109
|
+
[1m[36m (3.2ms)[0m [1mcommit transaction[0m
|
1110
|
+
Redirected to http://www.example-client.com/restricted
|
1111
|
+
Completed 302 Found in 13ms (ActiveRecord: 7.0ms)
|
1112
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-09-24 08:42:34 +0000
|
1113
|
+
Processing by ExampleController#restricted as HTML
|
1114
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
1115
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
1116
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-09-23 12:37:34 +0000
|
1117
|
+
Processing by ExampleController#restricted as HTML
|
1118
|
+
Authenticating with gds_sso strategy
|
1119
|
+
Completed in 0ms
|
1120
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-09-23 12:37:34 +0000
|
1121
|
+
Started GET "/auth/gds/callback?code=1ef0a5ea47e0d6b21764f34294b0c4801f007d0cfd868196677ed5504b5b7fe2&state=d94b355bbd641f86ce4a1749a6df73097dccc4f83dc0cab1" for 127.0.0.1 at 2013-09-23 12:37:34 +0000
|
1122
|
+
Processing by AuthenticationsController#callback as HTML
|
1123
|
+
Parameters: {"code"=>"1ef0a5ea47e0d6b21764f34294b0c4801f007d0cfd868196677ed5504b5b7fe2", "state"=>"d94b355bbd641f86ce4a1749a6df73097dccc4f83dc0cab1"}
|
1124
|
+
Authenticating with gds_sso strategy
|
1125
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
1126
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1127
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
1128
|
+
- signin
|
1129
|
+
' WHERE "users"."id" = 6[0m
|
1130
|
+
[1m[35m (4.1ms)[0m commit transaction
|
1131
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1132
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "permissions" = '---
|
1133
|
+
- signin
|
1134
|
+
' WHERE "users"."id" = 6
|
1135
|
+
[1m[36m (2.7ms)[0m [1mcommit transaction[0m
|
1136
|
+
Redirected to http://www.example-client.com/restricted
|
1137
|
+
Completed 302 Found in 15ms (ActiveRecord: 7.3ms)
|
1138
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-09-23 12:37:34 +0000
|
1139
|
+
Processing by ExampleController#restricted as HTML
|
1140
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
1141
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
1142
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-09-24 08:32:34 +0000
|
1143
|
+
Processing by ExampleController#restricted as HTML
|
1144
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
1145
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
1146
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-09-23 12:37:34 +0000
|
1147
|
+
Processing by ExampleController#restricted as JSON
|
1148
|
+
Authenticating with gds_sso_api_access strategy
|
1149
|
+
Completed in 2ms
|
1150
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-09-23 12:37:34 +0000
|
1151
|
+
Processing by ExampleController#restricted as JSON
|
1152
|
+
Authenticating with gds_sso_api_access strategy
|
1153
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
1154
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-09-23 12:37:34 +0000
|
1155
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
1156
|
+
Authenticating with gds_sso_api_access strategy
|
1157
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
1158
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-09-23 12:37:34 +0000
|
1159
|
+
Processing by ExampleController#restricted as JSON
|
1160
|
+
Authenticating with gds_bearer_token strategy
|
1161
|
+
Completed in 7ms
|
1162
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-09-23 12:37:34 +0000
|
1163
|
+
Processing by ExampleController#restricted as JSON
|
1164
|
+
Authenticating with gds_bearer_token strategy
|
1165
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
1166
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1167
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "permissions" = '---
|
1168
|
+
- signin
|
1169
|
+
' WHERE "users"."id" = 6
|
1170
|
+
[1m[36m (3.3ms)[0m [1mcommit transaction[0m
|
1171
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1172
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
1173
|
+
- signin
|
1174
|
+
' WHERE "users"."id" = 6[0m
|
1175
|
+
[1m[35m (3.6ms)[0m commit transaction
|
1176
|
+
Completed 200 OK in 34ms (Views: 0.2ms | ActiveRecord: 7.5ms)
|
1177
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-09-23 12:37:34 +0000
|
1178
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
1179
|
+
Authenticating with gds_bearer_token strategy
|
1180
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
1181
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1182
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
1183
|
+
- signin
|
1184
|
+
' WHERE "users"."id" = 6[0m
|
1185
|
+
[1m[35m (3.7ms)[0m commit transaction
|
1186
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1187
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "permissions" = '---
|
1188
|
+
- signin
|
1189
|
+
' WHERE "users"."id" = 6
|
1190
|
+
[1m[36m (2.9ms)[0m [1mcommit transaction[0m
|
1191
|
+
Completed 200 OK in 36ms (Views: 0.2ms | ActiveRecord: 7.1ms)
|
1192
|
+
Connecting to database specified by database.yml
|
1193
|
+
[1m[36m (0.8ms)[0m [1mselect sqlite_version(*)[0m
|
1194
|
+
[1m[35m (24.4ms)[0m DROP TABLE "users"
|
1195
|
+
[1m[36m (11.7ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "uid" varchar(255) NOT NULL, "email" varchar(255) NOT NULL, "remotely_signed_out" boolean, "permissions" text) [0m
|
1196
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1197
|
+
[1m[36mSQL (2.1ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?)[0m [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d37458"]]
|
1198
|
+
[1m[35m (18.8ms)[0m commit transaction
|
1199
|
+
WARNING: Can't mass-assign protected attributes: uid, name, permissions
|
1200
|
+
Processing by Api::UserController#update as HTML
|
1201
|
+
Parameters: {"uid"=>"a1s2d37458"}
|
1202
|
+
Rendered /home/jenkins/workspace/govuk_gds_sso/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (1.0ms)
|
1203
|
+
Completed 403 Forbidden in 15ms (Views: 14.4ms | ActiveRecord: 0.0ms)
|
1204
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1205
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d32480"]]
|
1206
|
+
[1m[36m (19.3ms)[0m [1mcommit transaction[0m
|
1207
|
+
Processing by Api::UserController#update as HTML
|
1208
|
+
Parameters: {"uid"=>"a1s2d32480"}
|
1209
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d32480' LIMIT 1
|
1210
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1211
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "email" = 'user@domain.com', "name" = 'Joshua Marshall', "permissions" = '---
|
1212
|
+
- signin
|
1213
|
+
- new permission
|
1214
|
+
' WHERE "users"."id" = 2
|
1215
|
+
[1m[36m (32.4ms)[0m [1mcommit transaction[0m
|
1216
|
+
Completed 200 OK in 98ms (ActiveRecord: 32.8ms)
|
1217
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
|
1218
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1219
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d32629"]]
|
1220
|
+
[1m[36m (15.3ms)[0m [1mcommit transaction[0m
|
1221
|
+
WARNING: Can't mass-assign protected attributes: uid, name, permissions
|
1222
|
+
Processing by Api::UserController#reauth as HTML
|
1223
|
+
Parameters: {"uid"=>"a1s2d32629"}
|
1224
|
+
Completed 403 Forbidden in 2ms (Views: 1.0ms | ActiveRecord: 0.0ms)
|
1225
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1226
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?)[0m [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d37907"]]
|
1227
|
+
[1m[35m (23.5ms)[0m commit transaction
|
1228
|
+
Processing by Api::UserController#reauth as HTML
|
1229
|
+
Parameters: {"uid"=>"nonexistent-user"}
|
1230
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'nonexistent-user' LIMIT 1[0m
|
1231
|
+
Completed 200 OK in 1ms (ActiveRecord: 0.2ms)
|
1232
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1233
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?)[0m [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d33618"]]
|
1234
|
+
[1m[35m (37.5ms)[0m commit transaction
|
1235
|
+
Processing by Api::UserController#reauth as HTML
|
1236
|
+
Parameters: {"uid"=>"a1s2d33618"}
|
1237
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d33618' LIMIT 1[0m
|
1238
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1239
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = 't', "permissions" = '---
|
1240
|
+
- signin
|
1241
|
+
' WHERE "users"."id" = 5[0m
|
1242
|
+
[1m[35m (13.8ms)[0m commit transaction
|
1243
|
+
Completed 200 OK in 18ms (ActiveRecord: 14.2ms)
|
1244
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 5]]
|
1245
|
+
Started GET "/" for 127.0.0.1 at 2013-09-30 12:48:18 +0000
|
1246
|
+
Processing by ExampleController#index as HTML
|
1247
|
+
Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.0ms)
|
1248
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-09-30 12:48:18 +0000
|
1249
|
+
Processing by ExampleController#restricted as HTML
|
1250
|
+
Authenticating with gds_sso strategy
|
1251
|
+
Completed in 3ms
|
1252
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-09-30 12:48:18 +0000
|
1253
|
+
Started GET "/auth/gds/callback?code=d484013d97e38f16404fc0b9c63d8cd742a8d99cf1d84d1f9b064066d028a420&state=b4c00acff89a7cb5ce2174417668700c4382dc3e73e8bb9e" for 127.0.0.1 at 2013-09-30 12:48:19 +0000
|
1254
|
+
Processing by AuthenticationsController#callback as HTML
|
1255
|
+
Parameters: {"code"=>"d484013d97e38f16404fc0b9c63d8cd742a8d99cf1d84d1f9b064066d028a420", "state"=>"b4c00acff89a7cb5ce2174417668700c4382dc3e73e8bb9e"}
|
1256
|
+
Authenticating with gds_sso strategy
|
1257
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
1258
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1259
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?) [["email", "test@example-client.com"], ["name", "Test User"], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "integration-uid"]]
|
1260
|
+
[1m[36m (4.0ms)[0m [1mcommit transaction[0m
|
1261
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1262
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = 'f', "permissions" = '---
|
1263
|
+
- signin
|
1264
|
+
' WHERE "users"."id" = 6[0m
|
1265
|
+
[1m[35m (2.9ms)[0m commit transaction
|
1266
|
+
Redirected to http://www.example-client.com/restricted
|
1267
|
+
Completed 302 Found in 14ms (ActiveRecord: 7.5ms)
|
1268
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-09-30 12:48:19 +0000
|
1269
|
+
Processing by ExampleController#restricted as HTML
|
1270
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
1271
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.1ms)
|
1272
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-09-30 12:48:19 +0000
|
1273
|
+
Processing by ExampleController#restricted as HTML
|
1274
|
+
Authenticating with gds_sso strategy
|
1275
|
+
Completed in 0ms
|
1276
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-09-30 12:48:19 +0000
|
1277
|
+
Started GET "/auth/gds/callback?code=f1f7d684f3b2ee4a232c6a1a1f0b047ec671a2c989f6e4a3511493c143ffdf23&state=a2b093684d5cae367f7a8f53ba37a4f7afbffd063701fc81" for 127.0.0.1 at 2013-09-30 12:48:20 +0000
|
1278
|
+
Processing by AuthenticationsController#callback as HTML
|
1279
|
+
Parameters: {"code"=>"f1f7d684f3b2ee4a232c6a1a1f0b047ec671a2c989f6e4a3511493c143ffdf23", "state"=>"a2b093684d5cae367f7a8f53ba37a4f7afbffd063701fc81"}
|
1280
|
+
Authenticating with gds_sso strategy
|
1281
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
1282
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1283
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "permissions" = '---
|
1284
|
+
- signin
|
1285
|
+
' WHERE "users"."id" = 6
|
1286
|
+
[1m[36m (3.8ms)[0m [1mcommit transaction[0m
|
1287
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1288
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
1289
|
+
- signin
|
1290
|
+
' WHERE "users"."id" = 6[0m
|
1291
|
+
[1m[35m (4.1ms)[0m commit transaction
|
1292
|
+
Redirected to http://www.example-client.com/restricted
|
1293
|
+
Completed 302 Found in 48ms (ActiveRecord: 8.6ms)
|
1294
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-09-30 12:48:20 +0000
|
1295
|
+
Processing by ExampleController#restricted as HTML
|
1296
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
1297
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.1ms)
|
1298
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-09-30 12:48:20 +0000
|
1299
|
+
Processing by ExampleController#restricted as HTML
|
1300
|
+
Authenticating with gds_sso strategy
|
1301
|
+
Completed in 0ms
|
1302
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-09-30 12:48:20 +0000
|
1303
|
+
Started GET "/auth/gds/callback?code=bac9627d46507ebb2f947e603592f753b0bf746e9595b438463c968ee2f222e3&state=d0b9b796ce713b154d0eacadba38d2f6de8bd94f6cc204d0" for 127.0.0.1 at 2013-09-30 12:48:20 +0000
|
1304
|
+
Processing by AuthenticationsController#callback as HTML
|
1305
|
+
Parameters: {"code"=>"bac9627d46507ebb2f947e603592f753b0bf746e9595b438463c968ee2f222e3", "state"=>"d0b9b796ce713b154d0eacadba38d2f6de8bd94f6cc204d0"}
|
1306
|
+
Authenticating with gds_sso strategy
|
1307
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
1308
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1309
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "permissions" = '---
|
1310
|
+
- signin
|
1311
|
+
' WHERE "users"."id" = 6
|
1312
|
+
[1m[36m (3.4ms)[0m [1mcommit transaction[0m
|
1313
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1314
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
1315
|
+
- signin
|
1316
|
+
' WHERE "users"."id" = 6[0m
|
1317
|
+
[1m[35m (3.2ms)[0m commit transaction
|
1318
|
+
Redirected to http://www.example-client.com/restricted
|
1319
|
+
Completed 302 Found in 14ms (ActiveRecord: 7.2ms)
|
1320
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-09-30 12:48:20 +0000
|
1321
|
+
Processing by ExampleController#restricted as HTML
|
1322
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
1323
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
1324
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-09-30 12:48:20 +0000
|
1325
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
1326
|
+
Authenticating with gds_sso strategy
|
1327
|
+
Completed in 1ms
|
1328
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-09-30 12:48:20 +0000
|
1329
|
+
Started GET "/auth/gds/callback?code=d1df3abf2b5a516a4febdc2e1159d3a20e033a0817f43c7061895f7aa82b1985&state=5a5a0416a0aaa51cb6ec52a1ff4f13dca69579076610c963" for 127.0.0.1 at 2013-09-30 12:48:20 +0000
|
1330
|
+
Processing by AuthenticationsController#callback as HTML
|
1331
|
+
Parameters: {"code"=>"d1df3abf2b5a516a4febdc2e1159d3a20e033a0817f43c7061895f7aa82b1985", "state"=>"5a5a0416a0aaa51cb6ec52a1ff4f13dca69579076610c963"}
|
1332
|
+
Authenticating with gds_sso strategy
|
1333
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
1334
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1335
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "permissions" = '---
|
1336
|
+
- signin
|
1337
|
+
' WHERE "users"."id" = 6
|
1338
|
+
[1m[36m (3.8ms)[0m [1mcommit transaction[0m
|
1339
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1340
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
1341
|
+
- signin
|
1342
|
+
' WHERE "users"."id" = 6[0m
|
1343
|
+
[1m[35m (3.2ms)[0m commit transaction
|
1344
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
1345
|
+
Completed 302 Found in 16ms (ActiveRecord: 7.6ms)
|
1346
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-09-30 12:48:20 +0000
|
1347
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
1348
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
1349
|
+
Completed 200 OK in 4ms (Views: 0.5ms | ActiveRecord: 0.1ms)
|
1350
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-09-30 12:48:20 +0000
|
1351
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
1352
|
+
Authenticating with gds_sso strategy
|
1353
|
+
Completed in 0ms
|
1354
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-09-30 12:48:20 +0000
|
1355
|
+
Started GET "/auth/gds/callback?code=1560bb6c2536efa132f1b279c9687bdfca58ff36ff263be0e30d4996798a091e&state=882f3aff87783aef08fc533e8b08722a852112256b248753" for 127.0.0.1 at 2013-09-30 12:48:20 +0000
|
1356
|
+
Processing by AuthenticationsController#callback as HTML
|
1357
|
+
Parameters: {"code"=>"1560bb6c2536efa132f1b279c9687bdfca58ff36ff263be0e30d4996798a091e", "state"=>"882f3aff87783aef08fc533e8b08722a852112256b248753"}
|
1358
|
+
Authenticating with gds_sso strategy
|
1359
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
1360
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1361
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "permissions" = '---
|
1362
|
+
- signin
|
1363
|
+
' WHERE "users"."id" = 6
|
1364
|
+
[1m[36m (4.3ms)[0m [1mcommit transaction[0m
|
1365
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1366
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
1367
|
+
- signin
|
1368
|
+
' WHERE "users"."id" = 6[0m
|
1369
|
+
[1m[35m (3.4ms)[0m commit transaction
|
1370
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
1371
|
+
Completed 302 Found in 30ms (ActiveRecord: 8.3ms)
|
1372
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-09-30 12:48:21 +0000
|
1373
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
1374
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
1375
|
+
Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
1376
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-09-30 12:48:21 +0000
|
1377
|
+
Processing by ExampleController#restricted as HTML
|
1378
|
+
Authenticating with gds_sso strategy
|
1379
|
+
Completed in 0ms
|
1380
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-09-30 12:48:21 +0000
|
1381
|
+
Started GET "/auth/gds/callback?code=79eeefafa5ba2723361a415e9a90261a57aaba45793a711b2783bf6d11c60f5e&state=8df4f2ec3f7940d348fa004eb56bed7e3a38768376631c24" for 127.0.0.1 at 2013-09-30 12:48:21 +0000
|
1382
|
+
Processing by AuthenticationsController#callback as HTML
|
1383
|
+
Parameters: {"code"=>"79eeefafa5ba2723361a415e9a90261a57aaba45793a711b2783bf6d11c60f5e", "state"=>"8df4f2ec3f7940d348fa004eb56bed7e3a38768376631c24"}
|
1384
|
+
Authenticating with gds_sso strategy
|
1385
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
1386
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1387
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "permissions" = '---
|
1388
|
+
- signin
|
1389
|
+
' WHERE "users"."id" = 6
|
1390
|
+
[1m[36m (16.2ms)[0m [1mcommit transaction[0m
|
1391
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1392
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
1393
|
+
- signin
|
1394
|
+
' WHERE "users"."id" = 6[0m
|
1395
|
+
[1m[35m (3.2ms)[0m commit transaction
|
1396
|
+
Redirected to http://www.example-client.com/restricted
|
1397
|
+
Completed 302 Found in 28ms (ActiveRecord: 20.0ms)
|
1398
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-09-30 12:48:21 +0000
|
1399
|
+
Processing by ExampleController#restricted as HTML
|
1400
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
1401
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.1ms)
|
1402
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
1403
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1404
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "remotely_signed_out" = 't', "permissions" = '---
|
1405
|
+
- signin
|
1406
|
+
' WHERE "users"."id" = 6
|
1407
|
+
[1m[36m (2.8ms)[0m [1mcommit transaction[0m
|
1408
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-09-30 12:48:21 +0000
|
1409
|
+
Processing by ExampleController#restricted as HTML
|
1410
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
1411
|
+
Filter chain halted as :authenticate_user! rendered or redirected
|
1412
|
+
Completed 403 Forbidden in 3ms (Views: 1.9ms | ActiveRecord: 0.1ms)
|
1413
|
+
Started GET "/auth/gds/sign_out" for 127.0.0.1 at 2013-09-30 12:48:21 +0000
|
1414
|
+
Processing by AuthenticationsController#sign_out as HTML
|
1415
|
+
Redirected to http://localhost:4567/users/sign_out
|
1416
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
1417
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-09-30 12:48:21 +0000
|
1418
|
+
Processing by ExampleController#restricted as HTML
|
1419
|
+
Authenticating with gds_sso strategy
|
1420
|
+
Completed in 0ms
|
1421
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-09-30 12:48:21 +0000
|
1422
|
+
Started GET "/auth/gds/callback?code=d2f3535c89a462e478c76136a836413487510740cc6400f942163be5f9dd4d37&state=47bb6b00c720cb4c552b258f8010598e3c401ae5c456d4b2" for 127.0.0.1 at 2013-09-30 12:48:21 +0000
|
1423
|
+
Processing by AuthenticationsController#callback as HTML
|
1424
|
+
Parameters: {"code"=>"d2f3535c89a462e478c76136a836413487510740cc6400f942163be5f9dd4d37", "state"=>"47bb6b00c720cb4c552b258f8010598e3c401ae5c456d4b2"}
|
1425
|
+
Authenticating with gds_sso strategy
|
1426
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
1427
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1428
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
1429
|
+
- signin
|
1430
|
+
' WHERE "users"."id" = 6[0m
|
1431
|
+
[1m[35m (21.2ms)[0m commit transaction
|
1432
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1433
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "remotely_signed_out" = 'f', "permissions" = '---
|
1434
|
+
- signin
|
1435
|
+
' WHERE "users"."id" = 6
|
1436
|
+
[1m[36m (3.4ms)[0m [1mcommit transaction[0m
|
1437
|
+
Redirected to http://www.example-client.com/restricted
|
1438
|
+
Completed 302 Found in 32ms (ActiveRecord: 25.1ms)
|
1439
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-09-30 12:48:21 +0000
|
1440
|
+
Processing by ExampleController#restricted as HTML
|
1441
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
1442
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
1443
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-09-30 12:48:21 +0000
|
1444
|
+
Processing by ExampleController#restricted as HTML
|
1445
|
+
Authenticating with gds_sso strategy
|
1446
|
+
Completed in 0ms
|
1447
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-09-30 12:48:21 +0000
|
1448
|
+
Started GET "/auth/gds/callback?code=2682deac4667cce26808ee90e880ab6bc6455e8f585fadd1401a436f657e36c0&state=2982124f0b79ec5783a634b5bddeb2a7b6eb251db7dc3a00" for 127.0.0.1 at 2013-09-30 12:48:22 +0000
|
1449
|
+
Processing by AuthenticationsController#callback as HTML
|
1450
|
+
Parameters: {"code"=>"2682deac4667cce26808ee90e880ab6bc6455e8f585fadd1401a436f657e36c0", "state"=>"2982124f0b79ec5783a634b5bddeb2a7b6eb251db7dc3a00"}
|
1451
|
+
Authenticating with gds_sso strategy
|
1452
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
1453
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1454
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
1455
|
+
- signin
|
1456
|
+
' WHERE "users"."id" = 6[0m
|
1457
|
+
[1m[35m (4.2ms)[0m commit transaction
|
1458
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1459
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "permissions" = '---
|
1460
|
+
- signin
|
1461
|
+
' WHERE "users"."id" = 6
|
1462
|
+
[1m[36m (3.3ms)[0m [1mcommit transaction[0m
|
1463
|
+
Redirected to http://www.example-client.com/restricted
|
1464
|
+
Completed 302 Found in 17ms (ActiveRecord: 8.1ms)
|
1465
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-09-30 12:48:22 +0000
|
1466
|
+
Processing by ExampleController#restricted as HTML
|
1467
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
1468
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.1ms)
|
1469
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-01 08:53:22 +0000
|
1470
|
+
Processing by ExampleController#restricted as HTML
|
1471
|
+
Authenticating with gds_sso strategy
|
1472
|
+
Completed in 0ms
|
1473
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-10-01 08:53:22 +0000
|
1474
|
+
Started GET "/auth/gds/callback?code=6cf1c043bdd35b99a550550e17abfb9a4ea606bb37efb4733db0fe5acb9e22af&state=0639a411cf813df9283c79cf0db70c7669476d1e018dc93d" for 127.0.0.1 at 2013-10-01 08:53:22 +0000
|
1475
|
+
Processing by AuthenticationsController#callback as HTML
|
1476
|
+
Parameters: {"code"=>"6cf1c043bdd35b99a550550e17abfb9a4ea606bb37efb4733db0fe5acb9e22af", "state"=>"0639a411cf813df9283c79cf0db70c7669476d1e018dc93d"}
|
1477
|
+
Authenticating with gds_sso strategy
|
1478
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
1479
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1480
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
1481
|
+
- signin
|
1482
|
+
' WHERE "users"."id" = 6[0m
|
1483
|
+
[1m[35m (23.4ms)[0m commit transaction
|
1484
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1485
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "permissions" = '---
|
1486
|
+
- signin
|
1487
|
+
' WHERE "users"."id" = 6
|
1488
|
+
[1m[36m (20.8ms)[0m [1mcommit transaction[0m
|
1489
|
+
Redirected to http://www.example-client.com/restricted
|
1490
|
+
Completed 302 Found in 52ms (ActiveRecord: 44.8ms)
|
1491
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-01 08:53:22 +0000
|
1492
|
+
Processing by ExampleController#restricted as HTML
|
1493
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
1494
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
1495
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-09-30 12:48:22 +0000
|
1496
|
+
Processing by ExampleController#restricted as HTML
|
1497
|
+
Authenticating with gds_sso strategy
|
1498
|
+
Completed in 0ms
|
1499
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-09-30 12:48:22 +0000
|
1500
|
+
Started GET "/auth/gds/callback?code=f7759babbc6cdea65fee47ee0424df5f1605d0706e70c345133211bd323101ef&state=32573a9fc99b5ceae14cce6a793620ace6e2e008033ebc73" for 127.0.0.1 at 2013-09-30 12:48:22 +0000
|
1501
|
+
Processing by AuthenticationsController#callback as HTML
|
1502
|
+
Parameters: {"code"=>"f7759babbc6cdea65fee47ee0424df5f1605d0706e70c345133211bd323101ef", "state"=>"32573a9fc99b5ceae14cce6a793620ace6e2e008033ebc73"}
|
1503
|
+
Authenticating with gds_sso strategy
|
1504
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
1505
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1506
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
1507
|
+
- signin
|
1508
|
+
' WHERE "users"."id" = 6[0m
|
1509
|
+
[1m[35m (4.1ms)[0m commit transaction
|
1510
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1511
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "permissions" = '---
|
1512
|
+
- signin
|
1513
|
+
' WHERE "users"."id" = 6
|
1514
|
+
[1m[36m (3.3ms)[0m [1mcommit transaction[0m
|
1515
|
+
Redirected to http://www.example-client.com/restricted
|
1516
|
+
Completed 302 Found in 16ms (ActiveRecord: 8.0ms)
|
1517
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-09-30 12:48:22 +0000
|
1518
|
+
Processing by ExampleController#restricted as HTML
|
1519
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
1520
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.1ms)
|
1521
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-01 08:43:22 +0000
|
1522
|
+
Processing by ExampleController#restricted as HTML
|
1523
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
1524
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
1525
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-09-30 12:48:22 +0000
|
1526
|
+
Processing by ExampleController#restricted as JSON
|
1527
|
+
Authenticating with gds_sso_api_access strategy
|
1528
|
+
Completed in 2ms
|
1529
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-09-30 12:48:22 +0000
|
1530
|
+
Processing by ExampleController#restricted as JSON
|
1531
|
+
Authenticating with gds_sso_api_access strategy
|
1532
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
1533
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-09-30 12:48:22 +0000
|
1534
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
1535
|
+
Authenticating with gds_sso_api_access strategy
|
1536
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
1537
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-09-30 12:48:22 +0000
|
1538
|
+
Processing by ExampleController#restricted as JSON
|
1539
|
+
Authenticating with gds_bearer_token strategy
|
1540
|
+
Completed in 7ms
|
1541
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-09-30 12:48:23 +0000
|
1542
|
+
Processing by ExampleController#restricted as JSON
|
1543
|
+
Authenticating with gds_bearer_token strategy
|
1544
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
1545
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1546
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "permissions" = '---
|
1547
|
+
- signin
|
1548
|
+
' WHERE "users"."id" = 6
|
1549
|
+
[1m[36m (4.2ms)[0m [1mcommit transaction[0m
|
1550
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1551
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
1552
|
+
- signin
|
1553
|
+
' WHERE "users"."id" = 6[0m
|
1554
|
+
[1m[35m (3.9ms)[0m commit transaction
|
1555
|
+
Completed 200 OK in 38ms (Views: 0.2ms | ActiveRecord: 8.7ms)
|
1556
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-09-30 12:48:23 +0000
|
1557
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
1558
|
+
Authenticating with gds_bearer_token strategy
|
1559
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
1560
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1561
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
1562
|
+
- signin
|
1563
|
+
' WHERE "users"."id" = 6[0m
|
1564
|
+
[1m[35m (7.8ms)[0m commit transaction
|
1565
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1566
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "permissions" = '---
|
1567
|
+
- signin
|
1568
|
+
' WHERE "users"."id" = 6
|
1569
|
+
[1m[36m (2.9ms)[0m [1mcommit transaction[0m
|
1570
|
+
Completed 200 OK in 52ms (Views: 0.2ms | ActiveRecord: 11.2ms)
|
1571
|
+
Connecting to database specified by database.yml
|
1572
|
+
[1m[36m (1.0ms)[0m [1mselect sqlite_version(*)[0m
|
1573
|
+
[1m[35m (7.9ms)[0m DROP TABLE "users"
|
1574
|
+
[1m[36m (3.6ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "uid" varchar(255) NOT NULL, "email" varchar(255) NOT NULL, "remotely_signed_out" boolean, "permissions" text) [0m
|
1575
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1576
|
+
[1m[36mSQL (2.7ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?)[0m [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d33503"]]
|
1577
|
+
[1m[35m (3.2ms)[0m commit transaction
|
1578
|
+
WARNING: Can't mass-assign protected attributes: uid, name, permissions
|
1579
|
+
Processing by Api::UserController#update as HTML
|
1580
|
+
Parameters: {"uid"=>"a1s2d33503"}
|
1581
|
+
Rendered /home/jenkins/workspace/govuk_gds_sso/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (1.2ms)
|
1582
|
+
Completed 403 Forbidden in 10ms (Views: 9.0ms | ActiveRecord: 0.0ms)
|
1583
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1584
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d37801"]]
|
1585
|
+
[1m[36m (3.6ms)[0m [1mcommit transaction[0m
|
1586
|
+
Processing by Api::UserController#update as HTML
|
1587
|
+
Parameters: {"uid"=>"a1s2d37801"}
|
1588
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d37801' LIMIT 1
|
1589
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1590
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "email" = 'user@domain.com', "name" = 'Joshua Marshall', "permissions" = '---
|
1591
|
+
- signin
|
1592
|
+
- new permission
|
1593
|
+
' WHERE "users"."id" = 2
|
1594
|
+
[1m[36m (3.2ms)[0m [1mcommit transaction[0m
|
1595
|
+
Completed 200 OK in 12ms (ActiveRecord: 3.5ms)
|
1596
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
|
1597
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1598
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d38543"]]
|
1599
|
+
[1m[36m (3.5ms)[0m [1mcommit transaction[0m
|
1600
|
+
WARNING: Can't mass-assign protected attributes: uid, name, permissions
|
1601
|
+
Processing by Api::UserController#reauth as HTML
|
1602
|
+
Parameters: {"uid"=>"a1s2d38543"}
|
1603
|
+
Completed 403 Forbidden in 2ms (Views: 1.0ms | ActiveRecord: 0.0ms)
|
1604
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1605
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?)[0m [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d32466"]]
|
1606
|
+
[1m[35m (3.5ms)[0m commit transaction
|
1607
|
+
Processing by Api::UserController#reauth as HTML
|
1608
|
+
Parameters: {"uid"=>"nonexistent-user"}
|
1609
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'nonexistent-user' LIMIT 1[0m
|
1610
|
+
Completed 200 OK in 1ms (ActiveRecord: 0.1ms)
|
1611
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1612
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?)[0m [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d38600"]]
|
1613
|
+
[1m[35m (2.9ms)[0m commit transaction
|
1614
|
+
Processing by Api::UserController#reauth as HTML
|
1615
|
+
Parameters: {"uid"=>"a1s2d38600"}
|
1616
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d38600' LIMIT 1[0m
|
1617
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1618
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = 't', "permissions" = '---
|
1619
|
+
- signin
|
1620
|
+
' WHERE "users"."id" = 5[0m
|
1621
|
+
[1m[35m (2.7ms)[0m commit transaction
|
1622
|
+
Completed 200 OK in 7ms (ActiveRecord: 3.0ms)
|
1623
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 5]]
|
1624
|
+
Started GET "/" for 127.0.0.1 at 2013-10-02 15:26:12 +0000
|
1625
|
+
Processing by ExampleController#index as HTML
|
1626
|
+
Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)
|
1627
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-02 15:26:12 +0000
|
1628
|
+
Processing by ExampleController#restricted as HTML
|
1629
|
+
Authenticating with gds_sso strategy
|
1630
|
+
Completed in 3ms
|
1631
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-10-02 15:26:12 +0000
|
1632
|
+
Started GET "/auth/gds/callback?code=7d15e1520c4dda96d8658b721b6902d7f79e59bd9011f6256320b484f2c7b980&state=84d29007268fb84523e04a0ef2dc3d9796634e7dec2a5a32" for 127.0.0.1 at 2013-10-02 15:26:13 +0000
|
1633
|
+
Processing by AuthenticationsController#callback as HTML
|
1634
|
+
Parameters: {"code"=>"7d15e1520c4dda96d8658b721b6902d7f79e59bd9011f6256320b484f2c7b980", "state"=>"84d29007268fb84523e04a0ef2dc3d9796634e7dec2a5a32"}
|
1635
|
+
Authenticating with gds_sso strategy
|
1636
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
1637
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1638
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?) [["email", "test@example-client.com"], ["name", "Test User"], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "integration-uid"]]
|
1639
|
+
[1m[36m (3.4ms)[0m [1mcommit transaction[0m
|
1640
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1641
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = 'f', "permissions" = '---
|
1642
|
+
- signin
|
1643
|
+
' WHERE "users"."id" = 6[0m
|
1644
|
+
[1m[35m (2.6ms)[0m commit transaction
|
1645
|
+
Redirected to http://www.example-client.com/restricted
|
1646
|
+
Completed 302 Found in 12ms (ActiveRecord: 6.5ms)
|
1647
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-02 15:26:14 +0000
|
1648
|
+
Processing by ExampleController#restricted as HTML
|
1649
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
1650
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
1651
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-02 15:26:14 +0000
|
1652
|
+
Processing by ExampleController#restricted as HTML
|
1653
|
+
Authenticating with gds_sso strategy
|
1654
|
+
Completed in 0ms
|
1655
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-10-02 15:26:14 +0000
|
1656
|
+
Started GET "/auth/gds/callback?code=08bb64663aef878a49f6a4dbdd5e6fd1a4a8dabbece06b09f3af900604674745&state=dd24d6bc43769a17fcaee9a83a269a4548e875e1463ab159" for 127.0.0.1 at 2013-10-02 15:26:14 +0000
|
1657
|
+
Processing by AuthenticationsController#callback as HTML
|
1658
|
+
Parameters: {"code"=>"08bb64663aef878a49f6a4dbdd5e6fd1a4a8dabbece06b09f3af900604674745", "state"=>"dd24d6bc43769a17fcaee9a83a269a4548e875e1463ab159"}
|
1659
|
+
Authenticating with gds_sso strategy
|
1660
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
1661
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1662
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
1663
|
+
- signin
|
1664
|
+
' WHERE "users"."id" = 6
|
1665
|
+
[1m[36m (4.6ms)[0m [1mcommit transaction[0m
|
1666
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1667
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
1668
|
+
- signin
|
1669
|
+
' WHERE "users"."id" = 6[0m
|
1670
|
+
[1m[35m (2.7ms)[0m commit transaction
|
1671
|
+
Redirected to http://www.example-client.com/restricted
|
1672
|
+
Completed 302 Found in 47ms (ActiveRecord: 8.0ms)
|
1673
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-02 15:26:14 +0000
|
1674
|
+
Processing by ExampleController#restricted as HTML
|
1675
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
1676
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.1ms)
|
1677
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-02 15:26:14 +0000
|
1678
|
+
Processing by ExampleController#restricted as HTML
|
1679
|
+
Authenticating with gds_sso strategy
|
1680
|
+
Completed in 0ms
|
1681
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-10-02 15:26:14 +0000
|
1682
|
+
Started GET "/auth/gds/callback?code=fd3cb17aabfd5fd329298c80492d9c5e1edca43098f629cbd25267d1c7ef22ff&state=f371d9d4389b16937d81d39a9c2083ceeba444fa63686084" for 127.0.0.1 at 2013-10-02 15:26:14 +0000
|
1683
|
+
Processing by AuthenticationsController#callback as HTML
|
1684
|
+
Parameters: {"code"=>"fd3cb17aabfd5fd329298c80492d9c5e1edca43098f629cbd25267d1c7ef22ff", "state"=>"f371d9d4389b16937d81d39a9c2083ceeba444fa63686084"}
|
1685
|
+
Authenticating with gds_sso strategy
|
1686
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
1687
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1688
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "permissions" = '---
|
1689
|
+
- signin
|
1690
|
+
' WHERE "users"."id" = 6
|
1691
|
+
[1m[36m (4.2ms)[0m [1mcommit transaction[0m
|
1692
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1693
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
1694
|
+
- signin
|
1695
|
+
' WHERE "users"."id" = 6[0m
|
1696
|
+
[1m[35m (2.9ms)[0m commit transaction
|
1697
|
+
Redirected to http://www.example-client.com/restricted
|
1698
|
+
Completed 302 Found in 15ms (ActiveRecord: 7.6ms)
|
1699
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-02 15:26:14 +0000
|
1700
|
+
Processing by ExampleController#restricted as HTML
|
1701
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
1702
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
1703
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-10-02 15:26:14 +0000
|
1704
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
1705
|
+
Authenticating with gds_sso strategy
|
1706
|
+
Completed in 1ms
|
1707
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-10-02 15:26:14 +0000
|
1708
|
+
Started GET "/auth/gds/callback?code=a40b525e5ba17e73fdbe6b5d206b0505908e4bf9dbf656c04acf00249f0eca49&state=5afd1b2d20fd3f7b958d2f05faedf85f25b4e6a0396ce1ca" for 127.0.0.1 at 2013-10-02 15:26:15 +0000
|
1709
|
+
Processing by AuthenticationsController#callback as HTML
|
1710
|
+
Parameters: {"code"=>"a40b525e5ba17e73fdbe6b5d206b0505908e4bf9dbf656c04acf00249f0eca49", "state"=>"5afd1b2d20fd3f7b958d2f05faedf85f25b4e6a0396ce1ca"}
|
1711
|
+
Authenticating with gds_sso strategy
|
1712
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
1713
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1714
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "permissions" = '---
|
1715
|
+
- signin
|
1716
|
+
' WHERE "users"."id" = 6
|
1717
|
+
[1m[36m (4.3ms)[0m [1mcommit transaction[0m
|
1718
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1719
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
1720
|
+
- signin
|
1721
|
+
' WHERE "users"."id" = 6[0m
|
1722
|
+
[1m[35m (3.2ms)[0m commit transaction
|
1723
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
1724
|
+
Completed 302 Found in 16ms (ActiveRecord: 8.0ms)
|
1725
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-10-02 15:26:15 +0000
|
1726
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
1727
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
1728
|
+
Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
1729
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-10-02 15:26:15 +0000
|
1730
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
1731
|
+
Authenticating with gds_sso strategy
|
1732
|
+
Completed in 0ms
|
1733
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-10-02 15:26:15 +0000
|
1734
|
+
Started GET "/auth/gds/callback?code=12762211dd795628ada82bf246ffd0d1837f3245d645982937d4aa2a23a5524e&state=d15f37cd1a1f10e73ace34f7df2f51390367e09e491cd9b7" for 127.0.0.1 at 2013-10-02 15:26:15 +0000
|
1735
|
+
Processing by AuthenticationsController#callback as HTML
|
1736
|
+
Parameters: {"code"=>"12762211dd795628ada82bf246ffd0d1837f3245d645982937d4aa2a23a5524e", "state"=>"d15f37cd1a1f10e73ace34f7df2f51390367e09e491cd9b7"}
|
1737
|
+
Authenticating with gds_sso strategy
|
1738
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
1739
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1740
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "permissions" = '---
|
1741
|
+
- signin
|
1742
|
+
' WHERE "users"."id" = 6
|
1743
|
+
[1m[36m (3.6ms)[0m [1mcommit transaction[0m
|
1744
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1745
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
1746
|
+
- signin
|
1747
|
+
' WHERE "users"."id" = 6[0m
|
1748
|
+
[1m[35m (3.5ms)[0m commit transaction
|
1749
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
1750
|
+
Completed 302 Found in 14ms (ActiveRecord: 7.5ms)
|
1751
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-10-02 15:26:15 +0000
|
1752
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
1753
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
1754
|
+
Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
1755
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-02 15:26:15 +0000
|
1756
|
+
Processing by ExampleController#restricted as HTML
|
1757
|
+
Authenticating with gds_sso strategy
|
1758
|
+
Completed in 0ms
|
1759
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-10-02 15:26:15 +0000
|
1760
|
+
Started GET "/auth/gds/callback?code=729168400275b7ed95cd7d87495234f962ced9f39a494f194315a463b261b207&state=d3ee9a84fac64d20e25bf97c76b4911ab62ded0862a28450" for 127.0.0.1 at 2013-10-02 15:26:15 +0000
|
1761
|
+
Processing by AuthenticationsController#callback as HTML
|
1762
|
+
Parameters: {"code"=>"729168400275b7ed95cd7d87495234f962ced9f39a494f194315a463b261b207", "state"=>"d3ee9a84fac64d20e25bf97c76b4911ab62ded0862a28450"}
|
1763
|
+
Authenticating with gds_sso strategy
|
1764
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
1765
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1766
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "permissions" = '---
|
1767
|
+
- signin
|
1768
|
+
' WHERE "users"."id" = 6
|
1769
|
+
[1m[36m (4.1ms)[0m [1mcommit transaction[0m
|
1770
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1771
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
1772
|
+
- signin
|
1773
|
+
' WHERE "users"."id" = 6[0m
|
1774
|
+
[1m[35m (2.8ms)[0m commit transaction
|
1775
|
+
Redirected to http://www.example-client.com/restricted
|
1776
|
+
Completed 302 Found in 15ms (ActiveRecord: 7.4ms)
|
1777
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-02 15:26:15 +0000
|
1778
|
+
Processing by ExampleController#restricted as HTML
|
1779
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
1780
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.1ms)
|
1781
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
1782
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1783
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "remotely_signed_out" = 't', "permissions" = '---
|
1784
|
+
- signin
|
1785
|
+
' WHERE "users"."id" = 6
|
1786
|
+
[1m[36m (3.7ms)[0m [1mcommit transaction[0m
|
1787
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-02 15:26:15 +0000
|
1788
|
+
Processing by ExampleController#restricted as HTML
|
1789
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
1790
|
+
Filter chain halted as :authenticate_user! rendered or redirected
|
1791
|
+
Completed 403 Forbidden in 3ms (Views: 1.8ms | ActiveRecord: 0.1ms)
|
1792
|
+
Started GET "/auth/gds/sign_out" for 127.0.0.1 at 2013-10-02 15:26:15 +0000
|
1793
|
+
Processing by AuthenticationsController#sign_out as HTML
|
1794
|
+
Redirected to http://localhost:4567/users/sign_out
|
1795
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
1796
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-02 15:26:15 +0000
|
1797
|
+
Processing by ExampleController#restricted as HTML
|
1798
|
+
Authenticating with gds_sso strategy
|
1799
|
+
Completed in 0ms
|
1800
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-10-02 15:26:15 +0000
|
1801
|
+
Started GET "/auth/gds/callback?code=ccc88fc69647c69a53f872aee0c3d21c0ce01599b8c5bcfe4ae79207dc016752&state=efec1487654ea1c636c503ed9f5cb0730b11692621dd4215" for 127.0.0.1 at 2013-10-02 15:26:15 +0000
|
1802
|
+
Processing by AuthenticationsController#callback as HTML
|
1803
|
+
Parameters: {"code"=>"ccc88fc69647c69a53f872aee0c3d21c0ce01599b8c5bcfe4ae79207dc016752", "state"=>"efec1487654ea1c636c503ed9f5cb0730b11692621dd4215"}
|
1804
|
+
Authenticating with gds_sso strategy
|
1805
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
1806
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1807
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
1808
|
+
- signin
|
1809
|
+
' WHERE "users"."id" = 6[0m
|
1810
|
+
[1m[35m (3.7ms)[0m commit transaction
|
1811
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1812
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "remotely_signed_out" = 'f', "permissions" = '---
|
1813
|
+
- signin
|
1814
|
+
' WHERE "users"."id" = 6
|
1815
|
+
[1m[36m (4.0ms)[0m [1mcommit transaction[0m
|
1816
|
+
Redirected to http://www.example-client.com/restricted
|
1817
|
+
Completed 302 Found in 15ms (ActiveRecord: 8.2ms)
|
1818
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-02 15:26:16 +0000
|
1819
|
+
Processing by ExampleController#restricted as HTML
|
1820
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
1821
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
1822
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-02 15:26:16 +0000
|
1823
|
+
Processing by ExampleController#restricted as HTML
|
1824
|
+
Authenticating with gds_sso strategy
|
1825
|
+
Completed in 0ms
|
1826
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-10-02 15:26:16 +0000
|
1827
|
+
Started GET "/auth/gds/callback?code=faef8624a6b69371cf7e207af1b215f16dda59e7a8f669938a4ec555fbf0b153&state=804798fc4266b2e588149e9b51e4f1176699febf620301a1" for 127.0.0.1 at 2013-10-02 15:26:16 +0000
|
1828
|
+
Processing by AuthenticationsController#callback as HTML
|
1829
|
+
Parameters: {"code"=>"faef8624a6b69371cf7e207af1b215f16dda59e7a8f669938a4ec555fbf0b153", "state"=>"804798fc4266b2e588149e9b51e4f1176699febf620301a1"}
|
1830
|
+
Authenticating with gds_sso strategy
|
1831
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
1832
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1833
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
1834
|
+
- signin
|
1835
|
+
' WHERE "users"."id" = 6[0m
|
1836
|
+
[1m[35m (4.1ms)[0m commit transaction
|
1837
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1838
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "permissions" = '---
|
1839
|
+
- signin
|
1840
|
+
' WHERE "users"."id" = 6
|
1841
|
+
[1m[36m (3.2ms)[0m [1mcommit transaction[0m
|
1842
|
+
Redirected to http://www.example-client.com/restricted
|
1843
|
+
Completed 302 Found in 15ms (ActiveRecord: 7.9ms)
|
1844
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-02 15:26:16 +0000
|
1845
|
+
Processing by ExampleController#restricted as HTML
|
1846
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
1847
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
1848
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-03 11:31:16 +0000
|
1849
|
+
Processing by ExampleController#restricted as HTML
|
1850
|
+
Authenticating with gds_sso strategy
|
1851
|
+
Completed in 0ms
|
1852
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-10-03 11:31:16 +0000
|
1853
|
+
Started GET "/auth/gds/callback?code=253b26881b71c3d54a29f58a4b10aa0c651d70e80f19b1615f3da6b41ed89202&state=deeb55564cc8cdbd526b56d17eff67e8c37959c9da283d9b" for 127.0.0.1 at 2013-10-03 11:31:16 +0000
|
1854
|
+
Processing by AuthenticationsController#callback as HTML
|
1855
|
+
Parameters: {"code"=>"253b26881b71c3d54a29f58a4b10aa0c651d70e80f19b1615f3da6b41ed89202", "state"=>"deeb55564cc8cdbd526b56d17eff67e8c37959c9da283d9b"}
|
1856
|
+
Authenticating with gds_sso strategy
|
1857
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
1858
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1859
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
1860
|
+
- signin
|
1861
|
+
' WHERE "users"."id" = 6[0m
|
1862
|
+
[1m[35m (4.4ms)[0m commit transaction
|
1863
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1864
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "permissions" = '---
|
1865
|
+
- signin
|
1866
|
+
' WHERE "users"."id" = 6
|
1867
|
+
[1m[36m (2.9ms)[0m [1mcommit transaction[0m
|
1868
|
+
Redirected to http://www.example-client.com/restricted
|
1869
|
+
Completed 302 Found in 47ms (ActiveRecord: 7.9ms)
|
1870
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-03 11:31:16 +0000
|
1871
|
+
Processing by ExampleController#restricted as HTML
|
1872
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
1873
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
1874
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-02 15:26:16 +0000
|
1875
|
+
Processing by ExampleController#restricted as HTML
|
1876
|
+
Authenticating with gds_sso strategy
|
1877
|
+
Completed in 0ms
|
1878
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-10-02 15:26:16 +0000
|
1879
|
+
Started GET "/auth/gds/callback?code=75cca67039ce35bfaa00bf812b968e049d8d3e9387f305703df19a024873f11e&state=4ea070cb7db43a9118eb51c9920e3959ac96dbb83205628d" for 127.0.0.1 at 2013-10-02 15:26:16 +0000
|
1880
|
+
Processing by AuthenticationsController#callback as HTML
|
1881
|
+
Parameters: {"code"=>"75cca67039ce35bfaa00bf812b968e049d8d3e9387f305703df19a024873f11e", "state"=>"4ea070cb7db43a9118eb51c9920e3959ac96dbb83205628d"}
|
1882
|
+
Authenticating with gds_sso strategy
|
1883
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
1884
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1885
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
1886
|
+
- signin
|
1887
|
+
' WHERE "users"."id" = 6[0m
|
1888
|
+
[1m[35m (3.8ms)[0m commit transaction
|
1889
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1890
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "permissions" = '---
|
1891
|
+
- signin
|
1892
|
+
' WHERE "users"."id" = 6
|
1893
|
+
[1m[36m (3.6ms)[0m [1mcommit transaction[0m
|
1894
|
+
Redirected to http://www.example-client.com/restricted
|
1895
|
+
Completed 302 Found in 15ms (ActiveRecord: 7.9ms)
|
1896
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-02 15:26:16 +0000
|
1897
|
+
Processing by ExampleController#restricted as HTML
|
1898
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
1899
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
1900
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-03 11:21:16 +0000
|
1901
|
+
Processing by ExampleController#restricted as HTML
|
1902
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
1903
|
+
Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.1ms)
|
1904
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-02 15:26:16 +0000
|
1905
|
+
Processing by ExampleController#restricted as JSON
|
1906
|
+
Authenticating with gds_sso_api_access strategy
|
1907
|
+
Completed in 4ms
|
1908
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-02 15:26:16 +0000
|
1909
|
+
Processing by ExampleController#restricted as JSON
|
1910
|
+
Authenticating with gds_sso_api_access strategy
|
1911
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
1912
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-10-02 15:26:16 +0000
|
1913
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
1914
|
+
Authenticating with gds_sso_api_access strategy
|
1915
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
1916
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-02 15:26:16 +0000
|
1917
|
+
Processing by ExampleController#restricted as JSON
|
1918
|
+
Authenticating with gds_bearer_token strategy
|
1919
|
+
Completed in 7ms
|
1920
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-02 15:26:17 +0000
|
1921
|
+
Processing by ExampleController#restricted as JSON
|
1922
|
+
Authenticating with gds_bearer_token strategy
|
1923
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
1924
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1925
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "permissions" = '---
|
1926
|
+
- signin
|
1927
|
+
' WHERE "users"."id" = 6
|
1928
|
+
[1m[36m (4.2ms)[0m [1mcommit transaction[0m
|
1929
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1930
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
1931
|
+
- signin
|
1932
|
+
' WHERE "users"."id" = 6[0m
|
1933
|
+
[1m[35m (2.7ms)[0m commit transaction
|
1934
|
+
Completed 200 OK in 37ms (Views: 0.2ms | ActiveRecord: 7.3ms)
|
1935
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-10-02 15:26:17 +0000
|
1936
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
1937
|
+
Authenticating with gds_bearer_token strategy
|
1938
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
1939
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1940
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
1941
|
+
- signin
|
1942
|
+
' WHERE "users"."id" = 6[0m
|
1943
|
+
[1m[35m (4.1ms)[0m commit transaction
|
1944
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1945
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "permissions" = '---
|
1946
|
+
- signin
|
1947
|
+
' WHERE "users"."id" = 6
|
1948
|
+
[1m[36m (3.3ms)[0m [1mcommit transaction[0m
|
1949
|
+
Completed 200 OK in 71ms (Views: 0.2ms | ActiveRecord: 7.9ms)
|
1950
|
+
Connecting to database specified by database.yml
|
1951
|
+
[1m[36m (0.7ms)[0m [1mselect sqlite_version(*)[0m
|
1952
|
+
[1m[35m (6.8ms)[0m DROP TABLE "users"
|
1953
|
+
[1m[36m (3.0ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "uid" varchar(255) NOT NULL, "email" varchar(255) NOT NULL, "remotely_signed_out" boolean, "permissions" text) [0m
|
1954
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1955
|
+
[1m[36mSQL (2.1ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?)[0m [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d36132"]]
|
1956
|
+
[1m[35m (4.1ms)[0m commit transaction
|
1957
|
+
WARNING: Can't mass-assign protected attributes: uid, name, permissions
|
1958
|
+
Processing by Api::UserController#update as HTML
|
1959
|
+
Parameters: {"uid"=>"a1s2d36132"}
|
1960
|
+
Rendered /home/jenkins/workspace/govuk_gds_sso/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.8ms)
|
1961
|
+
Completed 403 Forbidden in 7ms (Views: 6.2ms | ActiveRecord: 0.0ms)
|
1962
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1963
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d3823"]]
|
1964
|
+
[1m[36m (3.2ms)[0m [1mcommit transaction[0m
|
1965
|
+
Processing by Api::UserController#update as HTML
|
1966
|
+
Parameters: {"uid"=>"a1s2d3823"}
|
1967
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d3823' LIMIT 1
|
1968
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1969
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "email" = 'user@domain.com', "name" = 'Joshua Marshall', "permissions" = '---
|
1970
|
+
- signin
|
1971
|
+
- new permission
|
1972
|
+
' WHERE "users"."id" = 2
|
1973
|
+
[1m[36m (4.0ms)[0m [1mcommit transaction[0m
|
1974
|
+
Completed 200 OK in 12ms (ActiveRecord: 4.3ms)
|
1975
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
|
1976
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1977
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d32729"]]
|
1978
|
+
[1m[36m (3.0ms)[0m [1mcommit transaction[0m
|
1979
|
+
WARNING: Can't mass-assign protected attributes: uid, name, permissions
|
1980
|
+
Processing by Api::UserController#reauth as HTML
|
1981
|
+
Parameters: {"uid"=>"a1s2d32729"}
|
1982
|
+
Completed 403 Forbidden in 2ms (Views: 1.0ms | ActiveRecord: 0.0ms)
|
1983
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1984
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?)[0m [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d32211"]]
|
1985
|
+
[1m[35m (2.9ms)[0m commit transaction
|
1986
|
+
Processing by Api::UserController#reauth as HTML
|
1987
|
+
Parameters: {"uid"=>"nonexistent-user"}
|
1988
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'nonexistent-user' LIMIT 1[0m
|
1989
|
+
Completed 200 OK in 1ms (ActiveRecord: 0.2ms)
|
1990
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1991
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?)[0m [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d39814"]]
|
1992
|
+
[1m[35m (3.5ms)[0m commit transaction
|
1993
|
+
Processing by Api::UserController#reauth as HTML
|
1994
|
+
Parameters: {"uid"=>"a1s2d39814"}
|
1995
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d39814' LIMIT 1[0m
|
1996
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1997
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = 't', "permissions" = '---
|
1998
|
+
- signin
|
1999
|
+
' WHERE "users"."id" = 5[0m
|
2000
|
+
[1m[35m (3.3ms)[0m commit transaction
|
2001
|
+
Completed 200 OK in 7ms (ActiveRecord: 3.6ms)
|
2002
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 5]]
|
2003
|
+
Started GET "/" for 127.0.0.1 at 2013-10-04 11:53:03 +0000
|
2004
|
+
Processing by ExampleController#index as HTML
|
2005
|
+
Completed 200 OK in 1ms (Views: 1.2ms | ActiveRecord: 0.0ms)
|
2006
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-04 11:53:03 +0000
|
2007
|
+
Processing by ExampleController#restricted as HTML
|
2008
|
+
Authenticating with gds_sso strategy
|
2009
|
+
Completed in 3ms
|
2010
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-10-04 11:53:03 +0000
|
2011
|
+
Started GET "/auth/gds/callback?code=420c8437e87daaed288186ffe45158464c83dbc97735000353e0895b1130c2cf&state=e499c377bc1d3cc446906afe1da47cc62faec253f94228db" for 127.0.0.1 at 2013-10-04 11:53:04 +0000
|
2012
|
+
Processing by AuthenticationsController#callback as HTML
|
2013
|
+
Parameters: {"code"=>"420c8437e87daaed288186ffe45158464c83dbc97735000353e0895b1130c2cf", "state"=>"e499c377bc1d3cc446906afe1da47cc62faec253f94228db"}
|
2014
|
+
Authenticating with gds_sso strategy
|
2015
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
2016
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2017
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?) [["email", "test@example-client.com"], ["name", "Test User"], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "integration-uid"]]
|
2018
|
+
[1m[36m (4.5ms)[0m [1mcommit transaction[0m
|
2019
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2020
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = 'f', "permissions" = '---
|
2021
|
+
- signin
|
2022
|
+
' WHERE "users"."id" = 6[0m
|
2023
|
+
[1m[35m (2.9ms)[0m commit transaction
|
2024
|
+
Redirected to http://www.example-client.com/restricted
|
2025
|
+
Completed 302 Found in 14ms (ActiveRecord: 7.9ms)
|
2026
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-04 11:53:04 +0000
|
2027
|
+
Processing by ExampleController#restricted as HTML
|
2028
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
2029
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
2030
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-04 11:53:04 +0000
|
2031
|
+
Processing by ExampleController#restricted as HTML
|
2032
|
+
Authenticating with gds_sso strategy
|
2033
|
+
Completed in 0ms
|
2034
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-10-04 11:53:04 +0000
|
2035
|
+
Started GET "/auth/gds/callback?code=0beefafe73571b828d506e314137c383b3d9668dc2de2932bffb85df95833f2b&state=282e9bd73eff42035b8745db4110e69a9d8ddff70061d142" for 127.0.0.1 at 2013-10-04 11:53:04 +0000
|
2036
|
+
Processing by AuthenticationsController#callback as HTML
|
2037
|
+
Parameters: {"code"=>"0beefafe73571b828d506e314137c383b3d9668dc2de2932bffb85df95833f2b", "state"=>"282e9bd73eff42035b8745db4110e69a9d8ddff70061d142"}
|
2038
|
+
Authenticating with gds_sso strategy
|
2039
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
2040
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2041
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "permissions" = '---
|
2042
|
+
- signin
|
2043
|
+
' WHERE "users"."id" = 6
|
2044
|
+
[1m[36m (4.3ms)[0m [1mcommit transaction[0m
|
2045
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2046
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
2047
|
+
- signin
|
2048
|
+
' WHERE "users"."id" = 6[0m
|
2049
|
+
[1m[35m (3.7ms)[0m commit transaction
|
2050
|
+
Redirected to http://www.example-client.com/restricted
|
2051
|
+
Completed 302 Found in 46ms (ActiveRecord: 8.6ms)
|
2052
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-04 11:53:04 +0000
|
2053
|
+
Processing by ExampleController#restricted as HTML
|
2054
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
2055
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
2056
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-04 11:53:04 +0000
|
2057
|
+
Processing by ExampleController#restricted as HTML
|
2058
|
+
Authenticating with gds_sso strategy
|
2059
|
+
Completed in 0ms
|
2060
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-10-04 11:53:04 +0000
|
2061
|
+
Started GET "/auth/gds/callback?code=792120e6a364952401684794fa5ea62930c961998d1938b894a8add846d45404&state=09de51349003ab34c874771932f31a3141578e7c0aa50e8b" for 127.0.0.1 at 2013-10-04 11:53:04 +0000
|
2062
|
+
Processing by AuthenticationsController#callback as HTML
|
2063
|
+
Parameters: {"code"=>"792120e6a364952401684794fa5ea62930c961998d1938b894a8add846d45404", "state"=>"09de51349003ab34c874771932f31a3141578e7c0aa50e8b"}
|
2064
|
+
Authenticating with gds_sso strategy
|
2065
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
2066
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2067
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "permissions" = '---
|
2068
|
+
- signin
|
2069
|
+
' WHERE "users"."id" = 6
|
2070
|
+
[1m[36m (5.6ms)[0m [1mcommit transaction[0m
|
2071
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2072
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
2073
|
+
- signin
|
2074
|
+
' WHERE "users"."id" = 6[0m
|
2075
|
+
[1m[35m (3.2ms)[0m commit transaction
|
2076
|
+
Redirected to http://www.example-client.com/restricted
|
2077
|
+
Completed 302 Found in 16ms (ActiveRecord: 9.2ms)
|
2078
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-04 11:53:04 +0000
|
2079
|
+
Processing by ExampleController#restricted as HTML
|
2080
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
2081
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
2082
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-10-04 11:53:05 +0000
|
2083
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
2084
|
+
Authenticating with gds_sso strategy
|
2085
|
+
Completed in 1ms
|
2086
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-10-04 11:53:05 +0000
|
2087
|
+
Started GET "/auth/gds/callback?code=804bbe29d7672dcf529c2cf5e1970b419c2c33ade6206583c82f3b9b27417ee7&state=e6ebcaf670c31cec3f168991124dbabcf8456ea4bb0ceade" for 127.0.0.1 at 2013-10-04 11:53:05 +0000
|
2088
|
+
Processing by AuthenticationsController#callback as HTML
|
2089
|
+
Parameters: {"code"=>"804bbe29d7672dcf529c2cf5e1970b419c2c33ade6206583c82f3b9b27417ee7", "state"=>"e6ebcaf670c31cec3f168991124dbabcf8456ea4bb0ceade"}
|
2090
|
+
Authenticating with gds_sso strategy
|
2091
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
2092
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2093
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "permissions" = '---
|
2094
|
+
- signin
|
2095
|
+
' WHERE "users"."id" = 6
|
2096
|
+
[1m[36m (3.6ms)[0m [1mcommit transaction[0m
|
2097
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2098
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
2099
|
+
- signin
|
2100
|
+
' WHERE "users"."id" = 6[0m
|
2101
|
+
[1m[35m (3.7ms)[0m commit transaction
|
2102
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
2103
|
+
Completed 302 Found in 15ms (ActiveRecord: 7.8ms)
|
2104
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-10-04 11:53:05 +0000
|
2105
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
2106
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
2107
|
+
Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
2108
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-10-04 11:53:05 +0000
|
2109
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
2110
|
+
Authenticating with gds_sso strategy
|
2111
|
+
Completed in 0ms
|
2112
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-10-04 11:53:05 +0000
|
2113
|
+
Started GET "/auth/gds/callback?code=1e02e7105ebdecd3c8ee938a9b8b2f1813affbd5717747ff567aef58a3e46724&state=9fc7cdfa8b0876d4ea180c8d7cea3dbaab9248465ed112fb" for 127.0.0.1 at 2013-10-04 11:53:05 +0000
|
2114
|
+
Processing by AuthenticationsController#callback as HTML
|
2115
|
+
Parameters: {"code"=>"1e02e7105ebdecd3c8ee938a9b8b2f1813affbd5717747ff567aef58a3e46724", "state"=>"9fc7cdfa8b0876d4ea180c8d7cea3dbaab9248465ed112fb"}
|
2116
|
+
Authenticating with gds_sso strategy
|
2117
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
2118
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2119
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "permissions" = '---
|
2120
|
+
- signin
|
2121
|
+
' WHERE "users"."id" = 6
|
2122
|
+
[1m[36m (4.1ms)[0m [1mcommit transaction[0m
|
2123
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2124
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
2125
|
+
- signin
|
2126
|
+
' WHERE "users"."id" = 6[0m
|
2127
|
+
[1m[35m (2.7ms)[0m commit transaction
|
2128
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
2129
|
+
Completed 302 Found in 14ms (ActiveRecord: 7.3ms)
|
2130
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-10-04 11:53:05 +0000
|
2131
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
2132
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
2133
|
+
Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
2134
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-04 11:53:05 +0000
|
2135
|
+
Processing by ExampleController#restricted as HTML
|
2136
|
+
Authenticating with gds_sso strategy
|
2137
|
+
Completed in 0ms
|
2138
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-10-04 11:53:05 +0000
|
2139
|
+
Started GET "/auth/gds/callback?code=c79fe0cd5919c3eba88e4c02817e9d608da079f39456cf918179222f2faa8bd6&state=c1d3da5b0ea9e07c111c0a00ed9c33b223dd00ebcdae05c3" for 127.0.0.1 at 2013-10-04 11:53:05 +0000
|
2140
|
+
Processing by AuthenticationsController#callback as HTML
|
2141
|
+
Parameters: {"code"=>"c79fe0cd5919c3eba88e4c02817e9d608da079f39456cf918179222f2faa8bd6", "state"=>"c1d3da5b0ea9e07c111c0a00ed9c33b223dd00ebcdae05c3"}
|
2142
|
+
Authenticating with gds_sso strategy
|
2143
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
2144
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2145
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "permissions" = '---
|
2146
|
+
- signin
|
2147
|
+
' WHERE "users"."id" = 6
|
2148
|
+
[1m[36m (4.3ms)[0m [1mcommit transaction[0m
|
2149
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2150
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
2151
|
+
- signin
|
2152
|
+
' WHERE "users"."id" = 6[0m
|
2153
|
+
[1m[35m (2.7ms)[0m commit transaction
|
2154
|
+
Redirected to http://www.example-client.com/restricted
|
2155
|
+
Completed 302 Found in 15ms (ActiveRecord: 7.6ms)
|
2156
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-04 11:53:05 +0000
|
2157
|
+
Processing by ExampleController#restricted as HTML
|
2158
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
2159
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
2160
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
2161
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2162
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "remotely_signed_out" = 't', "permissions" = '---
|
2163
|
+
- signin
|
2164
|
+
' WHERE "users"."id" = 6
|
2165
|
+
[1m[36m (2.8ms)[0m [1mcommit transaction[0m
|
2166
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-04 11:53:05 +0000
|
2167
|
+
Processing by ExampleController#restricted as HTML
|
2168
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
2169
|
+
Filter chain halted as :authenticate_user! rendered or redirected
|
2170
|
+
Completed 403 Forbidden in 3ms (Views: 1.8ms | ActiveRecord: 0.1ms)
|
2171
|
+
Started GET "/auth/gds/sign_out" for 127.0.0.1 at 2013-10-04 11:53:05 +0000
|
2172
|
+
Processing by AuthenticationsController#sign_out as HTML
|
2173
|
+
Redirected to http://localhost:4567/users/sign_out
|
2174
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
2175
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-04 11:53:06 +0000
|
2176
|
+
Processing by ExampleController#restricted as HTML
|
2177
|
+
Authenticating with gds_sso strategy
|
2178
|
+
Completed in 0ms
|
2179
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-10-04 11:53:06 +0000
|
2180
|
+
Started GET "/auth/gds/callback?code=a445b0f78f7fcb96c5f67df707bdda18c8d6f8e255402eb5fdb3fdd4f7107a4e&state=069acacf2707ee34ee8c62fe146e04e956ebe33d63499378" for 127.0.0.1 at 2013-10-04 11:53:06 +0000
|
2181
|
+
Processing by AuthenticationsController#callback as HTML
|
2182
|
+
Parameters: {"code"=>"a445b0f78f7fcb96c5f67df707bdda18c8d6f8e255402eb5fdb3fdd4f7107a4e", "state"=>"069acacf2707ee34ee8c62fe146e04e956ebe33d63499378"}
|
2183
|
+
Authenticating with gds_sso strategy
|
2184
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
2185
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2186
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
2187
|
+
- signin
|
2188
|
+
' WHERE "users"."id" = 6[0m
|
2189
|
+
[1m[35m (4.5ms)[0m commit transaction
|
2190
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2191
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "remotely_signed_out" = 'f', "permissions" = '---
|
2192
|
+
- signin
|
2193
|
+
' WHERE "users"."id" = 6
|
2194
|
+
[1m[36m (3.0ms)[0m [1mcommit transaction[0m
|
2195
|
+
Redirected to http://www.example-client.com/restricted
|
2196
|
+
Completed 302 Found in 15ms (ActiveRecord: 7.9ms)
|
2197
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-04 11:53:06 +0000
|
2198
|
+
Processing by ExampleController#restricted as HTML
|
2199
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
2200
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
2201
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-04 11:53:06 +0000
|
2202
|
+
Processing by ExampleController#restricted as HTML
|
2203
|
+
Authenticating with gds_sso strategy
|
2204
|
+
Completed in 0ms
|
2205
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-10-04 11:53:06 +0000
|
2206
|
+
Started GET "/auth/gds/callback?code=b36ebf97e8f46ff74a4b4e299cd0b7ec137a9ac1da1d16ff61678ae9fbabbf2c&state=1c2f476c38445734195139417c19d2e9b73ee430defb57c8" for 127.0.0.1 at 2013-10-04 11:53:06 +0000
|
2207
|
+
Processing by AuthenticationsController#callback as HTML
|
2208
|
+
Parameters: {"code"=>"b36ebf97e8f46ff74a4b4e299cd0b7ec137a9ac1da1d16ff61678ae9fbabbf2c", "state"=>"1c2f476c38445734195139417c19d2e9b73ee430defb57c8"}
|
2209
|
+
Authenticating with gds_sso strategy
|
2210
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
2211
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2212
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
2213
|
+
- signin
|
2214
|
+
' WHERE "users"."id" = 6[0m
|
2215
|
+
[1m[35m (4.1ms)[0m commit transaction
|
2216
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2217
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "permissions" = '---
|
2218
|
+
- signin
|
2219
|
+
' WHERE "users"."id" = 6
|
2220
|
+
[1m[36m (2.8ms)[0m [1mcommit transaction[0m
|
2221
|
+
Redirected to http://www.example-client.com/restricted
|
2222
|
+
Completed 302 Found in 15ms (ActiveRecord: 7.4ms)
|
2223
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-04 11:53:06 +0000
|
2224
|
+
Processing by ExampleController#restricted as HTML
|
2225
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
2226
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.1ms)
|
2227
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-05 07:58:06 +0000
|
2228
|
+
Processing by ExampleController#restricted as HTML
|
2229
|
+
Authenticating with gds_sso strategy
|
2230
|
+
Completed in 0ms
|
2231
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-10-05 07:58:06 +0000
|
2232
|
+
Started GET "/auth/gds/callback?code=c8c9d9275c5b5560573226ea5d01eef7595e50346e92839e991596802f8d790b&state=393045a693c13525b75877dd89eae5cc724385a28399104d" for 127.0.0.1 at 2013-10-05 07:58:06 +0000
|
2233
|
+
Processing by AuthenticationsController#callback as HTML
|
2234
|
+
Parameters: {"code"=>"c8c9d9275c5b5560573226ea5d01eef7595e50346e92839e991596802f8d790b", "state"=>"393045a693c13525b75877dd89eae5cc724385a28399104d"}
|
2235
|
+
Authenticating with gds_sso strategy
|
2236
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
2237
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2238
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
2239
|
+
- signin
|
2240
|
+
' WHERE "users"."id" = 6[0m
|
2241
|
+
[1m[35m (4.3ms)[0m commit transaction
|
2242
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2243
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "permissions" = '---
|
2244
|
+
- signin
|
2245
|
+
' WHERE "users"."id" = 6
|
2246
|
+
[1m[36m (3.8ms)[0m [1mcommit transaction[0m
|
2247
|
+
Redirected to http://www.example-client.com/restricted
|
2248
|
+
Completed 302 Found in 46ms (ActiveRecord: 8.7ms)
|
2249
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-05 07:58:06 +0000
|
2250
|
+
Processing by ExampleController#restricted as HTML
|
2251
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
2252
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
2253
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-04 11:53:06 +0000
|
2254
|
+
Processing by ExampleController#restricted as HTML
|
2255
|
+
Authenticating with gds_sso strategy
|
2256
|
+
Completed in 0ms
|
2257
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-10-04 11:53:06 +0000
|
2258
|
+
Started GET "/auth/gds/callback?code=bcfadc014c245982fc8a7e1095c083500c27bd2410f1ad4f035fea95489c65f7&state=3a11f2dda7d8a9fb049b21bde7a49664e6cbff428a8d1e0d" for 127.0.0.1 at 2013-10-04 11:53:06 +0000
|
2259
|
+
Processing by AuthenticationsController#callback as HTML
|
2260
|
+
Parameters: {"code"=>"bcfadc014c245982fc8a7e1095c083500c27bd2410f1ad4f035fea95489c65f7", "state"=>"3a11f2dda7d8a9fb049b21bde7a49664e6cbff428a8d1e0d"}
|
2261
|
+
Authenticating with gds_sso strategy
|
2262
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
2263
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2264
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
2265
|
+
- signin
|
2266
|
+
' WHERE "users"."id" = 6[0m
|
2267
|
+
[1m[35m (4.5ms)[0m commit transaction
|
2268
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2269
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "permissions" = '---
|
2270
|
+
- signin
|
2271
|
+
' WHERE "users"."id" = 6
|
2272
|
+
[1m[36m (2.8ms)[0m [1mcommit transaction[0m
|
2273
|
+
Redirected to http://www.example-client.com/restricted
|
2274
|
+
Completed 302 Found in 15ms (ActiveRecord: 7.8ms)
|
2275
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-04 11:53:06 +0000
|
2276
|
+
Processing by ExampleController#restricted as HTML
|
2277
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
2278
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
2279
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-05 07:48:07 +0000
|
2280
|
+
Processing by ExampleController#restricted as HTML
|
2281
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
2282
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
2283
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-04 11:53:07 +0000
|
2284
|
+
Processing by ExampleController#restricted as JSON
|
2285
|
+
Authenticating with gds_sso_api_access strategy
|
2286
|
+
Completed in 2ms
|
2287
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-04 11:53:07 +0000
|
2288
|
+
Processing by ExampleController#restricted as JSON
|
2289
|
+
Authenticating with gds_sso_api_access strategy
|
2290
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
2291
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-10-04 11:53:07 +0000
|
2292
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
2293
|
+
Authenticating with gds_sso_api_access strategy
|
2294
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
2295
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-04 11:53:07 +0000
|
2296
|
+
Processing by ExampleController#restricted as JSON
|
2297
|
+
Authenticating with gds_bearer_token strategy
|
2298
|
+
Completed in 7ms
|
2299
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-04 11:53:07 +0000
|
2300
|
+
Processing by ExampleController#restricted as JSON
|
2301
|
+
Authenticating with gds_bearer_token strategy
|
2302
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
2303
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2304
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "permissions" = '---
|
2305
|
+
- signin
|
2306
|
+
' WHERE "users"."id" = 6
|
2307
|
+
[1m[36m (4.0ms)[0m [1mcommit transaction[0m
|
2308
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2309
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
2310
|
+
- signin
|
2311
|
+
' WHERE "users"."id" = 6[0m
|
2312
|
+
[1m[35m (2.9ms)[0m commit transaction
|
2313
|
+
Completed 200 OK in 36ms (Views: 0.2ms | ActiveRecord: 7.5ms)
|
2314
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-10-04 11:53:07 +0000
|
2315
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
2316
|
+
Authenticating with gds_bearer_token strategy
|
2317
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
2318
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2319
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
2320
|
+
- signin
|
2321
|
+
' WHERE "users"."id" = 6[0m
|
2322
|
+
[1m[35m (3.4ms)[0m commit transaction
|
2323
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2324
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "permissions" = '---
|
2325
|
+
- signin
|
2326
|
+
' WHERE "users"."id" = 6
|
2327
|
+
[1m[36m (2.8ms)[0m [1mcommit transaction[0m
|
2328
|
+
Completed 200 OK in 37ms (Views: 0.2ms | ActiveRecord: 6.7ms)
|
2329
|
+
Connecting to database specified by database.yml
|
2330
|
+
[1m[36m (0.7ms)[0m [1mselect sqlite_version(*)[0m
|
2331
|
+
[1m[35m (16.2ms)[0m DROP TABLE "users"
|
2332
|
+
[1m[36m (10.7ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "uid" varchar(255) NOT NULL, "email" varchar(255) NOT NULL, "remotely_signed_out" boolean, "permissions" text) [0m
|
2333
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2334
|
+
[1m[36mSQL (1.7ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?)[0m [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d39466"]]
|
2335
|
+
[1m[35m (11.0ms)[0m commit transaction
|
2336
|
+
WARNING: Can't mass-assign protected attributes: uid, name, permissions
|
2337
|
+
Processing by Api::UserController#update as HTML
|
2338
|
+
Parameters: {"uid"=>"a1s2d39466"}
|
2339
|
+
Rendered /home/jenkins/workspace/govuk_gds_sso/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.7ms)
|
2340
|
+
Completed 403 Forbidden in 5.7ms (Views: 5.2ms | ActiveRecord: 0.0ms)
|
2341
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2342
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d3645"]]
|
2343
|
+
[1m[36m (13.0ms)[0m [1mcommit transaction[0m
|
2344
|
+
Processing by Api::UserController#update as HTML
|
2345
|
+
Parameters: {"uid"=>"a1s2d3645"}
|
2346
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d3645' LIMIT 1
|
2347
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2348
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "email" = 'user@domain.com', "name" = 'Joshua Marshall', "permissions" = '---
|
2349
|
+
- signin
|
2350
|
+
- new permission
|
2351
|
+
' WHERE "users"."id" = 2
|
2352
|
+
[1m[36m (10.6ms)[0m [1mcommit transaction[0m
|
2353
|
+
Completed 200 OK in 17.7ms (ActiveRecord: 10.9ms)
|
2354
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
|
2355
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2356
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d31950"]]
|
2357
|
+
[1m[36m (9.6ms)[0m [1mcommit transaction[0m
|
2358
|
+
WARNING: Can't mass-assign protected attributes: uid, name, permissions
|
2359
|
+
Processing by Api::UserController#reauth as HTML
|
2360
|
+
Parameters: {"uid"=>"a1s2d31950"}
|
2361
|
+
Completed 403 Forbidden in 1.5ms (Views: 0.9ms | ActiveRecord: 0.0ms)
|
2362
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2363
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?)[0m [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d32120"]]
|
2364
|
+
[1m[35m (10.4ms)[0m commit transaction
|
2365
|
+
Processing by Api::UserController#reauth as HTML
|
2366
|
+
Parameters: {"uid"=>"nonexistent-user"}
|
2367
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'nonexistent-user' LIMIT 1[0m
|
2368
|
+
Completed 200 OK in 0.9ms (ActiveRecord: 0.2ms)
|
2369
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2370
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?)[0m [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d31170"]]
|
2371
|
+
[1m[35m (8.5ms)[0m commit transaction
|
2372
|
+
Processing by Api::UserController#reauth as HTML
|
2373
|
+
Parameters: {"uid"=>"a1s2d31170"}
|
2374
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d31170' LIMIT 1[0m
|
2375
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2376
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = 't', "permissions" = '---
|
2377
|
+
- signin
|
2378
|
+
' WHERE "users"."id" = 5[0m
|
2379
|
+
[1m[35m (7.7ms)[0m commit transaction
|
2380
|
+
Completed 200 OK in 11.3ms (ActiveRecord: 8.1ms)
|
2381
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 5]]
|
2382
|
+
Started GET "/" for 127.0.0.1 at 2013-10-21 08:59:36 +0000
|
2383
|
+
Processing by ExampleController#index as HTML
|
2384
|
+
Completed 200 OK in 1.7ms (Views: 1.4ms | ActiveRecord: 0.0ms)
|
2385
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-21 08:59:36 +0000
|
2386
|
+
Processing by ExampleController#restricted as HTML
|
2387
|
+
Authenticating with gds_sso strategy
|
2388
|
+
Completed in 3.3ms
|
2389
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-10-21 08:59:36 +0000
|
2390
|
+
Started GET "/auth/gds/callback?code=9e4a7c53d9d79a13544760f76b1cac7205cbfac73b00d482dfb3600979635971&state=f1240fbbdb3835d15211c5bb2670afa3d9dcddefaa6f2581" for 127.0.0.1 at 2013-10-21 08:59:37 +0000
|
2391
|
+
Processing by AuthenticationsController#callback as HTML
|
2392
|
+
Parameters: {"code"=>"9e4a7c53d9d79a13544760f76b1cac7205cbfac73b00d482dfb3600979635971", "state"=>"f1240fbbdb3835d15211c5bb2670afa3d9dcddefaa6f2581"}
|
2393
|
+
Authenticating with gds_sso strategy
|
2394
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
2395
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2396
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?) [["email", "test@example-client.com"], ["name", "Test User"], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "integration-uid"]]
|
2397
|
+
[1m[36m (4.3ms)[0m [1mcommit transaction[0m
|
2398
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2399
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = 'f', "permissions" = '---
|
2400
|
+
- signin
|
2401
|
+
' WHERE "users"."id" = 6[0m
|
2402
|
+
[1m[35m (3.1ms)[0m commit transaction
|
2403
|
+
Redirected to http://www.example-client.com/restricted
|
2404
|
+
Completed 302 Found in 14.2ms (ActiveRecord: 7.9ms)
|
2405
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-21 08:59:37 +0000
|
2406
|
+
Processing by ExampleController#restricted as HTML
|
2407
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
2408
|
+
Completed 200 OK in 1.1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
2409
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-21 08:59:38 +0000
|
2410
|
+
Processing by ExampleController#restricted as HTML
|
2411
|
+
Authenticating with gds_sso strategy
|
2412
|
+
Completed in 0.2ms
|
2413
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-10-21 08:59:38 +0000
|
2414
|
+
Started GET "/auth/gds/callback?code=acf9b7b1bd87cda6b6c89084ecbf678bf212173cdab1abf3807bb843f5a44723&state=497cb4bb8a4498b035bc0404bee7583d6950a0b360f044e2" for 127.0.0.1 at 2013-10-21 08:59:38 +0000
|
2415
|
+
Processing by AuthenticationsController#callback as HTML
|
2416
|
+
Parameters: {"code"=>"acf9b7b1bd87cda6b6c89084ecbf678bf212173cdab1abf3807bb843f5a44723", "state"=>"497cb4bb8a4498b035bc0404bee7583d6950a0b360f044e2"}
|
2417
|
+
Authenticating with gds_sso strategy
|
2418
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
2419
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2420
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "permissions" = '---
|
2421
|
+
- signin
|
2422
|
+
' WHERE "users"."id" = 6
|
2423
|
+
[1m[36m (4.6ms)[0m [1mcommit transaction[0m
|
2424
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2425
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
2426
|
+
- signin
|
2427
|
+
' WHERE "users"."id" = 6[0m
|
2428
|
+
[1m[35m (3.4ms)[0m commit transaction
|
2429
|
+
Redirected to http://www.example-client.com/restricted
|
2430
|
+
Completed 302 Found in 16.1ms (ActiveRecord: 8.5ms)
|
2431
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-21 08:59:38 +0000
|
2432
|
+
Processing by ExampleController#restricted as HTML
|
2433
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
2434
|
+
Completed 200 OK in 1.1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
2435
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-21 08:59:38 +0000
|
2436
|
+
Processing by ExampleController#restricted as HTML
|
2437
|
+
Authenticating with gds_sso strategy
|
2438
|
+
Completed in 0.2ms
|
2439
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-10-21 08:59:38 +0000
|
2440
|
+
Started GET "/auth/gds/callback?code=08137148f6a030dcade8fc1c7df6aaace857d94ef1e1763edf8283d732a11ecc&state=c8023e5955ab4278f87310670fcca4eaf03bfb30a1e2c032" for 127.0.0.1 at 2013-10-21 08:59:38 +0000
|
2441
|
+
Processing by AuthenticationsController#callback as HTML
|
2442
|
+
Parameters: {"code"=>"08137148f6a030dcade8fc1c7df6aaace857d94ef1e1763edf8283d732a11ecc", "state"=>"c8023e5955ab4278f87310670fcca4eaf03bfb30a1e2c032"}
|
2443
|
+
Authenticating with gds_sso strategy
|
2444
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
2445
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2446
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "permissions" = '---
|
2447
|
+
- signin
|
2448
|
+
' WHERE "users"."id" = 6
|
2449
|
+
[1m[36m (4.1ms)[0m [1mcommit transaction[0m
|
2450
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2451
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
2452
|
+
- signin
|
2453
|
+
' WHERE "users"."id" = 6[0m
|
2454
|
+
[1m[35m (2.8ms)[0m commit transaction
|
2455
|
+
Redirected to http://www.example-client.com/restricted
|
2456
|
+
Completed 302 Found in 14.5ms (ActiveRecord: 7.4ms)
|
2457
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-21 08:59:38 +0000
|
2458
|
+
Processing by ExampleController#restricted as HTML
|
2459
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
2460
|
+
Completed 200 OK in 0.9ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
2461
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-10-21 08:59:38 +0000
|
2462
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
2463
|
+
Authenticating with gds_sso strategy
|
2464
|
+
Completed in 0.6ms
|
2465
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-10-21 08:59:38 +0000
|
2466
|
+
Started GET "/auth/gds/callback?code=7be251ef7b108391155bbc351de1350e8977a89897b04b67f965ef2057d46729&state=5a8faaeaddde3ee3bc2fecf27ad00a0f1a0ed90e01dea17b" for 127.0.0.1 at 2013-10-21 08:59:38 +0000
|
2467
|
+
Processing by AuthenticationsController#callback as HTML
|
2468
|
+
Parameters: {"code"=>"7be251ef7b108391155bbc351de1350e8977a89897b04b67f965ef2057d46729", "state"=>"5a8faaeaddde3ee3bc2fecf27ad00a0f1a0ed90e01dea17b"}
|
2469
|
+
Authenticating with gds_sso strategy
|
2470
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
2471
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2472
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "permissions" = '---
|
2473
|
+
- signin
|
2474
|
+
' WHERE "users"."id" = 6
|
2475
|
+
[1m[36m (5.3ms)[0m [1mcommit transaction[0m
|
2476
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2477
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
2478
|
+
- signin
|
2479
|
+
' WHERE "users"."id" = 6[0m
|
2480
|
+
[1m[35m (4.7ms)[0m commit transaction
|
2481
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
2482
|
+
Completed 302 Found in 18.2ms (ActiveRecord: 10.5ms)
|
2483
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-10-21 08:59:38 +0000
|
2484
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
2485
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
2486
|
+
Completed 200 OK in 2.8ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
2487
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-10-21 08:59:38 +0000
|
2488
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
2489
|
+
Authenticating with gds_sso strategy
|
2490
|
+
Completed in 0.1ms
|
2491
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-10-21 08:59:38 +0000
|
2492
|
+
Started GET "/auth/gds/callback?code=f84048344d9191d02a01569374e42a08dee9cb6955f58664e2f6d21335502d4f&state=dd641334695cfd3cc1077afbb0b729cf985bc659c8f4ede6" for 127.0.0.1 at 2013-10-21 08:59:39 +0000
|
2493
|
+
Processing by AuthenticationsController#callback as HTML
|
2494
|
+
Parameters: {"code"=>"f84048344d9191d02a01569374e42a08dee9cb6955f58664e2f6d21335502d4f", "state"=>"dd641334695cfd3cc1077afbb0b729cf985bc659c8f4ede6"}
|
2495
|
+
Authenticating with gds_sso strategy
|
2496
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
2497
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2498
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "permissions" = '---
|
2499
|
+
- signin
|
2500
|
+
' WHERE "users"."id" = 6
|
2501
|
+
[1m[36m (5.0ms)[0m [1mcommit transaction[0m
|
2502
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2503
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
2504
|
+
- signin
|
2505
|
+
' WHERE "users"."id" = 6[0m
|
2506
|
+
[1m[35m (3.8ms)[0m commit transaction
|
2507
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
2508
|
+
Completed 302 Found in 16.7ms (ActiveRecord: 9.4ms)
|
2509
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-10-21 08:59:39 +0000
|
2510
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
2511
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
2512
|
+
Completed 200 OK in 2.7ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
2513
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-21 08:59:39 +0000
|
2514
|
+
Processing by ExampleController#restricted as HTML
|
2515
|
+
Authenticating with gds_sso strategy
|
2516
|
+
Completed in 0.2ms
|
2517
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-10-21 08:59:39 +0000
|
2518
|
+
Started GET "/auth/gds/callback?code=b543b9ea990a206e79a6897eb1932a9b98279d3bc932a9b14e38e8c6f65b2731&state=544ce6e653ec06a528a7b12f680eb099729f4a6569715fe2" for 127.0.0.1 at 2013-10-21 08:59:39 +0000
|
2519
|
+
Processing by AuthenticationsController#callback as HTML
|
2520
|
+
Parameters: {"code"=>"b543b9ea990a206e79a6897eb1932a9b98279d3bc932a9b14e38e8c6f65b2731", "state"=>"544ce6e653ec06a528a7b12f680eb099729f4a6569715fe2"}
|
2521
|
+
Authenticating with gds_sso strategy
|
2522
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
2523
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2524
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "permissions" = '---
|
2525
|
+
- signin
|
2526
|
+
' WHERE "users"."id" = 6
|
2527
|
+
[1m[36m (6.9ms)[0m [1mcommit transaction[0m
|
2528
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2529
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
2530
|
+
- signin
|
2531
|
+
' WHERE "users"."id" = 6[0m
|
2532
|
+
[1m[35m (2.9ms)[0m commit transaction
|
2533
|
+
Redirected to http://www.example-client.com/restricted
|
2534
|
+
Completed 302 Found in 17.6ms (ActiveRecord: 10.2ms)
|
2535
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-21 08:59:39 +0000
|
2536
|
+
Processing by ExampleController#restricted as HTML
|
2537
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
2538
|
+
Completed 200 OK in 1.1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
2539
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
2540
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2541
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "remotely_signed_out" = 't', "permissions" = '---
|
2542
|
+
- signin
|
2543
|
+
' WHERE "users"."id" = 6
|
2544
|
+
[1m[36m (4.1ms)[0m [1mcommit transaction[0m
|
2545
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-21 08:59:39 +0000
|
2546
|
+
Processing by ExampleController#restricted as HTML
|
2547
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
2548
|
+
Filter chain halted as :authenticate_user! rendered or redirected
|
2549
|
+
Completed 403 Forbidden in 2.5ms (Views: 1.7ms | ActiveRecord: 0.1ms)
|
2550
|
+
Started GET "/auth/gds/sign_out" for 127.0.0.1 at 2013-10-21 08:59:39 +0000
|
2551
|
+
Processing by AuthenticationsController#sign_out as HTML
|
2552
|
+
Redirected to http://localhost:4567/users/sign_out
|
2553
|
+
Completed 302 Found in 0.4ms (ActiveRecord: 0.0ms)
|
2554
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-21 08:59:39 +0000
|
2555
|
+
Processing by ExampleController#restricted as HTML
|
2556
|
+
Authenticating with gds_sso strategy
|
2557
|
+
Completed in 0.2ms
|
2558
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-10-21 08:59:39 +0000
|
2559
|
+
Started GET "/auth/gds/callback?code=c414167674321a74ad1460a9fcc4c24b8ecfd612bf209e9c160249c51b02b05c&state=6d4b192a4b2304818d63a0ac5511f3967ba29f9275e35d0d" for 127.0.0.1 at 2013-10-21 08:59:39 +0000
|
2560
|
+
Processing by AuthenticationsController#callback as HTML
|
2561
|
+
Parameters: {"code"=>"c414167674321a74ad1460a9fcc4c24b8ecfd612bf209e9c160249c51b02b05c", "state"=>"6d4b192a4b2304818d63a0ac5511f3967ba29f9275e35d0d"}
|
2562
|
+
Authenticating with gds_sso strategy
|
2563
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
2564
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2565
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
2566
|
+
- signin
|
2567
|
+
' WHERE "users"."id" = 6[0m
|
2568
|
+
[1m[35m (4.3ms)[0m commit transaction
|
2569
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2570
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "remotely_signed_out" = 'f', "permissions" = '---
|
2571
|
+
- signin
|
2572
|
+
' WHERE "users"."id" = 6
|
2573
|
+
[1m[36m (3.4ms)[0m [1mcommit transaction[0m
|
2574
|
+
Redirected to http://www.example-client.com/restricted
|
2575
|
+
Completed 302 Found in 15.4ms (ActiveRecord: 8.3ms)
|
2576
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-21 08:59:39 +0000
|
2577
|
+
Processing by ExampleController#restricted as HTML
|
2578
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
2579
|
+
Completed 200 OK in 1.1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
2580
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-21 08:59:39 +0000
|
2581
|
+
Processing by ExampleController#restricted as HTML
|
2582
|
+
Authenticating with gds_sso strategy
|
2583
|
+
Completed in 0.2ms
|
2584
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-10-21 08:59:39 +0000
|
2585
|
+
Started GET "/auth/gds/callback?code=0981412c345ec339d41ab7a71727ffb918f19d9d96b39e88d4efa448ab4ddc5b&state=a21c3ff3622ebd028d390eaf4604874b36a4918312bf0708" for 127.0.0.1 at 2013-10-21 08:59:40 +0000
|
2586
|
+
Processing by AuthenticationsController#callback as HTML
|
2587
|
+
Parameters: {"code"=>"0981412c345ec339d41ab7a71727ffb918f19d9d96b39e88d4efa448ab4ddc5b", "state"=>"a21c3ff3622ebd028d390eaf4604874b36a4918312bf0708"}
|
2588
|
+
Authenticating with gds_sso strategy
|
2589
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
2590
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2591
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
2592
|
+
- signin
|
2593
|
+
' WHERE "users"."id" = 6[0m
|
2594
|
+
[1m[35m (6.1ms)[0m commit transaction
|
2595
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2596
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "permissions" = '---
|
2597
|
+
- signin
|
2598
|
+
' WHERE "users"."id" = 6
|
2599
|
+
[1m[36m (3.1ms)[0m [1mcommit transaction[0m
|
2600
|
+
Redirected to http://www.example-client.com/restricted
|
2601
|
+
Completed 302 Found in 50.6ms (ActiveRecord: 9.8ms)
|
2602
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-21 08:59:40 +0000
|
2603
|
+
Processing by ExampleController#restricted as HTML
|
2604
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
2605
|
+
Completed 200 OK in 1.3ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
2606
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-22 05:04:40 +0000
|
2607
|
+
Processing by ExampleController#restricted as HTML
|
2608
|
+
Authenticating with gds_sso strategy
|
2609
|
+
Completed in 0.3ms
|
2610
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-10-22 05:04:40 +0000
|
2611
|
+
Started GET "/auth/gds/callback?code=7208885479dedf545807ed283aec1513bb62d9094b6a32ed2d8f8c2f9142f1e1&state=45b0115e837090bbf47e9faec63c064c0f2fd640a454af24" for 127.0.0.1 at 2013-10-22 05:04:40 +0000
|
2612
|
+
Processing by AuthenticationsController#callback as HTML
|
2613
|
+
Parameters: {"code"=>"7208885479dedf545807ed283aec1513bb62d9094b6a32ed2d8f8c2f9142f1e1", "state"=>"45b0115e837090bbf47e9faec63c064c0f2fd640a454af24"}
|
2614
|
+
Authenticating with gds_sso strategy
|
2615
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
2616
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2617
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
2618
|
+
- signin
|
2619
|
+
' WHERE "users"."id" = 6[0m
|
2620
|
+
[1m[35m (6.0ms)[0m commit transaction
|
2621
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2622
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "permissions" = '---
|
2623
|
+
- signin
|
2624
|
+
' WHERE "users"."id" = 6
|
2625
|
+
[1m[36m (3.8ms)[0m [1mcommit transaction[0m
|
2626
|
+
Redirected to http://www.example-client.com/restricted
|
2627
|
+
Completed 302 Found in 17.8ms (ActiveRecord: 10.4ms)
|
2628
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-22 05:04:40 +0000
|
2629
|
+
Processing by ExampleController#restricted as HTML
|
2630
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
2631
|
+
Completed 200 OK in 1.1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
2632
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-21 08:59:40 +0000
|
2633
|
+
Processing by ExampleController#restricted as HTML
|
2634
|
+
Authenticating with gds_sso strategy
|
2635
|
+
Completed in 0.3ms
|
2636
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-10-21 08:59:40 +0000
|
2637
|
+
Started GET "/auth/gds/callback?code=4317672d83fe2e79f460d6e347e5e1b7420970edc7386c8a665ddb6de0322854&state=644d45d39ee8eda36f6486f0b22821e0159a0ce0c613983a" for 127.0.0.1 at 2013-10-21 08:59:40 +0000
|
2638
|
+
Processing by AuthenticationsController#callback as HTML
|
2639
|
+
Parameters: {"code"=>"4317672d83fe2e79f460d6e347e5e1b7420970edc7386c8a665ddb6de0322854", "state"=>"644d45d39ee8eda36f6486f0b22821e0159a0ce0c613983a"}
|
2640
|
+
Authenticating with gds_sso strategy
|
2641
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
2642
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2643
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
2644
|
+
- signin
|
2645
|
+
' WHERE "users"."id" = 6[0m
|
2646
|
+
[1m[35m (4.2ms)[0m commit transaction
|
2647
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2648
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "permissions" = '---
|
2649
|
+
- signin
|
2650
|
+
' WHERE "users"."id" = 6
|
2651
|
+
[1m[36m (2.7ms)[0m [1mcommit transaction[0m
|
2652
|
+
Redirected to http://www.example-client.com/restricted
|
2653
|
+
Completed 302 Found in 15.1ms (ActiveRecord: 7.5ms)
|
2654
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-21 08:59:40 +0000
|
2655
|
+
Processing by ExampleController#restricted as HTML
|
2656
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
2657
|
+
Completed 200 OK in 1.1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
2658
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-22 04:54:40 +0000
|
2659
|
+
Processing by ExampleController#restricted as HTML
|
2660
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
2661
|
+
Completed 200 OK in 0.9ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
2662
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-21 08:59:40 +0000
|
2663
|
+
Processing by ExampleController#restricted as JSON
|
2664
|
+
Authenticating with gds_sso_api_access strategy
|
2665
|
+
Completed in 2.1ms
|
2666
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-21 08:59:40 +0000
|
2667
|
+
Processing by ExampleController#restricted as JSON
|
2668
|
+
Authenticating with gds_sso_api_access strategy
|
2669
|
+
Completed 200 OK in 0.9ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
2670
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-10-21 08:59:40 +0000
|
2671
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
2672
|
+
Authenticating with gds_sso_api_access strategy
|
2673
|
+
Completed 200 OK in 0.7ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
2674
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-21 08:59:40 +0000
|
2675
|
+
Processing by ExampleController#restricted as JSON
|
2676
|
+
Authenticating with gds_bearer_token strategy
|
2677
|
+
Completed in 7.1ms
|
2678
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-21 08:59:40 +0000
|
2679
|
+
Processing by ExampleController#restricted as JSON
|
2680
|
+
Authenticating with gds_bearer_token strategy
|
2681
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
2682
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2683
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "permissions" = '---
|
2684
|
+
- signin
|
2685
|
+
' WHERE "users"."id" = 6
|
2686
|
+
[1m[36m (3.9ms)[0m [1mcommit transaction[0m
|
2687
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2688
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
2689
|
+
- signin
|
2690
|
+
' WHERE "users"."id" = 6[0m
|
2691
|
+
[1m[35m (2.8ms)[0m commit transaction
|
2692
|
+
Completed 200 OK in 35.9ms (Views: 0.2ms | ActiveRecord: 7.2ms)
|
2693
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-10-21 08:59:40 +0000
|
2694
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
2695
|
+
Authenticating with gds_bearer_token strategy
|
2696
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
2697
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2698
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
2699
|
+
- signin
|
2700
|
+
' WHERE "users"."id" = 6[0m
|
2701
|
+
[1m[35m (4.0ms)[0m commit transaction
|
2702
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2703
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "permissions" = '---
|
2704
|
+
- signin
|
2705
|
+
' WHERE "users"."id" = 6
|
2706
|
+
[1m[36m (2.6ms)[0m [1mcommit transaction[0m
|
2707
|
+
Completed 200 OK in 36.5ms (Views: 0.2ms | ActiveRecord: 7.0ms)
|
2708
|
+
Connecting to database specified by database.yml
|
2709
|
+
[1m[36m (0.9ms)[0m [1mselect sqlite_version(*)[0m
|
2710
|
+
[1m[35m (9.5ms)[0m DROP TABLE "users"
|
2711
|
+
[1m[36m (3.8ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "uid" varchar(255) NOT NULL, "email" varchar(255) NOT NULL, "remotely_signed_out" boolean, "permissions" text) [0m
|
2712
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2713
|
+
[1m[36mSQL (2.5ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?)[0m [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d37932"]]
|
2714
|
+
[1m[35m (5.5ms)[0m commit transaction
|
2715
|
+
WARNING: Can't mass-assign protected attributes: uid, name, permissions
|
2716
|
+
Processing by Api::UserController#update as HTML
|
2717
|
+
Parameters: {"uid"=>"a1s2d37932"}
|
2718
|
+
Rendered /home/jenkins/workspace/govuk_gds_sso/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.9ms)
|
2719
|
+
Completed 403 Forbidden in 7.7ms (Views: 7.0ms | ActiveRecord: 0.0ms)
|
2720
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2721
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d36842"]]
|
2722
|
+
[1m[36m (5.6ms)[0m [1mcommit transaction[0m
|
2723
|
+
Processing by Api::UserController#update as HTML
|
2724
|
+
Parameters: {"uid"=>"a1s2d36842"}
|
2725
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d36842' LIMIT 1
|
2726
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2727
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "email" = 'user@domain.com', "name" = 'Joshua Marshall', "permissions" = '---
|
2728
|
+
- signin
|
2729
|
+
- new permission
|
2730
|
+
' WHERE "users"."id" = 2
|
2731
|
+
[1m[36m (4.2ms)[0m [1mcommit transaction[0m
|
2732
|
+
Completed 200 OK in 42.0ms (ActiveRecord: 4.7ms)
|
2733
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
|
2734
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2735
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d31391"]]
|
2736
|
+
[1m[36m (4.2ms)[0m [1mcommit transaction[0m
|
2737
|
+
WARNING: Can't mass-assign protected attributes: uid, name, permissions
|
2738
|
+
Processing by Api::UserController#reauth as HTML
|
2739
|
+
Parameters: {"uid"=>"a1s2d31391"}
|
2740
|
+
Completed 403 Forbidden in 1.9ms (Views: 1.1ms | ActiveRecord: 0.0ms)
|
2741
|
+
[1m[35m (0.3ms)[0m begin transaction
|
2742
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?)[0m [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d38574"]]
|
2743
|
+
[1m[35m (5.8ms)[0m commit transaction
|
2744
|
+
Processing by Api::UserController#reauth as HTML
|
2745
|
+
Parameters: {"uid"=>"nonexistent-user"}
|
2746
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'nonexistent-user' LIMIT 1[0m
|
2747
|
+
Completed 200 OK in 1.2ms (ActiveRecord: 0.2ms)
|
2748
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2749
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?)[0m [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d3671"]]
|
2750
|
+
[1m[35m (6.2ms)[0m commit transaction
|
2751
|
+
Processing by Api::UserController#reauth as HTML
|
2752
|
+
Parameters: {"uid"=>"a1s2d3671"}
|
2753
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d3671' LIMIT 1[0m
|
2754
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2755
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = 't', "permissions" = '---
|
2756
|
+
- signin
|
2757
|
+
' WHERE "users"."id" = 5[0m
|
2758
|
+
[1m[35m (5.4ms)[0m commit transaction
|
2759
|
+
Completed 200 OK in 10.0ms (ActiveRecord: 5.8ms)
|
2760
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 5]]
|
2761
|
+
Started GET "/" for 127.0.0.1 at 2013-10-29 22:06:47 +0000
|
2762
|
+
Processing by ExampleController#index as HTML
|
2763
|
+
Completed 200 OK in 2.4ms (Views: 1.9ms | ActiveRecord: 0.0ms)
|
2764
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-29 22:06:47 +0000
|
2765
|
+
Processing by ExampleController#restricted as HTML
|
2766
|
+
Authenticating with gds_sso strategy
|
2767
|
+
Completed in 3.0ms
|
2768
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-10-29 22:06:47 +0000
|
2769
|
+
Started GET "/auth/gds/callback?code=bfad229443ad7f7c502d74dd1855733f173dece7f39002680a485f6de3530cdc&state=fc0b308a709a3db43e2be9c3a6199dcabae1321711cffbaf" for 127.0.0.1 at 2013-10-29 22:06:48 +0000
|
2770
|
+
Processing by AuthenticationsController#callback as HTML
|
2771
|
+
Parameters: {"code"=>"bfad229443ad7f7c502d74dd1855733f173dece7f39002680a485f6de3530cdc", "state"=>"fc0b308a709a3db43e2be9c3a6199dcabae1321711cffbaf"}
|
2772
|
+
Authenticating with gds_sso strategy
|
2773
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
2774
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2775
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?) [["email", "test@example-client.com"], ["name", "Test User"], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "integration-uid"]]
|
2776
|
+
[1m[36m (4.5ms)[0m [1mcommit transaction[0m
|
2777
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2778
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = 'f', "permissions" = '---
|
2779
|
+
- signin
|
2780
|
+
' WHERE "users"."id" = 6[0m
|
2781
|
+
[1m[35m (3.1ms)[0m commit transaction
|
2782
|
+
Redirected to http://www.example-client.com/restricted
|
2783
|
+
Completed 302 Found in 16.3ms (ActiveRecord: 8.3ms)
|
2784
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-29 22:06:48 +0000
|
2785
|
+
Processing by ExampleController#restricted as HTML
|
2786
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
2787
|
+
Completed 200 OK in 1.4ms (Views: 0.4ms | ActiveRecord: 0.1ms)
|
2788
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-29 22:06:48 +0000
|
2789
|
+
Processing by ExampleController#restricted as HTML
|
2790
|
+
Authenticating with gds_sso strategy
|
2791
|
+
Completed in 0.3ms
|
2792
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-10-29 22:06:48 +0000
|
2793
|
+
Started GET "/auth/gds/callback?code=c2c08bb86316bb1761eeb0541653a936428c95b3a3a8851505d98d118ffcfcc5&state=09328c483f66a296fe1ddad1daabedc98cb879092dfc0a87" for 127.0.0.1 at 2013-10-29 22:06:48 +0000
|
2794
|
+
Processing by AuthenticationsController#callback as HTML
|
2795
|
+
Parameters: {"code"=>"c2c08bb86316bb1761eeb0541653a936428c95b3a3a8851505d98d118ffcfcc5", "state"=>"09328c483f66a296fe1ddad1daabedc98cb879092dfc0a87"}
|
2796
|
+
Authenticating with gds_sso strategy
|
2797
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
2798
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2799
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "permissions" = '---
|
2800
|
+
- signin
|
2801
|
+
' WHERE "users"."id" = 6
|
2802
|
+
[1m[36m (5.3ms)[0m [1mcommit transaction[0m
|
2803
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2804
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
2805
|
+
- signin
|
2806
|
+
' WHERE "users"."id" = 6[0m
|
2807
|
+
[1m[35m (4.3ms)[0m commit transaction
|
2808
|
+
Redirected to http://www.example-client.com/restricted
|
2809
|
+
Completed 302 Found in 19.6ms (ActiveRecord: 10.2ms)
|
2810
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-29 22:06:48 +0000
|
2811
|
+
Processing by ExampleController#restricted as HTML
|
2812
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
2813
|
+
Completed 200 OK in 1.3ms (Views: 0.4ms | ActiveRecord: 0.1ms)
|
2814
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-29 22:06:48 +0000
|
2815
|
+
Processing by ExampleController#restricted as HTML
|
2816
|
+
Authenticating with gds_sso strategy
|
2817
|
+
Completed in 0.2ms
|
2818
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-10-29 22:06:48 +0000
|
2819
|
+
Started GET "/auth/gds/callback?code=505af0ae594cc55882709086d0cc7ee978a4db8c0b1a746ea75f8e92502e8562&state=3c8d9960c716970b360f9731211ace4e9132e163f0e5404a" for 127.0.0.1 at 2013-10-29 22:06:49 +0000
|
2820
|
+
Processing by AuthenticationsController#callback as HTML
|
2821
|
+
Parameters: {"code"=>"505af0ae594cc55882709086d0cc7ee978a4db8c0b1a746ea75f8e92502e8562", "state"=>"3c8d9960c716970b360f9731211ace4e9132e163f0e5404a"}
|
2822
|
+
Authenticating with gds_sso strategy
|
2823
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
2824
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2825
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "permissions" = '---
|
2826
|
+
- signin
|
2827
|
+
' WHERE "users"."id" = 6
|
2828
|
+
[1m[36m (4.3ms)[0m [1mcommit transaction[0m
|
2829
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2830
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
2831
|
+
- signin
|
2832
|
+
' WHERE "users"."id" = 6[0m
|
2833
|
+
[1m[35m (3.7ms)[0m commit transaction
|
2834
|
+
Redirected to http://www.example-client.com/restricted
|
2835
|
+
Completed 302 Found in 16.8ms (ActiveRecord: 8.6ms)
|
2836
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-29 22:06:49 +0000
|
2837
|
+
Processing by ExampleController#restricted as HTML
|
2838
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
2839
|
+
Completed 200 OK in 1.2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
2840
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-10-29 22:06:49 +0000
|
2841
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
2842
|
+
Authenticating with gds_sso strategy
|
2843
|
+
Completed in 0.8ms
|
2844
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-10-29 22:06:49 +0000
|
2845
|
+
Started GET "/auth/gds/callback?code=ea532f74d907a78bedf124318d2ecf6786cff724fc7452359397fae5521cfa18&state=417e3e0a955e869d810faade85b70fd2a161428d15f186b7" for 127.0.0.1 at 2013-10-29 22:06:49 +0000
|
2846
|
+
Processing by AuthenticationsController#callback as HTML
|
2847
|
+
Parameters: {"code"=>"ea532f74d907a78bedf124318d2ecf6786cff724fc7452359397fae5521cfa18", "state"=>"417e3e0a955e869d810faade85b70fd2a161428d15f186b7"}
|
2848
|
+
Authenticating with gds_sso strategy
|
2849
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
2850
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2851
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "permissions" = '---
|
2852
|
+
- signin
|
2853
|
+
' WHERE "users"."id" = 6
|
2854
|
+
[1m[36m (5.3ms)[0m [1mcommit transaction[0m
|
2855
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2856
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
2857
|
+
- signin
|
2858
|
+
' WHERE "users"."id" = 6[0m
|
2859
|
+
[1m[35m (4.0ms)[0m commit transaction
|
2860
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
2861
|
+
Completed 302 Found in 20.0ms (ActiveRecord: 10.1ms)
|
2862
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-10-29 22:06:49 +0000
|
2863
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
2864
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
2865
|
+
Completed 200 OK in 3.5ms (Views: 0.4ms | ActiveRecord: 0.1ms)
|
2866
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-10-29 22:06:49 +0000
|
2867
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
2868
|
+
Authenticating with gds_sso strategy
|
2869
|
+
Completed in 0.2ms
|
2870
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-10-29 22:06:49 +0000
|
2871
|
+
Started GET "/auth/gds/callback?code=07eaba147159a74f8e48e1d1533c3094c0834ea078b062a7c7f93ac6d02a1e05&state=398859ae46c844aceac2371aa2d17491b72de59865a9f0cd" for 127.0.0.1 at 2013-10-29 22:06:49 +0000
|
2872
|
+
Processing by AuthenticationsController#callback as HTML
|
2873
|
+
Parameters: {"code"=>"07eaba147159a74f8e48e1d1533c3094c0834ea078b062a7c7f93ac6d02a1e05", "state"=>"398859ae46c844aceac2371aa2d17491b72de59865a9f0cd"}
|
2874
|
+
Authenticating with gds_sso strategy
|
2875
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
2876
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2877
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "permissions" = '---
|
2878
|
+
- signin
|
2879
|
+
' WHERE "users"."id" = 6
|
2880
|
+
[1m[36m (5.4ms)[0m [1mcommit transaction[0m
|
2881
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2882
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
2883
|
+
- signin
|
2884
|
+
' WHERE "users"."id" = 6[0m
|
2885
|
+
[1m[35m (4.3ms)[0m commit transaction
|
2886
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
2887
|
+
Completed 302 Found in 18.5ms (ActiveRecord: 10.3ms)
|
2888
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-10-29 22:06:49 +0000
|
2889
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
2890
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
2891
|
+
Completed 200 OK in 3.1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
2892
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-29 22:06:49 +0000
|
2893
|
+
Processing by ExampleController#restricted as HTML
|
2894
|
+
Authenticating with gds_sso strategy
|
2895
|
+
Completed in 0.4ms
|
2896
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-10-29 22:06:49 +0000
|
2897
|
+
Started GET "/auth/gds/callback?code=3c6ddfcc33e241accd76bf8e5663763e7031c8d5ca4c31ca2273ce6c34f5e4da&state=feb1babd82029749d6ea5030b197c904572c49399d069e72" for 127.0.0.1 at 2013-10-29 22:06:50 +0000
|
2898
|
+
Processing by AuthenticationsController#callback as HTML
|
2899
|
+
Parameters: {"code"=>"3c6ddfcc33e241accd76bf8e5663763e7031c8d5ca4c31ca2273ce6c34f5e4da", "state"=>"feb1babd82029749d6ea5030b197c904572c49399d069e72"}
|
2900
|
+
Authenticating with gds_sso strategy
|
2901
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
2902
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2903
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "permissions" = '---
|
2904
|
+
- signin
|
2905
|
+
' WHERE "users"."id" = 6
|
2906
|
+
[1m[36m (5.6ms)[0m [1mcommit transaction[0m
|
2907
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2908
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
2909
|
+
- signin
|
2910
|
+
' WHERE "users"."id" = 6[0m
|
2911
|
+
[1m[35m (4.5ms)[0m commit transaction
|
2912
|
+
Redirected to http://www.example-client.com/restricted
|
2913
|
+
Completed 302 Found in 20.1ms (ActiveRecord: 10.7ms)
|
2914
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-29 22:06:50 +0000
|
2915
|
+
Processing by ExampleController#restricted as HTML
|
2916
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
2917
|
+
Completed 200 OK in 1.3ms (Views: 0.5ms | ActiveRecord: 0.1ms)
|
2918
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
2919
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2920
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "remotely_signed_out" = 't', "permissions" = '---
|
2921
|
+
- signin
|
2922
|
+
' WHERE "users"."id" = 6
|
2923
|
+
[1m[36m (3.7ms)[0m [1mcommit transaction[0m
|
2924
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-29 22:06:50 +0000
|
2925
|
+
Processing by ExampleController#restricted as HTML
|
2926
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
2927
|
+
Filter chain halted as :authenticate_user! rendered or redirected
|
2928
|
+
Completed 403 Forbidden in 3.3ms (Views: 2.3ms | ActiveRecord: 0.1ms)
|
2929
|
+
Started GET "/auth/gds/sign_out" for 127.0.0.1 at 2013-10-29 22:06:50 +0000
|
2930
|
+
Processing by AuthenticationsController#sign_out as HTML
|
2931
|
+
Redirected to http://localhost:4567/users/sign_out
|
2932
|
+
Completed 302 Found in 0.5ms (ActiveRecord: 0.0ms)
|
2933
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-29 22:06:50 +0000
|
2934
|
+
Processing by ExampleController#restricted as HTML
|
2935
|
+
Authenticating with gds_sso strategy
|
2936
|
+
Completed in 0.3ms
|
2937
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-10-29 22:06:50 +0000
|
2938
|
+
Started GET "/auth/gds/callback?code=e5ee885e58a23fdb741d66ccda0acd550bf1fef0aa0984b1be736fb167cbca1b&state=33b9619b5f2478d1c3165a30ef2695df3e838372d9dc9e1f" for 127.0.0.1 at 2013-10-29 22:06:50 +0000
|
2939
|
+
Processing by AuthenticationsController#callback as HTML
|
2940
|
+
Parameters: {"code"=>"e5ee885e58a23fdb741d66ccda0acd550bf1fef0aa0984b1be736fb167cbca1b", "state"=>"33b9619b5f2478d1c3165a30ef2695df3e838372d9dc9e1f"}
|
2941
|
+
Authenticating with gds_sso strategy
|
2942
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
2943
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2944
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
2945
|
+
- signin
|
2946
|
+
' WHERE "users"."id" = 6[0m
|
2947
|
+
[1m[35m (5.7ms)[0m commit transaction
|
2948
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2949
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "remotely_signed_out" = 'f', "permissions" = '---
|
2950
|
+
- signin
|
2951
|
+
' WHERE "users"."id" = 6
|
2952
|
+
[1m[36m (11.4ms)[0m [1mcommit transaction[0m
|
2953
|
+
Redirected to http://www.example-client.com/restricted
|
2954
|
+
Completed 302 Found in 25.8ms (ActiveRecord: 17.6ms)
|
2955
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-29 22:06:50 +0000
|
2956
|
+
Processing by ExampleController#restricted as HTML
|
2957
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
2958
|
+
Completed 200 OK in 1.4ms (Views: 0.4ms | ActiveRecord: 0.1ms)
|
2959
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-29 22:06:50 +0000
|
2960
|
+
Processing by ExampleController#restricted as HTML
|
2961
|
+
Authenticating with gds_sso strategy
|
2962
|
+
Completed in 0.2ms
|
2963
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-10-29 22:06:50 +0000
|
2964
|
+
Started GET "/auth/gds/callback?code=806a4d1546badf92bd4d9c338bac570aed4ff00f0bcdbaf2d4578d1dd02a6ee3&state=9116220569a839ba8c9a2af26a1a0d63057e9a16dfe43b63" for 127.0.0.1 at 2013-10-29 22:06:50 +0000
|
2965
|
+
Processing by AuthenticationsController#callback as HTML
|
2966
|
+
Parameters: {"code"=>"806a4d1546badf92bd4d9c338bac570aed4ff00f0bcdbaf2d4578d1dd02a6ee3", "state"=>"9116220569a839ba8c9a2af26a1a0d63057e9a16dfe43b63"}
|
2967
|
+
Authenticating with gds_sso strategy
|
2968
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
2969
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2970
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
2971
|
+
- signin
|
2972
|
+
' WHERE "users"."id" = 6[0m
|
2973
|
+
[1m[35m (5.5ms)[0m commit transaction
|
2974
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2975
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "permissions" = '---
|
2976
|
+
- signin
|
2977
|
+
' WHERE "users"."id" = 6
|
2978
|
+
[1m[36m (4.2ms)[0m [1mcommit transaction[0m
|
2979
|
+
Redirected to http://www.example-client.com/restricted
|
2980
|
+
Completed 302 Found in 20.0ms (ActiveRecord: 10.4ms)
|
2981
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-29 22:06:50 +0000
|
2982
|
+
Processing by ExampleController#restricted as HTML
|
2983
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
2984
|
+
Completed 200 OK in 1.4ms (Views: 0.5ms | ActiveRecord: 0.1ms)
|
2985
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-30 18:11:50 +0000
|
2986
|
+
Processing by ExampleController#restricted as HTML
|
2987
|
+
Authenticating with gds_sso strategy
|
2988
|
+
Completed in 0.3ms
|
2989
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-10-30 18:11:50 +0000
|
2990
|
+
Started GET "/auth/gds/callback?code=728ce244ce0e13097e1aa5f096e8746469f6045aaf961039bfe9a7c67a9b1a38&state=16466f821199d0f710ad7806aec57d8c14bc3cd03d048ff9" for 127.0.0.1 at 2013-10-30 18:11:50 +0000
|
2991
|
+
Processing by AuthenticationsController#callback as HTML
|
2992
|
+
Parameters: {"code"=>"728ce244ce0e13097e1aa5f096e8746469f6045aaf961039bfe9a7c67a9b1a38", "state"=>"16466f821199d0f710ad7806aec57d8c14bc3cd03d048ff9"}
|
2993
|
+
Authenticating with gds_sso strategy
|
2994
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
2995
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2996
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
2997
|
+
- signin
|
2998
|
+
' WHERE "users"."id" = 6[0m
|
2999
|
+
[1m[35m (4.6ms)[0m commit transaction
|
3000
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3001
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "permissions" = '---
|
3002
|
+
- signin
|
3003
|
+
' WHERE "users"."id" = 6
|
3004
|
+
[1m[36m (4.6ms)[0m [1mcommit transaction[0m
|
3005
|
+
Redirected to http://www.example-client.com/restricted
|
3006
|
+
Completed 302 Found in 17.4ms (ActiveRecord: 9.8ms)
|
3007
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-30 18:11:51 +0000
|
3008
|
+
Processing by ExampleController#restricted as HTML
|
3009
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
3010
|
+
Completed 200 OK in 1.1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
|
3011
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-29 22:06:51 +0000
|
3012
|
+
Processing by ExampleController#restricted as HTML
|
3013
|
+
Authenticating with gds_sso strategy
|
3014
|
+
Completed in 0.3ms
|
3015
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-10-29 22:06:51 +0000
|
3016
|
+
Started GET "/auth/gds/callback?code=d0f7eb08a6e6da864bf58de465cc8dd2a616aedd16e26a0679c3c568d17bb50e&state=5d4789d94f85b07cf5f7cf2af16858959f9003d148b330d1" for 127.0.0.1 at 2013-10-29 22:06:51 +0000
|
3017
|
+
Processing by AuthenticationsController#callback as HTML
|
3018
|
+
Parameters: {"code"=>"d0f7eb08a6e6da864bf58de465cc8dd2a616aedd16e26a0679c3c568d17bb50e", "state"=>"5d4789d94f85b07cf5f7cf2af16858959f9003d148b330d1"}
|
3019
|
+
Authenticating with gds_sso strategy
|
3020
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
3021
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3022
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
3023
|
+
- signin
|
3024
|
+
' WHERE "users"."id" = 6[0m
|
3025
|
+
[1m[35m (4.2ms)[0m commit transaction
|
3026
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3027
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "permissions" = '---
|
3028
|
+
- signin
|
3029
|
+
' WHERE "users"."id" = 6
|
8
3030
|
[1m[36m (3.3ms)[0m [1mcommit transaction[0m
|
3031
|
+
Redirected to http://www.example-client.com/restricted
|
3032
|
+
Completed 302 Found in 18.3ms (ActiveRecord: 8.2ms)
|
3033
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-29 22:06:51 +0000
|
3034
|
+
Processing by ExampleController#restricted as HTML
|
3035
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
3036
|
+
Completed 200 OK in 1.4ms (Views: 0.4ms | ActiveRecord: 0.1ms)
|
3037
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-30 18:01:51 +0000
|
3038
|
+
Processing by ExampleController#restricted as HTML
|
3039
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
3040
|
+
Completed 200 OK in 1.1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
|
3041
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-29 22:06:51 +0000
|
3042
|
+
Processing by ExampleController#restricted as JSON
|
3043
|
+
Authenticating with gds_sso_api_access strategy
|
3044
|
+
Completed in 2.4ms
|
3045
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-29 22:06:51 +0000
|
3046
|
+
Processing by ExampleController#restricted as JSON
|
3047
|
+
Authenticating with gds_sso_api_access strategy
|
3048
|
+
Completed 200 OK in 1.3ms (Views: 0.5ms | ActiveRecord: 0.0ms)
|
3049
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-10-29 22:06:51 +0000
|
3050
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
3051
|
+
Authenticating with gds_sso_api_access strategy
|
3052
|
+
Completed 200 OK in 0.8ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
3053
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-29 22:06:51 +0000
|
3054
|
+
Processing by ExampleController#restricted as JSON
|
3055
|
+
Authenticating with gds_bearer_token strategy
|
3056
|
+
Completed in 42.7ms
|
3057
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-29 22:06:51 +0000
|
3058
|
+
Processing by ExampleController#restricted as JSON
|
3059
|
+
Authenticating with gds_bearer_token strategy
|
3060
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
3061
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3062
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "permissions" = '---
|
3063
|
+
- signin
|
3064
|
+
' WHERE "users"."id" = 6
|
3065
|
+
[1m[36m (3.9ms)[0m [1mcommit transaction[0m
|
3066
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3067
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
3068
|
+
- signin
|
3069
|
+
' WHERE "users"."id" = 6[0m
|
3070
|
+
[1m[35m (3.5ms)[0m commit transaction
|
3071
|
+
Completed 200 OK in 42.0ms (Views: 0.3ms | ActiveRecord: 8.1ms)
|
3072
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-10-29 22:06:51 +0000
|
3073
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
3074
|
+
Authenticating with gds_bearer_token strategy
|
3075
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
3076
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3077
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
3078
|
+
- signin
|
3079
|
+
' WHERE "users"."id" = 6[0m
|
3080
|
+
[1m[35m (4.9ms)[0m commit transaction
|
3081
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3082
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "permissions" = '---
|
3083
|
+
- signin
|
3084
|
+
' WHERE "users"."id" = 6
|
3085
|
+
[1m[36m (4.3ms)[0m [1mcommit transaction[0m
|
3086
|
+
Completed 200 OK in 46.6ms (Views: 0.3ms | ActiveRecord: 9.9ms)
|
3087
|
+
Connecting to database specified by database.yml
|
3088
|
+
[1m[36m (0.8ms)[0m [1mselect sqlite_version(*)[0m
|
3089
|
+
[1m[35m (28.5ms)[0m DROP TABLE "users"
|
3090
|
+
[1m[36m (25.4ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "uid" varchar(255) NOT NULL, "email" varchar(255) NOT NULL, "remotely_signed_out" boolean, "permissions" text) [0m
|
3091
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3092
|
+
[1m[36mSQL (2.1ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?)[0m [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d38009"]]
|
3093
|
+
[1m[35m (3.3ms)[0m commit transaction
|
9
3094
|
WARNING: Can't mass-assign protected attributes: uid, name, permissions
|
10
3095
|
Processing by Api::UserController#update as HTML
|
11
|
-
Parameters: {"uid"=>"
|
12
|
-
Rendered /
|
13
|
-
Completed 403 Forbidden in
|
14
|
-
[1m[
|
15
|
-
[1m[
|
16
|
-
[1m[
|
3096
|
+
Parameters: {"uid"=>"a1s2d38009"}
|
3097
|
+
Rendered /home/jenkins/workspace/govuk_gds_sso/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.8ms)
|
3098
|
+
Completed 403 Forbidden in 7.1ms (Views: 6.4ms | ActiveRecord: 0.0ms)
|
3099
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3100
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d32094"]]
|
3101
|
+
[1m[36m (3.9ms)[0m [1mcommit transaction[0m
|
17
3102
|
Processing by Api::UserController#update as HTML
|
18
|
-
Parameters: {"uid"=>"
|
19
|
-
[1m[
|
20
|
-
[1m[
|
21
|
-
[1m[
|
3103
|
+
Parameters: {"uid"=>"a1s2d32094"}
|
3104
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d32094' LIMIT 1
|
3105
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3106
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "email" = 'user@domain.com', "name" = 'Joshua Marshall', "permissions" = '---
|
22
3107
|
- signin
|
23
3108
|
- new permission
|
24
|
-
' WHERE "users"."id" = 2
|
25
|
-
[1m[
|
26
|
-
Completed 200 OK in
|
27
|
-
[1m[
|
28
|
-
[1m[
|
29
|
-
[1m[
|
30
|
-
[1m[
|
3109
|
+
' WHERE "users"."id" = 2
|
3110
|
+
[1m[36m (3.3ms)[0m [1mcommit transaction[0m
|
3111
|
+
Completed 200 OK in 42.6ms (ActiveRecord: 3.9ms)
|
3112
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
|
3113
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3114
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d33167"]]
|
3115
|
+
[1m[36m (3.1ms)[0m [1mcommit transaction[0m
|
31
3116
|
WARNING: Can't mass-assign protected attributes: uid, name, permissions
|
32
3117
|
Processing by Api::UserController#reauth as HTML
|
33
|
-
Parameters: {"uid"=>"
|
34
|
-
Completed 403 Forbidden in
|
35
|
-
[1m[
|
36
|
-
[1m[
|
37
|
-
[1m[
|
3118
|
+
Parameters: {"uid"=>"a1s2d33167"}
|
3119
|
+
Completed 403 Forbidden in 2.0ms (Views: 1.1ms | ActiveRecord: 0.0ms)
|
3120
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3121
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?)[0m [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d32494"]]
|
3122
|
+
[1m[35m (3.7ms)[0m commit transaction
|
38
3123
|
Processing by Api::UserController#reauth as HTML
|
39
3124
|
Parameters: {"uid"=>"nonexistent-user"}
|
40
|
-
[1m[
|
41
|
-
Completed 200 OK in 1ms (ActiveRecord: 0.
|
42
|
-
[1m[
|
43
|
-
[1m[
|
44
|
-
[1m[
|
3125
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'nonexistent-user' LIMIT 1[0m
|
3126
|
+
Completed 200 OK in 1.1ms (ActiveRecord: 0.2ms)
|
3127
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3128
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?)[0m [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d32783"]]
|
3129
|
+
[1m[35m (3.0ms)[0m commit transaction
|
45
3130
|
Processing by Api::UserController#reauth as HTML
|
46
|
-
Parameters: {"uid"=>"
|
47
|
-
[1m[
|
48
|
-
[1m[
|
49
|
-
[1m[
|
3131
|
+
Parameters: {"uid"=>"a1s2d32783"}
|
3132
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d32783' LIMIT 1[0m
|
3133
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3134
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = 't', "permissions" = '---
|
50
3135
|
- signin
|
51
|
-
' WHERE "users"."id" = 5
|
52
|
-
[1m[
|
53
|
-
Completed 200 OK in
|
54
|
-
[1m[
|
55
|
-
Started GET "/" for 127.0.0.1 at 2013-
|
3136
|
+
' WHERE "users"."id" = 5[0m
|
3137
|
+
[1m[35m (3.2ms)[0m commit transaction
|
3138
|
+
Completed 200 OK in 7.4ms (ActiveRecord: 3.5ms)
|
3139
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 5]]
|
3140
|
+
Started GET "/" for 127.0.0.1 at 2013-10-30 12:47:02 +0000
|
56
3141
|
Processing by ExampleController#index as HTML
|
57
|
-
Completed 200 OK in
|
58
|
-
Started GET "/restricted" for 127.0.0.1 at 2013-
|
3142
|
+
Completed 200 OK in 2.3ms (Views: 1.9ms | ActiveRecord: 0.0ms)
|
3143
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-30 12:47:02 +0000
|
59
3144
|
Processing by ExampleController#restricted as HTML
|
60
3145
|
Authenticating with gds_sso strategy
|
61
|
-
Completed in
|
62
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2013-
|
63
|
-
Started GET "/auth/gds/callback?code=
|
3146
|
+
Completed in 3.1ms
|
3147
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-10-30 12:47:02 +0000
|
3148
|
+
Started GET "/auth/gds/callback?code=d2f5403fbc91ea3030e53899d8a5cdcdb00b87b8b2cdec0fbf4249e2bd024911&state=30364844d59592c7093d9bbf8795357f145a45e0f583e290" for 127.0.0.1 at 2013-10-30 12:47:03 +0000
|
64
3149
|
Processing by AuthenticationsController#callback as HTML
|
65
|
-
Parameters: {"code"=>"
|
3150
|
+
Parameters: {"code"=>"d2f5403fbc91ea3030e53899d8a5cdcdb00b87b8b2cdec0fbf4249e2bd024911", "state"=>"30364844d59592c7093d9bbf8795357f145a45e0f583e290"}
|
66
3151
|
Authenticating with gds_sso strategy
|
67
|
-
[1m[
|
68
|
-
[1m[35m (0.1ms)[0m begin transaction
|
69
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?)[0m [["email", "test@example-client.com"], ["name", "Test User"], ["permissions", "--- \n- signin\n"], ["remotely_signed_out", nil], ["uid", "integration-uid"]]
|
70
|
-
[1m[35m (6.2ms)[0m commit transaction
|
3152
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
71
3153
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
72
|
-
[1m[
|
3154
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?) [["email", "test@example-client.com"], ["name", "Test User"], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "integration-uid"]]
|
3155
|
+
[1m[36m (4.6ms)[0m [1mcommit transaction[0m
|
3156
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3157
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = 'f', "permissions" = '---
|
73
3158
|
- signin
|
74
|
-
' WHERE "users"."id" = 6
|
75
|
-
[1m[
|
3159
|
+
' WHERE "users"."id" = 6[0m
|
3160
|
+
[1m[35m (2.9ms)[0m commit transaction
|
76
3161
|
Redirected to http://www.example-client.com/restricted
|
77
|
-
Completed 302 Found in
|
78
|
-
Started GET "/restricted" for 127.0.0.1 at 2013-
|
3162
|
+
Completed 302 Found in 16.1ms (ActiveRecord: 8.3ms)
|
3163
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-30 12:47:03 +0000
|
79
3164
|
Processing by ExampleController#restricted as HTML
|
80
|
-
[1m[
|
81
|
-
Completed 200 OK in
|
82
|
-
Started GET "/restricted" for 127.0.0.1 at 2013-
|
3165
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
3166
|
+
Completed 200 OK in 1.4ms (Views: 0.4ms | ActiveRecord: 0.1ms)
|
3167
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-30 12:47:03 +0000
|
83
3168
|
Processing by ExampleController#restricted as HTML
|
84
3169
|
Authenticating with gds_sso strategy
|
85
|
-
Completed in
|
86
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2013-
|
87
|
-
Started GET "/auth/gds/callback?code=
|
3170
|
+
Completed in 0.4ms
|
3171
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-10-30 12:47:03 +0000
|
3172
|
+
Started GET "/auth/gds/callback?code=10c380b3098e063a19552a045434a5d5f1384cb65c412249496d960988780946&state=6951e93169ce9ef0156481380c0fa9a1b64d6bfb32d5f2e4" for 127.0.0.1 at 2013-10-30 12:47:04 +0000
|
88
3173
|
Processing by AuthenticationsController#callback as HTML
|
89
|
-
Parameters: {"code"=>"
|
3174
|
+
Parameters: {"code"=>"10c380b3098e063a19552a045434a5d5f1384cb65c412249496d960988780946", "state"=>"6951e93169ce9ef0156481380c0fa9a1b64d6bfb32d5f2e4"}
|
90
3175
|
Authenticating with gds_sso strategy
|
91
|
-
[1m[
|
92
|
-
[1m[35m (0.1ms)[0m begin transaction
|
93
|
-
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
94
|
-
- signin
|
95
|
-
' WHERE "users"."id" = 6[0m
|
96
|
-
[1m[35m (6.4ms)[0m commit transaction
|
3176
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
97
3177
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
98
|
-
[1m[35m (0.
|
3178
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "permissions" = '---
|
99
3179
|
- signin
|
100
3180
|
' WHERE "users"."id" = 6
|
101
|
-
[1m[36m (
|
3181
|
+
[1m[36m (4.0ms)[0m [1mcommit transaction[0m
|
3182
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3183
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
3184
|
+
- signin
|
3185
|
+
' WHERE "users"."id" = 6[0m
|
3186
|
+
[1m[35m (2.8ms)[0m commit transaction
|
102
3187
|
Redirected to http://www.example-client.com/restricted
|
103
|
-
Completed 302 Found in
|
104
|
-
Started GET "/restricted" for 127.0.0.1 at 2013-
|
3188
|
+
Completed 302 Found in 16.4ms (ActiveRecord: 7.4ms)
|
3189
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-30 12:47:04 +0000
|
105
3190
|
Processing by ExampleController#restricted as HTML
|
106
|
-
[1m[
|
107
|
-
Completed 200 OK in
|
108
|
-
Started GET "/restricted" for 127.0.0.1 at 2013-
|
3191
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
3192
|
+
Completed 200 OK in 1.4ms (Views: 0.5ms | ActiveRecord: 0.1ms)
|
3193
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-30 12:47:04 +0000
|
109
3194
|
Processing by ExampleController#restricted as HTML
|
110
3195
|
Authenticating with gds_sso strategy
|
111
|
-
Completed in
|
112
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2013-
|
113
|
-
Started GET "/auth/gds/callback?code=
|
3196
|
+
Completed in 0.2ms
|
3197
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-10-30 12:47:04 +0000
|
3198
|
+
Started GET "/auth/gds/callback?code=b141d5daa63c247d164243df3a76c95e34893bfec3df01636af65a29f3fd0bfd&state=dcc2465af505ba91aaa2bd6aadc8893d21750d1f414dc2c0" for 127.0.0.1 at 2013-10-30 12:47:04 +0000
|
114
3199
|
Processing by AuthenticationsController#callback as HTML
|
115
|
-
Parameters: {"code"=>"
|
3200
|
+
Parameters: {"code"=>"b141d5daa63c247d164243df3a76c95e34893bfec3df01636af65a29f3fd0bfd", "state"=>"dcc2465af505ba91aaa2bd6aadc8893d21750d1f414dc2c0"}
|
116
3201
|
Authenticating with gds_sso strategy
|
117
|
-
[1m[
|
118
|
-
[1m[
|
119
|
-
[1m[
|
120
|
-
- signin
|
121
|
-
' WHERE "users"."id" = 6[0m
|
122
|
-
[1m[35m (8.4ms)[0m commit transaction
|
123
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
124
|
-
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
3202
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
3203
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3204
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "permissions" = '---
|
125
3205
|
- signin
|
126
3206
|
' WHERE "users"."id" = 6
|
127
|
-
[1m[36m (
|
3207
|
+
[1m[36m (4.2ms)[0m [1mcommit transaction[0m
|
3208
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3209
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
3210
|
+
- signin
|
3211
|
+
' WHERE "users"."id" = 6[0m
|
3212
|
+
[1m[35m (2.7ms)[0m commit transaction
|
128
3213
|
Redirected to http://www.example-client.com/restricted
|
129
|
-
Completed 302 Found in
|
130
|
-
Started GET "/restricted" for 127.0.0.1 at 2013-
|
3214
|
+
Completed 302 Found in 15.1ms (ActiveRecord: 7.4ms)
|
3215
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-30 12:47:04 +0000
|
131
3216
|
Processing by ExampleController#restricted as HTML
|
132
|
-
[1m[
|
133
|
-
Completed 200 OK in
|
134
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-
|
3217
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
3218
|
+
Completed 200 OK in 1.2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
3219
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-10-30 12:47:04 +0000
|
135
3220
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
136
3221
|
Authenticating with gds_sso strategy
|
137
|
-
Completed in
|
138
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2013-
|
139
|
-
Started GET "/auth/gds/callback?code=
|
3222
|
+
Completed in 0.8ms
|
3223
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-10-30 12:47:04 +0000
|
3224
|
+
Started GET "/auth/gds/callback?code=53b9bbe99988ae378e821ec29cc433f80c53b2de8f8fc501b34f944ec918e046&state=2fa8465b79e1b1f1db534d3fdbfc3b32557109306b933477" for 127.0.0.1 at 2013-10-30 12:47:04 +0000
|
140
3225
|
Processing by AuthenticationsController#callback as HTML
|
141
|
-
Parameters: {"code"=>"
|
3226
|
+
Parameters: {"code"=>"53b9bbe99988ae378e821ec29cc433f80c53b2de8f8fc501b34f944ec918e046", "state"=>"2fa8465b79e1b1f1db534d3fdbfc3b32557109306b933477"}
|
142
3227
|
Authenticating with gds_sso strategy
|
143
|
-
[1m[
|
144
|
-
[1m[
|
145
|
-
[1m[
|
146
|
-
- signin
|
147
|
-
' WHERE "users"."id" = 6[0m
|
148
|
-
[1m[35m (7.1ms)[0m commit transaction
|
149
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
150
|
-
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
3228
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
3229
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3230
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "permissions" = '---
|
151
3231
|
- signin
|
152
3232
|
' WHERE "users"."id" = 6
|
153
|
-
[1m[36m (
|
3233
|
+
[1m[36m (4.4ms)[0m [1mcommit transaction[0m
|
3234
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3235
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
3236
|
+
- signin
|
3237
|
+
' WHERE "users"."id" = 6[0m
|
3238
|
+
[1m[35m (2.8ms)[0m commit transaction
|
154
3239
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
155
|
-
Completed 302 Found in
|
156
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-
|
3240
|
+
Completed 302 Found in 16.7ms (ActiveRecord: 7.9ms)
|
3241
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-10-30 12:47:04 +0000
|
157
3242
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
158
|
-
[1m[
|
159
|
-
Completed 200 OK in
|
160
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-
|
3243
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
3244
|
+
Completed 200 OK in 3.1ms (Views: 0.5ms | ActiveRecord: 0.1ms)
|
3245
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-10-30 12:47:04 +0000
|
161
3246
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
162
3247
|
Authenticating with gds_sso strategy
|
163
|
-
Completed in
|
164
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2013-
|
165
|
-
Started GET "/auth/gds/callback?code=
|
3248
|
+
Completed in 0.2ms
|
3249
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-10-30 12:47:04 +0000
|
3250
|
+
Started GET "/auth/gds/callback?code=b6702c1af8e5d3ccc2b026c4926cc28bba039cd2e383c5521c19677713b27f26&state=241c3a65bc43b766632a0fe4ca00b8bbab798a7e1e2ef509" for 127.0.0.1 at 2013-10-30 12:47:05 +0000
|
166
3251
|
Processing by AuthenticationsController#callback as HTML
|
167
|
-
Parameters: {"code"=>"
|
3252
|
+
Parameters: {"code"=>"b6702c1af8e5d3ccc2b026c4926cc28bba039cd2e383c5521c19677713b27f26", "state"=>"241c3a65bc43b766632a0fe4ca00b8bbab798a7e1e2ef509"}
|
168
3253
|
Authenticating with gds_sso strategy
|
169
|
-
[1m[
|
170
|
-
[1m[
|
171
|
-
[1m[
|
172
|
-
- signin
|
173
|
-
' WHERE "users"."id" = 6[0m
|
174
|
-
[1m[35m (9.3ms)[0m commit transaction
|
175
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
176
|
-
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
3254
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
3255
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3256
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "permissions" = '---
|
177
3257
|
- signin
|
178
3258
|
' WHERE "users"."id" = 6
|
179
|
-
[1m[36m (
|
3259
|
+
[1m[36m (3.9ms)[0m [1mcommit transaction[0m
|
3260
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3261
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
3262
|
+
- signin
|
3263
|
+
' WHERE "users"."id" = 6[0m
|
3264
|
+
[1m[35m (3.8ms)[0m commit transaction
|
180
3265
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
181
|
-
Completed 302 Found in
|
182
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-
|
3266
|
+
Completed 302 Found in 16.1ms (ActiveRecord: 8.4ms)
|
3267
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-10-30 12:47:05 +0000
|
183
3268
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
184
|
-
[1m[
|
185
|
-
Completed 200 OK in
|
186
|
-
Started GET "/restricted" for 127.0.0.1 at 2013-
|
3269
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
3270
|
+
Completed 200 OK in 2.8ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
3271
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-30 12:47:05 +0000
|
187
3272
|
Processing by ExampleController#restricted as HTML
|
188
3273
|
Authenticating with gds_sso strategy
|
189
|
-
Completed in
|
190
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2013-
|
191
|
-
Started GET "/auth/gds/callback?code=
|
3274
|
+
Completed in 0.3ms
|
3275
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-10-30 12:47:05 +0000
|
3276
|
+
Started GET "/auth/gds/callback?code=8aae158a8bfcc0f7c4399be14e452f67c9bb49b2a93fcbc29b71fa7764ff4837&state=7205e6da505664c8bc0f7019b1f69d2831510db6a5ac8098" for 127.0.0.1 at 2013-10-30 12:47:05 +0000
|
192
3277
|
Processing by AuthenticationsController#callback as HTML
|
193
|
-
Parameters: {"code"=>"
|
3278
|
+
Parameters: {"code"=>"8aae158a8bfcc0f7c4399be14e452f67c9bb49b2a93fcbc29b71fa7764ff4837", "state"=>"7205e6da505664c8bc0f7019b1f69d2831510db6a5ac8098"}
|
194
3279
|
Authenticating with gds_sso strategy
|
195
|
-
[1m[
|
196
|
-
[1m[35m (0.1ms)[0m begin transaction
|
197
|
-
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
198
|
-
- signin
|
199
|
-
' WHERE "users"."id" = 6[0m
|
200
|
-
[1m[35m (7.4ms)[0m commit transaction
|
3280
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
201
3281
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
202
|
-
[1m[35m (0.
|
3282
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "permissions" = '---
|
203
3283
|
- signin
|
204
3284
|
' WHERE "users"."id" = 6
|
205
|
-
[1m[36m (
|
206
|
-
Redirected to http://www.example-client.com/restricted
|
207
|
-
Completed 302 Found in 16ms (ActiveRecord: 10.4ms)
|
208
|
-
Started GET "/restricted" for 127.0.0.1 at 2013-09-06 09:19:38 +0000
|
209
|
-
Processing by ExampleController#restricted as HTML
|
210
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
211
|
-
Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.1ms)
|
212
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
3285
|
+
[1m[36m (4.3ms)[0m [1mcommit transaction[0m
|
213
3286
|
[1m[35m (0.0ms)[0m begin transaction
|
214
|
-
[1m[36m (0.
|
3287
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
215
3288
|
- signin
|
216
3289
|
' WHERE "users"."id" = 6[0m
|
217
|
-
[1m[35m (2.
|
218
|
-
|
3290
|
+
[1m[35m (2.7ms)[0m commit transaction
|
3291
|
+
Redirected to http://www.example-client.com/restricted
|
3292
|
+
Completed 302 Found in 17.1ms (ActiveRecord: 7.6ms)
|
3293
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-30 12:47:05 +0000
|
219
3294
|
Processing by ExampleController#restricted as HTML
|
220
3295
|
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
3296
|
+
Completed 200 OK in 1.3ms (Views: 0.4ms | ActiveRecord: 0.1ms)
|
3297
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
3298
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3299
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "remotely_signed_out" = 't', "permissions" = '---
|
3300
|
+
- signin
|
3301
|
+
' WHERE "users"."id" = 6
|
3302
|
+
[1m[36m (2.6ms)[0m [1mcommit transaction[0m
|
3303
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-30 12:47:05 +0000
|
3304
|
+
Processing by ExampleController#restricted as HTML
|
3305
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
221
3306
|
Filter chain halted as :authenticate_user! rendered or redirected
|
222
|
-
Completed 403 Forbidden in
|
223
|
-
Started GET "/auth/gds/sign_out" for 127.0.0.1 at 2013-
|
3307
|
+
Completed 403 Forbidden in 3.3ms (Views: 2.4ms | ActiveRecord: 0.1ms)
|
3308
|
+
Started GET "/auth/gds/sign_out" for 127.0.0.1 at 2013-10-30 12:47:05 +0000
|
224
3309
|
Processing by AuthenticationsController#sign_out as HTML
|
225
3310
|
Redirected to http://localhost:4567/users/sign_out
|
226
|
-
Completed 302 Found in
|
227
|
-
Started GET "/restricted" for 127.0.0.1 at 2013-
|
3311
|
+
Completed 302 Found in 0.6ms (ActiveRecord: 0.0ms)
|
3312
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-30 12:47:05 +0000
|
228
3313
|
Processing by ExampleController#restricted as HTML
|
229
3314
|
Authenticating with gds_sso strategy
|
230
|
-
Completed in
|
231
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2013-
|
232
|
-
Started GET "/auth/gds/callback?code=
|
3315
|
+
Completed in 0.3ms
|
3316
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-10-30 12:47:05 +0000
|
3317
|
+
Started GET "/auth/gds/callback?code=fdf7b8895211cb1b1457c8546a7549dd3d567e5ee1bd4e9e4b506148f50ad31b&state=c3ae6df21e93f250a51ee1fb53453aa1e31e5ec5e2e61ca3" for 127.0.0.1 at 2013-10-30 12:47:05 +0000
|
233
3318
|
Processing by AuthenticationsController#callback as HTML
|
234
|
-
Parameters: {"code"=>"
|
3319
|
+
Parameters: {"code"=>"fdf7b8895211cb1b1457c8546a7549dd3d567e5ee1bd4e9e4b506148f50ad31b", "state"=>"c3ae6df21e93f250a51ee1fb53453aa1e31e5ec5e2e61ca3"}
|
235
3320
|
Authenticating with gds_sso strategy
|
236
|
-
[1m[
|
237
|
-
[1m[
|
238
|
-
[1m[
|
239
|
-
- signin
|
240
|
-
' WHERE "users"."id" = 6
|
241
|
-
[1m[36m (6.2ms)[0m [1mcommit transaction[0m
|
242
|
-
[1m[35m (0.0ms)[0m begin transaction
|
243
|
-
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = 'f', "permissions" = '---
|
3321
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
3322
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3323
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
244
3324
|
- signin
|
245
3325
|
' WHERE "users"."id" = 6[0m
|
246
|
-
[1m[35m (
|
3326
|
+
[1m[35m (5.0ms)[0m commit transaction
|
3327
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3328
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "remotely_signed_out" = 'f', "permissions" = '---
|
3329
|
+
- signin
|
3330
|
+
' WHERE "users"."id" = 6
|
3331
|
+
[1m[36m (3.7ms)[0m [1mcommit transaction[0m
|
247
3332
|
Redirected to http://www.example-client.com/restricted
|
248
|
-
Completed 302 Found in
|
249
|
-
Started GET "/restricted" for 127.0.0.1 at 2013-
|
3333
|
+
Completed 302 Found in 16.9ms (ActiveRecord: 9.3ms)
|
3334
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-30 12:47:05 +0000
|
250
3335
|
Processing by ExampleController#restricted as HTML
|
251
|
-
[1m[
|
252
|
-
Completed 200 OK in
|
253
|
-
Started GET "/restricted" for 127.0.0.1 at 2013-
|
3336
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
3337
|
+
Completed 200 OK in 1.2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
3338
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-30 12:47:05 +0000
|
254
3339
|
Processing by ExampleController#restricted as HTML
|
255
3340
|
Authenticating with gds_sso strategy
|
256
|
-
Completed in
|
257
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2013-
|
258
|
-
Started GET "/auth/gds/callback?code=
|
3341
|
+
Completed in 0.3ms
|
3342
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-10-30 12:47:05 +0000
|
3343
|
+
Started GET "/auth/gds/callback?code=14c75c8302e3908eacf51a6736b4ca9611c7106141cdf51672b09fd68e181211&state=5841214313ea61f08b54dbdb072d16dc7faef82030144e06" for 127.0.0.1 at 2013-10-30 12:47:06 +0000
|
259
3344
|
Processing by AuthenticationsController#callback as HTML
|
260
|
-
Parameters: {"code"=>"
|
3345
|
+
Parameters: {"code"=>"14c75c8302e3908eacf51a6736b4ca9611c7106141cdf51672b09fd68e181211", "state"=>"5841214313ea61f08b54dbdb072d16dc7faef82030144e06"}
|
261
3346
|
Authenticating with gds_sso strategy
|
262
|
-
[1m[
|
263
|
-
[1m[
|
264
|
-
[1m[
|
265
|
-
- signin
|
266
|
-
' WHERE "users"."id" = 6
|
267
|
-
[1m[36m (8.7ms)[0m [1mcommit transaction[0m
|
268
|
-
[1m[35m (0.0ms)[0m begin transaction
|
269
|
-
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
3347
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
3348
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3349
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
270
3350
|
- signin
|
271
3351
|
' WHERE "users"."id" = 6[0m
|
272
|
-
[1m[35m (
|
3352
|
+
[1m[35m (4.4ms)[0m commit transaction
|
3353
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3354
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "permissions" = '---
|
3355
|
+
- signin
|
3356
|
+
' WHERE "users"."id" = 6
|
3357
|
+
[1m[36m (3.3ms)[0m [1mcommit transaction[0m
|
273
3358
|
Redirected to http://www.example-client.com/restricted
|
274
|
-
Completed 302 Found in
|
275
|
-
Started GET "/restricted" for 127.0.0.1 at 2013-
|
3359
|
+
Completed 302 Found in 17.4ms (ActiveRecord: 8.3ms)
|
3360
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-30 12:47:06 +0000
|
276
3361
|
Processing by ExampleController#restricted as HTML
|
277
|
-
[1m[
|
278
|
-
Completed 200 OK in
|
279
|
-
Started GET "/restricted" for 127.0.0.1 at 2013-
|
3362
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
3363
|
+
Completed 200 OK in 1.3ms (Views: 0.5ms | ActiveRecord: 0.1ms)
|
3364
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-31 08:52:06 +0000
|
280
3365
|
Processing by ExampleController#restricted as HTML
|
281
3366
|
Authenticating with gds_sso strategy
|
282
|
-
Completed in
|
283
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2013-
|
284
|
-
Started GET "/auth/gds/callback?code=
|
3367
|
+
Completed in 0.3ms
|
3368
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-10-31 08:52:06 +0000
|
3369
|
+
Started GET "/auth/gds/callback?code=31e78b521f37d104ee2851c279fd8b9d1f5017f70684c2365fc39cfb5238921e&state=32d9aede2fa12a9e6326080464df63ee312d00eaac51e9ef" for 127.0.0.1 at 2013-10-31 08:52:06 +0000
|
285
3370
|
Processing by AuthenticationsController#callback as HTML
|
286
|
-
Parameters: {"code"=>"
|
3371
|
+
Parameters: {"code"=>"31e78b521f37d104ee2851c279fd8b9d1f5017f70684c2365fc39cfb5238921e", "state"=>"32d9aede2fa12a9e6326080464df63ee312d00eaac51e9ef"}
|
287
3372
|
Authenticating with gds_sso strategy
|
288
|
-
[1m[
|
289
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
290
|
-
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
291
|
-
- signin
|
292
|
-
' WHERE "users"."id" = 6
|
293
|
-
[1m[36m (8.5ms)[0m [1mcommit transaction[0m
|
3373
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
294
3374
|
[1m[35m (0.1ms)[0m begin transaction
|
295
|
-
[1m[36m (0.
|
3375
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
296
3376
|
- signin
|
297
3377
|
' WHERE "users"."id" = 6[0m
|
298
|
-
[1m[35m (
|
3378
|
+
[1m[35m (5.4ms)[0m commit transaction
|
3379
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3380
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "permissions" = '---
|
3381
|
+
- signin
|
3382
|
+
' WHERE "users"."id" = 6
|
3383
|
+
[1m[36m (3.5ms)[0m [1mcommit transaction[0m
|
299
3384
|
Redirected to http://www.example-client.com/restricted
|
300
|
-
Completed 302 Found in
|
301
|
-
Started GET "/restricted" for 127.0.0.1 at 2013-
|
3385
|
+
Completed 302 Found in 16.9ms (ActiveRecord: 9.5ms)
|
3386
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-31 08:52:06 +0000
|
302
3387
|
Processing by ExampleController#restricted as HTML
|
303
|
-
[1m[
|
304
|
-
Completed 200 OK in
|
305
|
-
Started GET "/restricted" for 127.0.0.1 at 2013-
|
3388
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
3389
|
+
Completed 200 OK in 1.1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
3390
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-30 12:47:06 +0000
|
306
3391
|
Processing by ExampleController#restricted as HTML
|
307
3392
|
Authenticating with gds_sso strategy
|
308
|
-
Completed in
|
309
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2013-
|
310
|
-
Started GET "/auth/gds/callback?code=
|
3393
|
+
Completed in 0.2ms
|
3394
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-10-30 12:47:06 +0000
|
3395
|
+
Started GET "/auth/gds/callback?code=7c18d522b58c786c23b3b277b822f2f65f7c3adc7a8f5a16590cb78276e59ed5&state=2d11faaff51a8ba15fc650d30270244d1ca650411d72a7d3" for 127.0.0.1 at 2013-10-30 12:47:06 +0000
|
311
3396
|
Processing by AuthenticationsController#callback as HTML
|
312
|
-
Parameters: {"code"=>"
|
3397
|
+
Parameters: {"code"=>"7c18d522b58c786c23b3b277b822f2f65f7c3adc7a8f5a16590cb78276e59ed5", "state"=>"2d11faaff51a8ba15fc650d30270244d1ca650411d72a7d3"}
|
313
3398
|
Authenticating with gds_sso strategy
|
314
|
-
[1m[
|
315
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
316
|
-
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
317
|
-
- signin
|
318
|
-
' WHERE "users"."id" = 6
|
319
|
-
[1m[36m (17.1ms)[0m [1mcommit transaction[0m
|
3399
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
320
3400
|
[1m[35m (0.1ms)[0m begin transaction
|
321
|
-
[1m[36m (0.
|
3401
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
322
3402
|
- signin
|
323
3403
|
' WHERE "users"."id" = 6[0m
|
324
|
-
[1m[35m (
|
3404
|
+
[1m[35m (4.2ms)[0m commit transaction
|
3405
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3406
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "permissions" = '---
|
3407
|
+
- signin
|
3408
|
+
' WHERE "users"."id" = 6
|
3409
|
+
[1m[36m (4.6ms)[0m [1mcommit transaction[0m
|
325
3410
|
Redirected to http://www.example-client.com/restricted
|
326
|
-
Completed 302 Found in
|
327
|
-
Started GET "/restricted" for 127.0.0.1 at 2013-
|
3411
|
+
Completed 302 Found in 18.4ms (ActiveRecord: 9.4ms)
|
3412
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-30 12:47:06 +0000
|
328
3413
|
Processing by ExampleController#restricted as HTML
|
329
|
-
[1m[
|
330
|
-
Completed 200 OK in
|
331
|
-
Started GET "/restricted" for 127.0.0.1 at 2013-
|
3414
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
3415
|
+
Completed 200 OK in 1.4ms (Views: 0.5ms | ActiveRecord: 0.1ms)
|
3416
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-31 08:42:06 +0000
|
332
3417
|
Processing by ExampleController#restricted as HTML
|
333
|
-
[1m[
|
334
|
-
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.
|
335
|
-
Started GET "/restricted" for 127.0.0.1 at 2013-
|
3418
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
3419
|
+
Completed 200 OK in 1.1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
3420
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-30 12:47:06 +0000
|
336
3421
|
Processing by ExampleController#restricted as JSON
|
337
3422
|
Authenticating with gds_sso_api_access strategy
|
338
|
-
Completed in
|
339
|
-
Started GET "/restricted" for 127.0.0.1 at 2013-
|
3423
|
+
Completed in 2.3ms
|
3424
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-30 12:47:06 +0000
|
340
3425
|
Processing by ExampleController#restricted as JSON
|
341
3426
|
Authenticating with gds_sso_api_access strategy
|
342
|
-
Completed 200 OK in
|
343
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-
|
3427
|
+
Completed 200 OK in 1.2ms (Views: 0.5ms | ActiveRecord: 0.0ms)
|
3428
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-10-30 12:47:06 +0000
|
344
3429
|
Processing by ExampleController#this_requires_signin_permission as JSON
|
345
3430
|
Authenticating with gds_sso_api_access strategy
|
346
|
-
Completed 200 OK in
|
347
|
-
Started GET "/restricted" for 127.0.0.1 at 2013-
|
3431
|
+
Completed 200 OK in 0.9ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
3432
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-30 12:47:06 +0000
|
348
3433
|
Processing by ExampleController#restricted as JSON
|
349
3434
|
Authenticating with gds_bearer_token strategy
|
350
|
-
Completed in
|
351
|
-
Started GET "/restricted" for 127.0.0.1 at 2013-
|
3435
|
+
Completed in 8.4ms
|
3436
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-30 12:47:06 +0000
|
352
3437
|
Processing by ExampleController#restricted as JSON
|
353
3438
|
Authenticating with gds_bearer_token strategy
|
354
|
-
[1m[
|
355
|
-
[1m[35m (0.1ms)[0m begin transaction
|
356
|
-
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
357
|
-
- signin
|
358
|
-
' WHERE "users"."id" = 6[0m
|
359
|
-
[1m[35m (8.7ms)[0m commit transaction
|
3439
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
360
3440
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
361
|
-
[1m[35m (0.
|
3441
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "permissions" = '---
|
362
3442
|
- signin
|
363
3443
|
' WHERE "users"."id" = 6
|
364
|
-
[1m[36m (
|
365
|
-
|
366
|
-
|
3444
|
+
[1m[36m (3.4ms)[0m [1mcommit transaction[0m
|
3445
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3446
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
3447
|
+
- signin
|
3448
|
+
' WHERE "users"."id" = 6[0m
|
3449
|
+
[1m[35m (3.6ms)[0m commit transaction
|
3450
|
+
Completed 200 OK in 39.9ms (Views: 0.3ms | ActiveRecord: 7.6ms)
|
3451
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-10-30 12:47:07 +0000
|
367
3452
|
Processing by ExampleController#this_requires_signin_permission as JSON
|
368
3453
|
Authenticating with gds_bearer_token strategy
|
369
|
-
[1m[
|
3454
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
3455
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3456
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
3457
|
+
- signin
|
3458
|
+
' WHERE "users"."id" = 6[0m
|
3459
|
+
[1m[35m (4.4ms)[0m commit transaction
|
370
3460
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
371
|
-
[1m[35m (
|
3461
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "permissions" = '---
|
372
3462
|
- signin
|
373
3463
|
' WHERE "users"."id" = 6
|
374
|
-
[1m[36m (
|
375
|
-
|
376
|
-
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
377
|
-
- signin
|
378
|
-
' WHERE "users"."id" = 6[0m
|
379
|
-
[1m[35m (1.9ms)[0m commit transaction
|
380
|
-
Completed 200 OK in 47ms (Views: 0.7ms | ActiveRecord: 11.5ms)
|
3464
|
+
[1m[36m (2.8ms)[0m [1mcommit transaction[0m
|
3465
|
+
Completed 200 OK in 43.3ms (Views: 0.3ms | ActiveRecord: 7.8ms)
|
381
3466
|
Connecting to database specified by database.yml
|
382
|
-
[1m[36m (
|
383
|
-
[1m[35m (
|
384
|
-
[1m[36m (2.
|
3467
|
+
[1m[36m (0.9ms)[0m [1mselect sqlite_version(*)[0m
|
3468
|
+
[1m[35m (13.5ms)[0m DROP TABLE "users"
|
3469
|
+
[1m[36m (2.6ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "uid" varchar(255) NOT NULL, "email" varchar(255) NOT NULL, "remotely_signed_out" boolean, "permissions" text) [0m
|
385
3470
|
[1m[35m (0.1ms)[0m begin transaction
|
386
|
-
[1m[36mSQL (
|
387
|
-
[1m[35m (
|
3471
|
+
[1m[36mSQL (2.2ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?)[0m [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d31967"]]
|
3472
|
+
[1m[35m (6.9ms)[0m commit transaction
|
388
3473
|
WARNING: Can't mass-assign protected attributes: uid, name, permissions
|
389
3474
|
Processing by Api::UserController#update as HTML
|
390
|
-
Parameters: {"uid"=>"
|
391
|
-
Rendered /
|
392
|
-
Completed 403 Forbidden in
|
3475
|
+
Parameters: {"uid"=>"a1s2d31967"}
|
3476
|
+
Rendered /home/jenkins/workspace/govuk_gds_sso/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.8ms)
|
3477
|
+
Completed 403 Forbidden in 7.0ms (Views: 6.3ms | ActiveRecord: 0.0ms)
|
393
3478
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
394
|
-
[1m[35mSQL (0.
|
395
|
-
[1m[36m (
|
3479
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d31453"]]
|
3480
|
+
[1m[36m (3.8ms)[0m [1mcommit transaction[0m
|
396
3481
|
Processing by Api::UserController#update as HTML
|
397
|
-
Parameters: {"uid"=>"
|
398
|
-
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = '
|
3482
|
+
Parameters: {"uid"=>"a1s2d31453"}
|
3483
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d31453' LIMIT 1
|
399
3484
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
400
|
-
[1m[35m (0.3ms)[0m UPDATE "users" SET "email" = 'user@domain.com', "name" = 'Joshua Marshall', "permissions" = '---
|
3485
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "email" = 'user@domain.com', "name" = 'Joshua Marshall', "permissions" = '---
|
401
3486
|
- signin
|
402
3487
|
- new permission
|
403
3488
|
' WHERE "users"."id" = 2
|
404
|
-
[1m[36m (
|
405
|
-
Completed 200 OK in
|
3489
|
+
[1m[36m (3.5ms)[0m [1mcommit transaction[0m
|
3490
|
+
Completed 200 OK in 40.9ms (ActiveRecord: 4.0ms)
|
406
3491
|
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
|
407
3492
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
408
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "
|
409
|
-
[1m[36m (
|
3493
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d38552"]]
|
3494
|
+
[1m[36m (4.6ms)[0m [1mcommit transaction[0m
|
410
3495
|
WARNING: Can't mass-assign protected attributes: uid, name, permissions
|
411
3496
|
Processing by Api::UserController#reauth as HTML
|
412
|
-
Parameters: {"uid"=>"
|
413
|
-
Completed 403 Forbidden in
|
3497
|
+
Parameters: {"uid"=>"a1s2d38552"}
|
3498
|
+
Completed 403 Forbidden in 1.8ms (Views: 1.1ms | ActiveRecord: 0.0ms)
|
414
3499
|
[1m[35m (0.1ms)[0m begin transaction
|
415
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?)[0m [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "
|
416
|
-
[1m[35m (
|
3500
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?)[0m [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d33909"]]
|
3501
|
+
[1m[35m (3.8ms)[0m commit transaction
|
417
3502
|
Processing by Api::UserController#reauth as HTML
|
418
3503
|
Parameters: {"uid"=>"nonexistent-user"}
|
419
|
-
[1m[36mUser Load (0.
|
420
|
-
Completed 200 OK in 1ms (ActiveRecord: 0.
|
3504
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'nonexistent-user' LIMIT 1[0m
|
3505
|
+
Completed 200 OK in 1.1ms (ActiveRecord: 0.2ms)
|
421
3506
|
[1m[35m (0.1ms)[0m begin transaction
|
422
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?)[0m [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "
|
423
|
-
[1m[35m (
|
3507
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?)[0m [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d33546"]]
|
3508
|
+
[1m[35m (4.3ms)[0m commit transaction
|
424
3509
|
Processing by Api::UserController#reauth as HTML
|
425
|
-
Parameters: {"uid"=>"
|
426
|
-
[1m[36mUser Load (0.
|
3510
|
+
Parameters: {"uid"=>"a1s2d33546"}
|
3511
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d33546' LIMIT 1[0m
|
427
3512
|
[1m[35m (0.0ms)[0m begin transaction
|
428
|
-
[1m[36m (0.
|
3513
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = 't', "permissions" = '---
|
429
3514
|
- signin
|
430
3515
|
' WHERE "users"."id" = 5[0m
|
431
|
-
[1m[35m (
|
432
|
-
Completed 200 OK in
|
3516
|
+
[1m[35m (4.7ms)[0m commit transaction
|
3517
|
+
Completed 200 OK in 9.2ms (ActiveRecord: 5.1ms)
|
433
3518
|
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 5]]
|
434
|
-
Started GET "/" for 127.0.0.1 at 2013-
|
3519
|
+
Started GET "/" for 127.0.0.1 at 2013-10-30 12:55:14 +0000
|
435
3520
|
Processing by ExampleController#index as HTML
|
436
|
-
Completed 200 OK in
|
437
|
-
Started GET "/restricted" for 127.0.0.1 at 2013-
|
3521
|
+
Completed 200 OK in 2.3ms (Views: 1.8ms | ActiveRecord: 0.0ms)
|
3522
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-30 12:55:14 +0000
|
438
3523
|
Processing by ExampleController#restricted as HTML
|
439
3524
|
Authenticating with gds_sso strategy
|
440
|
-
Completed in
|
441
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2013-
|
442
|
-
Started GET "/auth/gds/callback?code=
|
3525
|
+
Completed in 3.0ms
|
3526
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-10-30 12:55:14 +0000
|
3527
|
+
Started GET "/auth/gds/callback?code=5901e6e152958ee53e2eb6ffba820367b7a69d61a225bffaa46c73da31f3e039&state=2fd438af5eb8ce854b275ee647af9c752834e134a09107eb" for 127.0.0.1 at 2013-10-30 12:55:15 +0000
|
443
3528
|
Processing by AuthenticationsController#callback as HTML
|
444
|
-
Parameters: {"code"=>"
|
3529
|
+
Parameters: {"code"=>"5901e6e152958ee53e2eb6ffba820367b7a69d61a225bffaa46c73da31f3e039", "state"=>"2fd438af5eb8ce854b275ee647af9c752834e134a09107eb"}
|
445
3530
|
Authenticating with gds_sso strategy
|
446
|
-
[1m[35mUser Load (0.
|
3531
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
447
3532
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
448
|
-
[1m[35mSQL (0.
|
449
|
-
[1m[36m (
|
3533
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?) [["email", "test@example-client.com"], ["name", "Test User"], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "integration-uid"]]
|
3534
|
+
[1m[36m (5.5ms)[0m [1mcommit transaction[0m
|
450
3535
|
[1m[35m (0.0ms)[0m begin transaction
|
451
|
-
[1m[36m (0.
|
3536
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = 'f', "permissions" = '---
|
452
3537
|
- signin
|
453
3538
|
' WHERE "users"."id" = 6[0m
|
454
|
-
[1m[35m (
|
3539
|
+
[1m[35m (5.1ms)[0m commit transaction
|
455
3540
|
Redirected to http://www.example-client.com/restricted
|
456
|
-
Completed 302 Found in
|
457
|
-
Started GET "/restricted" for 127.0.0.1 at 2013-
|
3541
|
+
Completed 302 Found in 18.9ms (ActiveRecord: 11.3ms)
|
3542
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-30 12:55:15 +0000
|
458
3543
|
Processing by ExampleController#restricted as HTML
|
459
|
-
[1m[36mUser Load (0.
|
460
|
-
Completed 200 OK in
|
461
|
-
Started GET "/restricted" for 127.0.0.1 at 2013-
|
3544
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
3545
|
+
Completed 200 OK in 1.4ms (Views: 0.4ms | ActiveRecord: 0.1ms)
|
3546
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-30 12:55:15 +0000
|
462
3547
|
Processing by ExampleController#restricted as HTML
|
463
3548
|
Authenticating with gds_sso strategy
|
464
|
-
Completed in
|
465
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2013-
|
466
|
-
Started GET "/auth/gds/callback?code=
|
3549
|
+
Completed in 0.2ms
|
3550
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-10-30 12:55:15 +0000
|
3551
|
+
Started GET "/auth/gds/callback?code=71ac7202d4a3f0d357b4839140896cda41c7e2d0764d3eb3e4bf8693947e8e2f&state=0d933dc87568c431e8fcfb945c9380b3d90af4a94becc179" for 127.0.0.1 at 2013-10-30 12:55:15 +0000
|
467
3552
|
Processing by AuthenticationsController#callback as HTML
|
468
|
-
Parameters: {"code"=>"
|
3553
|
+
Parameters: {"code"=>"71ac7202d4a3f0d357b4839140896cda41c7e2d0764d3eb3e4bf8693947e8e2f", "state"=>"0d933dc87568c431e8fcfb945c9380b3d90af4a94becc179"}
|
469
3554
|
Authenticating with gds_sso strategy
|
470
|
-
[1m[35mUser Load (0.
|
3555
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
471
3556
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
472
|
-
[1m[35m (0.
|
3557
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "permissions" = '---
|
473
3558
|
- signin
|
474
3559
|
' WHERE "users"."id" = 6
|
475
|
-
[1m[36m (
|
476
|
-
[1m[35m (0.
|
477
|
-
[1m[36m (0.
|
3560
|
+
[1m[36m (3.6ms)[0m [1mcommit transaction[0m
|
3561
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3562
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
478
3563
|
- signin
|
479
3564
|
' WHERE "users"."id" = 6[0m
|
480
|
-
[1m[35m (
|
3565
|
+
[1m[35m (3.8ms)[0m commit transaction
|
481
3566
|
Redirected to http://www.example-client.com/restricted
|
482
|
-
Completed 302 Found in
|
483
|
-
Started GET "/restricted" for 127.0.0.1 at 2013-
|
3567
|
+
Completed 302 Found in 16.7ms (ActiveRecord: 8.0ms)
|
3568
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-30 12:55:15 +0000
|
484
3569
|
Processing by ExampleController#restricted as HTML
|
485
|
-
[1m[36mUser Load (0.
|
486
|
-
Completed 200 OK in 2ms (Views: 0.
|
487
|
-
Started GET "/restricted" for 127.0.0.1 at 2013-
|
3570
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
3571
|
+
Completed 200 OK in 1.2ms (Views: 0.4ms | ActiveRecord: 0.1ms)
|
3572
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-30 12:55:15 +0000
|
488
3573
|
Processing by ExampleController#restricted as HTML
|
489
3574
|
Authenticating with gds_sso strategy
|
490
|
-
Completed in
|
491
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2013-
|
492
|
-
Started GET "/auth/gds/callback?code=
|
3575
|
+
Completed in 0.2ms
|
3576
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-10-30 12:55:15 +0000
|
3577
|
+
Started GET "/auth/gds/callback?code=9370da5b9f42d91b56ad137f474838dca008dc3aa23d45e3397cda0be627542f&state=86f69f92ec120f24ada08329ad44c52a211726584fd2e308" for 127.0.0.1 at 2013-10-30 12:55:16 +0000
|
493
3578
|
Processing by AuthenticationsController#callback as HTML
|
494
|
-
Parameters: {"code"=>"
|
3579
|
+
Parameters: {"code"=>"9370da5b9f42d91b56ad137f474838dca008dc3aa23d45e3397cda0be627542f", "state"=>"86f69f92ec120f24ada08329ad44c52a211726584fd2e308"}
|
495
3580
|
Authenticating with gds_sso strategy
|
496
3581
|
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
497
|
-
[1m[36m (0.
|
498
|
-
[1m[35m (0.
|
3582
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3583
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "permissions" = '---
|
499
3584
|
- signin
|
500
3585
|
' WHERE "users"."id" = 6
|
501
|
-
[1m[36m (
|
502
|
-
[1m[35m (0.
|
503
|
-
[1m[36m (0.
|
3586
|
+
[1m[36m (3.7ms)[0m [1mcommit transaction[0m
|
3587
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3588
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
504
3589
|
- signin
|
505
3590
|
' WHERE "users"."id" = 6[0m
|
506
|
-
[1m[35m (
|
3591
|
+
[1m[35m (4.1ms)[0m commit transaction
|
507
3592
|
Redirected to http://www.example-client.com/restricted
|
508
|
-
Completed 302 Found in
|
509
|
-
Started GET "/restricted" for 127.0.0.1 at 2013-
|
3593
|
+
Completed 302 Found in 15.8ms (ActiveRecord: 8.3ms)
|
3594
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-30 12:55:16 +0000
|
510
3595
|
Processing by ExampleController#restricted as HTML
|
511
|
-
[1m[36mUser Load (0.
|
512
|
-
Completed 200 OK in 1ms (Views: 0.
|
513
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-
|
3596
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
3597
|
+
Completed 200 OK in 1.1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
3598
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-10-30 12:55:16 +0000
|
514
3599
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
515
3600
|
Authenticating with gds_sso strategy
|
516
|
-
Completed in
|
517
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2013-
|
518
|
-
Started GET "/auth/gds/callback?code=
|
3601
|
+
Completed in 0.8ms
|
3602
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-10-30 12:55:16 +0000
|
3603
|
+
Started GET "/auth/gds/callback?code=40ca3dcb4718907ae3baa404ac4aa1e35cc9fbd9b056640a42c61b22f89ada2b&state=a82151a8df4bc4c7c2af4c533b01938c44a44e75b2044f9d" for 127.0.0.1 at 2013-10-30 12:55:16 +0000
|
519
3604
|
Processing by AuthenticationsController#callback as HTML
|
520
|
-
Parameters: {"code"=>"
|
3605
|
+
Parameters: {"code"=>"40ca3dcb4718907ae3baa404ac4aa1e35cc9fbd9b056640a42c61b22f89ada2b", "state"=>"a82151a8df4bc4c7c2af4c533b01938c44a44e75b2044f9d"}
|
521
3606
|
Authenticating with gds_sso strategy
|
522
|
-
[1m[35mUser Load (0.
|
3607
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
523
3608
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
524
|
-
[1m[35m (0.
|
3609
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "permissions" = '---
|
525
3610
|
- signin
|
526
3611
|
' WHERE "users"."id" = 6
|
527
|
-
[1m[36m (
|
3612
|
+
[1m[36m (11.8ms)[0m [1mcommit transaction[0m
|
528
3613
|
[1m[35m (0.0ms)[0m begin transaction
|
529
|
-
[1m[36m (0.
|
3614
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
530
3615
|
- signin
|
531
3616
|
' WHERE "users"."id" = 6[0m
|
532
|
-
[1m[35m (
|
3617
|
+
[1m[35m (8.7ms)[0m commit transaction
|
533
3618
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
534
|
-
Completed 302 Found in
|
535
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-
|
3619
|
+
Completed 302 Found in 29.8ms (ActiveRecord: 21.1ms)
|
3620
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-10-30 12:55:16 +0000
|
536
3621
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
537
|
-
[1m[36mUser Load (0.
|
538
|
-
Completed 200 OK in 2ms (Views: 0.
|
539
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-
|
3622
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
3623
|
+
Completed 200 OK in 3.2ms (Views: 0.4ms | ActiveRecord: 0.1ms)
|
3624
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-10-30 12:55:16 +0000
|
540
3625
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
541
3626
|
Authenticating with gds_sso strategy
|
542
|
-
Completed in
|
543
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2013-
|
544
|
-
Started GET "/auth/gds/callback?code=
|
3627
|
+
Completed in 0.2ms
|
3628
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-10-30 12:55:16 +0000
|
3629
|
+
Started GET "/auth/gds/callback?code=24dc1f1ceb425bf0acc6a73cb3ceecd6fb90158b7aa035a61e6b499ab2aa02b3&state=729b7beb80411872899bd1d0e46956b6868cbfb90dcc9385" for 127.0.0.1 at 2013-10-30 12:55:16 +0000
|
545
3630
|
Processing by AuthenticationsController#callback as HTML
|
546
|
-
Parameters: {"code"=>"
|
3631
|
+
Parameters: {"code"=>"24dc1f1ceb425bf0acc6a73cb3ceecd6fb90158b7aa035a61e6b499ab2aa02b3", "state"=>"729b7beb80411872899bd1d0e46956b6868cbfb90dcc9385"}
|
547
3632
|
Authenticating with gds_sso strategy
|
548
3633
|
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
549
3634
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
550
|
-
[1m[35m (0.
|
3635
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "permissions" = '---
|
551
3636
|
- signin
|
552
3637
|
' WHERE "users"."id" = 6
|
553
|
-
[1m[36m (
|
3638
|
+
[1m[36m (3.5ms)[0m [1mcommit transaction[0m
|
554
3639
|
[1m[35m (0.0ms)[0m begin transaction
|
555
|
-
[1m[36m (0.
|
3640
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
556
3641
|
- signin
|
557
3642
|
' WHERE "users"."id" = 6[0m
|
558
|
-
[1m[35m (
|
3643
|
+
[1m[35m (3.2ms)[0m commit transaction
|
559
3644
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
560
|
-
Completed 302 Found in
|
561
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-
|
3645
|
+
Completed 302 Found in 14.9ms (ActiveRecord: 7.3ms)
|
3646
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-10-30 12:55:16 +0000
|
562
3647
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
563
3648
|
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
564
|
-
Completed 200 OK in
|
565
|
-
Started GET "/restricted" for 127.0.0.1 at 2013-
|
3649
|
+
Completed 200 OK in 2.9ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
3650
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-30 12:55:16 +0000
|
566
3651
|
Processing by ExampleController#restricted as HTML
|
567
3652
|
Authenticating with gds_sso strategy
|
568
|
-
Completed in
|
569
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2013-
|
570
|
-
Started GET "/auth/gds/callback?code=
|
3653
|
+
Completed in 0.3ms
|
3654
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-10-30 12:55:16 +0000
|
3655
|
+
Started GET "/auth/gds/callback?code=0100042293d2c7e830a22822ea65c6c6045e34fbef4ebd8f8d88900d94677ed5&state=35369200bcf68adca750c5387ec2efb330930ce3e41dfd4e" for 127.0.0.1 at 2013-10-30 12:55:17 +0000
|
571
3656
|
Processing by AuthenticationsController#callback as HTML
|
572
|
-
Parameters: {"code"=>"
|
3657
|
+
Parameters: {"code"=>"0100042293d2c7e830a22822ea65c6c6045e34fbef4ebd8f8d88900d94677ed5", "state"=>"35369200bcf68adca750c5387ec2efb330930ce3e41dfd4e"}
|
573
3658
|
Authenticating with gds_sso strategy
|
574
|
-
[1m[35mUser Load (0.
|
3659
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
575
3660
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
576
|
-
[1m[35m (0.
|
3661
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "permissions" = '---
|
577
3662
|
- signin
|
578
3663
|
' WHERE "users"."id" = 6
|
579
|
-
[1m[36m (
|
3664
|
+
[1m[36m (6.8ms)[0m [1mcommit transaction[0m
|
580
3665
|
[1m[35m (0.1ms)[0m begin transaction
|
581
|
-
[1m[36m (0.
|
3666
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
582
3667
|
- signin
|
583
3668
|
' WHERE "users"."id" = 6[0m
|
584
|
-
[1m[35m (
|
3669
|
+
[1m[35m (3.9ms)[0m commit transaction
|
585
3670
|
Redirected to http://www.example-client.com/restricted
|
586
|
-
Completed 302 Found in
|
587
|
-
Started GET "/restricted" for 127.0.0.1 at 2013-
|
3671
|
+
Completed 302 Found in 20.6ms (ActiveRecord: 11.3ms)
|
3672
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-30 12:55:17 +0000
|
588
3673
|
Processing by ExampleController#restricted as HTML
|
589
|
-
[1m[36mUser Load (0.
|
590
|
-
Completed 200 OK in
|
3674
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
3675
|
+
Completed 200 OK in 1.3ms (Views: 0.4ms | ActiveRecord: 0.1ms)
|
591
3676
|
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
592
|
-
[1m[36m (0.
|
593
|
-
[1m[35m (0.
|
3677
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3678
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "remotely_signed_out" = 't', "permissions" = '---
|
594
3679
|
- signin
|
595
3680
|
' WHERE "users"."id" = 6
|
596
|
-
[1m[36m (
|
597
|
-
Started GET "/restricted" for 127.0.0.1 at 2013-
|
3681
|
+
[1m[36m (4.0ms)[0m [1mcommit transaction[0m
|
3682
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-30 12:55:17 +0000
|
598
3683
|
Processing by ExampleController#restricted as HTML
|
599
|
-
[1m[35mUser Load (0.
|
3684
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
600
3685
|
Filter chain halted as :authenticate_user! rendered or redirected
|
601
|
-
Completed 403 Forbidden in
|
602
|
-
Started GET "/auth/gds/sign_out" for 127.0.0.1 at 2013-
|
3686
|
+
Completed 403 Forbidden in 3.3ms (Views: 2.3ms | ActiveRecord: 0.1ms)
|
3687
|
+
Started GET "/auth/gds/sign_out" for 127.0.0.1 at 2013-10-30 12:55:17 +0000
|
603
3688
|
Processing by AuthenticationsController#sign_out as HTML
|
604
3689
|
Redirected to http://localhost:4567/users/sign_out
|
605
|
-
Completed 302 Found in
|
606
|
-
Started GET "/restricted" for 127.0.0.1 at 2013-
|
3690
|
+
Completed 302 Found in 0.5ms (ActiveRecord: 0.0ms)
|
3691
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-30 12:55:17 +0000
|
607
3692
|
Processing by ExampleController#restricted as HTML
|
608
3693
|
Authenticating with gds_sso strategy
|
609
|
-
Completed in
|
610
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2013-
|
611
|
-
Started GET "/auth/gds/callback?code=
|
3694
|
+
Completed in 0.3ms
|
3695
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-10-30 12:55:17 +0000
|
3696
|
+
Started GET "/auth/gds/callback?code=a3b475f892300048894a8b116edab59c69d39a58aac4f1d297419cda30e2e60c&state=a5ff23d1b5c671314788e32c879ec3e4ce61d3465a883d24" for 127.0.0.1 at 2013-10-30 12:55:17 +0000
|
612
3697
|
Processing by AuthenticationsController#callback as HTML
|
613
|
-
Parameters: {"code"=>"
|
3698
|
+
Parameters: {"code"=>"a3b475f892300048894a8b116edab59c69d39a58aac4f1d297419cda30e2e60c", "state"=>"a5ff23d1b5c671314788e32c879ec3e4ce61d3465a883d24"}
|
614
3699
|
Authenticating with gds_sso strategy
|
615
3700
|
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
616
|
-
[1m[35m (0.
|
617
|
-
[1m[36m (0.
|
3701
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3702
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
618
3703
|
- signin
|
619
3704
|
' WHERE "users"."id" = 6[0m
|
620
|
-
[1m[35m (4.
|
621
|
-
[1m[36m (0.
|
622
|
-
[1m[35m (0.
|
3705
|
+
[1m[35m (4.1ms)[0m commit transaction
|
3706
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3707
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "remotely_signed_out" = 'f', "permissions" = '---
|
623
3708
|
- signin
|
624
3709
|
' WHERE "users"."id" = 6
|
625
|
-
[1m[36m (
|
3710
|
+
[1m[36m (2.8ms)[0m [1mcommit transaction[0m
|
626
3711
|
Redirected to http://www.example-client.com/restricted
|
627
|
-
Completed 302 Found in
|
628
|
-
Started GET "/restricted" for 127.0.0.1 at 2013-
|
3712
|
+
Completed 302 Found in 15.3ms (ActiveRecord: 7.5ms)
|
3713
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-30 12:55:17 +0000
|
629
3714
|
Processing by ExampleController#restricted as HTML
|
630
|
-
[1m[35mUser Load (0.
|
631
|
-
Completed 200 OK in 2ms (Views: 0.
|
632
|
-
Started GET "/restricted" for 127.0.0.1 at 2013-
|
3715
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
3716
|
+
Completed 200 OK in 1.2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
3717
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-30 12:55:17 +0000
|
633
3718
|
Processing by ExampleController#restricted as HTML
|
634
3719
|
Authenticating with gds_sso strategy
|
635
|
-
Completed in
|
636
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2013-
|
637
|
-
Started GET "/auth/gds/callback?code=
|
3720
|
+
Completed in 0.3ms
|
3721
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-10-30 12:55:17 +0000
|
3722
|
+
Started GET "/auth/gds/callback?code=ef7df9ebfd94d40488a4b90a70e4a57fd1c8dffa96e60f8cc7891ae65e08005b&state=11080402cb476cbdb88b0c752a670b801d691a590645d524" for 127.0.0.1 at 2013-10-30 12:55:17 +0000
|
638
3723
|
Processing by AuthenticationsController#callback as HTML
|
639
|
-
Parameters: {"code"=>"
|
3724
|
+
Parameters: {"code"=>"ef7df9ebfd94d40488a4b90a70e4a57fd1c8dffa96e60f8cc7891ae65e08005b", "state"=>"11080402cb476cbdb88b0c752a670b801d691a590645d524"}
|
640
3725
|
Authenticating with gds_sso strategy
|
641
|
-
[1m[36mUser Load (0.
|
3726
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
642
3727
|
[1m[35m (0.1ms)[0m begin transaction
|
643
|
-
[1m[36m (0.
|
3728
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
644
3729
|
- signin
|
645
3730
|
' WHERE "users"."id" = 6[0m
|
646
|
-
[1m[35m (
|
3731
|
+
[1m[35m (3.7ms)[0m commit transaction
|
647
3732
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
648
|
-
[1m[35m (0.
|
3733
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "permissions" = '---
|
649
3734
|
- signin
|
650
3735
|
' WHERE "users"."id" = 6
|
651
|
-
[1m[36m (
|
3736
|
+
[1m[36m (2.7ms)[0m [1mcommit transaction[0m
|
652
3737
|
Redirected to http://www.example-client.com/restricted
|
653
|
-
Completed 302 Found in
|
654
|
-
Started GET "/restricted" for 127.0.0.1 at 2013-
|
3738
|
+
Completed 302 Found in 16.1ms (ActiveRecord: 7.1ms)
|
3739
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-30 12:55:17 +0000
|
655
3740
|
Processing by ExampleController#restricted as HTML
|
656
3741
|
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
657
|
-
Completed 200 OK in
|
658
|
-
Started GET "/restricted" for 127.0.0.1 at 2013-
|
3742
|
+
Completed 200 OK in 1.3ms (Views: 0.4ms | ActiveRecord: 0.1ms)
|
3743
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-31 09:00:17 +0000
|
659
3744
|
Processing by ExampleController#restricted as HTML
|
660
3745
|
Authenticating with gds_sso strategy
|
661
|
-
Completed in
|
662
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2013-
|
663
|
-
Started GET "/auth/gds/callback?code=
|
3746
|
+
Completed in 0.3ms
|
3747
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-10-31 09:00:17 +0000
|
3748
|
+
Started GET "/auth/gds/callback?code=55da2103f3f0fc1bb5fb9476d5ecd9dc5370c305ec4e28886be730e8998b631a&state=66ae85366ba15dd6051f7fcf6ad2ce09b204f539f86b17b6" for 127.0.0.1 at 2013-10-31 09:00:17 +0000
|
664
3749
|
Processing by AuthenticationsController#callback as HTML
|
665
|
-
Parameters: {"code"=>"
|
3750
|
+
Parameters: {"code"=>"55da2103f3f0fc1bb5fb9476d5ecd9dc5370c305ec4e28886be730e8998b631a", "state"=>"66ae85366ba15dd6051f7fcf6ad2ce09b204f539f86b17b6"}
|
666
3751
|
Authenticating with gds_sso strategy
|
667
3752
|
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
668
3753
|
[1m[35m (0.1ms)[0m begin transaction
|
669
|
-
[1m[36m (0.
|
3754
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
670
3755
|
- signin
|
671
3756
|
' WHERE "users"."id" = 6[0m
|
672
3757
|
[1m[35m (4.1ms)[0m commit transaction
|
673
3758
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
674
|
-
[1m[35m (0.
|
3759
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "permissions" = '---
|
675
3760
|
- signin
|
676
3761
|
' WHERE "users"."id" = 6
|
677
|
-
[1m[36m (
|
3762
|
+
[1m[36m (2.6ms)[0m [1mcommit transaction[0m
|
678
3763
|
Redirected to http://www.example-client.com/restricted
|
679
|
-
Completed 302 Found in
|
680
|
-
Started GET "/restricted" for 127.0.0.1 at 2013-
|
3764
|
+
Completed 302 Found in 14.5ms (ActiveRecord: 7.3ms)
|
3765
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-31 09:00:17 +0000
|
681
3766
|
Processing by ExampleController#restricted as HTML
|
682
|
-
[1m[35mUser Load (0.
|
683
|
-
Completed 200 OK in 1ms (Views: 0.
|
684
|
-
Started GET "/restricted" for 127.0.0.1 at 2013-
|
3767
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
3768
|
+
Completed 200 OK in 1.1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
3769
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-30 12:55:17 +0000
|
685
3770
|
Processing by ExampleController#restricted as HTML
|
686
3771
|
Authenticating with gds_sso strategy
|
687
|
-
Completed in
|
688
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2013-
|
689
|
-
Started GET "/auth/gds/callback?code=
|
3772
|
+
Completed in 0.2ms
|
3773
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-10-30 12:55:17 +0000
|
3774
|
+
Started GET "/auth/gds/callback?code=8949021d8c6fbf8f8338e319dfb4c7cca794182f1f36b94d1c9ce2eebb8c714c&state=031d45faeb2e45b63d82911c526fc9ddeb1918a2096e4ea7" for 127.0.0.1 at 2013-10-30 12:55:18 +0000
|
690
3775
|
Processing by AuthenticationsController#callback as HTML
|
691
|
-
Parameters: {"code"=>"
|
3776
|
+
Parameters: {"code"=>"8949021d8c6fbf8f8338e319dfb4c7cca794182f1f36b94d1c9ce2eebb8c714c", "state"=>"031d45faeb2e45b63d82911c526fc9ddeb1918a2096e4ea7"}
|
692
3777
|
Authenticating with gds_sso strategy
|
693
|
-
[1m[36mUser Load (0.
|
3778
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
694
3779
|
[1m[35m (0.1ms)[0m begin transaction
|
695
|
-
[1m[36m (0.
|
3780
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
696
3781
|
- signin
|
697
3782
|
' WHERE "users"."id" = 6[0m
|
698
|
-
[1m[35m (
|
699
|
-
[1m[36m (0.
|
700
|
-
[1m[35m (0.
|
3783
|
+
[1m[35m (6.0ms)[0m commit transaction
|
3784
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3785
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "permissions" = '---
|
701
3786
|
- signin
|
702
3787
|
' WHERE "users"."id" = 6
|
703
|
-
[1m[36m (
|
3788
|
+
[1m[36m (3.4ms)[0m [1mcommit transaction[0m
|
704
3789
|
Redirected to http://www.example-client.com/restricted
|
705
|
-
Completed 302 Found in
|
706
|
-
Started GET "/restricted" for 127.0.0.1 at 2013-
|
3790
|
+
Completed 302 Found in 19.2ms (ActiveRecord: 10.0ms)
|
3791
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-30 12:55:18 +0000
|
707
3792
|
Processing by ExampleController#restricted as HTML
|
708
|
-
[1m[35mUser Load (0.
|
709
|
-
Completed 200 OK in
|
710
|
-
Started GET "/restricted" for 127.0.0.1 at 2013-
|
3793
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
3794
|
+
Completed 200 OK in 1.4ms (Views: 0.4ms | ActiveRecord: 0.1ms)
|
3795
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-31 08:50:18 +0000
|
711
3796
|
Processing by ExampleController#restricted as HTML
|
712
|
-
[1m[36mUser Load (0.
|
713
|
-
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.
|
714
|
-
Started GET "/restricted" for 127.0.0.1 at 2013-
|
3797
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
3798
|
+
Completed 200 OK in 1.1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
3799
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-30 12:55:18 +0000
|
715
3800
|
Processing by ExampleController#restricted as JSON
|
716
3801
|
Authenticating with gds_sso_api_access strategy
|
717
|
-
Completed in
|
718
|
-
Started GET "/restricted" for 127.0.0.1 at 2013-
|
3802
|
+
Completed in 2.3ms
|
3803
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-30 12:55:18 +0000
|
719
3804
|
Processing by ExampleController#restricted as JSON
|
720
3805
|
Authenticating with gds_sso_api_access strategy
|
721
|
-
Completed 200 OK in
|
722
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-
|
3806
|
+
Completed 200 OK in 1.2ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
3807
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-10-30 12:55:18 +0000
|
723
3808
|
Processing by ExampleController#this_requires_signin_permission as JSON
|
724
3809
|
Authenticating with gds_sso_api_access strategy
|
725
|
-
Completed 200 OK in
|
726
|
-
Started GET "/restricted" for 127.0.0.1 at 2013-
|
3810
|
+
Completed 200 OK in 0.9ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
3811
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-30 12:55:18 +0000
|
727
3812
|
Processing by ExampleController#restricted as JSON
|
728
3813
|
Authenticating with gds_bearer_token strategy
|
729
|
-
Completed in
|
730
|
-
Started GET "/restricted" for 127.0.0.1 at 2013-
|
3814
|
+
Completed in 8.4ms
|
3815
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-10-30 12:55:18 +0000
|
731
3816
|
Processing by ExampleController#restricted as JSON
|
732
3817
|
Authenticating with gds_bearer_token strategy
|
733
|
-
[1m[35mUser Load (0.
|
3818
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
734
3819
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
735
|
-
[1m[35m (0.
|
3820
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "permissions" = '---
|
736
3821
|
- signin
|
737
3822
|
' WHERE "users"."id" = 6
|
738
|
-
[1m[36m (
|
739
|
-
[1m[35m (0.
|
740
|
-
[1m[36m (0.
|
3823
|
+
[1m[36m (5.7ms)[0m [1mcommit transaction[0m
|
3824
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3825
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
741
3826
|
- signin
|
742
3827
|
' WHERE "users"."id" = 6[0m
|
743
|
-
[1m[35m (
|
744
|
-
Completed 200 OK in
|
745
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-
|
3828
|
+
[1m[35m (3.0ms)[0m commit transaction
|
3829
|
+
Completed 200 OK in 42.4ms (Views: 0.4ms | ActiveRecord: 9.3ms)
|
3830
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-10-30 12:55:18 +0000
|
746
3831
|
Processing by ExampleController#this_requires_signin_permission as JSON
|
747
3832
|
Authenticating with gds_bearer_token strategy
|
748
3833
|
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
749
3834
|
[1m[35m (0.1ms)[0m begin transaction
|
750
|
-
[1m[36m (0.
|
3835
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
751
3836
|
- signin
|
752
3837
|
' WHERE "users"."id" = 6[0m
|
753
|
-
[1m[35m (
|
754
|
-
[1m[36m (0.
|
755
|
-
[1m[35m (0.
|
3838
|
+
[1m[35m (4.3ms)[0m commit transaction
|
3839
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3840
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "permissions" = '---
|
756
3841
|
- signin
|
757
3842
|
' WHERE "users"."id" = 6
|
758
|
-
[1m[36m (2.
|
759
|
-
Completed 200 OK in
|
3843
|
+
[1m[36m (2.7ms)[0m [1mcommit transaction[0m
|
3844
|
+
Completed 200 OK in 76.1ms (Views: 0.3ms | ActiveRecord: 7.6ms)
|