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