gds-sso 10.0.1 → 10.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -0
- data/app/controllers/api/user_controller.rb +1 -0
- data/lib/gds-sso/bearer_token.rb +1 -0
- data/lib/gds-sso/lint/user_spec.rb +2 -0
- data/lib/gds-sso/user.rb +2 -1
- data/lib/gds-sso/version.rb +1 -1
- data/spec/controller/api_user_controller_spec.rb +2 -0
- data/spec/internal/db/combustion_test.sqlite +0 -0
- data/spec/internal/db/schema.rb +1 -0
- data/spec/internal/log/test.log +1497 -1497
- data/spec/unit/user_spec.rb +6 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c4b7c6d100280311fb753f7b10345955ace68e26
|
4
|
+
data.tar.gz: 670d14f02b1e5dbb7d2a971c6c7f86cff3f7dafa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 738879b1c3ce3e3398a19a888b7712d918006468bfb68752b8d93e78555f6ae34637d001172c827e9129f00cf899924c490210dece3e222dd566e127f5291bb2
|
7
|
+
data.tar.gz: 17651760192d5f72d7222abcdeef16241e83f9103f473aabd59358dd2b2d7e9f77c67decb0ad273f51cd79676b37f36f846dcff5dd65b83e38e57c52cf58cac8
|
data/README.md
CHANGED
@@ -36,6 +36,7 @@ class Api::UserController < ActionController::Base
|
|
36
36
|
user: {
|
37
37
|
permissions: user_json['permissions'],
|
38
38
|
organisation_slug: user_json['organisation_slug'],
|
39
|
+
organisation_content_id: user_json['organisation_content_id'],
|
39
40
|
disabled: user_json['disabled'],
|
40
41
|
}
|
41
42
|
})
|
data/lib/gds-sso/bearer_token.rb
CHANGED
@@ -39,6 +39,7 @@ RSpec.shared_examples "a gds-sso user class" do
|
|
39
39
|
'user' => {
|
40
40
|
'permissions' => ['signin'],
|
41
41
|
'organisation_slug' => 'cabinet-office',
|
42
|
+
'organisation_content_id' => '91e57ad9-29a3-4f94-9ab4-5e9ae6d13588'
|
42
43
|
}
|
43
44
|
}
|
44
45
|
}
|
@@ -50,5 +51,6 @@ RSpec.shared_examples "a gds-sso user class" do
|
|
50
51
|
expect(user.email).to eq('joe.smith@example.com')
|
51
52
|
expect(user.permissions).to eq(['signin'])
|
52
53
|
expect(user.organisation_slug).to eq('cabinet-office')
|
54
|
+
expect(user.organisation_content_id).to eq('91e57ad9-29a3-4f94-9ab4-5e9ae6d13588')
|
53
55
|
end
|
54
56
|
end
|
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, :disabled, as: :oauth
|
14
|
+
attr_accessible :uid, :email, :name, :permissions, :organisation_slug, :organisation_content_id, :disabled, as: :oauth
|
15
15
|
end
|
16
16
|
end
|
17
17
|
|
@@ -28,6 +28,7 @@ module GDS
|
|
28
28
|
'name' => auth_hash['info']['name'],
|
29
29
|
'permissions' => auth_hash['extra']['user']['permissions'],
|
30
30
|
'organisation_slug' => auth_hash['extra']['user']['organisation_slug'],
|
31
|
+
'organisation_content_id' => auth_hash['extra']['user']['organisation_content_id'],
|
31
32
|
'disabled' => auth_hash['extra']['user']['disabled'],
|
32
33
|
}
|
33
34
|
end
|
data/lib/gds-sso/version.rb
CHANGED
@@ -8,6 +8,7 @@ def user_update_json
|
|
8
8
|
"email" => "user@domain.com",
|
9
9
|
"permissions" => ["signin", "new permission"],
|
10
10
|
"organisation_slug" => "justice-league",
|
11
|
+
"organisation_content_id" => "aae1319e-5788-4677-998c-f1a53af528d0",
|
11
12
|
"disabled" => false,
|
12
13
|
}
|
13
14
|
}.to_json
|
@@ -67,6 +68,7 @@ describe Api::UserController, type: :controller do
|
|
67
68
|
expect(@user_to_update.email).to eq("user@domain.com")
|
68
69
|
expect(@user_to_update.permissions).to eq(["signin", "new permission"])
|
69
70
|
expect(@user_to_update.organisation_slug).to eq("justice-league")
|
71
|
+
expect(@user_to_update.organisation_content_id).to eq("aae1319e-5788-4677-998c-f1a53af528d0")
|
70
72
|
expect(response.content_type).to eq('text/plain')
|
71
73
|
end
|
72
74
|
end
|
Binary file
|
data/spec/internal/db/schema.rb
CHANGED
data/spec/internal/log/test.log
CHANGED
@@ -1,2176 +1,2176 @@
|
|
1
1
|
Connecting to database specified by database.yml
|
2
|
-
Started GET "/" for 127.0.0.1 at 2015-04-
|
3
|
-
Processing by ExampleController#
|
4
|
-
Rendered text template (0.0ms)
|
5
|
-
Completed 200 OK in 130.3ms (Views: 129.2ms | ActiveRecord: 0.0ms)
|
6
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-20 13:11:26 +0000
|
7
|
-
Processing by ExampleController#restricted as HTML
|
2
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-23 11:02:30 +0000
|
3
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
8
4
|
Authenticating with gds_sso strategy
|
9
|
-
Completed in
|
10
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-
|
11
|
-
Started GET "/auth/gds/callback?code=
|
5
|
+
Completed in 41.2ms
|
6
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-23 11:02:30 +0000
|
7
|
+
Started GET "/auth/gds/callback?code=eacc0dc9f81a635f0e6e6004398fbe0c4bf536a8e40eda2d72ea50d7c30a22e7&state=1aca23d4f509e2c3ef1c0582858427964285acfab09f2bf7" for 127.0.0.1 at 2015-04-23 11:02:31 +0000
|
12
8
|
Processing by AuthenticationsController#callback as HTML
|
13
|
-
Parameters: {"code"=>"
|
9
|
+
Parameters: {"code"=>"eacc0dc9f81a635f0e6e6004398fbe0c4bf536a8e40eda2d72ea50d7c30a22e7", "state"=>"1aca23d4f509e2c3ef1c0582858427964285acfab09f2bf7"}
|
14
10
|
Authenticating with gds_sso strategy
|
15
|
-
[1m[36mUser Load (0.
|
16
|
-
[1m[35mUser Load (0.
|
17
|
-
[1m[36m (0.
|
18
|
-
[1m[35mSQL (
|
19
|
-
[1m[36m (
|
11
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
12
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'test@example-client.com' LIMIT 1
|
13
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
14
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("disabled", "email", "name", "organisation_content_id", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["disabled", false], ["email", "test@example-client.com"], ["name", "Test User"], ["organisation_content_id", nil], ["organisation_slug", nil], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "integration-uid"]]
|
15
|
+
[1m[36m (9.4ms)[0m [1mcommit transaction[0m
|
20
16
|
[1m[35m (0.1ms)[0m begin transaction
|
21
|
-
[1m[36m (0.
|
17
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = 'f', "permissions" = '---
|
22
18
|
- signin
|
23
19
|
' WHERE "users"."id" = 1[0m
|
24
|
-
[1m[35m (
|
25
|
-
Redirected to http://www.example-client.com/
|
26
|
-
Completed 302 Found in
|
27
|
-
Started GET "/
|
28
|
-
Processing by ExampleController#
|
29
|
-
[1m[36mUser Load (0.
|
30
|
-
|
31
|
-
|
32
|
-
|
20
|
+
[1m[35m (9.9ms)[0m commit transaction
|
21
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
22
|
+
Completed 302 Found in 46.3ms (ActiveRecord: 20.7ms)
|
23
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-23 11:02:32 +0000
|
24
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
25
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1[0m
|
26
|
+
Rendered text template (0.0ms)
|
27
|
+
Completed 200 OK in 43.6ms (Views: 40.6ms | ActiveRecord: 0.2ms)
|
28
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-23 11:02:32 +0000
|
29
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
33
30
|
Authenticating with gds_sso strategy
|
34
|
-
Completed in 0.
|
35
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-
|
36
|
-
Started GET "/auth/gds/callback?code=
|
31
|
+
Completed in 0.2ms
|
32
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-23 11:02:32 +0000
|
33
|
+
Started GET "/auth/gds/callback?code=8ca57814b5ae85faeaaa2e19b3ea71840d2938667c43b10167a82561eeea89af&state=591467615f15f2bba9f6c5c8b99acdcb759828f5d4928ea8" for 127.0.0.1 at 2015-04-23 11:02:32 +0000
|
37
34
|
Processing by AuthenticationsController#callback as HTML
|
38
|
-
Parameters: {"code"=>"
|
35
|
+
Parameters: {"code"=>"8ca57814b5ae85faeaaa2e19b3ea71840d2938667c43b10167a82561eeea89af", "state"=>"591467615f15f2bba9f6c5c8b99acdcb759828f5d4928ea8"}
|
39
36
|
Authenticating with gds_sso strategy
|
40
37
|
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
41
38
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
42
39
|
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
43
40
|
- signin
|
44
41
|
' WHERE "users"."id" = 1
|
45
|
-
[1m[36m (
|
46
|
-
[1m[35m (0.
|
42
|
+
[1m[36m (7.5ms)[0m [1mcommit transaction[0m
|
43
|
+
[1m[35m (0.2ms)[0m begin transaction
|
47
44
|
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
48
45
|
- signin
|
49
46
|
' WHERE "users"."id" = 1[0m
|
50
|
-
[1m[35m (
|
51
|
-
Redirected to http://www.example-client.com/
|
52
|
-
Completed 302 Found in
|
53
|
-
Started GET "/
|
54
|
-
Processing by ExampleController#
|
47
|
+
[1m[35m (10.3ms)[0m commit transaction
|
48
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
49
|
+
Completed 302 Found in 25.5ms (ActiveRecord: 18.9ms)
|
50
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-23 11:02:32 +0000
|
51
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
55
52
|
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1[0m
|
56
|
-
|
57
|
-
|
53
|
+
Rendered text template (0.0ms)
|
54
|
+
Completed 200 OK in 2.0ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
55
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-23 11:02:32 +0000
|
58
56
|
Processing by ExampleController#restricted as HTML
|
59
57
|
Authenticating with gds_sso strategy
|
60
|
-
Completed in 0.
|
61
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-
|
62
|
-
Started GET "/auth/gds/callback?code=
|
58
|
+
Completed in 0.6ms
|
59
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-23 11:02:32 +0000
|
60
|
+
Started GET "/auth/gds/callback?code=1a0a7b321db59c10b21507538b4c2b6f084ef85978011c385ba0ad5f3908c908&state=6a01c880f94bb034ec11d7cc7f024285eb4e61eb876afe67" for 127.0.0.1 at 2015-04-23 11:02:32 +0000
|
63
61
|
Processing by AuthenticationsController#callback as HTML
|
64
|
-
Parameters: {"code"=>"
|
62
|
+
Parameters: {"code"=>"1a0a7b321db59c10b21507538b4c2b6f084ef85978011c385ba0ad5f3908c908", "state"=>"6a01c880f94bb034ec11d7cc7f024285eb4e61eb876afe67"}
|
65
63
|
Authenticating with gds_sso strategy
|
66
|
-
[1m[35mUser Load (0.
|
64
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
67
65
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
68
|
-
[1m[35m (0.
|
66
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "permissions" = '---
|
69
67
|
- signin
|
70
68
|
' WHERE "users"."id" = 1
|
71
|
-
[1m[36m (
|
69
|
+
[1m[36m (40.3ms)[0m [1mcommit transaction[0m
|
72
70
|
[1m[35m (0.1ms)[0m begin transaction
|
73
|
-
[1m[36m (0.
|
71
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
74
72
|
- signin
|
75
73
|
' WHERE "users"."id" = 1[0m
|
76
|
-
[1m[35m (
|
74
|
+
[1m[35m (26.4ms)[0m commit transaction
|
77
75
|
Redirected to http://www.example-client.com/restricted
|
78
|
-
Completed 302 Found in
|
79
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
76
|
+
Completed 302 Found in 73.8ms (ActiveRecord: 67.4ms)
|
77
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-23 11:02:33 +0000
|
78
|
+
Processing by ExampleController#restricted as HTML
|
79
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1[0m
|
80
|
+
Completed 200 OK in 1.7ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
81
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-23 11:02:33 +0000
|
80
82
|
Processing by ExampleController#restricted as HTML
|
81
|
-
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1[0m
|
82
|
-
Completed 200 OK in 2.8ms (Views: 0.8ms | ActiveRecord: 0.3ms)
|
83
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-20 13:11:35 +0000
|
84
|
-
Processing by ExampleController#this_requires_signin_permission as HTML
|
85
83
|
Authenticating with gds_sso strategy
|
86
|
-
Completed in
|
87
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-
|
88
|
-
Started GET "/auth/gds/callback?code=
|
84
|
+
Completed in 0.3ms
|
85
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-23 11:02:33 +0000
|
86
|
+
Started GET "/auth/gds/callback?code=5fea5437645d4a6f08571fc4321258771ef0415f91dab9bfec348406e9a8f878&state=7e82b2d3a4499e863e1d4390e3fecb8e07b33b639af787fd" for 127.0.0.1 at 2015-04-23 11:02:33 +0000
|
89
87
|
Processing by AuthenticationsController#callback as HTML
|
90
|
-
Parameters: {"code"=>"
|
88
|
+
Parameters: {"code"=>"5fea5437645d4a6f08571fc4321258771ef0415f91dab9bfec348406e9a8f878", "state"=>"7e82b2d3a4499e863e1d4390e3fecb8e07b33b639af787fd"}
|
91
89
|
Authenticating with gds_sso strategy
|
92
|
-
[1m[35mUser Load (0.
|
90
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
93
91
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
94
|
-
[1m[35m (0.
|
92
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "permissions" = '---
|
95
93
|
- signin
|
96
94
|
' WHERE "users"."id" = 1
|
97
|
-
[1m[36m (
|
95
|
+
[1m[36m (9.0ms)[0m [1mcommit transaction[0m
|
98
96
|
[1m[35m (0.1ms)[0m begin transaction
|
99
|
-
[1m[36m (0.
|
97
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
100
98
|
- signin
|
101
99
|
' WHERE "users"."id" = 1[0m
|
102
|
-
[1m[35m (
|
103
|
-
Redirected to http://www.example-client.com/
|
104
|
-
Completed 302 Found in
|
105
|
-
Started GET "/
|
106
|
-
Processing by ExampleController#
|
107
|
-
[1m[36mUser Load (0.
|
108
|
-
Completed 200 OK in
|
109
|
-
Started GET "/
|
110
|
-
Processing by ExampleController#
|
100
|
+
[1m[35m (6.4ms)[0m commit transaction
|
101
|
+
Redirected to http://www.example-client.com/restricted
|
102
|
+
Completed 302 Found in 21.9ms (ActiveRecord: 16.2ms)
|
103
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-23 11:02:33 +0000
|
104
|
+
Processing by ExampleController#restricted as HTML
|
105
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1[0m
|
106
|
+
Completed 200 OK in 1.8ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
107
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-23 11:02:33 +0000
|
108
|
+
Processing by ExampleController#restricted as HTML
|
111
109
|
Authenticating with gds_sso strategy
|
112
|
-
Completed in 0.
|
113
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-
|
114
|
-
Started GET "/auth/gds/callback?code=
|
110
|
+
Completed in 0.2ms
|
111
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-23 11:02:33 +0000
|
112
|
+
Started GET "/auth/gds/callback?code=9622e1bfbf380c49d80680b35c3b9f55be191efea5c9e0c5e55bc3a80eb12eaf&state=56f42494f6870adb253050b6a4e0b45630b05bcf068e74d0" for 127.0.0.1 at 2015-04-23 11:02:34 +0000
|
115
113
|
Processing by AuthenticationsController#callback as HTML
|
116
|
-
Parameters: {"code"=>"
|
114
|
+
Parameters: {"code"=>"9622e1bfbf380c49d80680b35c3b9f55be191efea5c9e0c5e55bc3a80eb12eaf", "state"=>"56f42494f6870adb253050b6a4e0b45630b05bcf068e74d0"}
|
117
115
|
Authenticating with gds_sso strategy
|
118
|
-
[1m[35mUser Load (0.
|
116
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
119
117
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
120
|
-
[1m[35m (0.
|
118
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
121
119
|
- signin
|
122
120
|
' WHERE "users"."id" = 1
|
123
|
-
[1m[36m (
|
121
|
+
[1m[36m (14.6ms)[0m [1mcommit transaction[0m
|
124
122
|
[1m[35m (0.1ms)[0m begin transaction
|
125
|
-
[1m[36m (0.
|
123
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
126
124
|
- signin
|
127
125
|
' WHERE "users"."id" = 1[0m
|
128
|
-
[1m[35m (
|
129
|
-
Redirected to http://www.example-client.com/
|
130
|
-
Completed 302 Found in
|
131
|
-
Started GET "/
|
132
|
-
Processing by ExampleController#
|
133
|
-
[1m[36mUser Load (0.
|
134
|
-
Completed 200 OK in
|
135
|
-
Started GET "/
|
126
|
+
[1m[35m (8.7ms)[0m commit transaction
|
127
|
+
Redirected to http://www.example-client.com/restricted
|
128
|
+
Completed 302 Found in 30.8ms (ActiveRecord: 24.2ms)
|
129
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-23 11:02:34 +0000
|
130
|
+
Processing by ExampleController#restricted as HTML
|
131
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1[0m
|
132
|
+
Completed 200 OK in 1.5ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
133
|
+
Started GET "/" for 127.0.0.1 at 2015-04-23 11:02:34 +0000
|
134
|
+
Processing by ExampleController#index as HTML
|
135
|
+
Completed 200 OK in 0.8ms (Views: 0.5ms | ActiveRecord: 0.0ms)
|
136
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-23 11:02:34 +0000
|
136
137
|
Processing by ExampleController#restricted as HTML
|
137
138
|
Authenticating with gds_sso strategy
|
138
|
-
Completed in 0.
|
139
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-
|
140
|
-
Started GET "/auth/gds/callback?code=
|
139
|
+
Completed in 0.3ms
|
140
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-23 11:02:34 +0000
|
141
|
+
Started GET "/auth/gds/callback?code=cce3f9916fe958766ff905878a2bfc379313e37e550b9f647888859f2fe66d9b&state=4495e968dca968bb2bf03b84edc0170ed88adfdca46392b1" for 127.0.0.1 at 2015-04-23 11:02:34 +0000
|
141
142
|
Processing by AuthenticationsController#callback as HTML
|
142
|
-
Parameters: {"code"=>"
|
143
|
+
Parameters: {"code"=>"cce3f9916fe958766ff905878a2bfc379313e37e550b9f647888859f2fe66d9b", "state"=>"4495e968dca968bb2bf03b84edc0170ed88adfdca46392b1"}
|
143
144
|
Authenticating with gds_sso strategy
|
144
|
-
[1m[35mUser Load (0.
|
145
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
145
146
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
146
|
-
[1m[35m (0.
|
147
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "permissions" = '---
|
147
148
|
- signin
|
148
149
|
' WHERE "users"."id" = 1
|
149
|
-
[1m[36m (
|
150
|
+
[1m[36m (81.6ms)[0m [1mcommit transaction[0m
|
150
151
|
[1m[35m (0.1ms)[0m begin transaction
|
151
|
-
[1m[36m (0.
|
152
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
152
153
|
- signin
|
153
154
|
' WHERE "users"."id" = 1[0m
|
154
|
-
[1m[35m (
|
155
|
+
[1m[35m (14.5ms)[0m commit transaction
|
155
156
|
Redirected to http://www.example-client.com/restricted
|
156
|
-
Completed 302 Found in
|
157
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
157
|
+
Completed 302 Found in 102.7ms (ActiveRecord: 96.9ms)
|
158
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-23 11:02:34 +0000
|
158
159
|
Processing by ExampleController#restricted as HTML
|
159
|
-
[1m[36mUser Load (0.
|
160
|
-
Completed 200 OK in
|
161
|
-
[1m[35mUser Load (0.
|
160
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1[0m
|
161
|
+
Completed 200 OK in 1.6ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
162
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'test@example-client.com' LIMIT 1
|
162
163
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
163
|
-
[1m[35m (0.
|
164
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "remotely_signed_out" = 't', "permissions" = '---
|
164
165
|
- signin
|
165
166
|
' WHERE "users"."id" = 1
|
166
|
-
[1m[36m (
|
167
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
167
|
+
[1m[36m (18.4ms)[0m [1mcommit transaction[0m
|
168
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-23 11:02:35 +0000
|
168
169
|
Processing by ExampleController#restricted as HTML
|
169
170
|
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1
|
170
171
|
Authenticating with gds_sso strategy
|
171
|
-
Completed in
|
172
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-
|
173
|
-
Started GET "/auth/gds/callback?code=
|
172
|
+
Completed in 1.5ms
|
173
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-23 11:02:35 +0000
|
174
|
+
Started GET "/auth/gds/callback?code=51542ee34d2fd73b2a05755837139a2a16f5c158ac5a15f4a33748739d4b1f9e&state=5bf7fd6ddcb4d93db02c0f5b9fa719b0b4a8aff1e7e6e26e" for 127.0.0.1 at 2015-04-23 11:02:35 +0000
|
174
175
|
Processing by AuthenticationsController#callback as HTML
|
175
|
-
Parameters: {"code"=>"
|
176
|
+
Parameters: {"code"=>"51542ee34d2fd73b2a05755837139a2a16f5c158ac5a15f4a33748739d4b1f9e", "state"=>"5bf7fd6ddcb4d93db02c0f5b9fa719b0b4a8aff1e7e6e26e"}
|
176
177
|
Authenticating with gds_sso strategy
|
177
|
-
[1m[36mUser Load (0.
|
178
|
-
[1m[35m (0.
|
179
|
-
[1m[36m (0.
|
178
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
179
|
+
[1m[35m (0.0ms)[0m begin transaction
|
180
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
180
181
|
- signin
|
181
182
|
' WHERE "users"."id" = 1[0m
|
182
|
-
[1m[35m (
|
183
|
+
[1m[35m (18.3ms)[0m commit transaction
|
183
184
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
184
|
-
[1m[35m (0.
|
185
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "remotely_signed_out" = 'f', "permissions" = '---
|
185
186
|
- signin
|
186
187
|
' WHERE "users"."id" = 1
|
187
|
-
[1m[36m (
|
188
|
+
[1m[36m (14.7ms)[0m [1mcommit transaction[0m
|
188
189
|
Redirected to http://www.example-client.com/restricted
|
189
|
-
Completed 302 Found in
|
190
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
190
|
+
Completed 302 Found in 39.3ms (ActiveRecord: 33.7ms)
|
191
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-23 11:02:35 +0000
|
191
192
|
Processing by ExampleController#restricted as HTML
|
192
|
-
[1m[35mUser Load (0.
|
193
|
-
Completed 200 OK in
|
194
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
193
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1
|
194
|
+
Completed 200 OK in 1.5ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
195
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-23 11:02:35 +0000
|
195
196
|
Processing by ExampleController#restricted as HTML
|
196
197
|
Authenticating with gds_sso strategy
|
197
|
-
Completed in 0.
|
198
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-
|
199
|
-
Started GET "/auth/gds/callback?code=
|
198
|
+
Completed in 0.3ms
|
199
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-23 11:02:35 +0000
|
200
|
+
Started GET "/auth/gds/callback?code=32308db68644cb78086855960ae2b2e0f1c92b2820be64d0dbc2a7894692c1f0&state=5b3591a84a62818a42b8c9ded59dc1de15d93cc447546831" for 127.0.0.1 at 2015-04-23 11:02:36 +0000
|
200
201
|
Processing by AuthenticationsController#callback as HTML
|
201
|
-
Parameters: {"code"=>"
|
202
|
+
Parameters: {"code"=>"32308db68644cb78086855960ae2b2e0f1c92b2820be64d0dbc2a7894692c1f0", "state"=>"5b3591a84a62818a42b8c9ded59dc1de15d93cc447546831"}
|
202
203
|
Authenticating with gds_sso strategy
|
203
|
-
[1m[36mUser Load (0.
|
204
|
-
[1m[35m (0.
|
205
|
-
[1m[36m (0.
|
204
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
205
|
+
[1m[35m (0.0ms)[0m begin transaction
|
206
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
206
207
|
- signin
|
207
208
|
' WHERE "users"."id" = 1[0m
|
208
|
-
[1m[35m (
|
209
|
+
[1m[35m (14.3ms)[0m commit transaction
|
209
210
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
210
|
-
[1m[35m (0.
|
211
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "permissions" = '---
|
211
212
|
- signin
|
212
213
|
' WHERE "users"."id" = 1
|
213
|
-
[1m[36m (
|
214
|
+
[1m[36m (12.7ms)[0m [1mcommit transaction[0m
|
214
215
|
Redirected to http://www.example-client.com/restricted
|
215
|
-
Completed 302 Found in
|
216
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
216
|
+
Completed 302 Found in 33.2ms (ActiveRecord: 27.7ms)
|
217
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-23 11:02:36 +0000
|
217
218
|
Processing by ExampleController#restricted as HTML
|
218
|
-
[1m[35mUser Load (0.
|
219
|
-
Completed 200 OK in
|
220
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
219
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1
|
220
|
+
Completed 200 OK in 1.8ms (Views: 0.5ms | ActiveRecord: 0.2ms)
|
221
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-24 07:07:36 +0000
|
221
222
|
Processing by ExampleController#restricted as HTML
|
222
223
|
Authenticating with gds_sso strategy
|
223
|
-
Completed in 0.
|
224
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-
|
225
|
-
Started GET "/auth/gds/callback?code=
|
224
|
+
Completed in 0.4ms
|
225
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-24 07:07:36 +0000
|
226
|
+
Started GET "/auth/gds/callback?code=713862b5e22ad016e5a9da05566ecceaf08fc5c9e8e214e2e8d31852fdf2012d&state=e10586ec34d05d93e4a6e8e9cd14721c8cb109738abc7f1d" for 127.0.0.1 at 2015-04-24 07:07:36 +0000
|
226
227
|
Processing by AuthenticationsController#callback as HTML
|
227
|
-
Parameters: {"code"=>"
|
228
|
+
Parameters: {"code"=>"713862b5e22ad016e5a9da05566ecceaf08fc5c9e8e214e2e8d31852fdf2012d", "state"=>"e10586ec34d05d93e4a6e8e9cd14721c8cb109738abc7f1d"}
|
228
229
|
Authenticating with gds_sso strategy
|
229
|
-
[1m[36mUser Load (0.
|
230
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
230
231
|
[1m[35m (0.1ms)[0m begin transaction
|
231
232
|
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
232
233
|
- signin
|
233
234
|
' WHERE "users"."id" = 1[0m
|
234
|
-
[1m[35m (
|
235
|
+
[1m[35m (11.6ms)[0m commit transaction
|
235
236
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
236
237
|
[1m[35m (0.2ms)[0m UPDATE "users" SET "permissions" = '---
|
237
238
|
- signin
|
238
239
|
' WHERE "users"."id" = 1
|
239
|
-
[1m[36m (
|
240
|
+
[1m[36m (12.8ms)[0m [1mcommit transaction[0m
|
240
241
|
Redirected to http://www.example-client.com/restricted
|
241
|
-
Completed 302 Found in
|
242
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
242
|
+
Completed 302 Found in 31.2ms (ActiveRecord: 25.5ms)
|
243
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-24 07:07:36 +0000
|
243
244
|
Processing by ExampleController#restricted as HTML
|
244
245
|
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1
|
245
|
-
Completed 200 OK in
|
246
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
246
|
+
Completed 200 OK in 2.2ms (Views: 0.5ms | ActiveRecord: 0.3ms)
|
247
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-23 11:02:36 +0000
|
247
248
|
Processing by ExampleController#restricted as HTML
|
248
249
|
Authenticating with gds_sso strategy
|
249
|
-
Completed in 0.
|
250
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-
|
251
|
-
Started GET "/auth/gds/callback?code=
|
250
|
+
Completed in 0.3ms
|
251
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-23 11:02:36 +0000
|
252
|
+
Started GET "/auth/gds/callback?code=6a4a64c4bdbe8c9481d9b2f00aa6e9df15536e20d6539c79796dd4ea117fb1cc&state=096877e59a232525f2f3048eab8d44dfe0a04887ba252c28" for 127.0.0.1 at 2015-04-23 11:02:36 +0000
|
252
253
|
Processing by AuthenticationsController#callback as HTML
|
253
|
-
Parameters: {"code"=>"
|
254
|
+
Parameters: {"code"=>"6a4a64c4bdbe8c9481d9b2f00aa6e9df15536e20d6539c79796dd4ea117fb1cc", "state"=>"096877e59a232525f2f3048eab8d44dfe0a04887ba252c28"}
|
254
255
|
Authenticating with gds_sso strategy
|
255
|
-
[1m[36mUser Load (0.
|
256
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
256
257
|
[1m[35m (0.1ms)[0m begin transaction
|
257
|
-
[1m[36m (0.
|
258
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
258
259
|
- signin
|
259
260
|
' WHERE "users"."id" = 1[0m
|
260
|
-
[1m[35m (
|
261
|
+
[1m[35m (12.1ms)[0m commit transaction
|
261
262
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
262
|
-
[1m[35m (0.
|
263
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "permissions" = '---
|
263
264
|
- signin
|
264
265
|
' WHERE "users"."id" = 1
|
265
|
-
[1m[36m (
|
266
|
+
[1m[36m (19.8ms)[0m [1mcommit transaction[0m
|
266
267
|
Redirected to http://www.example-client.com/restricted
|
267
|
-
Completed 302 Found in
|
268
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
268
|
+
Completed 302 Found in 38.1ms (ActiveRecord: 32.6ms)
|
269
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-23 11:02:37 +0000
|
269
270
|
Processing by ExampleController#restricted as HTML
|
270
|
-
[1m[35mUser Load (0.
|
271
|
-
Completed 200 OK in
|
272
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
271
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1
|
272
|
+
Completed 200 OK in 1.6ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
273
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-24 06:57:37 +0000
|
273
274
|
Processing by ExampleController#restricted as HTML
|
274
|
-
[1m[36mUser Load (0.
|
275
|
-
Completed 200 OK in
|
276
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
275
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1[0m
|
276
|
+
Completed 200 OK in 1.2ms (Views: 0.2ms | ActiveRecord: 0.2ms)
|
277
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-23 11:02:37 +0000
|
278
|
+
Processing by ExampleController#restricted as JSON
|
279
|
+
Completed in 28.6ms
|
280
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-23 11:02:38 +0000
|
277
281
|
Processing by ExampleController#restricted as JSON
|
278
|
-
Completed in 135.2ms
|
279
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-20 13:11:41 +0000
|
280
|
-
Processing by ExampleController#this_requires_signin_permission as JSON
|
281
|
-
[1m[35mUser Load (0.4ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
282
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
283
|
-
[1m[35m (0.4ms)[0m UPDATE "users" SET "disabled" = NULL, "permissions" = '---
|
284
|
-
- signin
|
285
|
-
' WHERE "users"."id" = 1
|
286
|
-
[1m[36m (35.1ms)[0m [1mcommit transaction[0m
|
287
282
|
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
288
283
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
289
|
-
[1m[35m (0.
|
284
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "disabled" = NULL, "permissions" = '---
|
290
285
|
- signin
|
291
286
|
' WHERE "users"."id" = 1
|
292
|
-
[1m[36m (
|
287
|
+
[1m[36m (20.8ms)[0m [1mcommit transaction[0m
|
293
288
|
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
294
|
-
[1m[36m (0.
|
295
|
-
[1m[35m (0.
|
289
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
290
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "permissions" = '---
|
296
291
|
- signin
|
297
292
|
' WHERE "users"."id" = 1
|
298
|
-
[1m[36m (
|
293
|
+
[1m[36m (29.2ms)[0m [1mcommit transaction[0m
|
299
294
|
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
300
295
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
301
296
|
[1m[35m (0.2ms)[0m UPDATE "users" SET "permissions" = '---
|
302
297
|
- signin
|
303
298
|
' WHERE "users"."id" = 1
|
304
|
-
[1m[36m (
|
299
|
+
[1m[36m (37.5ms)[0m [1mcommit transaction[0m
|
300
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
301
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
302
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "permissions" = '---
|
303
|
+
- signin
|
304
|
+
' WHERE "users"."id" = 1
|
305
|
+
[1m[36m (12.8ms)[0m [1mcommit transaction[0m
|
305
306
|
[1m[35m (0.1ms)[0m begin transaction
|
306
307
|
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
307
308
|
- signin
|
308
309
|
' WHERE "users"."id" = 1[0m
|
309
|
-
[1m[35m (
|
310
|
-
Completed 200 OK in
|
311
|
-
Started GET "/
|
312
|
-
Processing by ExampleController#
|
313
|
-
[1m[36mUser Load (0.
|
310
|
+
[1m[35m (21.4ms)[0m commit transaction
|
311
|
+
Completed 200 OK in 301.2ms (Views: 0.6ms | ActiveRecord: 123.9ms)
|
312
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-23 11:02:38 +0000
|
313
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
314
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
314
315
|
[1m[35m (0.1ms)[0m begin transaction
|
315
|
-
[1m[36m (0.
|
316
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
316
317
|
- signin
|
317
318
|
' WHERE "users"."id" = 1[0m
|
318
|
-
[1m[35m (
|
319
|
+
[1m[35m (29.6ms)[0m commit transaction
|
319
320
|
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
320
321
|
[1m[35m (0.1ms)[0m begin transaction
|
321
|
-
[1m[36m (0.
|
322
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
322
323
|
- signin
|
323
324
|
' WHERE "users"."id" = 1[0m
|
324
|
-
[1m[35m (
|
325
|
+
[1m[35m (25.2ms)[0m commit transaction
|
325
326
|
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
326
|
-
[1m[35m (0.
|
327
|
-
[1m[36m (0.
|
327
|
+
[1m[35m (0.0ms)[0m begin transaction
|
328
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
328
329
|
- signin
|
329
330
|
' WHERE "users"."id" = 1[0m
|
330
|
-
[1m[35m (
|
331
|
+
[1m[35m (19.0ms)[0m commit transaction
|
331
332
|
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
332
333
|
[1m[35m (0.1ms)[0m begin transaction
|
333
|
-
[1m[36m (0.
|
334
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
334
335
|
- signin
|
335
336
|
' WHERE "users"."id" = 1[0m
|
336
|
-
[1m[35m (
|
337
|
+
[1m[35m (17.7ms)[0m commit transaction
|
337
338
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
338
|
-
[1m[35m (0.
|
339
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "permissions" = '---
|
339
340
|
- signin
|
340
341
|
' WHERE "users"."id" = 1
|
341
|
-
[1m[36m (
|
342
|
-
Completed 200 OK in
|
343
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
342
|
+
[1m[36m (19.5ms)[0m [1mcommit transaction[0m
|
343
|
+
Completed 200 OK in 330.3ms (Views: 0.5ms | ActiveRecord: 113.3ms)
|
344
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-23 11:02:39 +0000
|
344
345
|
Processing by ExampleController#restricted as JSON
|
345
|
-
Completed in
|
346
|
-
[1m[35m (0.
|
347
|
-
[1m[36mSQL (0.
|
348
|
-
[1m[35m (
|
346
|
+
Completed in 17.5ms
|
347
|
+
[1m[35m (0.1ms)[0m begin transaction
|
348
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("disabled", "email", "name", "organisation_content_id", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["disabled", false], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["organisation_content_id", nil], ["organisation_slug", nil], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d31007"]]
|
349
|
+
[1m[35m (16.0ms)[0m commit transaction
|
349
350
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
350
|
-
[1m[35mSQL (0.
|
351
|
-
[1m[36m (
|
351
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("disabled", "email", "name", "organisation_content_id", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["disabled", false], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["organisation_content_id", nil], ["organisation_slug", nil], ["permissions", "---\n- signin\n- user_update_permission\n"], ["remotely_signed_out", nil], ["uid", "a1s2d36254"]]
|
352
|
+
[1m[36m (12.7ms)[0m [1mcommit transaction[0m
|
352
353
|
WARNING: Can't mass-assign protected attributes: uid, name, permissions
|
353
354
|
Processing by Api::UserController#update as HTML
|
354
|
-
Parameters: {"uid"=>"
|
355
|
-
Completed 403 Forbidden in
|
355
|
+
Parameters: {"uid"=>"a1s2d31007"}
|
356
|
+
Completed 403 Forbidden in 4.0ms (Views: 3.2ms | ActiveRecord: 0.0ms)
|
356
357
|
[1m[35m (0.1ms)[0m begin transaction
|
357
|
-
[1m[36mSQL (0.
|
358
|
-
[1m[35m (
|
358
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("disabled", "email", "name", "organisation_content_id", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["disabled", false], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["organisation_content_id", nil], ["organisation_slug", nil], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d37266"]]
|
359
|
+
[1m[35m (28.5ms)[0m commit transaction
|
359
360
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
360
|
-
[1m[35mSQL (0.
|
361
|
-
[1m[36m (
|
361
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("disabled", "email", "name", "organisation_content_id", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["disabled", false], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["organisation_content_id", nil], ["organisation_slug", nil], ["permissions", "---\n- signin\n- user_update_permission\n"], ["remotely_signed_out", nil], ["uid", "a1s2d33860"]]
|
362
|
+
[1m[36m (23.5ms)[0m [1mcommit transaction[0m
|
362
363
|
Processing by Api::UserController#update as HTML
|
363
|
-
Parameters: {"uid"=>"
|
364
|
-
[1m[35mUser Load (0.
|
365
|
-
[1m[36m (0.
|
366
|
-
[1m[35m (0.
|
364
|
+
Parameters: {"uid"=>"a1s2d37266"}
|
365
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d37266' LIMIT 1
|
366
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
367
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "email" = 'user@domain.com', "name" = 'Joshua Marshall', "permissions" = '---
|
367
368
|
- signin
|
368
369
|
- new permission
|
369
|
-
', "organisation_slug" = 'justice-league' WHERE "users"."id" = 4
|
370
|
-
[1m[36m (
|
371
|
-
Completed 200 OK in
|
372
|
-
[1m[35mUser Load (0.
|
373
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
374
|
-
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("disabled", "email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?, ?) [["disabled", false], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["organisation_slug", nil], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d33478"]]
|
375
|
-
[1m[36m (27.6ms)[0m [1mcommit transaction[0m
|
376
|
-
[1m[35m (0.1ms)[0m begin transaction
|
377
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("disabled", "email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["disabled", false], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["organisation_slug", nil], ["permissions", "---\n- signin\n- user_update_permission\n"], ["remotely_signed_out", nil], ["uid", "a1s2d38389"]]
|
378
|
-
[1m[35m (9.9ms)[0m commit transaction
|
379
|
-
WARNING: Can't mass-assign protected attributes: uid, name, permissions
|
380
|
-
Processing by Api::UserController#reauth as HTML
|
381
|
-
Parameters: {"uid"=>"a1s2d33478"}
|
382
|
-
Completed 403 Forbidden in 2.7ms (Views: 1.5ms | ActiveRecord: 0.0ms)
|
370
|
+
', "organisation_slug" = 'justice-league', "organisation_content_id" = 'aae1319e-5788-4677-998c-f1a53af528d0' WHERE "users"."id" = 4
|
371
|
+
[1m[36m (10.4ms)[0m [1mcommit transaction[0m
|
372
|
+
Completed 200 OK in 15.3ms (ActiveRecord: 10.8ms)
|
373
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]]
|
383
374
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
384
|
-
[1m[35mSQL (0.
|
385
|
-
[1m[36m (
|
375
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("disabled", "email", "name", "organisation_content_id", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["disabled", false], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["organisation_content_id", nil], ["organisation_slug", nil], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d31316"]]
|
376
|
+
[1m[36m (11.5ms)[0m [1mcommit transaction[0m
|
386
377
|
[1m[35m (0.1ms)[0m begin transaction
|
387
|
-
[1m[36mSQL (0.
|
388
|
-
[1m[35m (
|
378
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("disabled", "email", "name", "organisation_content_id", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["disabled", false], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["organisation_content_id", nil], ["organisation_slug", nil], ["permissions", "---\n- signin\n- user_update_permission\n"], ["remotely_signed_out", nil], ["uid", "a1s2d33587"]]
|
379
|
+
[1m[35m (13.1ms)[0m commit transaction
|
389
380
|
Processing by Api::UserController#reauth as HTML
|
390
381
|
Parameters: {"uid"=>"nonexistent-user"}
|
391
382
|
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'nonexistent-user' LIMIT 1[0m
|
392
|
-
Completed 200 OK in 1.
|
383
|
+
Completed 200 OK in 1.7ms (ActiveRecord: 0.2ms)
|
393
384
|
[1m[35m (0.1ms)[0m begin transaction
|
394
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("disabled", "email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["disabled", false], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["organisation_slug", nil], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "
|
395
|
-
[1m[35m (
|
385
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("disabled", "email", "name", "organisation_content_id", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["disabled", false], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["organisation_content_id", nil], ["organisation_slug", nil], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d31719"]]
|
386
|
+
[1m[35m (16.6ms)[0m commit transaction
|
396
387
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
397
|
-
[1m[35mSQL (0.
|
398
|
-
[1m[36m (
|
388
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("disabled", "email", "name", "organisation_content_id", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["disabled", false], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["organisation_content_id", nil], ["organisation_slug", nil], ["permissions", "---\n- signin\n- user_update_permission\n"], ["remotely_signed_out", nil], ["uid", "a1s2d34357"]]
|
389
|
+
[1m[36m (19.8ms)[0m [1mcommit transaction[0m
|
390
|
+
WARNING: Can't mass-assign protected attributes: uid, name, permissions
|
399
391
|
Processing by Api::UserController#reauth as HTML
|
400
|
-
Parameters: {"uid"=>"
|
401
|
-
|
402
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
403
|
-
[1m[35m (0.2ms)[0m UPDATE "users" SET "remotely_signed_out" = 't', "permissions" = '---
|
404
|
-
- signin
|
405
|
-
' WHERE "users"."id" = 10
|
406
|
-
[1m[36m (6.5ms)[0m [1mcommit transaction[0m
|
407
|
-
Completed 200 OK in 10.4ms (ActiveRecord: 7.1ms)
|
408
|
-
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 10]]
|
409
|
-
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
410
|
-
[1m[35mSQL (4.7ms)[0m INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["uid", "a1s2d3542"]]
|
411
|
-
[1m[36m (13.4ms)[0m [1mcommit transaction[0m
|
392
|
+
Parameters: {"uid"=>"a1s2d31719"}
|
393
|
+
Completed 403 Forbidden in 1.6ms (Views: 1.0ms | ActiveRecord: 0.0ms)
|
412
394
|
[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"=>"a1s2d3542"}
|
417
|
-
Rendered /home/jenkins/workspace/govuk_gds_sso/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.5ms)
|
418
|
-
Completed 403 Forbidden in 160ms (Views: 158.9ms | ActiveRecord: 0.0ms)
|
419
|
-
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
420
|
-
[1m[35mSQL (14.7ms)[0m INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["uid", "a1s2d3390"]]
|
421
|
-
[1m[36m (18.5ms)[0m [1mcommit transaction[0m
|
422
|
-
[1m[35m (0.3ms)[0m begin transaction
|
423
|
-
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?)[0m [["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"], ["uid", "a1s2d32796"]]
|
424
|
-
[1m[35m (18.2ms)[0m commit transaction
|
425
|
-
Processing by Api::UserController#update as HTML
|
426
|
-
Parameters: {"uid"=>"a1s2d3390"}
|
427
|
-
[1m[36mUser Load (1.9ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d3390' ORDER BY "users"."id" ASC LIMIT 1[0m
|
428
|
-
[1m[35m (0.2ms)[0m begin transaction
|
429
|
-
[1m[36mSQL (0.8ms)[0m [1mUPDATE "users" SET "email" = ?, "name" = ?, "permissions" = ?, "organisation_slug" = ? WHERE "users"."id" = 3[0m [["email", "user@domain.com"], ["name", "Joshua Marshall"], ["permissions", "---\n- signin\n- new permission\n"], ["organisation_slug", "justice-league"]]
|
430
|
-
[1m[35m (27.8ms)[0m commit transaction
|
431
|
-
Completed 200 OK in 85ms (ActiveRecord: 30.6ms)
|
432
|
-
[1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 3]]
|
433
|
-
[1m[35m (0.2ms)[0m begin transaction
|
434
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?)[0m [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["uid", "a1s2d39292"]]
|
435
|
-
[1m[35m (51.7ms)[0m commit transaction
|
395
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "users" ("disabled", "email", "name", "organisation_content_id", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["disabled", false], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["organisation_content_id", nil], ["organisation_slug", nil], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d35311"]]
|
396
|
+
[1m[35m (14.1ms)[0m commit transaction
|
436
397
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
437
|
-
[1m[35mSQL (0.
|
438
|
-
[1m[36m (
|
439
|
-
Processing by Api::UserController#reauth as HTML
|
440
|
-
Parameters: {"uid"=>"a1s2d39292"}
|
441
|
-
[1m[35mUser Load (0.4ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d39292' ORDER BY "users"."id" ASC LIMIT 1
|
442
|
-
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
443
|
-
[1m[35mSQL (0.6ms)[0m UPDATE "users" SET "remotely_signed_out" = ?, "permissions" = ? WHERE "users"."id" = 5 [["remotely_signed_out", true], ["permissions", "---\n- signin\n"]]
|
444
|
-
[1m[36m (32.3ms)[0m [1mcommit transaction[0m
|
445
|
-
Completed 200 OK in 40ms (ActiveRecord: 33.4ms)
|
446
|
-
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]]
|
447
|
-
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
448
|
-
[1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["uid", "a1s2d38465"]]
|
449
|
-
[1m[36m (30.1ms)[0m [1mcommit transaction[0m
|
450
|
-
[1m[35m (0.1ms)[0m begin transaction
|
451
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?)[0m [["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"], ["uid", "a1s2d31128"]]
|
452
|
-
[1m[35m (24.6ms)[0m commit transaction
|
398
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("disabled", "email", "name", "organisation_content_id", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["disabled", false], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["organisation_content_id", nil], ["organisation_slug", nil], ["permissions", "---\n- signin\n- user_update_permission\n"], ["remotely_signed_out", nil], ["uid", "a1s2d35771"]]
|
399
|
+
[1m[36m (11.1ms)[0m [1mcommit transaction[0m
|
453
400
|
Processing by Api::UserController#reauth as HTML
|
454
|
-
Parameters: {"uid"=>"
|
455
|
-
[1m[
|
456
|
-
Completed 200 OK in 3ms (ActiveRecord: 0.3ms)
|
457
|
-
[1m[35m (0.2ms)[0m begin transaction
|
458
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?)[0m [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["uid", "a1s2d35674"]]
|
459
|
-
[1m[35m (26.5ms)[0m commit transaction
|
401
|
+
Parameters: {"uid"=>"a1s2d35311"}
|
402
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d35311' LIMIT 1
|
460
403
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
461
|
-
[1m[
|
462
|
-
|
463
|
-
|
464
|
-
|
465
|
-
Completed
|
466
|
-
|
404
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "remotely_signed_out" = 't', "permissions" = '---
|
405
|
+
- signin
|
406
|
+
' WHERE "users"."id" = 10
|
407
|
+
[1m[36m (10.5ms)[0m [1mcommit transaction[0m
|
408
|
+
Completed 200 OK in 13.8ms (ActiveRecord: 10.9ms)
|
409
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 10]]
|
410
|
+
Started GET "/" for 127.0.0.1 at 2015-04-23 11:03:54 +0000
|
411
|
+
Processing by ExampleController#index as HTML
|
412
|
+
Rendered text template (0.0ms)
|
413
|
+
Completed 200 OK in 81ms (Views: 80.7ms | ActiveRecord: 0.0ms)
|
414
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-23 11:03:54 +0000
|
467
415
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
468
416
|
Authenticating with gds_sso strategy
|
469
|
-
Completed in
|
470
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-
|
471
|
-
Started GET "/auth/gds/callback?code=
|
417
|
+
Completed in 62ms
|
418
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-23 11:03:55 +0000
|
419
|
+
Started GET "/auth/gds/callback?code=b6c42b01bc54033735e8a81964faa30f2f8b7543498243c75de58ac22f3a0bfa&state=63af1011385db0f7842608ec6d3686d4971981c34ce4eb5f" for 127.0.0.1 at 2015-04-23 11:03:56 +0000
|
472
420
|
Processing by AuthenticationsController#callback as HTML
|
473
|
-
Parameters: {"code"=>"
|
421
|
+
Parameters: {"code"=>"b6c42b01bc54033735e8a81964faa30f2f8b7543498243c75de58ac22f3a0bfa", "state"=>"63af1011385db0f7842608ec6d3686d4971981c34ce4eb5f"}
|
474
422
|
Authenticating with gds_sso strategy
|
475
|
-
[1m[
|
476
|
-
[1m[
|
477
|
-
[1m[35m (0.1ms)[0m begin transaction
|
478
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?)[0m [["email", "test@example-client.com"], ["name", "Test User"], ["permissions", "---\n- signin\n"], ["uid", "integration-uid"]]
|
479
|
-
[1m[35m (13.6ms)[0m commit transaction
|
423
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
424
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'test@example-client.com' ORDER BY "users"."id" ASC LIMIT 1
|
480
425
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
481
|
-
[1m[35mSQL (0.
|
482
|
-
[1m[36m (
|
426
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "test@example-client.com"], ["name", "Test User"], ["permissions", "---\n- signin\n"], ["uid", "integration-uid"]]
|
427
|
+
[1m[36m (28.1ms)[0m [1mcommit transaction[0m
|
428
|
+
[1m[35m (0.1ms)[0m begin transaction
|
429
|
+
[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"]]
|
430
|
+
[1m[35m (17.6ms)[0m commit transaction
|
483
431
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
484
|
-
Completed 302 Found in
|
485
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-
|
432
|
+
Completed 302 Found in 115ms (ActiveRecord: 47.9ms)
|
433
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-23 11:03:56 +0000
|
486
434
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
487
|
-
[1m[
|
488
|
-
Completed 200 OK in
|
489
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-
|
435
|
+
[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
|
436
|
+
Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.3ms)
|
437
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-23 11:03:56 +0000
|
490
438
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
491
439
|
Authenticating with gds_sso strategy
|
492
|
-
Completed in
|
493
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-
|
494
|
-
Started GET "/auth/gds/callback?code=
|
440
|
+
Completed in 0ms
|
441
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-23 11:03:56 +0000
|
442
|
+
Started GET "/auth/gds/callback?code=660e78a35e3906dfa4d7082db89d1504e82a1055644cf26c72600d74fdd37f1b&state=f1fb19b9f8d504af8dbdc0f179dc472fd79822ced26b4d28" for 127.0.0.1 at 2015-04-23 11:03:57 +0000
|
495
443
|
Processing by AuthenticationsController#callback as HTML
|
496
|
-
Parameters: {"code"=>"
|
444
|
+
Parameters: {"code"=>"660e78a35e3906dfa4d7082db89d1504e82a1055644cf26c72600d74fdd37f1b", "state"=>"f1fb19b9f8d504af8dbdc0f179dc472fd79822ced26b4d28"}
|
497
445
|
Authenticating with gds_sso strategy
|
498
|
-
[1m[
|
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 (13.7ms)[0m commit transaction
|
446
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
502
447
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
503
|
-
[1m[35mSQL (0.
|
504
|
-
[1m[36m (
|
448
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
|
449
|
+
[1m[36m (17.6ms)[0m [1mcommit transaction[0m
|
450
|
+
[1m[35m (0.1ms)[0m begin transaction
|
451
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1[0m [["permissions", "---\n- signin\n"]]
|
452
|
+
[1m[35m (24.3ms)[0m commit transaction
|
505
453
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
506
|
-
Completed 302 Found in
|
507
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-
|
454
|
+
Completed 302 Found in 49ms (ActiveRecord: 42.8ms)
|
455
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-23 11:03:57 +0000
|
508
456
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
509
|
-
[1m[
|
510
|
-
Completed 200 OK in
|
511
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
457
|
+
[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
|
458
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
459
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-23 11:03:57 +0000
|
512
460
|
Processing by ExampleController#restricted as HTML
|
513
461
|
Authenticating with gds_sso strategy
|
514
462
|
Completed in 1ms
|
515
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-
|
516
|
-
Started GET "/auth/gds/callback?code=
|
463
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-23 11:03:57 +0000
|
464
|
+
Started GET "/auth/gds/callback?code=68135862a736dba05ca4814bf5fcfb9da2018ea77723bae2fde201292b702aa8&state=bc04588380fac40c01a8b4801e40302a5cdf21537adb8cbc" for 127.0.0.1 at 2015-04-23 11:03:58 +0000
|
517
465
|
Processing by AuthenticationsController#callback as HTML
|
518
|
-
Parameters: {"code"=>"
|
466
|
+
Parameters: {"code"=>"68135862a736dba05ca4814bf5fcfb9da2018ea77723bae2fde201292b702aa8", "state"=>"bc04588380fac40c01a8b4801e40302a5cdf21537adb8cbc"}
|
519
467
|
Authenticating with gds_sso strategy
|
520
|
-
[1m[
|
521
|
-
[1m[35m (0.1ms)[0m begin transaction
|
522
|
-
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
523
|
-
[1m[35m (15.0ms)[0m commit transaction
|
468
|
+
[1m[35mUser Load (0.5ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
524
469
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
525
|
-
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" =
|
526
|
-
[1m[36m (
|
470
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
|
471
|
+
[1m[36m (94.9ms)[0m [1mcommit transaction[0m
|
472
|
+
[1m[35m (0.1ms)[0m begin transaction
|
473
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1[0m [["permissions", "---\n- signin\n"]]
|
474
|
+
[1m[35m (30.5ms)[0m commit transaction
|
527
475
|
Redirected to http://www.example-client.com/restricted
|
528
|
-
Completed 302 Found in
|
529
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
476
|
+
Completed 302 Found in 135ms (ActiveRecord: 126.5ms)
|
477
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-23 11:03:58 +0000
|
530
478
|
Processing by ExampleController#restricted as HTML
|
531
|
-
[1m[
|
532
|
-
Completed 200 OK in
|
533
|
-
Started GET "/" for 127.0.0.1 at 2015-04-
|
534
|
-
Processing by ExampleController#index as HTML
|
535
|
-
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
|
536
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-20 13:13:07 +0000
|
479
|
+
[1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1[0m
|
480
|
+
Completed 200 OK in 4ms (Views: 0.9ms | ActiveRecord: 0.4ms)
|
481
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-23 11:03:58 +0000
|
537
482
|
Processing by ExampleController#restricted as HTML
|
538
483
|
Authenticating with gds_sso strategy
|
539
484
|
Completed in 1ms
|
540
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-
|
541
|
-
Started GET "/auth/gds/callback?code=
|
485
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-23 11:03:58 +0000
|
486
|
+
Started GET "/auth/gds/callback?code=fab6ec3cdd26f32bb81131846418e52e35d4357f0c7a4c20524ca64f8c16eb28&state=bf55106215b8223b3d5fd56a15b44510bd5c376bed76f61b" for 127.0.0.1 at 2015-04-23 11:03:58 +0000
|
542
487
|
Processing by AuthenticationsController#callback as HTML
|
543
|
-
Parameters: {"code"=>"
|
488
|
+
Parameters: {"code"=>"fab6ec3cdd26f32bb81131846418e52e35d4357f0c7a4c20524ca64f8c16eb28", "state"=>"bf55106215b8223b3d5fd56a15b44510bd5c376bed76f61b"}
|
544
489
|
Authenticating with gds_sso strategy
|
545
|
-
[1m[
|
546
|
-
[1m[35m (0.1ms)[0m begin transaction
|
547
|
-
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
548
|
-
[1m[35m (10.2ms)[0m commit transaction
|
490
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
549
491
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
550
|
-
[1m[35mSQL (0.
|
551
|
-
[1m[36m (
|
492
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
|
493
|
+
[1m[36m (16.1ms)[0m [1mcommit transaction[0m
|
494
|
+
[1m[35m (0.1ms)[0m begin transaction
|
495
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1[0m [["permissions", "---\n- signin\n"]]
|
496
|
+
[1m[35m (16.1ms)[0m commit transaction
|
552
497
|
Redirected to http://www.example-client.com/restricted
|
553
|
-
Completed 302 Found in
|
554
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
498
|
+
Completed 302 Found in 39ms (ActiveRecord: 33.1ms)
|
499
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-23 11:03:58 +0000
|
555
500
|
Processing by ExampleController#restricted as HTML
|
556
|
-
[1m[
|
557
|
-
Completed 200 OK in
|
558
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
501
|
+
[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
|
502
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.3ms)
|
503
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-23 11:03:59 +0000
|
559
504
|
Processing by ExampleController#restricted as HTML
|
560
505
|
Authenticating with gds_sso strategy
|
561
506
|
Completed in 0ms
|
562
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-
|
563
|
-
Started GET "/auth/gds/callback?code=
|
507
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-23 11:03:59 +0000
|
508
|
+
Started GET "/auth/gds/callback?code=c0b757cfbb0b833473494b01e396285d058a942aded93ea240eca099f4609da9&state=19631c205ce6e93798eb67586a4d4a9fd0de0ff7d468266e" for 127.0.0.1 at 2015-04-23 11:03:59 +0000
|
564
509
|
Processing by AuthenticationsController#callback as HTML
|
565
|
-
Parameters: {"code"=>"
|
510
|
+
Parameters: {"code"=>"c0b757cfbb0b833473494b01e396285d058a942aded93ea240eca099f4609da9", "state"=>"19631c205ce6e93798eb67586a4d4a9fd0de0ff7d468266e"}
|
566
511
|
Authenticating with gds_sso strategy
|
567
|
-
[1m[
|
568
|
-
[1m[35m (0.1ms)[0m begin transaction
|
569
|
-
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
570
|
-
[1m[35m (43.8ms)[0m commit transaction
|
512
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
571
513
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
572
|
-
[1m[35mSQL (0.
|
573
|
-
[1m[36m (
|
514
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
|
515
|
+
[1m[36m (18.4ms)[0m [1mcommit transaction[0m
|
516
|
+
[1m[35m (0.1ms)[0m begin transaction
|
517
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1[0m [["permissions", "---\n- signin\n"]]
|
518
|
+
[1m[35m (22.5ms)[0m commit transaction
|
574
519
|
Redirected to http://www.example-client.com/restricted
|
575
|
-
Completed 302 Found in
|
576
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
520
|
+
Completed 302 Found in 49ms (ActiveRecord: 41.8ms)
|
521
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-23 11:03:59 +0000
|
577
522
|
Processing by ExampleController#restricted as HTML
|
578
|
-
[1m[
|
579
|
-
Completed 200 OK in
|
580
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
523
|
+
[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
|
524
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.3ms)
|
525
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-23 11:03:59 +0000
|
581
526
|
Processing by ExampleController#restricted as HTML
|
582
527
|
Authenticating with gds_sso strategy
|
583
528
|
Completed in 1ms
|
584
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-
|
585
|
-
Started GET "/auth/gds/callback?code=
|
529
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-23 11:03:59 +0000
|
530
|
+
Started GET "/auth/gds/callback?code=25115e415e27fdc41fef33db685f8861db7a69fa204eef4c1069287cfc4b87f3&state=a810ab1b2e4fcaf7308c93e3ab187063c4f64982927e405a" for 127.0.0.1 at 2015-04-23 11:04:00 +0000
|
586
531
|
Processing by AuthenticationsController#callback as HTML
|
587
|
-
Parameters: {"code"=>"
|
532
|
+
Parameters: {"code"=>"25115e415e27fdc41fef33db685f8861db7a69fa204eef4c1069287cfc4b87f3", "state"=>"a810ab1b2e4fcaf7308c93e3ab187063c4f64982927e405a"}
|
588
533
|
Authenticating with gds_sso strategy
|
589
|
-
[1m[
|
590
|
-
[1m[35m (0.1ms)[0m begin transaction
|
591
|
-
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
592
|
-
[1m[35m (13.5ms)[0m commit transaction
|
534
|
+
[1m[35mUser Load (0.5ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
593
535
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
594
|
-
[1m[35mSQL (0.
|
595
|
-
[1m[36m (
|
536
|
+
[1m[35mSQL (0.5ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
|
537
|
+
[1m[36m (24.1ms)[0m [1mcommit transaction[0m
|
538
|
+
[1m[35m (0.1ms)[0m begin transaction
|
539
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1[0m [["permissions", "---\n- signin\n"]]
|
540
|
+
[1m[35m (17.7ms)[0m commit transaction
|
596
541
|
Redirected to http://www.example-client.com/restricted
|
597
|
-
Completed 302 Found in
|
598
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
542
|
+
Completed 302 Found in 52ms (ActiveRecord: 43.3ms)
|
543
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-23 11:04:00 +0000
|
599
544
|
Processing by ExampleController#restricted as HTML
|
600
|
-
[1m[
|
601
|
-
Completed 200 OK in 3ms (Views: 0.
|
602
|
-
[1m[
|
603
|
-
[1m[
|
604
|
-
[1m[
|
605
|
-
[1m[
|
606
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
545
|
+
[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
|
546
|
+
Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.3ms)
|
547
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'test@example-client.com' ORDER BY "users"."id" ASC LIMIT 1
|
548
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
549
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "remotely_signed_out" = ?, "permissions" = ? WHERE "users"."id" = 1 [["remotely_signed_out", true], ["permissions", "---\n- signin\n"]]
|
550
|
+
[1m[36m (14.3ms)[0m [1mcommit transaction[0m
|
551
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-23 11:04:00 +0000
|
607
552
|
Processing by ExampleController#restricted as HTML
|
608
|
-
[1m[
|
553
|
+
[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
|
609
554
|
Authenticating with gds_sso strategy
|
610
555
|
Completed in 2ms
|
611
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-
|
612
|
-
Started GET "/auth/gds/callback?code=
|
556
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-23 11:04:00 +0000
|
557
|
+
Started GET "/auth/gds/callback?code=9b5697115a220966c3bd79ebdb69c4d690c5d4e98447d7e7738e6a194e5521c8&state=b1b220427f87e86174ab593e22268f5e34e9bed52d9e3cc5" for 127.0.0.1 at 2015-04-23 11:04:00 +0000
|
613
558
|
Processing by AuthenticationsController#callback as HTML
|
614
|
-
Parameters: {"code"=>"
|
559
|
+
Parameters: {"code"=>"9b5697115a220966c3bd79ebdb69c4d690c5d4e98447d7e7738e6a194e5521c8", "state"=>"b1b220427f87e86174ab593e22268f5e34e9bed52d9e3cc5"}
|
615
560
|
Authenticating with gds_sso strategy
|
616
|
-
[1m[
|
617
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
618
|
-
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
619
|
-
[1m[36m (22.1ms)[0m [1mcommit transaction[0m
|
561
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
620
562
|
[1m[35m (0.1ms)[0m begin transaction
|
621
|
-
[1m[36mSQL (0.
|
622
|
-
[1m[35m (
|
563
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1[0m [["permissions", "---\n- signin\n"]]
|
564
|
+
[1m[35m (15.3ms)[0m commit transaction
|
565
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
566
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "remotely_signed_out" = ?, "permissions" = ? WHERE "users"."id" = 1 [["remotely_signed_out", false], ["permissions", "---\n- signin\n"]]
|
567
|
+
[1m[36m (15.0ms)[0m [1mcommit transaction[0m
|
623
568
|
Redirected to http://www.example-client.com/restricted
|
624
|
-
Completed 302 Found in
|
625
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
569
|
+
Completed 302 Found in 37ms (ActiveRecord: 31.2ms)
|
570
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-23 11:04:00 +0000
|
626
571
|
Processing by ExampleController#restricted as HTML
|
627
|
-
[1m[
|
628
|
-
Completed 200 OK in 2ms (Views: 0.
|
629
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
572
|
+
[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
|
573
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.3ms)
|
574
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-23 11:04:00 +0000
|
630
575
|
Processing by ExampleController#restricted as HTML
|
631
576
|
Authenticating with gds_sso strategy
|
632
577
|
Completed in 1ms
|
633
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-
|
634
|
-
Started GET "/auth/gds/callback?code=
|
578
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-23 11:04:00 +0000
|
579
|
+
Started GET "/auth/gds/callback?code=85b17f53db107ce0f3e0bda7f3d367a470c6890c5f1d7a5b4261e15f136c0996&state=a4ba737b91dde604aec5b6745367370f0445bcd4b71f6d98" for 127.0.0.1 at 2015-04-23 11:04:01 +0000
|
635
580
|
Processing by AuthenticationsController#callback as HTML
|
636
|
-
Parameters: {"code"=>"
|
581
|
+
Parameters: {"code"=>"85b17f53db107ce0f3e0bda7f3d367a470c6890c5f1d7a5b4261e15f136c0996", "state"=>"a4ba737b91dde604aec5b6745367370f0445bcd4b71f6d98"}
|
637
582
|
Authenticating with gds_sso strategy
|
638
|
-
[1m[
|
639
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
640
|
-
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
641
|
-
[1m[36m (16.5ms)[0m [1mcommit transaction[0m
|
583
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
642
584
|
[1m[35m (0.1ms)[0m begin transaction
|
643
|
-
[1m[36mSQL (0.
|
644
|
-
[1m[35m (
|
585
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1[0m [["permissions", "---\n- signin\n"]]
|
586
|
+
[1m[35m (18.6ms)[0m commit transaction
|
587
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
588
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
|
589
|
+
[1m[36m (23.6ms)[0m [1mcommit transaction[0m
|
645
590
|
Redirected to http://www.example-client.com/restricted
|
646
|
-
Completed 302 Found in
|
647
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
591
|
+
Completed 302 Found in 50ms (ActiveRecord: 43.0ms)
|
592
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-23 11:04:01 +0000
|
648
593
|
Processing by ExampleController#restricted as HTML
|
649
|
-
[1m[
|
650
|
-
Completed 200 OK in
|
651
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
594
|
+
[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
|
595
|
+
Completed 200 OK in 4ms (Views: 0.7ms | ActiveRecord: 0.4ms)
|
596
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-24 07:09:01 +0000
|
652
597
|
Processing by ExampleController#restricted as HTML
|
653
598
|
Authenticating with gds_sso strategy
|
654
599
|
Completed in 1ms
|
655
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-
|
656
|
-
Started GET "/auth/gds/callback?code=
|
600
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-24 07:09:01 +0000
|
601
|
+
Started GET "/auth/gds/callback?code=f1182b311e9a2ca1799f19f99b90eeeb9d4c65cdc9372a6893a9712605c47c31&state=cc5ea50099962cb1b1906ea8ef39f9b32bcecca783b0faaa" for 127.0.0.1 at 2015-04-24 07:09:01 +0000
|
657
602
|
Processing by AuthenticationsController#callback as HTML
|
658
|
-
Parameters: {"code"=>"
|
603
|
+
Parameters: {"code"=>"f1182b311e9a2ca1799f19f99b90eeeb9d4c65cdc9372a6893a9712605c47c31", "state"=>"cc5ea50099962cb1b1906ea8ef39f9b32bcecca783b0faaa"}
|
659
604
|
Authenticating with gds_sso strategy
|
660
|
-
[1m[
|
661
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
662
|
-
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
663
|
-
[1m[36m (11.5ms)[0m [1mcommit transaction[0m
|
605
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
664
606
|
[1m[35m (0.1ms)[0m begin transaction
|
665
|
-
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" =
|
666
|
-
[1m[35m (
|
607
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1[0m [["permissions", "---\n- signin\n"]]
|
608
|
+
[1m[35m (13.8ms)[0m commit transaction
|
609
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
610
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
|
611
|
+
[1m[36m (12.7ms)[0m [1mcommit transaction[0m
|
667
612
|
Redirected to http://www.example-client.com/restricted
|
668
|
-
Completed 302 Found in
|
669
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
613
|
+
Completed 302 Found in 33ms (ActiveRecord: 27.4ms)
|
614
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-24 07:09:01 +0000
|
670
615
|
Processing by ExampleController#restricted as HTML
|
671
|
-
[1m[
|
672
|
-
Completed 200 OK in 2ms (Views: 0.
|
673
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
616
|
+
[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
|
617
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.3ms)
|
618
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-23 11:04:01 +0000
|
674
619
|
Processing by ExampleController#restricted as HTML
|
675
620
|
Authenticating with gds_sso strategy
|
676
621
|
Completed in 1ms
|
677
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-
|
678
|
-
Started GET "/auth/gds/callback?code=
|
622
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-23 11:04:01 +0000
|
623
|
+
Started GET "/auth/gds/callback?code=f790dbe1c4b433bba23ffa51bee987c13097d6b5bdc834eef8d184610a15aaa0&state=b34731c331e1a26935972552a274f3f4af4f624cefa798aa" for 127.0.0.1 at 2015-04-23 11:04:02 +0000
|
679
624
|
Processing by AuthenticationsController#callback as HTML
|
680
|
-
Parameters: {"code"=>"
|
625
|
+
Parameters: {"code"=>"f790dbe1c4b433bba23ffa51bee987c13097d6b5bdc834eef8d184610a15aaa0", "state"=>"b34731c331e1a26935972552a274f3f4af4f624cefa798aa"}
|
681
626
|
Authenticating with gds_sso strategy
|
682
|
-
[1m[
|
683
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
684
|
-
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
685
|
-
[1m[36m (14.7ms)[0m [1mcommit transaction[0m
|
627
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
686
628
|
[1m[35m (0.1ms)[0m begin transaction
|
687
|
-
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" =
|
688
|
-
[1m[35m (
|
629
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1[0m [["permissions", "---\n- signin\n"]]
|
630
|
+
[1m[35m (11.7ms)[0m commit transaction
|
631
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
632
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
|
633
|
+
[1m[36m (10.3ms)[0m [1mcommit transaction[0m
|
689
634
|
Redirected to http://www.example-client.com/restricted
|
690
|
-
Completed 302 Found in
|
691
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
692
|
-
Processing by ExampleController#restricted as HTML
|
693
|
-
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1[0m
|
694
|
-
Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.3ms)
|
695
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-21 09:08:13 +0000
|
635
|
+
Completed 302 Found in 30ms (ActiveRecord: 23.0ms)
|
636
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-23 11:04:02 +0000
|
696
637
|
Processing by ExampleController#restricted as HTML
|
697
638
|
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1
|
698
|
-
Completed 200 OK in
|
699
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
639
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.3ms)
|
640
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-24 06:59:02 +0000
|
641
|
+
Processing by ExampleController#restricted as HTML
|
642
|
+
[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
|
643
|
+
Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.2ms)
|
644
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-23 11:04:02 +0000
|
700
645
|
Processing by ExampleController#restricted as JSON
|
701
|
-
Completed in
|
702
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
646
|
+
Completed in 23ms
|
647
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-23 11:04:02 +0000
|
648
|
+
Processing by ExampleController#restricted as JSON
|
649
|
+
Completed in 21ms
|
650
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-23 11:04:03 +0000
|
651
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
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.3ms)[0m UPDATE "users" SET "disabled" = ?, "permissions" = ? WHERE "users"."id" = 1 [["disabled", nil], ["permissions", "---\n- signin\n"]]
|
655
|
+
[1m[36m (10.0ms)[0m [1mcommit transaction[0m
|
656
|
+
[1m[35mUser Load (0.4ms)[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 (14.2ms)[0m [1mcommit transaction[0m
|
660
|
+
[1m[35mUser Load (0.2ms)[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.4ms)[0m [1mcommit transaction[0m
|
664
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
665
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
666
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
|
667
|
+
[1m[36m (12.8ms)[0m [1mcommit transaction[0m
|
668
|
+
[1m[35m (0.1ms)[0m begin transaction
|
669
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1[0m [["permissions", "---\n- signin\n"]]
|
670
|
+
[1m[35m (17.4ms)[0m commit transaction
|
671
|
+
Completed 200 OK in 228ms (Views: 0.6ms | ActiveRecord: 71.5ms)
|
672
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-23 11:04:03 +0000
|
703
673
|
Processing by ExampleController#restricted as JSON
|
704
674
|
[1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
705
675
|
[1m[35m (0.1ms)[0m begin transaction
|
706
|
-
[1m[36mSQL (0.
|
707
|
-
[1m[35m (
|
676
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1[0m [["permissions", "---\n- signin\n"]]
|
677
|
+
[1m[35m (14.7ms)[0m commit transaction
|
708
678
|
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
709
679
|
[1m[35m (0.1ms)[0m begin transaction
|
710
|
-
[1m[36mSQL (0.
|
711
|
-
[1m[35m (
|
712
|
-
[1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
713
|
-
[1m[35m (0.1ms)[0m begin transaction
|
714
|
-
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
715
|
-
[1m[35m (10.7ms)[0m commit transaction
|
680
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1[0m [["permissions", "---\n- signin\n"]]
|
681
|
+
[1m[35m (10.8ms)[0m commit transaction
|
716
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.3ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1[0m [["permissions", "---\n- signin\n"]]
|
685
|
+
[1m[35m (12.6ms)[0m commit transaction
|
686
|
+
[1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
687
|
+
[1m[35m (0.1ms)[0m begin transaction
|
688
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1[0m [["permissions", "---\n- signin\n"]]
|
689
|
+
[1m[35m (15.1ms)[0m commit transaction
|
720
690
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
721
|
-
[1m[35mSQL (0.
|
722
|
-
[1m[36m (
|
723
|
-
Completed 200 OK in
|
724
|
-
|
725
|
-
|
726
|
-
|
727
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-20 13:13:15 +0000
|
728
|
-
Processing by ExampleController#this_requires_signin_permission as JSON
|
729
|
-
[1m[35mUser Load (0.4ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
691
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
|
692
|
+
[1m[36m (12.5ms)[0m [1mcommit transaction[0m
|
693
|
+
Completed 200 OK in 260ms (Views: 0.6ms | ActiveRecord: 69.3ms)
|
694
|
+
[1m[35m (0.2ms)[0m begin transaction
|
695
|
+
[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", "a1s2d35476"]]
|
696
|
+
[1m[35m (24.1ms)[0m commit transaction
|
730
697
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
731
|
-
[1m[35mSQL (0.3ms)[0m
|
732
|
-
[1m[36m (
|
733
|
-
|
698
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"], ["uid", "a1s2d3846"]]
|
699
|
+
[1m[36m (25.3ms)[0m [1mcommit transaction[0m
|
700
|
+
Processing by Api::UserController#update as HTML
|
701
|
+
Parameters: {"uid"=>"a1s2d35476"}
|
702
|
+
Completed 403 Forbidden in 5ms (Views: 3.9ms | ActiveRecord: 0.0ms)
|
703
|
+
[1m[35m (0.1ms)[0m begin transaction
|
704
|
+
[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", "a1s2d32072"]]
|
705
|
+
[1m[35m (11.2ms)[0m commit transaction
|
734
706
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
735
|
-
[1m[35mSQL (0.
|
736
|
-
[1m[36m (12.
|
737
|
-
|
707
|
+
[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", "a1s2d33228"]]
|
708
|
+
[1m[36m (12.1ms)[0m [1mcommit transaction[0m
|
709
|
+
Processing by Api::UserController#update as HTML
|
710
|
+
Parameters: {"uid"=>"a1s2d32072"}
|
711
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d32072' ORDER BY "users"."id" ASC LIMIT 1
|
738
712
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
739
|
-
[1m[35mSQL (0.
|
740
|
-
[1m[36m (14.
|
741
|
-
|
713
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "email" = ?, "name" = ?, "permissions" = ?, "organisation_slug" = ?, "organisation_content_id" = ? WHERE "users"."id" = 4 [["email", "user@domain.com"], ["name", "Joshua Marshall"], ["permissions", "---\n- signin\n- new permission\n"], ["organisation_slug", "justice-league"], ["organisation_content_id", "aae1319e-5788-4677-998c-f1a53af528d0"]]
|
714
|
+
[1m[36m (14.4ms)[0m [1mcommit transaction[0m
|
715
|
+
Completed 200 OK in 19ms (ActiveRecord: 15.0ms)
|
716
|
+
[1m[35mUser Load (0.4ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]]
|
742
717
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
743
|
-
[1m[35mSQL (0.
|
744
|
-
[1m[36m (
|
718
|
+
[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", "a1s2d32954"]]
|
719
|
+
[1m[36m (22.8ms)[0m [1mcommit transaction[0m
|
745
720
|
[1m[35m (0.1ms)[0m begin transaction
|
746
|
-
[1m[36mSQL (0.2ms)[0m [
|
747
|
-
[1m[35m (
|
748
|
-
|
721
|
+
[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", "a1s2d34686"]]
|
722
|
+
[1m[35m (9.5ms)[0m commit transaction
|
723
|
+
Processing by Api::UserController#reauth as HTML
|
724
|
+
Parameters: {"uid"=>"a1s2d32954"}
|
725
|
+
Completed 403 Forbidden in 2ms (Views: 1.3ms | ActiveRecord: 0.0ms)
|
749
726
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
750
|
-
[1m[35mSQL (0.
|
751
|
-
[1m[36m (
|
727
|
+
[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", "a1s2d34294"]]
|
728
|
+
[1m[36m (12.0ms)[0m [1mcommit transaction[0m
|
752
729
|
[1m[35m (0.1ms)[0m begin transaction
|
753
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?)[0m [["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"], ["uid", "
|
754
|
-
[1m[35m (
|
755
|
-
Processing by Api::UserController#
|
756
|
-
Parameters: {"uid"=>"
|
757
|
-
|
758
|
-
Completed
|
730
|
+
[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", "a1s2d35312"]]
|
731
|
+
[1m[35m (9.7ms)[0m commit transaction
|
732
|
+
Processing by Api::UserController#reauth as HTML
|
733
|
+
Parameters: {"uid"=>"nonexistent-user"}
|
734
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'nonexistent-user' ORDER BY "users"."id" ASC LIMIT 1[0m
|
735
|
+
Completed 200 OK in 2ms (ActiveRecord: 0.3ms)
|
736
|
+
[1m[35m (0.1ms)[0m begin transaction
|
737
|
+
[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", "a1s2d33443"]]
|
738
|
+
[1m[35m (11.7ms)[0m commit transaction
|
739
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
740
|
+
[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", "a1s2d33230"]]
|
741
|
+
[1m[36m (22.4ms)[0m [1mcommit transaction[0m
|
742
|
+
Processing by Api::UserController#reauth as HTML
|
743
|
+
Parameters: {"uid"=>"a1s2d33443"}
|
744
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d33443' ORDER BY "users"."id" ASC LIMIT 1
|
745
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
746
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "remotely_signed_out" = ?, "permissions" = ? WHERE "users"."id" = 10 [["remotely_signed_out", true], ["permissions", "---\n- signin\n"]]
|
747
|
+
[1m[36m (13.4ms)[0m [1mcommit transaction[0m
|
748
|
+
Completed 200 OK in 18ms (ActiveRecord: 14.1ms)
|
749
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 10]]
|
759
750
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
760
|
-
[1m[35mSQL (0.
|
761
|
-
[1m[36m (
|
751
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["uid", "a1s2d36287"]]
|
752
|
+
[1m[36m (22.4ms)[0m [1mcommit transaction[0m
|
762
753
|
[1m[35m (0.1ms)[0m begin transaction
|
763
|
-
[1m[36mSQL (0.
|
764
|
-
[1m[35m (
|
754
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?)[0m [["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"], ["uid", "a1s2d35730"]]
|
755
|
+
[1m[35m (25.5ms)[0m commit transaction
|
765
756
|
Processing by Api::UserController#update as HTML
|
766
|
-
Parameters: {"uid"=>"
|
767
|
-
|
768
|
-
|
769
|
-
[1m[
|
770
|
-
[1m[
|
771
|
-
|
757
|
+
Parameters: {"uid"=>"a1s2d36287"}
|
758
|
+
Rendered /home/jenkins/workspace/govuk_gds_sso/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.4ms)
|
759
|
+
Completed 403 Forbidden in 56ms (Views: 55.4ms | ActiveRecord: 0.0ms)
|
760
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
761
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["uid", "a1s2d34543"]]
|
762
|
+
[1m[36m (36.5ms)[0m [1mcommit transaction[0m
|
763
|
+
[1m[35m (0.2ms)[0m begin transaction
|
764
|
+
[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", "a1s2d33811"]]
|
765
|
+
[1m[35m (30.2ms)[0m commit transaction
|
766
|
+
Processing by Api::UserController#update as HTML
|
767
|
+
Parameters: {"uid"=>"a1s2d34543"}
|
768
|
+
[1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d34543' ORDER BY "users"."id" ASC LIMIT 1[0m
|
769
|
+
[1m[35m (0.2ms)[0m begin transaction
|
770
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "email" = ?, "name" = ?, "organisation_content_id" = ?, "organisation_slug" = ?, "permissions" = ? WHERE "users"."id" = 3[0m [["email", "user@domain.com"], ["name", "Joshua Marshall"], ["organisation_content_id", "aae1319e-5788-4677-998c-f1a53af528d0"], ["organisation_slug", "justice-league"], ["permissions", "---\n- signin\n- new permission\n"]]
|
771
|
+
[1m[35m (28.6ms)[0m commit transaction
|
772
|
+
Completed 200 OK in 54ms (ActiveRecord: 29.7ms)
|
772
773
|
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 3]]
|
773
774
|
[1m[35m (0.1ms)[0m begin transaction
|
774
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?)[0m [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["uid", "
|
775
|
-
[1m[35m (
|
776
|
-
[1m[36m (0.
|
777
|
-
[1m[35mSQL (0.
|
778
|
-
[1m[36m (
|
775
|
+
[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", "a1s2d36354"]]
|
776
|
+
[1m[35m (35.9ms)[0m commit transaction
|
777
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
778
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"], ["uid", "a1s2d32060"]]
|
779
|
+
[1m[36m (20.8ms)[0m [1mcommit transaction[0m
|
779
780
|
Processing by Api::UserController#reauth as HTML
|
780
|
-
Parameters: {"uid"=>"
|
781
|
-
|
782
|
-
[1m[35m (0.1ms)[0m begin transaction
|
783
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?)[0m [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["uid", "a1s2d3795"]]
|
784
|
-
[1m[35m (12.6ms)[0m commit transaction
|
781
|
+
Parameters: {"uid"=>"a1s2d36354"}
|
782
|
+
[1m[35mUser Load (0.5ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d36354' ORDER BY "users"."id" ASC LIMIT 1
|
785
783
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
786
|
-
[1m[35mSQL (0.
|
787
|
-
[1m[36m (
|
784
|
+
[1m[35mSQL (0.4ms)[0m UPDATE "users" SET "permissions" = ?, "remotely_signed_out" = ? WHERE "users"."id" = 5 [["permissions", "---\n- signin\n"], ["remotely_signed_out", "t"]]
|
785
|
+
[1m[36m (23.2ms)[0m [1mcommit transaction[0m
|
786
|
+
Completed 200 OK in 30ms (ActiveRecord: 24.2ms)
|
787
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]]
|
788
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
789
|
+
[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", "a1s2d31260"]]
|
790
|
+
[1m[36m (20.0ms)[0m [1mcommit transaction[0m
|
791
|
+
[1m[35m (0.1ms)[0m begin transaction
|
792
|
+
[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", "a1s2d38044"]]
|
793
|
+
[1m[35m (18.8ms)[0m commit transaction
|
788
794
|
Processing by Api::UserController#reauth as HTML
|
789
795
|
Parameters: {"uid"=>"nonexistent-user"}
|
790
|
-
[1m[
|
796
|
+
[1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'nonexistent-user' ORDER BY "users"."id" ASC LIMIT 1[0m
|
791
797
|
Completed 200 OK in 3ms (ActiveRecord: 0.4ms)
|
798
|
+
[1m[35m (0.2ms)[0m begin transaction
|
799
|
+
[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", "a1s2d33069"]]
|
800
|
+
[1m[35m (13.0ms)[0m commit transaction
|
792
801
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
793
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "
|
794
|
-
[1m[36m (
|
795
|
-
[1m[35m (0.1ms)[0m begin transaction
|
796
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?)[0m [["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"], ["uid", "a1s2d31503"]]
|
797
|
-
[1m[35m (22.6ms)[0m commit transaction
|
802
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"], ["uid", "a1s2d37917"]]
|
803
|
+
[1m[36m (21.9ms)[0m [1mcommit transaction[0m
|
798
804
|
Processing by Api::UserController#reauth as HTML
|
799
|
-
Parameters: {"uid"=>"
|
800
|
-
|
801
|
-
|
802
|
-
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "permissions" = ?, "remotely_signed_out" = ? WHERE "users"."id" = 9[0m [["permissions", "---\n- signin\n"], ["remotely_signed_out", "t"]]
|
803
|
-
[1m[35m (12.3ms)[0m commit transaction
|
804
|
-
Completed 200 OK in 17ms (ActiveRecord: 12.9ms)
|
805
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 9]]
|
806
|
-
Started GET "/" for 127.0.0.1 at 2015-04-20 13:14:56 +0000
|
805
|
+
Parameters: {"uid"=>"a1s2d33069"}
|
806
|
+
Completed 403 Forbidden in 2ms (Views: 1.3ms | ActiveRecord: 0.0ms)
|
807
|
+
Started GET "/" for 127.0.0.1 at 2015-04-23 11:05:28 +0000
|
807
808
|
Processing by ExampleController#index as HTML
|
808
|
-
Completed 200 OK in
|
809
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
809
|
+
Completed 200 OK in 4ms (Views: 3.8ms | ActiveRecord: 0.0ms)
|
810
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-23 11:05:29 +0000
|
810
811
|
Processing by ExampleController#restricted as HTML
|
811
812
|
Authenticating with gds_sso strategy
|
812
|
-
Completed in
|
813
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-
|
814
|
-
Started GET "/auth/gds/callback?code=
|
813
|
+
Completed in 65ms
|
814
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-23 11:05:29 +0000
|
815
|
+
Started GET "/auth/gds/callback?code=91b74c0a3ce01710aef5c56875d50534476e99986be9e9b01d245a3bab211a12&state=a702c1c9326febc120fffc1af27ea13dca7a938ebf279cd4" for 127.0.0.1 at 2015-04-23 11:05:30 +0000
|
815
816
|
Processing by AuthenticationsController#callback as HTML
|
816
|
-
Parameters: {"code"=>"
|
817
|
+
Parameters: {"code"=>"91b74c0a3ce01710aef5c56875d50534476e99986be9e9b01d245a3bab211a12", "state"=>"a702c1c9326febc120fffc1af27ea13dca7a938ebf279cd4"}
|
817
818
|
Authenticating with gds_sso strategy
|
818
|
-
[1m[35mUser Load (0.
|
819
|
-
[1m[36mUser Load (0.
|
820
|
-
[1m[35m (0.
|
821
|
-
[1m[36mSQL (0.
|
822
|
-
[1m[35m (
|
823
|
-
[1m[36m (0.
|
824
|
-
[1m[35mSQL (0.
|
825
|
-
[1m[36m (
|
819
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
820
|
+
[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
|
821
|
+
[1m[35m (0.1ms)[0m begin transaction
|
822
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?)[0m [["email", "test@example-client.com"], ["name", "Test User"], ["permissions", "---\n- signin\n"], ["uid", "integration-uid"]]
|
823
|
+
[1m[35m (40.4ms)[0m commit transaction
|
824
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
825
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "permissions" = ?, "remotely_signed_out" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"], ["remotely_signed_out", "f"]]
|
826
|
+
[1m[36m (62.9ms)[0m [1mcommit transaction[0m
|
826
827
|
Redirected to http://www.example-client.com/restricted
|
827
|
-
Completed 302 Found in
|
828
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
828
|
+
Completed 302 Found in 111ms (ActiveRecord: 104.4ms)
|
829
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-23 11:05:31 +0000
|
829
830
|
Processing by ExampleController#restricted as HTML
|
830
|
-
[1m[35mUser Load (0.
|
831
|
-
Completed 200 OK in
|
832
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
831
|
+
[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
|
832
|
+
Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.3ms)
|
833
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-23 11:05:31 +0000
|
833
834
|
Processing by ExampleController#restricted as HTML
|
834
835
|
Authenticating with gds_sso strategy
|
835
|
-
Completed in
|
836
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-
|
837
|
-
Started GET "/auth/gds/callback?code=
|
836
|
+
Completed in 0ms
|
837
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-23 11:05:31 +0000
|
838
|
+
Started GET "/auth/gds/callback?code=f285a7d894d1e3fb4a3f7c655056e75f02c1ba8931582d332513227ed853f0c3&state=c3fe710f1872a9a7545672934c8e561cbbd89f410989da3f" for 127.0.0.1 at 2015-04-23 11:05:31 +0000
|
838
839
|
Processing by AuthenticationsController#callback as HTML
|
839
|
-
Parameters: {"code"=>"
|
840
|
+
Parameters: {"code"=>"f285a7d894d1e3fb4a3f7c655056e75f02c1ba8931582d332513227ed853f0c3", "state"=>"c3fe710f1872a9a7545672934c8e561cbbd89f410989da3f"}
|
840
841
|
Authenticating with gds_sso strategy
|
841
|
-
[1m[36mUser Load (0.
|
842
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
842
843
|
[1m[35m (0.1ms)[0m begin transaction
|
843
|
-
[1m[36mSQL (0.
|
844
|
-
[1m[35m (
|
845
|
-
[1m[36m (0.
|
846
|
-
[1m[35mSQL (0.
|
847
|
-
[1m[36m (
|
844
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
845
|
+
[1m[35m (39.0ms)[0m commit transaction
|
846
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
847
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
848
|
+
[1m[36m (28.4ms)[0m [1mcommit transaction[0m
|
848
849
|
Redirected to http://www.example-client.com/restricted
|
849
|
-
Completed 302 Found in
|
850
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
850
|
+
Completed 302 Found in 75ms (ActiveRecord: 68.4ms)
|
851
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-23 11:05:31 +0000
|
851
852
|
Processing by ExampleController#restricted as HTML
|
852
|
-
[1m[35mUser Load (0.
|
853
|
-
Completed 200 OK in
|
854
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
853
|
+
[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
|
854
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
855
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-23 11:05:32 +0000
|
855
856
|
Processing by ExampleController#restricted as HTML
|
856
857
|
Authenticating with gds_sso strategy
|
857
858
|
Completed in 1ms
|
858
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-
|
859
|
-
Started GET "/auth/gds/callback?code=
|
859
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-23 11:05:32 +0000
|
860
|
+
Started GET "/auth/gds/callback?code=616412f7418f8e137dd286da8ce9231976d73bec79aa35b960baae3fd0a13eb8&state=943914624c999deaff0d13fa4a886aa9147c88f32bd60fee" for 127.0.0.1 at 2015-04-23 11:05:32 +0000
|
860
861
|
Processing by AuthenticationsController#callback as HTML
|
861
|
-
Parameters: {"code"=>"
|
862
|
+
Parameters: {"code"=>"616412f7418f8e137dd286da8ce9231976d73bec79aa35b960baae3fd0a13eb8", "state"=>"943914624c999deaff0d13fa4a886aa9147c88f32bd60fee"}
|
862
863
|
Authenticating with gds_sso strategy
|
863
|
-
[1m[36mUser Load (0.
|
864
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
864
865
|
[1m[35m (0.1ms)[0m begin transaction
|
865
|
-
[1m[36mSQL (0.
|
866
|
-
[1m[35m (
|
866
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
867
|
+
[1m[35m (22.9ms)[0m commit transaction
|
867
868
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
868
869
|
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
869
|
-
[1m[36m (
|
870
|
+
[1m[36m (35.9ms)[0m [1mcommit transaction[0m
|
870
871
|
Redirected to http://www.example-client.com/restricted
|
871
|
-
Completed 302 Found in
|
872
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
872
|
+
Completed 302 Found in 66ms (ActiveRecord: 59.7ms)
|
873
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-23 11:05:32 +0000
|
873
874
|
Processing by ExampleController#restricted as HTML
|
874
875
|
[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
|
875
|
-
Completed 200 OK in
|
876
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-
|
876
|
+
Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.3ms)
|
877
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-23 11:05:33 +0000
|
877
878
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
878
879
|
Authenticating with gds_sso strategy
|
879
880
|
Completed in 1ms
|
880
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-
|
881
|
-
Started GET "/auth/gds/callback?code=
|
881
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-23 11:05:33 +0000
|
882
|
+
Started GET "/auth/gds/callback?code=ad9585b1d68a44c48ca7621bed9dfe05ebc333168a585fe7bc01399328c9d5a0&state=8593eda1ebb779838042d9f8a5f4aceaae155be3dae7e3db" for 127.0.0.1 at 2015-04-23 11:05:33 +0000
|
882
883
|
Processing by AuthenticationsController#callback as HTML
|
883
|
-
Parameters: {"code"=>"
|
884
|
+
Parameters: {"code"=>"ad9585b1d68a44c48ca7621bed9dfe05ebc333168a585fe7bc01399328c9d5a0", "state"=>"8593eda1ebb779838042d9f8a5f4aceaae155be3dae7e3db"}
|
884
885
|
Authenticating with gds_sso strategy
|
885
886
|
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
886
887
|
[1m[35m (0.1ms)[0m begin transaction
|
887
|
-
[1m[36mSQL (0.
|
888
|
-
[1m[35m (
|
888
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
889
|
+
[1m[35m (170.7ms)[0m commit transaction
|
889
890
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
890
891
|
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
891
|
-
[1m[36m (
|
892
|
+
[1m[36m (40.9ms)[0m [1mcommit transaction[0m
|
892
893
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
893
|
-
Completed 302 Found in
|
894
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-
|
894
|
+
Completed 302 Found in 219ms (ActiveRecord: 212.6ms)
|
895
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-23 11:05:33 +0000
|
895
896
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
896
|
-
[1m[35mUser Load (
|
897
|
-
Completed 200 OK in
|
898
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-
|
897
|
+
[1m[35mUser Load (1.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1
|
898
|
+
Completed 200 OK in 4ms (Views: 0.5ms | ActiveRecord: 1.0ms)
|
899
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-23 11:05:33 +0000
|
899
900
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
900
901
|
Authenticating with gds_sso strategy
|
901
|
-
Completed in
|
902
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-
|
903
|
-
Started GET "/auth/gds/callback?code=
|
902
|
+
Completed in 0ms
|
903
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-23 11:05:33 +0000
|
904
|
+
Started GET "/auth/gds/callback?code=f6bdb4e1a93c53efda65c3c3ff5af6beab2bd3d0fa1546396100d5b877d932c3&state=54026c7bae6067a5436403a0138c743092d58ac563b1bb01" for 127.0.0.1 at 2015-04-23 11:05:34 +0000
|
904
905
|
Processing by AuthenticationsController#callback as HTML
|
905
|
-
Parameters: {"code"=>"
|
906
|
+
Parameters: {"code"=>"f6bdb4e1a93c53efda65c3c3ff5af6beab2bd3d0fa1546396100d5b877d932c3", "state"=>"54026c7bae6067a5436403a0138c743092d58ac563b1bb01"}
|
906
907
|
Authenticating with gds_sso strategy
|
907
|
-
[1m[36mUser Load (0.
|
908
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
908
909
|
[1m[35m (0.1ms)[0m begin transaction
|
909
910
|
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
910
|
-
[1m[35m (
|
911
|
-
[1m[36m (0.
|
911
|
+
[1m[35m (37.9ms)[0m commit transaction
|
912
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
912
913
|
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
913
|
-
[1m[36m (
|
914
|
+
[1m[36m (36.6ms)[0m [1mcommit transaction[0m
|
914
915
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
915
|
-
Completed 302 Found in
|
916
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-
|
916
|
+
Completed 302 Found in 81ms (ActiveRecord: 75.2ms)
|
917
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-23 11:05:34 +0000
|
917
918
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
918
|
-
[1m[35mUser Load (0.
|
919
|
-
Completed 200 OK in
|
920
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
919
|
+
[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
|
920
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
921
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-23 11:05:34 +0000
|
921
922
|
Processing by ExampleController#restricted as HTML
|
922
923
|
Authenticating with gds_sso strategy
|
923
924
|
Completed in 1ms
|
924
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-
|
925
|
-
Started GET "/auth/gds/callback?code=
|
925
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-23 11:05:34 +0000
|
926
|
+
Started GET "/auth/gds/callback?code=39d6157776328561c54726b945ca9b6feb0169101c0e40576e8a02e8cbfe01ba&state=45073b2509bdeaa1c0044b4f71b7ce30d456b47dd16b0a36" for 127.0.0.1 at 2015-04-23 11:05:35 +0000
|
926
927
|
Processing by AuthenticationsController#callback as HTML
|
927
|
-
Parameters: {"code"=>"
|
928
|
+
Parameters: {"code"=>"39d6157776328561c54726b945ca9b6feb0169101c0e40576e8a02e8cbfe01ba", "state"=>"45073b2509bdeaa1c0044b4f71b7ce30d456b47dd16b0a36"}
|
928
929
|
Authenticating with gds_sso strategy
|
929
930
|
[1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
930
931
|
[1m[35m (0.1ms)[0m begin transaction
|
931
|
-
[1m[36mSQL (0.
|
932
|
-
[1m[35m (
|
932
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
933
|
+
[1m[35m (24.8ms)[0m commit transaction
|
933
934
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
934
935
|
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
935
|
-
[1m[36m (
|
936
|
+
[1m[36m (15.9ms)[0m [1mcommit transaction[0m
|
936
937
|
Redirected to http://www.example-client.com/restricted
|
937
|
-
Completed 302 Found in
|
938
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
938
|
+
Completed 302 Found in 48ms (ActiveRecord: 41.6ms)
|
939
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-23 11:05:35 +0000
|
939
940
|
Processing by ExampleController#restricted as HTML
|
940
941
|
[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
|
941
|
-
Completed 200 OK in
|
942
|
-
[1m[36mUser Load (0.
|
942
|
+
Completed 200 OK in 4ms (Views: 1.0ms | ActiveRecord: 0.3ms)
|
943
|
+
[1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'test@example-client.com' ORDER BY "users"."id" ASC LIMIT 1[0m
|
943
944
|
[1m[35m (0.1ms)[0m begin transaction
|
944
|
-
[1m[36mSQL (0.
|
945
|
-
[1m[35m (
|
946
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
945
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "permissions" = ?, "remotely_signed_out" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"], ["remotely_signed_out", "t"]]
|
946
|
+
[1m[35m (254.6ms)[0m commit transaction
|
947
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-23 11:05:35 +0000
|
947
948
|
Processing by ExampleController#restricted as HTML
|
948
|
-
[1m[36mUser Load (0.
|
949
|
+
[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
|
949
950
|
Authenticating with gds_sso strategy
|
950
951
|
Completed in 2ms
|
951
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-
|
952
|
-
Started GET "/auth/gds/callback?code=
|
952
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-23 11:05:35 +0000
|
953
|
+
Started GET "/auth/gds/callback?code=be48e81be068c238a45208fcc4e4d4d9d70f1710ae8770a6feac27d7bd2212da&state=2eadac36cdeb3149e2636d184e6c73d977c237b83b65ae72" for 127.0.0.1 at 2015-04-23 11:05:36 +0000
|
953
954
|
Processing by AuthenticationsController#callback as HTML
|
954
|
-
Parameters: {"code"=>"
|
955
|
+
Parameters: {"code"=>"be48e81be068c238a45208fcc4e4d4d9d70f1710ae8770a6feac27d7bd2212da", "state"=>"2eadac36cdeb3149e2636d184e6c73d977c237b83b65ae72"}
|
955
956
|
Authenticating with gds_sso strategy
|
956
957
|
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
957
958
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
958
|
-
[1m[35mSQL (
|
959
|
-
[1m[36m (
|
959
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
960
|
+
[1m[36m (37.8ms)[0m [1mcommit transaction[0m
|
960
961
|
[1m[35m (0.1ms)[0m begin transaction
|
961
962
|
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ?, "remotely_signed_out" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"], ["remotely_signed_out", "f"]]
|
962
|
-
[1m[35m (
|
963
|
+
[1m[35m (57.6ms)[0m commit transaction
|
963
964
|
Redirected to http://www.example-client.com/restricted
|
964
|
-
Completed 302 Found in
|
965
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
965
|
+
Completed 302 Found in 102ms (ActiveRecord: 96.2ms)
|
966
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-23 11:05:36 +0000
|
966
967
|
Processing by ExampleController#restricted as HTML
|
967
|
-
[1m[36mUser Load (0.
|
968
|
-
Completed 200 OK in
|
969
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
968
|
+
[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
|
969
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
970
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-23 11:05:37 +0000
|
970
971
|
Processing by ExampleController#restricted as HTML
|
971
972
|
Authenticating with gds_sso strategy
|
972
973
|
Completed in 1ms
|
973
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-
|
974
|
-
Started GET "/auth/gds/callback?code=
|
974
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-23 11:05:37 +0000
|
975
|
+
Started GET "/auth/gds/callback?code=487e590bf02d77f52035fda5125a6c907f5e18a68cb591a46202a06ddd79efb7&state=ed869c63275b096b51c289acab2a5d4a0c9eaf26357cbe81" for 127.0.0.1 at 2015-04-23 11:05:37 +0000
|
975
976
|
Processing by AuthenticationsController#callback as HTML
|
976
|
-
Parameters: {"code"=>"
|
977
|
+
Parameters: {"code"=>"487e590bf02d77f52035fda5125a6c907f5e18a68cb591a46202a06ddd79efb7", "state"=>"ed869c63275b096b51c289acab2a5d4a0c9eaf26357cbe81"}
|
977
978
|
Authenticating with gds_sso strategy
|
978
979
|
[1m[35mUser Load (0.4ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
979
980
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
980
981
|
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
981
|
-
[1m[36m (
|
982
|
-
[1m[35m (0.
|
983
|
-
[1m[36mSQL (0.
|
984
|
-
[1m[35m (
|
982
|
+
[1m[36m (25.4ms)[0m [1mcommit transaction[0m
|
983
|
+
[1m[35m (0.1ms)[0m begin transaction
|
984
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
985
|
+
[1m[35m (50.6ms)[0m commit transaction
|
985
986
|
Redirected to http://www.example-client.com/restricted
|
986
|
-
Completed 302 Found in
|
987
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
987
|
+
Completed 302 Found in 86ms (ActiveRecord: 77.1ms)
|
988
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-23 11:05:37 +0000
|
988
989
|
Processing by ExampleController#restricted as HTML
|
989
|
-
[1m[36mUser Load (0.
|
990
|
-
Completed 200 OK in
|
991
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
990
|
+
[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
|
991
|
+
Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.3ms)
|
992
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-24 07:10:37 +0000
|
992
993
|
Processing by ExampleController#restricted as HTML
|
993
994
|
Authenticating with gds_sso strategy
|
994
|
-
Completed in
|
995
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-
|
996
|
-
Started GET "/auth/gds/callback?code=
|
995
|
+
Completed in 1ms
|
996
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-24 07:10:37 +0000
|
997
|
+
Started GET "/auth/gds/callback?code=7757c075e0e0b3ad4c82186e6dd8073c82cdcc5c46e4e96437f130bd29f8ad4c&state=5b3515fbae863aac23217123cbbfb48d0245a7b60747caf0" for 127.0.0.1 at 2015-04-24 07:10:37 +0000
|
997
998
|
Processing by AuthenticationsController#callback as HTML
|
998
|
-
Parameters: {"code"=>"
|
999
|
+
Parameters: {"code"=>"7757c075e0e0b3ad4c82186e6dd8073c82cdcc5c46e4e96437f130bd29f8ad4c", "state"=>"5b3515fbae863aac23217123cbbfb48d0245a7b60747caf0"}
|
999
1000
|
Authenticating with gds_sso strategy
|
1000
1001
|
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
1001
1002
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1002
|
-
[1m[35mSQL (0.
|
1003
|
-
[1m[36m (
|
1003
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
1004
|
+
[1m[36m (44.0ms)[0m [1mcommit transaction[0m
|
1004
1005
|
[1m[35m (0.1ms)[0m begin transaction
|
1005
1006
|
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
1006
|
-
[1m[35m (
|
1007
|
+
[1m[35m (32.0ms)[0m commit transaction
|
1007
1008
|
Redirected to http://www.example-client.com/restricted
|
1008
|
-
Completed 302 Found in
|
1009
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
1009
|
+
Completed 302 Found in 82ms (ActiveRecord: 76.9ms)
|
1010
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-24 07:10:38 +0000
|
1010
1011
|
Processing by ExampleController#restricted as HTML
|
1011
1012
|
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1[0m
|
1012
|
-
Completed 200 OK in 3ms (Views: 0.
|
1013
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
1013
|
+
Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.3ms)
|
1014
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-23 11:05:38 +0000
|
1014
1015
|
Processing by ExampleController#restricted as HTML
|
1015
1016
|
Authenticating with gds_sso strategy
|
1016
1017
|
Completed in 1ms
|
1017
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-
|
1018
|
-
Started GET "/auth/gds/callback?code=
|
1018
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-23 11:05:38 +0000
|
1019
|
+
Started GET "/auth/gds/callback?code=6aa3dda42a1aeb96a4a9e1814c7c848755a12e5c800b7700c191729366b7a422&state=05f0bdb27076c9ab9f800d74e65a16628af8a6ba6534ef87" for 127.0.0.1 at 2015-04-23 11:05:39 +0000
|
1019
1020
|
Processing by AuthenticationsController#callback as HTML
|
1020
|
-
Parameters: {"code"=>"
|
1021
|
+
Parameters: {"code"=>"6aa3dda42a1aeb96a4a9e1814c7c848755a12e5c800b7700c191729366b7a422", "state"=>"05f0bdb27076c9ab9f800d74e65a16628af8a6ba6534ef87"}
|
1021
1022
|
Authenticating with gds_sso strategy
|
1022
1023
|
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
1023
1024
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1024
|
-
[1m[35mSQL (0.
|
1025
|
-
[1m[36m (
|
1025
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
1026
|
+
[1m[36m (22.4ms)[0m [1mcommit transaction[0m
|
1026
1027
|
[1m[35m (0.1ms)[0m begin transaction
|
1027
|
-
[1m[36mSQL (0.
|
1028
|
-
[1m[35m (
|
1028
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
1029
|
+
[1m[35m (26.6ms)[0m commit transaction
|
1029
1030
|
Redirected to http://www.example-client.com/restricted
|
1030
|
-
Completed 302 Found in
|
1031
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
1031
|
+
Completed 302 Found in 57ms (ActiveRecord: 49.9ms)
|
1032
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-23 11:05:39 +0000
|
1032
1033
|
Processing by ExampleController#restricted as HTML
|
1033
|
-
[1m[36mUser Load (0.
|
1034
|
-
Completed 200 OK in
|
1035
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
1034
|
+
[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
|
1035
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.3ms)
|
1036
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-24 07:00:39 +0000
|
1036
1037
|
Processing by ExampleController#restricted as HTML
|
1037
1038
|
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1
|
1038
|
-
Completed 200 OK in
|
1039
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
1040
|
-
Processing by ExampleController#restricted as JSON
|
1041
|
-
Completed in 29ms
|
1042
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-20 13:15:16 +0000
|
1039
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.3ms)
|
1040
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-23 11:05:39 +0000
|
1043
1041
|
Processing by ExampleController#restricted as JSON
|
1042
|
+
Completed in 61ms
|
1043
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-23 11:05:40 +0000
|
1044
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
1044
1045
|
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
1045
1046
|
[1m[35m (0.1ms)[0m begin transaction
|
1046
|
-
[1m[36mSQL (0.
|
1047
|
-
[1m[35m (
|
1047
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "disabled" = ?, "permissions" = ? WHERE "users"."id" = 11[0m [["disabled", nil], ["permissions", "---\n- signin\n"]]
|
1048
|
+
[1m[35m (17.6ms)[0m commit transaction
|
1048
1049
|
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
1049
1050
|
[1m[35m (0.1ms)[0m begin transaction
|
1050
1051
|
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
1051
|
-
[1m[35m (
|
1052
|
+
[1m[35m (25.8ms)[0m commit transaction
|
1052
1053
|
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
1053
1054
|
[1m[35m (0.1ms)[0m begin transaction
|
1054
1055
|
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
1055
|
-
[1m[35m (
|
1056
|
+
[1m[35m (32.5ms)[0m commit transaction
|
1056
1057
|
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
1057
1058
|
[1m[35m (0.1ms)[0m begin transaction
|
1058
1059
|
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
1059
|
-
[1m[35m (
|
1060
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1061
|
-
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
1062
|
-
[1m[36m (31.6ms)[0m [1mcommit transaction[0m
|
1063
|
-
Completed 200 OK in 478ms (Views: 0.8ms | ActiveRecord: 156.7ms)
|
1064
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-20 13:15:17 +0000
|
1065
|
-
Processing by ExampleController#this_requires_signin_permission as JSON
|
1066
|
-
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
1060
|
+
[1m[35m (23.6ms)[0m commit transaction
|
1067
1061
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1068
1062
|
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
1069
|
-
[1m[36m (
|
1070
|
-
|
1063
|
+
[1m[36m (13.5ms)[0m [1mcommit transaction[0m
|
1064
|
+
Completed 200 OK in 376ms (Views: 0.5ms | ActiveRecord: 115.5ms)
|
1065
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-23 11:05:41 +0000
|
1066
|
+
Processing by ExampleController#restricted as JSON
|
1067
|
+
[1m[35mUser Load (0.4ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
1071
1068
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1072
1069
|
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
1073
|
-
[1m[36m (
|
1070
|
+
[1m[36m (16.1ms)[0m [1mcommit transaction[0m
|
1071
|
+
[1m[35mUser Load (0.4ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
1072
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1073
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
1074
|
+
[1m[36m (19.3ms)[0m [1mcommit transaction[0m
|
1075
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
1076
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
1077
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
1078
|
+
[1m[36m (34.4ms)[0m [1mcommit transaction[0m
|
1074
1079
|
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
1075
1080
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1076
1081
|
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
1077
|
-
[1m[36m (
|
1078
|
-
[1m[
|
1079
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1080
|
-
[1m[35mSQL (0.4ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
1081
|
-
[1m[36m (65.7ms)[0m [1mcommit transaction[0m
|
1082
|
-
[1m[35m (0.2ms)[0m begin transaction
|
1082
|
+
[1m[36m (23.8ms)[0m [1mcommit transaction[0m
|
1083
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1083
1084
|
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
1084
|
-
[1m[35m (
|
1085
|
-
Completed 200 OK in
|
1086
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
1085
|
+
[1m[35m (25.9ms)[0m commit transaction
|
1086
|
+
Completed 200 OK in 344ms (Views: 0.9ms | ActiveRecord: 122.8ms)
|
1087
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-23 11:05:42 +0000
|
1087
1088
|
Processing by ExampleController#restricted as JSON
|
1088
|
-
Completed in
|
1089
|
+
Completed in 26ms
|
1089
1090
|
Connecting to database specified by database.yml
|
1091
|
+
Started GET "/" for 127.0.0.1 at 2015-04-23 11:15:19 +0000
|
1092
|
+
Processing by ExampleController#index as HTML
|
1093
|
+
Rendered text template (0.0ms)
|
1094
|
+
Completed 200 OK in 6.0ms (Views: 5.7ms | ActiveRecord: 0.0ms)
|
1095
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-23 11:15:20 +0000
|
1096
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
1097
|
+
Authenticating with gds_sso strategy
|
1098
|
+
Completed in 2.9ms
|
1099
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-23 11:15:20 +0000
|
1100
|
+
Started GET "/auth/gds/callback?code=6536345a54d649c24f9578d02e68f49299895de7bcc6aa81f36fc68c6243f8df&state=6238513bc335f3c358f11883d7e91d198094b313bfdbba64" for 127.0.0.1 at 2015-04-23 11:15:20 +0000
|
1101
|
+
Processing by AuthenticationsController#callback as HTML
|
1102
|
+
Parameters: {"code"=>"6536345a54d649c24f9578d02e68f49299895de7bcc6aa81f36fc68c6243f8df", "state"=>"6238513bc335f3c358f11883d7e91d198094b313bfdbba64"}
|
1103
|
+
Authenticating with gds_sso strategy
|
1104
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
1105
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'test@example-client.com' LIMIT 1
|
1090
1106
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1091
|
-
[1m[35mSQL (0.
|
1092
|
-
[1m[36m (
|
1093
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1094
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("disabled", "email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["disabled", false], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["organisation_slug", nil], ["permissions", "---\n- signin\n- user_update_permission\n"], ["remotely_signed_out", nil], ["uid", "a1s2d33980"]]
|
1095
|
-
[1m[35m (21.0ms)[0m commit transaction
|
1096
|
-
WARNING: Can't mass-assign protected attributes: uid, name, permissions
|
1097
|
-
Processing by Api::UserController#update as HTML
|
1098
|
-
Parameters: {"uid"=>"a1s2d3900"}
|
1099
|
-
Rendered /home/jenkins/workspace/govuk_gds_sso/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.5ms)
|
1100
|
-
Completed 403 Forbidden in 10.3ms (Views: 9.4ms | ActiveRecord: 0.0ms)
|
1101
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1102
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("disabled", "email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?, ?) [["disabled", false], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["organisation_slug", nil], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d35811"]]
|
1103
|
-
[1m[36m (43.0ms)[0m [1mcommit transaction[0m
|
1107
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("disabled", "email", "name", "organisation_content_id", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["disabled", false], ["email", "test@example-client.com"], ["name", "Test User"], ["organisation_content_id", nil], ["organisation_slug", nil], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "integration-uid"]]
|
1108
|
+
[1m[36m (28.4ms)[0m [1mcommit transaction[0m
|
1104
1109
|
[1m[35m (0.1ms)[0m begin transaction
|
1105
|
-
[1m[
|
1106
|
-
[1m[35m (7.5ms)[0m commit transaction
|
1107
|
-
Processing by Api::UserController#update as HTML
|
1108
|
-
Parameters: {"uid"=>"a1s2d35811"}
|
1109
|
-
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d35811' LIMIT 1[0m
|
1110
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1111
|
-
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "email" = 'user@domain.com', "name" = 'Joshua Marshall', "permissions" = '---
|
1110
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = 'f', "permissions" = '---
|
1112
1111
|
- signin
|
1113
|
-
|
1114
|
-
|
1115
|
-
|
1116
|
-
Completed
|
1117
|
-
|
1118
|
-
|
1119
|
-
[1m[
|
1120
|
-
|
1121
|
-
|
1122
|
-
|
1123
|
-
|
1124
|
-
|
1125
|
-
|
1126
|
-
|
1127
|
-
|
1128
|
-
|
1129
|
-
|
1130
|
-
[1m[
|
1131
|
-
[1m[36m (0.
|
1132
|
-
[1m[
|
1133
|
-
|
1134
|
-
|
1135
|
-
|
1136
|
-
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'nonexistent-user' LIMIT 1
|
1137
|
-
Completed 200 OK in 1.4ms (ActiveRecord: 0.2ms)
|
1138
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1139
|
-
[1m[35mSQL (10.7ms)[0m INSERT INTO "users" ("disabled", "email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?, ?) [["disabled", false], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["organisation_slug", nil], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d39854"]]
|
1140
|
-
[1m[36m (22.7ms)[0m [1mcommit transaction[0m
|
1112
|
+
' WHERE "users"."id" = 1[0m
|
1113
|
+
[1m[35m (28.4ms)[0m commit transaction
|
1114
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
1115
|
+
Completed 302 Found in 80.3ms (ActiveRecord: 58.5ms)
|
1116
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-23 11:15:21 +0000
|
1117
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
1118
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1[0m
|
1119
|
+
Completed 200 OK in 4.3ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
1120
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-23 11:15:21 +0000
|
1121
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
1122
|
+
Authenticating with gds_sso strategy
|
1123
|
+
Completed in 0.2ms
|
1124
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-23 11:15:21 +0000
|
1125
|
+
Started GET "/auth/gds/callback?code=ef2914ab4dcf9f57a9c3f5252f1a63d820ce258d9b30dddbfd75f72846474c48&state=52a12aafd463d7945aa8af8399a958694be84ff48de8514c" for 127.0.0.1 at 2015-04-23 11:15:21 +0000
|
1126
|
+
Processing by AuthenticationsController#callback as HTML
|
1127
|
+
Parameters: {"code"=>"ef2914ab4dcf9f57a9c3f5252f1a63d820ce258d9b30dddbfd75f72846474c48", "state"=>"52a12aafd463d7945aa8af8399a958694be84ff48de8514c"}
|
1128
|
+
Authenticating with gds_sso strategy
|
1129
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
1130
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1131
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
1132
|
+
- signin
|
1133
|
+
' WHERE "users"."id" = 1
|
1134
|
+
[1m[36m (31.7ms)[0m [1mcommit transaction[0m
|
1141
1135
|
[1m[35m (0.1ms)[0m begin transaction
|
1142
|
-
[1m[
|
1143
|
-
[1m[35m (53.7ms)[0m commit transaction
|
1144
|
-
Processing by Api::UserController#reauth as HTML
|
1145
|
-
Parameters: {"uid"=>"a1s2d39854"}
|
1146
|
-
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d39854' LIMIT 1[0m
|
1147
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1148
|
-
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = 't', "permissions" = '---
|
1136
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
1149
1137
|
- signin
|
1150
|
-
' WHERE "users"."id" =
|
1151
|
-
[1m[35m (
|
1152
|
-
|
1153
|
-
|
1154
|
-
Started GET "/" for 127.0.0.1 at 2015-04-
|
1155
|
-
Processing by ExampleController#
|
1156
|
-
|
1157
|
-
|
1138
|
+
' WHERE "users"."id" = 1[0m
|
1139
|
+
[1m[35m (16.7ms)[0m commit transaction
|
1140
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
1141
|
+
Completed 302 Found in 54.9ms (ActiveRecord: 49.3ms)
|
1142
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-23 11:15:21 +0000
|
1143
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
1144
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1[0m
|
1145
|
+
Completed 200 OK in 1.7ms (Views: 0.2ms | ActiveRecord: 0.2ms)
|
1146
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-23 11:15:22 +0000
|
1158
1147
|
Processing by ExampleController#restricted as HTML
|
1159
1148
|
Authenticating with gds_sso strategy
|
1160
|
-
Completed in
|
1161
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-
|
1162
|
-
Started GET "/auth/gds/callback?code=
|
1149
|
+
Completed in 1.0ms
|
1150
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-23 11:15:22 +0000
|
1151
|
+
Started GET "/auth/gds/callback?code=9015594908748d9f8b9fc45260adffc39f8e30cdb5d9963aa8c47647466a0be5&state=dc75b7e1e8a42717dfeedf5d75e3cfbca6cc666e24e04062" for 127.0.0.1 at 2015-04-23 11:15:22 +0000
|
1163
1152
|
Processing by AuthenticationsController#callback as HTML
|
1164
|
-
Parameters: {"code"=>"
|
1153
|
+
Parameters: {"code"=>"9015594908748d9f8b9fc45260adffc39f8e30cdb5d9963aa8c47647466a0be5", "state"=>"dc75b7e1e8a42717dfeedf5d75e3cfbca6cc666e24e04062"}
|
1165
1154
|
Authenticating with gds_sso strategy
|
1166
|
-
[1m[35mUser Load (0.
|
1167
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'test@example-client.com' LIMIT 1[0m
|
1168
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1169
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("disabled", "email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["disabled", false], ["email", "test@example-client.com"], ["name", "Test User"], ["organisation_slug", nil], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "integration-uid"]]
|
1170
|
-
[1m[35m (41.8ms)[0m commit transaction
|
1155
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
1171
1156
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1172
|
-
[1m[35m (0.
|
1157
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "permissions" = '---
|
1158
|
+
- signin
|
1159
|
+
' WHERE "users"."id" = 1
|
1160
|
+
[1m[36m (49.6ms)[0m [1mcommit transaction[0m
|
1161
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1162
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
1173
1163
|
- signin
|
1174
|
-
' WHERE "users"."id" =
|
1175
|
-
[1m[
|
1164
|
+
' WHERE "users"."id" = 1[0m
|
1165
|
+
[1m[35m (29.4ms)[0m commit transaction
|
1176
1166
|
Redirected to http://www.example-client.com/restricted
|
1177
|
-
Completed 302 Found in
|
1178
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
1167
|
+
Completed 302 Found in 85.6ms (ActiveRecord: 79.7ms)
|
1168
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-23 11:15:22 +0000
|
1179
1169
|
Processing by ExampleController#restricted as HTML
|
1180
|
-
[1m[
|
1181
|
-
Completed 200 OK in
|
1182
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
1170
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1[0m
|
1171
|
+
Completed 200 OK in 1.8ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
1172
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-23 11:15:23 +0000
|
1183
1173
|
Processing by ExampleController#restricted as HTML
|
1184
1174
|
Authenticating with gds_sso strategy
|
1185
1175
|
Completed in 0.3ms
|
1186
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-
|
1187
|
-
Started GET "/auth/gds/callback?code=
|
1176
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-23 11:15:23 +0000
|
1177
|
+
Started GET "/auth/gds/callback?code=da4b538a83d10a5c03bcd566636eb0ba6266c3f7ec77628f8a78253ebe838c7d&state=0406616e356f453c3f3b6ab31a42bb13d87ec7e716cb3663" for 127.0.0.1 at 2015-04-23 11:15:23 +0000
|
1188
1178
|
Processing by AuthenticationsController#callback as HTML
|
1189
|
-
Parameters: {"code"=>"
|
1179
|
+
Parameters: {"code"=>"da4b538a83d10a5c03bcd566636eb0ba6266c3f7ec77628f8a78253ebe838c7d", "state"=>"0406616e356f453c3f3b6ab31a42bb13d87ec7e716cb3663"}
|
1190
1180
|
Authenticating with gds_sso strategy
|
1191
|
-
[1m[
|
1192
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1193
|
-
[1m[36m (0.4ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
1194
|
-
- signin
|
1195
|
-
' WHERE "users"."id" = 11[0m
|
1196
|
-
[1m[35m (26.5ms)[0m commit transaction
|
1181
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
1197
1182
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1198
|
-
[1m[35m (0.
|
1183
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "permissions" = '---
|
1199
1184
|
- signin
|
1200
|
-
' WHERE "users"."id" =
|
1201
|
-
[1m[36m (
|
1185
|
+
' WHERE "users"."id" = 1
|
1186
|
+
[1m[36m (31.6ms)[0m [1mcommit transaction[0m
|
1187
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1188
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
1189
|
+
- signin
|
1190
|
+
' WHERE "users"."id" = 1[0m
|
1191
|
+
[1m[35m (46.4ms)[0m commit transaction
|
1202
1192
|
Redirected to http://www.example-client.com/restricted
|
1203
|
-
Completed 302 Found in
|
1204
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
1193
|
+
Completed 302 Found in 85.1ms (ActiveRecord: 78.8ms)
|
1194
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-23 11:15:23 +0000
|
1205
1195
|
Processing by ExampleController#restricted as HTML
|
1206
|
-
[1m[
|
1207
|
-
Completed 200 OK in
|
1208
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
1196
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1[0m
|
1197
|
+
Completed 200 OK in 1.7ms (Views: 0.4ms | ActiveRecord: 0.3ms)
|
1198
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-23 11:15:23 +0000
|
1209
1199
|
Processing by ExampleController#restricted as HTML
|
1210
1200
|
Authenticating with gds_sso strategy
|
1211
|
-
Completed in 0.
|
1212
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-
|
1213
|
-
Started GET "/auth/gds/callback?code=
|
1201
|
+
Completed in 0.1ms
|
1202
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-23 11:15:23 +0000
|
1203
|
+
Started GET "/auth/gds/callback?code=a0ecf7012295b30abe1f317f6d01f60313213c336f6fbc95f9c896e9fa22e33c&state=dce3f42c705b8cc4ea391871ec7132ad760253fcff91b4ac" for 127.0.0.1 at 2015-04-23 11:15:24 +0000
|
1214
1204
|
Processing by AuthenticationsController#callback as HTML
|
1215
|
-
Parameters: {"code"=>"
|
1205
|
+
Parameters: {"code"=>"a0ecf7012295b30abe1f317f6d01f60313213c336f6fbc95f9c896e9fa22e33c", "state"=>"dce3f42c705b8cc4ea391871ec7132ad760253fcff91b4ac"}
|
1216
1206
|
Authenticating with gds_sso strategy
|
1217
|
-
[1m[
|
1218
|
-
[1m[
|
1219
|
-
[1m[
|
1207
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
1208
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1209
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "permissions" = '---
|
1220
1210
|
- signin
|
1221
|
-
' WHERE "users"."id" =
|
1222
|
-
[1m[
|
1223
|
-
[1m[
|
1224
|
-
[1m[
|
1211
|
+
' WHERE "users"."id" = 1
|
1212
|
+
[1m[36m (57.2ms)[0m [1mcommit transaction[0m
|
1213
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1214
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
1225
1215
|
- signin
|
1226
|
-
' WHERE "users"."id" =
|
1227
|
-
[1m[
|
1216
|
+
' WHERE "users"."id" = 1[0m
|
1217
|
+
[1m[35m (41.1ms)[0m commit transaction
|
1228
1218
|
Redirected to http://www.example-client.com/restricted
|
1229
|
-
Completed 302 Found in
|
1230
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
1219
|
+
Completed 302 Found in 104.1ms (ActiveRecord: 99.1ms)
|
1220
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-23 11:15:24 +0000
|
1221
|
+
Processing by ExampleController#restricted as HTML
|
1222
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1[0m
|
1223
|
+
Completed 200 OK in 1.5ms (Views: 0.2ms | ActiveRecord: 0.2ms)
|
1224
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-23 11:15:24 +0000
|
1231
1225
|
Processing by ExampleController#restricted as HTML
|
1232
|
-
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1
|
1233
|
-
Completed 200 OK in 2.6ms (Views: 0.6ms | ActiveRecord: 0.3ms)
|
1234
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-20 13:16:22 +0000
|
1235
|
-
Processing by ExampleController#this_requires_signin_permission as HTML
|
1236
1226
|
Authenticating with gds_sso strategy
|
1237
|
-
Completed in 0.
|
1238
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-
|
1239
|
-
Started GET "/auth/gds/callback?code=
|
1227
|
+
Completed in 0.3ms
|
1228
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-23 11:15:24 +0000
|
1229
|
+
Started GET "/auth/gds/callback?code=b4eff7d49e8ed885480ac7df5bca62ef603961878fcdb63517a9fef6ba770846&state=56a5a81322dd03ae6e5cad49531666160c84d2b238f59b95" for 127.0.0.1 at 2015-04-23 11:15:25 +0000
|
1240
1230
|
Processing by AuthenticationsController#callback as HTML
|
1241
|
-
Parameters: {"code"=>"
|
1231
|
+
Parameters: {"code"=>"b4eff7d49e8ed885480ac7df5bca62ef603961878fcdb63517a9fef6ba770846", "state"=>"56a5a81322dd03ae6e5cad49531666160c84d2b238f59b95"}
|
1242
1232
|
Authenticating with gds_sso strategy
|
1243
|
-
[1m[
|
1233
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
1234
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1235
|
+
[1m[35m (0.4ms)[0m UPDATE "users" SET "permissions" = '---
|
1236
|
+
- signin
|
1237
|
+
' WHERE "users"."id" = 1
|
1238
|
+
[1m[36m (36.7ms)[0m [1mcommit transaction[0m
|
1244
1239
|
[1m[35m (0.1ms)[0m begin transaction
|
1245
1240
|
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
1246
1241
|
- signin
|
1247
|
-
' WHERE "users"."id" =
|
1248
|
-
[1m[35m (
|
1242
|
+
' WHERE "users"."id" = 1[0m
|
1243
|
+
[1m[35m (33.5ms)[0m commit transaction
|
1244
|
+
Redirected to http://www.example-client.com/restricted
|
1245
|
+
Completed 302 Found in 77.6ms (ActiveRecord: 71.2ms)
|
1246
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-23 11:15:25 +0000
|
1247
|
+
Processing by ExampleController#restricted as HTML
|
1248
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1[0m
|
1249
|
+
Completed 200 OK in 1.9ms (Views: 0.4ms | ActiveRecord: 0.3ms)
|
1250
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'test@example-client.com' LIMIT 1
|
1249
1251
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1250
|
-
[1m[35m (0.
|
1252
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "remotely_signed_out" = 't', "permissions" = '---
|
1251
1253
|
- signin
|
1252
|
-
' WHERE "users"."id" =
|
1253
|
-
[1m[36m (
|
1254
|
-
|
1255
|
-
|
1256
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-20 13:16:23 +0000
|
1257
|
-
Processing by ExampleController#this_requires_signin_permission as HTML
|
1254
|
+
' WHERE "users"."id" = 1
|
1255
|
+
[1m[36m (22.5ms)[0m [1mcommit transaction[0m
|
1256
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-23 11:15:25 +0000
|
1257
|
+
Processing by ExampleController#restricted as HTML
|
1258
1258
|
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1
|
1259
|
-
Completed 200 OK in 2.6ms (Views: 0.6ms | ActiveRecord: 0.3ms)
|
1260
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-20 13:16:23 +0000
|
1261
|
-
Processing by ExampleController#this_requires_signin_permission as HTML
|
1262
1259
|
Authenticating with gds_sso strategy
|
1263
|
-
Completed in
|
1264
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-
|
1265
|
-
Started GET "/auth/gds/callback?code=
|
1260
|
+
Completed in 1.6ms
|
1261
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-23 11:15:25 +0000
|
1262
|
+
Started GET "/auth/gds/callback?code=7984400d7838e0a99ded7785ec8e883b955f6b160b2b7b8a136022a55bbcdd3b&state=00274111d24b197f93b61d7720b596262e6337e6b2f13c6f" for 127.0.0.1 at 2015-04-23 11:15:25 +0000
|
1266
1263
|
Processing by AuthenticationsController#callback as HTML
|
1267
|
-
Parameters: {"code"=>"
|
1264
|
+
Parameters: {"code"=>"7984400d7838e0a99ded7785ec8e883b955f6b160b2b7b8a136022a55bbcdd3b", "state"=>"00274111d24b197f93b61d7720b596262e6337e6b2f13c6f"}
|
1268
1265
|
Authenticating with gds_sso strategy
|
1269
1266
|
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
1270
1267
|
[1m[35m (0.1ms)[0m begin transaction
|
1271
1268
|
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
1272
1269
|
- signin
|
1273
|
-
' WHERE "users"."id" =
|
1274
|
-
[1m[35m (
|
1270
|
+
' WHERE "users"."id" = 1[0m
|
1271
|
+
[1m[35m (40.6ms)[0m commit transaction
|
1275
1272
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1276
|
-
[1m[35m (0.
|
1273
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "remotely_signed_out" = 'f', "permissions" = '---
|
1277
1274
|
- signin
|
1278
|
-
' WHERE "users"."id" =
|
1279
|
-
[1m[36m (
|
1280
|
-
Redirected to http://www.example-client.com/
|
1281
|
-
Completed 302 Found in
|
1282
|
-
Started GET "/
|
1283
|
-
Processing by ExampleController#
|
1284
|
-
[1m[35mUser Load (0.
|
1285
|
-
Completed 200 OK in
|
1286
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
1275
|
+
' WHERE "users"."id" = 1
|
1276
|
+
[1m[36m (35.9ms)[0m [1mcommit transaction[0m
|
1277
|
+
Redirected to http://www.example-client.com/restricted
|
1278
|
+
Completed 302 Found in 82.9ms (ActiveRecord: 77.4ms)
|
1279
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-23 11:15:26 +0000
|
1280
|
+
Processing by ExampleController#restricted as HTML
|
1281
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1
|
1282
|
+
Completed 200 OK in 1.4ms (Views: 0.2ms | ActiveRecord: 0.3ms)
|
1283
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-23 11:15:26 +0000
|
1287
1284
|
Processing by ExampleController#restricted as HTML
|
1288
1285
|
Authenticating with gds_sso strategy
|
1289
|
-
Completed in 0.
|
1290
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-
|
1291
|
-
Started GET "/auth/gds/callback?code=
|
1286
|
+
Completed in 0.2ms
|
1287
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-23 11:15:26 +0000
|
1288
|
+
Started GET "/auth/gds/callback?code=e6fd2d880e980300deaf850daf93db50f514023e610612c5c322b71fe59b7b68&state=f9b8699c3d9a4f22edacfa2c5f4a617b43330559992a787b" for 127.0.0.1 at 2015-04-23 11:15:27 +0000
|
1292
1289
|
Processing by AuthenticationsController#callback as HTML
|
1293
|
-
Parameters: {"code"=>"
|
1290
|
+
Parameters: {"code"=>"e6fd2d880e980300deaf850daf93db50f514023e610612c5c322b71fe59b7b68", "state"=>"f9b8699c3d9a4f22edacfa2c5f4a617b43330559992a787b"}
|
1294
1291
|
Authenticating with gds_sso strategy
|
1295
|
-
[1m[36mUser Load (0.
|
1292
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
1296
1293
|
[1m[35m (0.1ms)[0m begin transaction
|
1297
|
-
[1m[36m (0.
|
1294
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
1298
1295
|
- signin
|
1299
|
-
' WHERE "users"."id" =
|
1300
|
-
[1m[35m (
|
1296
|
+
' WHERE "users"."id" = 1[0m
|
1297
|
+
[1m[35m (51.2ms)[0m commit transaction
|
1301
1298
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1302
|
-
[1m[35m (0.
|
1299
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "permissions" = '---
|
1303
1300
|
- signin
|
1304
|
-
' WHERE "users"."id" =
|
1305
|
-
[1m[36m (
|
1301
|
+
' WHERE "users"."id" = 1
|
1302
|
+
[1m[36m (38.1ms)[0m [1mcommit transaction[0m
|
1306
1303
|
Redirected to http://www.example-client.com/restricted
|
1307
|
-
Completed 302 Found in
|
1308
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
1304
|
+
Completed 302 Found in 96.2ms (ActiveRecord: 90.0ms)
|
1305
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-23 11:15:27 +0000
|
1309
1306
|
Processing by ExampleController#restricted as HTML
|
1310
|
-
[1m[35mUser Load (0.
|
1311
|
-
Completed 200 OK in
|
1312
|
-
|
1313
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1314
|
-
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = 't', "permissions" = '---
|
1315
|
-
- signin
|
1316
|
-
' WHERE "users"."id" = 11[0m
|
1317
|
-
[1m[35m (15.5ms)[0m commit transaction
|
1318
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-20 13:16:25 +0000
|
1307
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1
|
1308
|
+
Completed 200 OK in 1.7ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
1309
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-24 07:20:27 +0000
|
1319
1310
|
Processing by ExampleController#restricted as HTML
|
1320
|
-
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1[0m
|
1321
1311
|
Authenticating with gds_sso strategy
|
1322
|
-
Completed in
|
1323
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-
|
1324
|
-
Started GET "/auth/gds/callback?code=
|
1312
|
+
Completed in 0.3ms
|
1313
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-24 07:20:27 +0000
|
1314
|
+
Started GET "/auth/gds/callback?code=53a69c4a8ab8cedeb8b7ed1245f58efb4b3a66fcf7c532e39bbccdbc920104f9&state=5d60a3d80a3d34f6fe1079612718b8982e74dd6ef0a346ed" for 127.0.0.1 at 2015-04-24 07:20:27 +0000
|
1325
1315
|
Processing by AuthenticationsController#callback as HTML
|
1326
|
-
Parameters: {"code"=>"
|
1316
|
+
Parameters: {"code"=>"53a69c4a8ab8cedeb8b7ed1245f58efb4b3a66fcf7c532e39bbccdbc920104f9", "state"=>"5d60a3d80a3d34f6fe1079612718b8982e74dd6ef0a346ed"}
|
1327
1317
|
Authenticating with gds_sso strategy
|
1328
|
-
[1m[
|
1329
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1330
|
-
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
1331
|
-
- signin
|
1332
|
-
' WHERE "users"."id" = 11
|
1333
|
-
[1m[36m (13.0ms)[0m [1mcommit transaction[0m
|
1318
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
1334
1319
|
[1m[35m (0.1ms)[0m begin transaction
|
1335
|
-
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "
|
1320
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
1336
1321
|
- signin
|
1337
|
-
' WHERE "users"."id" =
|
1338
|
-
[1m[35m (
|
1322
|
+
' WHERE "users"."id" = 1[0m
|
1323
|
+
[1m[35m (21.1ms)[0m commit transaction
|
1324
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1325
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "permissions" = '---
|
1326
|
+
- signin
|
1327
|
+
' WHERE "users"."id" = 1
|
1328
|
+
[1m[36m (23.0ms)[0m [1mcommit transaction[0m
|
1339
1329
|
Redirected to http://www.example-client.com/restricted
|
1340
|
-
Completed 302 Found in
|
1341
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
1330
|
+
Completed 302 Found in 50.1ms (ActiveRecord: 44.9ms)
|
1331
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-24 07:20:27 +0000
|
1342
1332
|
Processing by ExampleController#restricted as HTML
|
1343
|
-
[1m[
|
1344
|
-
Completed 200 OK in 1.
|
1345
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
1333
|
+
[1m[35mUser Load (0.4ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1
|
1334
|
+
Completed 200 OK in 1.9ms (Views: 0.3ms | ActiveRecord: 0.4ms)
|
1335
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-23 11:15:27 +0000
|
1346
1336
|
Processing by ExampleController#restricted as HTML
|
1347
1337
|
Authenticating with gds_sso strategy
|
1348
|
-
Completed in 0.
|
1349
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-
|
1350
|
-
Started GET "/auth/gds/callback?code=
|
1338
|
+
Completed in 0.3ms
|
1339
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-23 11:15:27 +0000
|
1340
|
+
Started GET "/auth/gds/callback?code=bdecf00081ddfda5185ee1eabd8409d14594834e148cdace629e3c682e56388a&state=ab1cedcc0f572b6f8291b96825b0ac4c9546b5d4ef1f6a90" for 127.0.0.1 at 2015-04-23 11:15:28 +0000
|
1351
1341
|
Processing by AuthenticationsController#callback as HTML
|
1352
|
-
Parameters: {"code"=>"
|
1342
|
+
Parameters: {"code"=>"bdecf00081ddfda5185ee1eabd8409d14594834e148cdace629e3c682e56388a", "state"=>"ab1cedcc0f572b6f8291b96825b0ac4c9546b5d4ef1f6a90"}
|
1353
1343
|
Authenticating with gds_sso strategy
|
1354
|
-
[1m[
|
1344
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
1345
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1346
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
1347
|
+
- signin
|
1348
|
+
' WHERE "users"."id" = 1[0m
|
1349
|
+
[1m[35m (77.6ms)[0m commit transaction
|
1355
1350
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1356
1351
|
[1m[35m (0.4ms)[0m UPDATE "users" SET "permissions" = '---
|
1357
1352
|
- signin
|
1358
|
-
' WHERE "users"."id" =
|
1359
|
-
[1m[36m (
|
1360
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1361
|
-
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
1362
|
-
- signin
|
1363
|
-
' WHERE "users"."id" = 11[0m
|
1364
|
-
[1m[35m (11.2ms)[0m commit transaction
|
1353
|
+
' WHERE "users"."id" = 1
|
1354
|
+
[1m[36m (151.2ms)[0m [1mcommit transaction[0m
|
1365
1355
|
Redirected to http://www.example-client.com/restricted
|
1366
|
-
Completed 302 Found in
|
1367
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
1356
|
+
Completed 302 Found in 245.2ms (ActiveRecord: 229.8ms)
|
1357
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-23 11:15:29 +0000
|
1368
1358
|
Processing by ExampleController#restricted as HTML
|
1369
|
-
[1m[
|
1370
|
-
Completed 200 OK in
|
1371
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
1359
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1
|
1360
|
+
Completed 200 OK in 1.7ms (Views: 0.4ms | ActiveRecord: 0.3ms)
|
1361
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-24 07:10:29 +0000
|
1372
1362
|
Processing by ExampleController#restricted as HTML
|
1373
|
-
|
1374
|
-
Completed
|
1375
|
-
Started GET "/
|
1376
|
-
|
1377
|
-
|
1378
|
-
|
1379
|
-
|
1380
|
-
|
1363
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1[0m
|
1364
|
+
Completed 200 OK in 1.3ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
1365
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-23 11:15:30 +0000
|
1366
|
+
Processing by ExampleController#restricted as JSON
|
1367
|
+
Completed in 17.3ms
|
1368
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-23 11:15:31 +0000
|
1369
|
+
Processing by ExampleController#restricted as JSON
|
1370
|
+
Completed in 16.6ms
|
1371
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-23 11:15:31 +0000
|
1372
|
+
Processing by ExampleController#restricted as JSON
|
1373
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
1381
1374
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1382
|
-
[1m[35m (0.
|
1375
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "disabled" = NULL, "permissions" = '---
|
1383
1376
|
- signin
|
1384
|
-
' WHERE "users"."id" =
|
1385
|
-
[1m[36m (
|
1386
|
-
[1m[
|
1387
|
-
[1m[36m (0.
|
1377
|
+
' WHERE "users"."id" = 1
|
1378
|
+
[1m[36m (37.9ms)[0m [1mcommit transaction[0m
|
1379
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
1380
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1381
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "permissions" = '---
|
1388
1382
|
- signin
|
1389
|
-
' WHERE "users"."id" =
|
1390
|
-
[1m[
|
1391
|
-
|
1392
|
-
|
1393
|
-
|
1394
|
-
|
1395
|
-
|
1396
|
-
|
1397
|
-
|
1398
|
-
Processing by ExampleController#restricted as HTML
|
1399
|
-
Authenticating with gds_sso strategy
|
1400
|
-
Completed in 0.4ms
|
1401
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-20 13:16:29 +0000
|
1402
|
-
Started GET "/auth/gds/callback?code=a586aa7fc440c7fe39d8a7f6a476862ab6af650df8c248adfb397b5575faab4c&state=4dcd8483b7ddec70d460374a967bf3920cdfcf86095cffb6" for 127.0.0.1 at 2015-04-20 13:16:29 +0000
|
1403
|
-
Processing by AuthenticationsController#callback as HTML
|
1404
|
-
Parameters: {"code"=>"a586aa7fc440c7fe39d8a7f6a476862ab6af650df8c248adfb397b5575faab4c", "state"=>"4dcd8483b7ddec70d460374a967bf3920cdfcf86095cffb6"}
|
1405
|
-
Authenticating with gds_sso strategy
|
1406
|
-
[1m[35mUser Load (0.4ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
1383
|
+
' WHERE "users"."id" = 1
|
1384
|
+
[1m[36m (14.9ms)[0m [1mcommit transaction[0m
|
1385
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
1386
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1387
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "permissions" = '---
|
1388
|
+
- signin
|
1389
|
+
' WHERE "users"."id" = 1
|
1390
|
+
[1m[36m (24.9ms)[0m [1mcommit transaction[0m
|
1391
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
1407
1392
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1408
|
-
[1m[35m (0.
|
1393
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "permissions" = '---
|
1409
1394
|
- signin
|
1410
|
-
' WHERE "users"."id" =
|
1411
|
-
[1m[36m (
|
1395
|
+
' WHERE "users"."id" = 1
|
1396
|
+
[1m[36m (35.1ms)[0m [1mcommit transaction[0m
|
1412
1397
|
[1m[35m (0.1ms)[0m begin transaction
|
1413
|
-
[1m[36m (0.
|
1398
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
1414
1399
|
- signin
|
1415
|
-
' WHERE "users"."id" =
|
1416
|
-
[1m[35m (
|
1417
|
-
|
1418
|
-
|
1419
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-20 13:16:29 +0000
|
1420
|
-
Processing by ExampleController#restricted as HTML
|
1421
|
-
[1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1[0m
|
1422
|
-
Completed 200 OK in 3.3ms (Views: 0.6ms | ActiveRecord: 0.4ms)
|
1423
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-21 09:11:29 +0000
|
1424
|
-
Processing by ExampleController#restricted as HTML
|
1425
|
-
[1m[35mUser Load (0.4ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1
|
1426
|
-
Completed 200 OK in 3.0ms (Views: 0.6ms | ActiveRecord: 0.4ms)
|
1427
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-20 13:16:30 +0000
|
1428
|
-
Processing by ExampleController#restricted as JSON
|
1429
|
-
Completed in 29.5ms
|
1430
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-20 13:16:31 +0000
|
1400
|
+
' WHERE "users"."id" = 1[0m
|
1401
|
+
[1m[35m (23.1ms)[0m commit transaction
|
1402
|
+
Completed 200 OK in 396.3ms (Views: 0.5ms | ActiveRecord: 138.3ms)
|
1403
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-23 11:15:32 +0000
|
1431
1404
|
Processing by ExampleController#this_requires_signin_permission as JSON
|
1432
1405
|
[1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
1433
1406
|
[1m[35m (0.1ms)[0m begin transaction
|
1434
|
-
[1m[36m (0.4ms)[0m [1mUPDATE "users" SET "disabled" = NULL, "permissions" = '---
|
1435
|
-
- signin
|
1436
|
-
' WHERE "users"."id" = 11[0m
|
1437
|
-
[1m[35m (18.4ms)[0m commit transaction
|
1438
|
-
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
1439
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1440
1407
|
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
1441
1408
|
- signin
|
1442
|
-
' WHERE "users"."id" =
|
1443
|
-
[1m[35m (
|
1444
|
-
[1m[36mUser Load (0.
|
1409
|
+
' WHERE "users"."id" = 1[0m
|
1410
|
+
[1m[35m (30.5ms)[0m commit transaction
|
1411
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
1445
1412
|
[1m[35m (0.1ms)[0m begin transaction
|
1446
|
-
[1m[36m (0.
|
1413
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
1447
1414
|
- signin
|
1448
|
-
' WHERE "users"."id" =
|
1449
|
-
[1m[35m (
|
1415
|
+
' WHERE "users"."id" = 1[0m
|
1416
|
+
[1m[35m (49.8ms)[0m commit transaction
|
1417
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
1418
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1419
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
1420
|
+
- signin
|
1421
|
+
' WHERE "users"."id" = 1[0m
|
1422
|
+
[1m[35m (18.4ms)[0m commit transaction
|
1450
1423
|
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
1451
|
-
[1m[35m (0.
|
1452
|
-
[1m[36m (0.
|
1424
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1425
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
1453
1426
|
- signin
|
1454
|
-
' WHERE "users"."id" =
|
1455
|
-
[1m[35m (
|
1427
|
+
' WHERE "users"."id" = 1[0m
|
1428
|
+
[1m[35m (38.9ms)[0m commit transaction
|
1456
1429
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1457
|
-
[1m[35m (0.
|
1430
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "permissions" = '---
|
1458
1431
|
- signin
|
1459
|
-
' WHERE "users"."id" =
|
1460
|
-
[1m[36m (
|
1461
|
-
Completed 200 OK in
|
1462
|
-
|
1463
|
-
|
1464
|
-
[1m[
|
1432
|
+
' WHERE "users"."id" = 1
|
1433
|
+
[1m[36m (30.1ms)[0m [1mcommit transaction[0m
|
1434
|
+
Completed 200 OK in 408.7ms (Views: 0.4ms | ActiveRecord: 170.3ms)
|
1435
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1436
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("disabled", "email", "name", "organisation_content_id", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["disabled", false], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["organisation_content_id", nil], ["organisation_slug", nil], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d37002"]]
|
1437
|
+
[1m[35m (130.0ms)[0m commit transaction
|
1465
1438
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1466
|
-
[1m[
|
1467
|
-
|
1468
|
-
'
|
1469
|
-
|
1470
|
-
|
1439
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("disabled", "email", "name", "organisation_content_id", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["disabled", false], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["organisation_content_id", nil], ["organisation_slug", nil], ["permissions", "---\n- signin\n- user_update_permission\n"], ["remotely_signed_out", nil], ["uid", "a1s2d39896"]]
|
1440
|
+
[1m[36m (157.3ms)[0m [1mcommit transaction[0m
|
1441
|
+
WARNING: Can't mass-assign protected attributes: uid, name, permissions
|
1442
|
+
Processing by Api::UserController#update as HTML
|
1443
|
+
Parameters: {"uid"=>"a1s2d37002"}
|
1444
|
+
Completed 403 Forbidden in 3.5ms (Views: 2.9ms | ActiveRecord: 0.0ms)
|
1445
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1446
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("disabled", "email", "name", "organisation_content_id", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["disabled", false], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["organisation_content_id", nil], ["organisation_slug", nil], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d36576"]]
|
1447
|
+
[1m[35m (149.8ms)[0m commit transaction
|
1471
1448
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1472
|
-
[1m[
|
1449
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("disabled", "email", "name", "organisation_content_id", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["disabled", false], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["organisation_content_id", nil], ["organisation_slug", nil], ["permissions", "---\n- signin\n- user_update_permission\n"], ["remotely_signed_out", nil], ["uid", "a1s2d32064"]]
|
1450
|
+
[1m[36m (144.7ms)[0m [1mcommit transaction[0m
|
1451
|
+
Processing by Api::UserController#update as HTML
|
1452
|
+
Parameters: {"uid"=>"a1s2d36576"}
|
1453
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d36576' LIMIT 1
|
1454
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1455
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "email" = 'user@domain.com', "name" = 'Joshua Marshall', "permissions" = '---
|
1473
1456
|
- signin
|
1474
|
-
|
1475
|
-
|
1476
|
-
[1m[
|
1457
|
+
- new permission
|
1458
|
+
', "organisation_slug" = 'justice-league', "organisation_content_id" = 'aae1319e-5788-4677-998c-f1a53af528d0' WHERE "users"."id" = 4
|
1459
|
+
[1m[36m (86.7ms)[0m [1mcommit transaction[0m
|
1460
|
+
Completed 200 OK in 90.8ms (ActiveRecord: 87.2ms)
|
1461
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]]
|
1477
1462
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1478
|
-
[1m[
|
1479
|
-
|
1480
|
-
|
1481
|
-
[1m[
|
1482
|
-
[1m[
|
1463
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("disabled", "email", "name", "organisation_content_id", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["disabled", false], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["organisation_content_id", nil], ["organisation_slug", nil], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d38301"]]
|
1464
|
+
[1m[36m (80.2ms)[0m [1mcommit transaction[0m
|
1465
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1466
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("disabled", "email", "name", "organisation_content_id", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["disabled", false], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["organisation_content_id", nil], ["organisation_slug", nil], ["permissions", "---\n- signin\n- user_update_permission\n"], ["remotely_signed_out", nil], ["uid", "a1s2d34390"]]
|
1467
|
+
[1m[35m (50.8ms)[0m commit transaction
|
1468
|
+
WARNING: Can't mass-assign protected attributes: uid, name, permissions
|
1469
|
+
Processing by Api::UserController#reauth as HTML
|
1470
|
+
Parameters: {"uid"=>"a1s2d38301"}
|
1471
|
+
Completed 403 Forbidden in 1.6ms (Views: 1.0ms | ActiveRecord: 0.0ms)
|
1483
1472
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1484
|
-
[1m[
|
1485
|
-
|
1486
|
-
' WHERE "users"."id" = 11
|
1487
|
-
[1m[36m (20.2ms)[0m [1mcommit transaction[0m
|
1473
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("disabled", "email", "name", "organisation_content_id", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["disabled", false], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["organisation_content_id", nil], ["organisation_slug", nil], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d33743"]]
|
1474
|
+
[1m[36m (31.5ms)[0m [1mcommit transaction[0m
|
1488
1475
|
[1m[35m (0.1ms)[0m begin transaction
|
1489
|
-
[1m[
|
1476
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("disabled", "email", "name", "organisation_content_id", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["disabled", false], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["organisation_content_id", nil], ["organisation_slug", nil], ["permissions", "---\n- signin\n- user_update_permission\n"], ["remotely_signed_out", nil], ["uid", "a1s2d35636"]]
|
1477
|
+
[1m[35m (48.9ms)[0m commit transaction
|
1478
|
+
Processing by Api::UserController#reauth as HTML
|
1479
|
+
Parameters: {"uid"=>"a1s2d33743"}
|
1480
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d33743' LIMIT 1[0m
|
1481
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1482
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = 't', "permissions" = '---
|
1490
1483
|
- signin
|
1491
|
-
' WHERE "users"."id" =
|
1492
|
-
[1m[35m (
|
1493
|
-
Completed 200 OK in
|
1494
|
-
|
1495
|
-
|
1496
|
-
|
1484
|
+
' WHERE "users"."id" = 8[0m
|
1485
|
+
[1m[35m (40.6ms)[0m commit transaction
|
1486
|
+
Completed 200 OK in 43.6ms (ActiveRecord: 41.1ms)
|
1487
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 8]]
|
1488
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1489
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("disabled", "email", "name", "organisation_content_id", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["disabled", false], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["organisation_content_id", nil], ["organisation_slug", nil], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d35462"]]
|
1490
|
+
[1m[35m (43.2ms)[0m commit transaction
|
1497
1491
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1498
|
-
[1m[35mSQL (0.
|
1499
|
-
[1m[36m (
|
1492
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("disabled", "email", "name", "organisation_content_id", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["disabled", false], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["organisation_content_id", nil], ["organisation_slug", nil], ["permissions", "---\n- signin\n- user_update_permission\n"], ["remotely_signed_out", nil], ["uid", "a1s2d36423"]]
|
1493
|
+
[1m[36m (72.0ms)[0m [1mcommit transaction[0m
|
1494
|
+
Processing by Api::UserController#reauth as HTML
|
1495
|
+
Parameters: {"uid"=>"nonexistent-user"}
|
1496
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'nonexistent-user' LIMIT 1
|
1497
|
+
Completed 200 OK in 1.0ms (ActiveRecord: 0.2ms)
|
1498
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1499
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["uid", "a1s2d33200"]]
|
1500
|
+
[1m[36m (16.6ms)[0m [1mcommit transaction[0m
|
1500
1501
|
[1m[35m (0.1ms)[0m begin transaction
|
1501
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?)[0m [["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"], ["uid", "
|
1502
|
-
[1m[35m (
|
1503
|
-
Processing by Api::UserController#
|
1504
|
-
Parameters: {"uid"=>"
|
1505
|
-
|
1506
|
-
Completed
|
1502
|
+
[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", "a1s2d33048"]]
|
1503
|
+
[1m[35m (20.1ms)[0m commit transaction
|
1504
|
+
Processing by Api::UserController#reauth as HTML
|
1505
|
+
Parameters: {"uid"=>"nonexistent-user"}
|
1506
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'nonexistent-user' ORDER BY "users"."id" ASC LIMIT 1[0m
|
1507
|
+
Completed 200 OK in 5ms (ActiveRecord: 0.2ms)
|
1508
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1509
|
+
[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", "a1s2d39659"]]
|
1510
|
+
[1m[35m (40.6ms)[0m commit transaction
|
1507
1511
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1508
|
-
[1m[35mSQL (0.
|
1509
|
-
[1m[36m (
|
1512
|
+
[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", "a1s2d37560"]]
|
1513
|
+
[1m[36m (17.3ms)[0m [1mcommit transaction[0m
|
1514
|
+
Processing by Api::UserController#reauth as HTML
|
1515
|
+
Parameters: {"uid"=>"a1s2d39659"}
|
1516
|
+
Completed 403 Forbidden in 8ms (Views: 7.2ms | ActiveRecord: 0.0ms)
|
1510
1517
|
[1m[35m (0.1ms)[0m begin transaction
|
1511
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?)[0m [["email", "
|
1512
|
-
[1m[35m (
|
1518
|
+
[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", "a1s2d39737"]]
|
1519
|
+
[1m[35m (22.7ms)[0m commit transaction
|
1520
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1521
|
+
[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", "a1s2d36940"]]
|
1522
|
+
[1m[36m (9.4ms)[0m [1mcommit transaction[0m
|
1523
|
+
Processing by Api::UserController#reauth as HTML
|
1524
|
+
Parameters: {"uid"=>"a1s2d39737"}
|
1525
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d39737' ORDER BY "users"."id" ASC LIMIT 1
|
1526
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1527
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "remotely_signed_out" = ?, "permissions" = ? WHERE "users"."id" = 5 [["remotely_signed_out", true], ["permissions", "---\n- signin\n"]]
|
1528
|
+
[1m[36m (10.7ms)[0m [1mcommit transaction[0m
|
1529
|
+
Completed 200 OK in 16ms (ActiveRecord: 11.4ms)
|
1530
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]]
|
1531
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1532
|
+
[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", "a1s2d37155"]]
|
1533
|
+
[1m[36m (14.5ms)[0m [1mcommit transaction[0m
|
1534
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1535
|
+
[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", "a1s2d39300"]]
|
1536
|
+
[1m[35m (11.7ms)[0m commit transaction
|
1513
1537
|
Processing by Api::UserController#update as HTML
|
1514
|
-
Parameters: {"uid"=>"
|
1515
|
-
[1m[36mUser Load (0.
|
1538
|
+
Parameters: {"uid"=>"a1s2d37155"}
|
1539
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d37155' ORDER BY "users"."id" ASC LIMIT 1[0m
|
1516
1540
|
[1m[35m (0.1ms)[0m begin transaction
|
1517
|
-
[1m[36mSQL (0.
|
1518
|
-
[1m[35m (
|
1519
|
-
Completed 200 OK in
|
1520
|
-
[1m[36mUser Load (0.
|
1541
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "email" = ?, "name" = ?, "permissions" = ?, "organisation_slug" = ?, "organisation_content_id" = ? WHERE "users"."id" = 7[0m [["email", "user@domain.com"], ["name", "Joshua Marshall"], ["permissions", "---\n- signin\n- new permission\n"], ["organisation_slug", "justice-league"], ["organisation_content_id", "aae1319e-5788-4677-998c-f1a53af528d0"]]
|
1542
|
+
[1m[35m (13.9ms)[0m commit transaction
|
1543
|
+
Completed 200 OK in 17ms (ActiveRecord: 14.4ms)
|
1544
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 7]]
|
1521
1545
|
[1m[35m (0.1ms)[0m begin transaction
|
1522
|
-
[1m[36mSQL (0.
|
1523
|
-
[1m[35m (
|
1546
|
+
[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", "a1s2d3418"]]
|
1547
|
+
[1m[35m (10.3ms)[0m commit transaction
|
1524
1548
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1525
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"], ["uid", "
|
1526
|
-
[1m[36m (
|
1527
|
-
Processing by Api::UserController#
|
1528
|
-
Parameters: {"uid"=>"
|
1529
|
-
Completed 403 Forbidden in
|
1549
|
+
[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", "a1s2d38483"]]
|
1550
|
+
[1m[36m (10.9ms)[0m [1mcommit transaction[0m
|
1551
|
+
Processing by Api::UserController#update as HTML
|
1552
|
+
Parameters: {"uid"=>"a1s2d3418"}
|
1553
|
+
Completed 403 Forbidden in 12ms (Views: 11.5ms | ActiveRecord: 0.0ms)
|
1554
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-23 11:16:28 +0000
|
1555
|
+
Processing by ExampleController#restricted as JSON
|
1556
|
+
Completed in 105ms
|
1557
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-23 11:16:28 +0000
|
1558
|
+
Processing by ExampleController#restricted as JSON
|
1559
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
1560
|
+
[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
|
1561
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1562
|
+
[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"]]
|
1563
|
+
[1m[35m (12.8ms)[0m commit transaction
|
1564
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
1530
1565
|
[1m[35m (0.1ms)[0m begin transaction
|
1531
|
-
[1m[36mSQL (0.
|
1532
|
-
[1m[35m (
|
1566
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
1567
|
+
[1m[35m (11.6ms)[0m commit transaction
|
1568
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
1569
|
+
[1m[35m (0.2ms)[0m begin transaction
|
1570
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
1571
|
+
[1m[35m (11.0ms)[0m commit transaction
|
1572
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
1573
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1574
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
1575
|
+
[1m[35m (10.6ms)[0m commit transaction
|
1533
1576
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1534
|
-
[1m[35mSQL (0.3ms)[0m
|
1535
|
-
[1m[36m (
|
1536
|
-
|
1537
|
-
|
1538
|
-
|
1539
|
-
|
1577
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "remotely_signed_out" = ?, "permissions" = ? WHERE "users"."id" = 11 [["remotely_signed_out", false], ["permissions", "---\n- signin\n"]]
|
1578
|
+
[1m[36m (14.5ms)[0m [1mcommit transaction[0m
|
1579
|
+
Completed 200 OK in 266ms (Views: 1.8ms | ActiveRecord: 63.3ms)
|
1580
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-23 11:16:29 +0000
|
1581
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
1582
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
1583
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1584
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
1585
|
+
[1m[36m (66.3ms)[0m [1mcommit transaction[0m
|
1586
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
1540
1587
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1541
|
-
[1m[35mSQL (0.2ms)[0m
|
1542
|
-
[1m[36m (
|
1588
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
1589
|
+
[1m[36m (34.9ms)[0m [1mcommit transaction[0m
|
1590
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
1591
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1592
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
1593
|
+
[1m[36m (10.0ms)[0m [1mcommit transaction[0m
|
1594
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
1595
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1596
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
1597
|
+
[1m[36m (11.5ms)[0m [1mcommit transaction[0m
|
1543
1598
|
[1m[35m (0.1ms)[0m begin transaction
|
1544
|
-
[1m[36mSQL (0.2ms)[0m [
|
1545
|
-
[1m[35m (
|
1546
|
-
|
1547
|
-
|
1548
|
-
|
1549
|
-
|
1550
|
-
|
1551
|
-
|
1552
|
-
Completed 200 OK in 17ms (ActiveRecord: 13.9ms)
|
1553
|
-
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 9]]
|
1554
|
-
Started GET "/" for 127.0.0.1 at 2015-04-20 13:17:05 +0000
|
1555
|
-
Processing by ExampleController#index as HTML
|
1556
|
-
Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms)
|
1557
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-20 13:17:05 +0000
|
1558
|
-
Processing by ExampleController#restricted as HTML
|
1599
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
1600
|
+
[1m[35m (6.7ms)[0m commit transaction
|
1601
|
+
Completed 200 OK in 379ms (Views: 0.4ms | ActiveRecord: 131.7ms)
|
1602
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-23 11:16:30 +0000
|
1603
|
+
Processing by ExampleController#restricted as JSON
|
1604
|
+
Completed in 31ms
|
1605
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-23 11:16:30 +0000
|
1606
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
1559
1607
|
Authenticating with gds_sso strategy
|
1560
|
-
Completed in
|
1561
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-
|
1562
|
-
Started GET "/auth/gds/callback?code=
|
1608
|
+
Completed in 0ms
|
1609
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-23 11:16:30 +0000
|
1610
|
+
Started GET "/auth/gds/callback?code=64816016a6f0c0a369dc3ce8d865b906d57d1300bed66d47229dc0132f6ddf7e&state=b430087670ec087b9adbe78050dc77310486d950693058b4" for 127.0.0.1 at 2015-04-23 11:16:30 +0000
|
1563
1611
|
Processing by AuthenticationsController#callback as HTML
|
1564
|
-
Parameters: {"code"=>"
|
1612
|
+
Parameters: {"code"=>"64816016a6f0c0a369dc3ce8d865b906d57d1300bed66d47229dc0132f6ddf7e", "state"=>"b430087670ec087b9adbe78050dc77310486d950693058b4"}
|
1565
1613
|
Authenticating with gds_sso strategy
|
1566
|
-
[1m[
|
1567
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'test@example-client.com' ORDER BY "users"."id" ASC LIMIT 1[0m
|
1614
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
1568
1615
|
[1m[35m (0.1ms)[0m begin transaction
|
1569
|
-
[1m[36mSQL (0.3ms)[0m [
|
1570
|
-
[1m[35m (
|
1616
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "disabled" = ?, "permissions" = ? WHERE "users"."id" = 11[0m [["disabled", false], ["permissions", "---\n- signin\n"]]
|
1617
|
+
[1m[35m (9.2ms)[0m commit transaction
|
1571
1618
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1572
|
-
[1m[35mSQL (0.
|
1573
|
-
[1m[36m (
|
1574
|
-
Redirected to http://www.example-client.com/
|
1575
|
-
Completed 302 Found in
|
1576
|
-
Started GET "/
|
1577
|
-
Processing by ExampleController#
|
1619
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
1620
|
+
[1m[36m (6.6ms)[0m [1mcommit transaction[0m
|
1621
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
1622
|
+
Completed 302 Found in 23ms (ActiveRecord: 16.6ms)
|
1623
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-23 11:16:30 +0000
|
1624
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
1625
|
+
[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
|
1626
|
+
Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
1627
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-23 11:16:30 +0000
|
1628
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
1629
|
+
Authenticating with gds_sso strategy
|
1630
|
+
Completed in 0ms
|
1631
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-23 11:16:30 +0000
|
1632
|
+
Started GET "/auth/gds/callback?code=6f6901c1465c8aa9dec76be618fdd8fcd1c065001f8d8437049f6c6dac5f2d51&state=4e7fb354e678de49d8671ebb130d745b3b211347b48c67f6" for 127.0.0.1 at 2015-04-23 11:16:31 +0000
|
1633
|
+
Processing by AuthenticationsController#callback as HTML
|
1634
|
+
Parameters: {"code"=>"6f6901c1465c8aa9dec76be618fdd8fcd1c065001f8d8437049f6c6dac5f2d51", "state"=>"4e7fb354e678de49d8671ebb130d745b3b211347b48c67f6"}
|
1635
|
+
Authenticating with gds_sso strategy
|
1636
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
1637
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1638
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
1639
|
+
[1m[35m (11.1ms)[0m commit transaction
|
1640
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1641
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
1642
|
+
[1m[36m (11.0ms)[0m [1mcommit transaction[0m
|
1643
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
1644
|
+
Completed 302 Found in 27ms (ActiveRecord: 22.9ms)
|
1645
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-23 11:16:31 +0000
|
1646
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
1578
1647
|
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1
|
1579
|
-
Completed 200 OK in
|
1580
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
1648
|
+
Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)
|
1649
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-23 11:16:31 +0000
|
1581
1650
|
Processing by ExampleController#restricted as HTML
|
1582
1651
|
Authenticating with gds_sso strategy
|
1583
|
-
Completed in
|
1584
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-
|
1585
|
-
Started GET "/auth/gds/callback?code=
|
1652
|
+
Completed in 1ms
|
1653
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-23 11:16:31 +0000
|
1654
|
+
Started GET "/auth/gds/callback?code=213f59dca7506d7389adfad17b60915e2ca35e54826c2093d5f871296feb40c5&state=d783ed15cbb8c6791a3ce8a75518919643bffc8513bd297f" for 127.0.0.1 at 2015-04-23 11:16:31 +0000
|
1586
1655
|
Processing by AuthenticationsController#callback as HTML
|
1587
|
-
Parameters: {"code"=>"
|
1656
|
+
Parameters: {"code"=>"213f59dca7506d7389adfad17b60915e2ca35e54826c2093d5f871296feb40c5", "state"=>"d783ed15cbb8c6791a3ce8a75518919643bffc8513bd297f"}
|
1588
1657
|
Authenticating with gds_sso strategy
|
1589
|
-
[1m[36mUser Load (0.
|
1658
|
+
[1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
1590
1659
|
[1m[35m (0.1ms)[0m begin transaction
|
1591
|
-
[1m[36mSQL (0.
|
1592
|
-
[1m[35m (
|
1593
|
-
[1m[36m (
|
1660
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
1661
|
+
[1m[35m (7.2ms)[0m commit transaction
|
1662
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1594
1663
|
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
1595
|
-
[1m[36m (
|
1664
|
+
[1m[36m (10.9ms)[0m [1mcommit transaction[0m
|
1596
1665
|
Redirected to http://www.example-client.com/restricted
|
1597
|
-
Completed 302 Found in
|
1598
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
1666
|
+
Completed 302 Found in 25ms (ActiveRecord: 19.1ms)
|
1667
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-23 11:16:31 +0000
|
1599
1668
|
Processing by ExampleController#restricted as HTML
|
1600
1669
|
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1
|
1601
|
-
Completed 200 OK in 2ms (Views: 0.
|
1602
|
-
Started GET "/
|
1603
|
-
Processing by ExampleController#
|
1670
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.3ms)
|
1671
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-23 11:16:32 +0000
|
1672
|
+
Processing by ExampleController#restricted as HTML
|
1604
1673
|
Authenticating with gds_sso strategy
|
1605
1674
|
Completed in 1ms
|
1606
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-
|
1607
|
-
Started GET "/auth/gds/callback?code=
|
1675
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-23 11:16:32 +0000
|
1676
|
+
Started GET "/auth/gds/callback?code=dc9acb438bc7e9bfe252bb5342f1fdd61ef6d9daaf33a312f3b6b0df2267acef&state=ad6affcccd646a32a965e6b70ea7226b394e9fbd6e62aabb" for 127.0.0.1 at 2015-04-23 11:16:32 +0000
|
1608
1677
|
Processing by AuthenticationsController#callback as HTML
|
1609
|
-
Parameters: {"code"=>"
|
1678
|
+
Parameters: {"code"=>"dc9acb438bc7e9bfe252bb5342f1fdd61ef6d9daaf33a312f3b6b0df2267acef", "state"=>"ad6affcccd646a32a965e6b70ea7226b394e9fbd6e62aabb"}
|
1610
1679
|
Authenticating with gds_sso strategy
|
1611
1680
|
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
1612
1681
|
[1m[35m (0.1ms)[0m begin transaction
|
1613
|
-
[1m[36mSQL (0.
|
1614
|
-
[1m[35m (
|
1682
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
1683
|
+
[1m[35m (19.5ms)[0m commit transaction
|
1615
1684
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1616
1685
|
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
1617
|
-
[1m[36m (
|
1618
|
-
Redirected to http://www.example-client.com/
|
1619
|
-
Completed 302 Found in
|
1620
|
-
Started GET "/
|
1621
|
-
Processing by ExampleController#
|
1622
|
-
[1m[35mUser Load (0.
|
1623
|
-
Completed 200 OK in
|
1624
|
-
Started GET "/
|
1625
|
-
Processing by ExampleController#
|
1686
|
+
[1m[36m (13.5ms)[0m [1mcommit transaction[0m
|
1687
|
+
Redirected to http://www.example-client.com/restricted
|
1688
|
+
Completed 302 Found in 39ms (ActiveRecord: 33.9ms)
|
1689
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-23 11:16:32 +0000
|
1690
|
+
Processing by ExampleController#restricted as HTML
|
1691
|
+
[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
|
1692
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
1693
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-23 11:16:32 +0000
|
1694
|
+
Processing by ExampleController#restricted as HTML
|
1626
1695
|
Authenticating with gds_sso strategy
|
1627
1696
|
Completed in 0ms
|
1628
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-
|
1629
|
-
Started GET "/auth/gds/callback?code=
|
1697
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-23 11:16:32 +0000
|
1698
|
+
Started GET "/auth/gds/callback?code=e457f296eab77b5a0c43793f6bdef50835a46f504de8c8bf40b808f513883612&state=f10d6a1c4bee6cd90ca2fff2682e7da43afe114781a5b136" for 127.0.0.1 at 2015-04-23 11:16:32 +0000
|
1630
1699
|
Processing by AuthenticationsController#callback as HTML
|
1631
|
-
Parameters: {"code"=>"
|
1700
|
+
Parameters: {"code"=>"e457f296eab77b5a0c43793f6bdef50835a46f504de8c8bf40b808f513883612", "state"=>"f10d6a1c4bee6cd90ca2fff2682e7da43afe114781a5b136"}
|
1632
1701
|
Authenticating with gds_sso strategy
|
1633
1702
|
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
1634
1703
|
[1m[35m (0.1ms)[0m begin transaction
|
1635
|
-
[1m[36mSQL (0.
|
1636
|
-
[1m[35m (
|
1637
|
-
[1m[36m (0.
|
1704
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
1705
|
+
[1m[35m (18.7ms)[0m commit transaction
|
1706
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1638
1707
|
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
1639
|
-
[1m[36m (
|
1640
|
-
Redirected to http://www.example-client.com/
|
1641
|
-
Completed 302 Found in
|
1642
|
-
Started GET "/
|
1643
|
-
Processing by ExampleController#
|
1644
|
-
[1m[35mUser Load (0.
|
1645
|
-
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.
|
1646
|
-
Started GET "/
|
1708
|
+
[1m[36m (12.9ms)[0m [1mcommit transaction[0m
|
1709
|
+
Redirected to http://www.example-client.com/restricted
|
1710
|
+
Completed 302 Found in 38ms (ActiveRecord: 32.5ms)
|
1711
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-23 11:16:32 +0000
|
1712
|
+
Processing by ExampleController#restricted as HTML
|
1713
|
+
[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
|
1714
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.4ms)
|
1715
|
+
Started GET "/" for 127.0.0.1 at 2015-04-23 11:16:33 +0000
|
1716
|
+
Processing by ExampleController#index as HTML
|
1717
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
1718
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-23 11:16:33 +0000
|
1647
1719
|
Processing by ExampleController#restricted as HTML
|
1648
1720
|
Authenticating with gds_sso strategy
|
1649
|
-
Completed in
|
1650
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-
|
1651
|
-
Started GET "/auth/gds/callback?code=
|
1721
|
+
Completed in 1ms
|
1722
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-23 11:16:33 +0000
|
1723
|
+
Started GET "/auth/gds/callback?code=8b8b1c1d48a907e223b29c2f214c6afc8fd28bd87adffde03d94f340c152fb80&state=acb2c18127d6c915387d309d539c34004a0105a0d57f2e85" for 127.0.0.1 at 2015-04-23 11:16:33 +0000
|
1652
1724
|
Processing by AuthenticationsController#callback as HTML
|
1653
|
-
Parameters: {"code"=>"
|
1725
|
+
Parameters: {"code"=>"8b8b1c1d48a907e223b29c2f214c6afc8fd28bd87adffde03d94f340c152fb80", "state"=>"acb2c18127d6c915387d309d539c34004a0105a0d57f2e85"}
|
1654
1726
|
Authenticating with gds_sso strategy
|
1655
|
-
[1m[36mUser Load (0.
|
1727
|
+
[1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
1656
1728
|
[1m[35m (0.1ms)[0m begin transaction
|
1657
|
-
[1m[36mSQL (0.
|
1658
|
-
[1m[35m (16.
|
1659
|
-
[1m[36m (0.
|
1729
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
1730
|
+
[1m[35m (16.2ms)[0m commit transaction
|
1731
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1660
1732
|
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
1661
|
-
[1m[36m (
|
1733
|
+
[1m[36m (15.6ms)[0m [1mcommit transaction[0m
|
1662
1734
|
Redirected to http://www.example-client.com/restricted
|
1663
|
-
Completed 302 Found in
|
1664
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
1735
|
+
Completed 302 Found in 41ms (ActiveRecord: 33.1ms)
|
1736
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-23 11:16:33 +0000
|
1665
1737
|
Processing by ExampleController#restricted as HTML
|
1666
1738
|
[1m[35mUser Load (0.4ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1
|
1667
|
-
Completed 200 OK in 3ms (Views: 0.
|
1668
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
1739
|
+
Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.4ms)
|
1740
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-24 07:11:33 +0000
|
1741
|
+
Processing by ExampleController#restricted as HTML
|
1742
|
+
[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
|
1743
|
+
Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)
|
1744
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-23 11:16:33 +0000
|
1669
1745
|
Processing by ExampleController#restricted as HTML
|
1670
1746
|
Authenticating with gds_sso strategy
|
1671
1747
|
Completed in 1ms
|
1672
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-
|
1673
|
-
Started GET "/auth/gds/callback?code=
|
1748
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-23 11:16:33 +0000
|
1749
|
+
Started GET "/auth/gds/callback?code=62c3697f8f4163a9138da5df3adbf47be5b0acf9cffcfc0b5ad30886f9f38cef&state=96219a61a3013d0108f6184f0d6f459bb9e8036406a50f71" for 127.0.0.1 at 2015-04-23 11:16:34 +0000
|
1674
1750
|
Processing by AuthenticationsController#callback as HTML
|
1675
|
-
Parameters: {"code"=>"
|
1751
|
+
Parameters: {"code"=>"62c3697f8f4163a9138da5df3adbf47be5b0acf9cffcfc0b5ad30886f9f38cef", "state"=>"96219a61a3013d0108f6184f0d6f459bb9e8036406a50f71"}
|
1676
1752
|
Authenticating with gds_sso strategy
|
1677
|
-
[1m[
|
1678
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1679
|
-
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
1680
|
-
[1m[35m (12.0ms)[0m commit transaction
|
1753
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
1681
1754
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1682
1755
|
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
1683
|
-
[1m[36m (
|
1756
|
+
[1m[36m (11.1ms)[0m [1mcommit transaction[0m
|
1757
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1758
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
1759
|
+
[1m[35m (14.5ms)[0m commit transaction
|
1684
1760
|
Redirected to http://www.example-client.com/restricted
|
1685
|
-
Completed 302 Found in
|
1686
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
1761
|
+
Completed 302 Found in 32ms (ActiveRecord: 26.4ms)
|
1762
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-23 11:16:34 +0000
|
1687
1763
|
Processing by ExampleController#restricted as HTML
|
1688
|
-
[1m[
|
1689
|
-
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.
|
1690
|
-
|
1691
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1692
|
-
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = ?, "permissions" = ? WHERE "users"."id" = 11[0m [["remotely_signed_out", true], ["permissions", "---\n- signin\n"]]
|
1693
|
-
[1m[35m (14.1ms)[0m commit transaction
|
1694
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-20 13:17:10 +0000
|
1764
|
+
[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
|
1765
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
1766
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-24 07:21:34 +0000
|
1695
1767
|
Processing by ExampleController#restricted as HTML
|
1696
|
-
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1[0m
|
1697
1768
|
Authenticating with gds_sso strategy
|
1698
|
-
Completed in
|
1699
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-
|
1700
|
-
Started GET "/auth/gds/callback?code=
|
1769
|
+
Completed in 1ms
|
1770
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-24 07:21:34 +0000
|
1771
|
+
Started GET "/auth/gds/callback?code=2f8210bf827fb52770bc3c5810a133fdb862b571e6e666af5a0dbdfb7a7dffe2&state=2a3480a3741ac6894bb11d38822793f663cdbe993371b9a9" for 127.0.0.1 at 2015-04-24 07:21:34 +0000
|
1701
1772
|
Processing by AuthenticationsController#callback as HTML
|
1702
|
-
Parameters: {"code"=>"
|
1773
|
+
Parameters: {"code"=>"2f8210bf827fb52770bc3c5810a133fdb862b571e6e666af5a0dbdfb7a7dffe2", "state"=>"2a3480a3741ac6894bb11d38822793f663cdbe993371b9a9"}
|
1703
1774
|
Authenticating with gds_sso strategy
|
1704
|
-
[1m[35mUser Load (0.
|
1775
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
1705
1776
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1706
|
-
[1m[35mSQL (0.
|
1707
|
-
[1m[36m (
|
1777
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
1778
|
+
[1m[36m (9.5ms)[0m [1mcommit transaction[0m
|
1708
1779
|
[1m[35m (0.1ms)[0m begin transaction
|
1709
|
-
[1m[36mSQL (0.
|
1710
|
-
[1m[35m (
|
1780
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
1781
|
+
[1m[35m (10.6ms)[0m commit transaction
|
1711
1782
|
Redirected to http://www.example-client.com/restricted
|
1712
|
-
Completed 302 Found in
|
1713
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
1783
|
+
Completed 302 Found in 25ms (ActiveRecord: 20.8ms)
|
1784
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-24 07:21:34 +0000
|
1714
1785
|
Processing by ExampleController#restricted as HTML
|
1715
|
-
[1m[36mUser Load (0.
|
1716
|
-
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.
|
1717
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
1786
|
+
[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
|
1787
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
1788
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-23 11:16:34 +0000
|
1718
1789
|
Processing by ExampleController#restricted as HTML
|
1719
1790
|
Authenticating with gds_sso strategy
|
1720
|
-
Completed in
|
1721
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-
|
1722
|
-
Started GET "/auth/gds/callback?code=
|
1791
|
+
Completed in 0ms
|
1792
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-23 11:16:34 +0000
|
1793
|
+
Started GET "/auth/gds/callback?code=e8432cfbeb4bd3cc2ccb29e57dfbe907dced13fa140368634d2cff10b1645a6c&state=56a68a1bf3636ccb86b106ed727605138d7a065a4ef86e11" for 127.0.0.1 at 2015-04-23 11:16:34 +0000
|
1723
1794
|
Processing by AuthenticationsController#callback as HTML
|
1724
|
-
Parameters: {"code"=>"
|
1795
|
+
Parameters: {"code"=>"e8432cfbeb4bd3cc2ccb29e57dfbe907dced13fa140368634d2cff10b1645a6c", "state"=>"56a68a1bf3636ccb86b106ed727605138d7a065a4ef86e11"}
|
1725
1796
|
Authenticating with gds_sso strategy
|
1726
1797
|
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
1727
1798
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1728
1799
|
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
1729
|
-
[1m[36m (
|
1800
|
+
[1m[36m (18.3ms)[0m [1mcommit transaction[0m
|
1730
1801
|
[1m[35m (0.1ms)[0m begin transaction
|
1731
1802
|
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
1732
|
-
[1m[35m (
|
1803
|
+
[1m[35m (9.0ms)[0m commit transaction
|
1733
1804
|
Redirected to http://www.example-client.com/restricted
|
1734
|
-
Completed 302 Found in
|
1735
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
1805
|
+
Completed 302 Found in 34ms (ActiveRecord: 28.0ms)
|
1806
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-23 11:16:34 +0000
|
1736
1807
|
Processing by ExampleController#restricted as HTML
|
1737
1808
|
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1[0m
|
1738
|
-
Completed 200 OK in
|
1739
|
-
|
1809
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.3ms)
|
1810
|
+
[1m[35mUser Load (0.4ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'test@example-client.com' ORDER BY "users"."id" ASC LIMIT 1
|
1811
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1812
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "remotely_signed_out" = ?, "permissions" = ? WHERE "users"."id" = 11 [["remotely_signed_out", true], ["permissions", "---\n- signin\n"]]
|
1813
|
+
[1m[36m (8.5ms)[0m [1mcommit transaction[0m
|
1814
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-23 11:16:34 +0000
|
1740
1815
|
Processing by ExampleController#restricted as HTML
|
1816
|
+
[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
|
1741
1817
|
Authenticating with gds_sso strategy
|
1742
|
-
Completed in
|
1743
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-
|
1744
|
-
Started GET "/auth/gds/callback?code=
|
1818
|
+
Completed in 2ms
|
1819
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-23 11:16:34 +0000
|
1820
|
+
Started GET "/auth/gds/callback?code=17941b988c96a4e423cd549f384e7b37908576fc431cc043fed26b12ece5d82d&state=7428351fcdef6742e147f63958a672324009074f63c1d09d" for 127.0.0.1 at 2015-04-23 11:16:35 +0000
|
1745
1821
|
Processing by AuthenticationsController#callback as HTML
|
1746
|
-
Parameters: {"code"=>"
|
1822
|
+
Parameters: {"code"=>"17941b988c96a4e423cd549f384e7b37908576fc431cc043fed26b12ece5d82d", "state"=>"7428351fcdef6742e147f63958a672324009074f63c1d09d"}
|
1747
1823
|
Authenticating with gds_sso strategy
|
1748
|
-
[1m[
|
1749
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1750
|
-
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
1751
|
-
[1m[36m (14.8ms)[0m [1mcommit transaction[0m
|
1824
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
1752
1825
|
[1m[35m (0.1ms)[0m begin transaction
|
1753
1826
|
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
1754
|
-
[1m[35m (
|
1827
|
+
[1m[35m (34.3ms)[0m commit transaction
|
1828
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1829
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "remotely_signed_out" = ?, "permissions" = ? WHERE "users"."id" = 11 [["remotely_signed_out", false], ["permissions", "---\n- signin\n"]]
|
1830
|
+
[1m[36m (33.5ms)[0m [1mcommit transaction[0m
|
1755
1831
|
Redirected to http://www.example-client.com/restricted
|
1756
|
-
Completed 302 Found in
|
1757
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
1832
|
+
Completed 302 Found in 74ms (ActiveRecord: 68.6ms)
|
1833
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-23 11:16:35 +0000
|
1758
1834
|
Processing by ExampleController#restricted as HTML
|
1759
|
-
[1m[
|
1760
|
-
Completed 200 OK in
|
1761
|
-
Started GET "/
|
1835
|
+
[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
|
1836
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.3ms)
|
1837
|
+
Started GET "/" for 127.0.0.1 at 2015-04-23 11:17:19 +0000
|
1838
|
+
Processing by ExampleController#index as HTML
|
1839
|
+
Rendered text template (0.1ms)
|
1840
|
+
Completed 200 OK in 7ms (Views: 6.1ms | ActiveRecord: 0.0ms)
|
1841
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-23 11:17:19 +0000
|
1762
1842
|
Processing by ExampleController#restricted as HTML
|
1763
1843
|
Authenticating with gds_sso strategy
|
1764
|
-
Completed in
|
1765
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-
|
1766
|
-
Started GET "/auth/gds/callback?code=
|
1844
|
+
Completed in 16ms
|
1845
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-23 11:17:19 +0000
|
1846
|
+
Started GET "/auth/gds/callback?code=0668616863417a631f99d2ae9cf2603be91c05759112d40181cba652b047864d&state=275297cde4095ea4be0851bfe62c5d9b66fbf36106732248" for 127.0.0.1 at 2015-04-23 11:17:19 +0000
|
1767
1847
|
Processing by AuthenticationsController#callback as HTML
|
1768
|
-
Parameters: {"code"=>"
|
1848
|
+
Parameters: {"code"=>"0668616863417a631f99d2ae9cf2603be91c05759112d40181cba652b047864d", "state"=>"275297cde4095ea4be0851bfe62c5d9b66fbf36106732248"}
|
1769
1849
|
Authenticating with gds_sso strategy
|
1770
|
-
[1m[
|
1850
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
1851
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'test@example-client.com' ORDER BY "users"."id" ASC LIMIT 1
|
1771
1852
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1772
|
-
[1m[35mSQL (0.
|
1773
|
-
[1m[36m (
|
1853
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "test@example-client.com"], ["name", "Test User"], ["permissions", "---\n- signin\n"], ["uid", "integration-uid"]]
|
1854
|
+
[1m[36m (9.9ms)[0m [1mcommit transaction[0m
|
1774
1855
|
[1m[35m (0.1ms)[0m begin transaction
|
1775
|
-
[1m[36mSQL (0.
|
1776
|
-
[1m[35m (
|
1856
|
+
[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"]]
|
1857
|
+
[1m[35m (8.4ms)[0m commit transaction
|
1777
1858
|
Redirected to http://www.example-client.com/restricted
|
1778
|
-
Completed 302 Found in
|
1779
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
1859
|
+
Completed 302 Found in 44ms (ActiveRecord: 20.0ms)
|
1860
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-23 11:17:20 +0000
|
1780
1861
|
Processing by ExampleController#restricted as HTML
|
1781
|
-
[1m[36mUser Load (0.
|
1782
|
-
Completed 200 OK in
|
1783
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
1862
|
+
[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
|
1863
|
+
Completed 200 OK in 4ms (Views: 0.5ms | ActiveRecord: 0.2ms)
|
1864
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-23 11:17:20 +0000
|
1784
1865
|
Processing by ExampleController#restricted as HTML
|
1785
|
-
|
1786
|
-
Completed
|
1787
|
-
Started GET "/
|
1788
|
-
|
1789
|
-
|
1790
|
-
|
1791
|
-
|
1792
|
-
[1m[
|
1793
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1794
|
-
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "disabled" = ?, "permissions" = ? WHERE "users"."id" = 11[0m [["disabled", nil], ["permissions", "---\n- signin\n"]]
|
1795
|
-
[1m[35m (64.3ms)[0m commit transaction
|
1796
|
-
[1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
1797
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1798
|
-
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
1799
|
-
[1m[35m (21.3ms)[0m commit transaction
|
1800
|
-
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
1801
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1802
|
-
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
1803
|
-
[1m[35m (63.3ms)[0m commit transaction
|
1804
|
-
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
1805
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1806
|
-
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
1807
|
-
[1m[35m (11.5ms)[0m commit transaction
|
1866
|
+
Authenticating with gds_sso strategy
|
1867
|
+
Completed in 1ms
|
1868
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-23 11:17:20 +0000
|
1869
|
+
Started GET "/auth/gds/callback?code=0ef2ab74887920628972fc49a0e043fe0e3a4e97a963134d54fef98ff4c87891&state=16a8b8e0c52be217c0606491345309d944110e70f77324fc" for 127.0.0.1 at 2015-04-23 11:17:20 +0000
|
1870
|
+
Processing by AuthenticationsController#callback as HTML
|
1871
|
+
Parameters: {"code"=>"0ef2ab74887920628972fc49a0e043fe0e3a4e97a963134d54fef98ff4c87891", "state"=>"16a8b8e0c52be217c0606491345309d944110e70f77324fc"}
|
1872
|
+
Authenticating with gds_sso strategy
|
1873
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
1808
1874
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1809
|
-
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" =
|
1875
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
|
1810
1876
|
[1m[36m (11.5ms)[0m [1mcommit transaction[0m
|
1811
|
-
Completed 200 OK in 367ms (Views: 0.4ms | ActiveRecord: 174.9ms)
|
1812
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-20 13:17:15 +0000
|
1813
|
-
Processing by ExampleController#restricted as JSON
|
1814
|
-
Completed in 38ms
|
1815
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-20 13:17:15 +0000
|
1816
|
-
Processing by ExampleController#restricted as JSON
|
1817
|
-
[1m[35mUser Load (0.4ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
1818
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1819
|
-
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
1820
|
-
[1m[36m (17.5ms)[0m [1mcommit transaction[0m
|
1821
|
-
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
1822
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1823
|
-
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
1824
|
-
[1m[36m (10.3ms)[0m [1mcommit transaction[0m
|
1825
|
-
[1m[35mUser Load (0.4ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
1826
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1827
|
-
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
1828
|
-
[1m[36m (12.0ms)[0m [1mcommit transaction[0m
|
1829
|
-
[1m[35mUser Load (0.7ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
1830
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1831
|
-
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
1832
|
-
[1m[36m (47.1ms)[0m [1mcommit transaction[0m
|
1833
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1834
|
-
[1m[36mSQL (0.5ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
1835
|
-
[1m[35m (65.6ms)[0m commit transaction
|
1836
|
-
Completed 200 OK in 366ms (Views: 0.5ms | ActiveRecord: 156.3ms)
|
1837
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1838
|
-
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["uid", "a1s2d35315"]]
|
1839
|
-
[1m[36m (20.7ms)[0m [1mcommit transaction[0m
|
1840
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1841
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?)[0m [["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"], ["uid", "a1s2d3120"]]
|
1842
|
-
[1m[35m (16.8ms)[0m commit transaction
|
1843
|
-
Processing by Api::UserController#update as HTML
|
1844
|
-
Parameters: {"uid"=>"a1s2d35315"}
|
1845
|
-
Rendered /home/jenkins/workspace/govuk_gds_sso/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.4ms)
|
1846
|
-
Completed 403 Forbidden in 8ms (Views: 7.8ms | ActiveRecord: 0.0ms)
|
1847
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1848
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["uid", "a1s2d37143"]]
|
1849
|
-
[1m[36m (15.7ms)[0m [1mcommit transaction[0m
|
1850
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1851
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?)[0m [["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"], ["uid", "a1s2d38754"]]
|
1852
|
-
[1m[35m (18.4ms)[0m commit transaction
|
1853
|
-
Processing by Api::UserController#update as HTML
|
1854
|
-
Parameters: {"uid"=>"a1s2d37143"}
|
1855
|
-
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d37143' ORDER BY "users"."id" ASC LIMIT 1[0m
|
1856
1877
|
[1m[35m (0.1ms)[0m begin transaction
|
1857
|
-
[1m[36mSQL (0.
|
1858
|
-
[1m[35m (
|
1859
|
-
|
1860
|
-
|
1861
|
-
|
1862
|
-
|
1863
|
-
[1m[
|
1864
|
-
|
1865
|
-
|
1866
|
-
|
1867
|
-
|
1868
|
-
|
1869
|
-
|
1870
|
-
|
1871
|
-
|
1872
|
-
|
1878
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1[0m [["permissions", "---\n- signin\n"]]
|
1879
|
+
[1m[35m (11.0ms)[0m commit transaction
|
1880
|
+
Redirected to http://www.example-client.com/restricted
|
1881
|
+
Completed 302 Found in 29ms (ActiveRecord: 23.4ms)
|
1882
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-23 11:17:20 +0000
|
1883
|
+
Processing by ExampleController#restricted as HTML
|
1884
|
+
[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
|
1885
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
1886
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-23 11:17:20 +0000
|
1887
|
+
Processing by ExampleController#restricted as HTML
|
1888
|
+
Authenticating with gds_sso strategy
|
1889
|
+
Completed in 0ms
|
1890
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-23 11:17:20 +0000
|
1891
|
+
Started GET "/auth/gds/callback?code=2fcf0f5be93be0e74b433767e359725d56b6e3e1031cf3f7696cef54975e36a3&state=e60b7fb085f0c898d197d7316eb8ead1cd641ea782e035cc" for 127.0.0.1 at 2015-04-23 11:17:20 +0000
|
1892
|
+
Processing by AuthenticationsController#callback as HTML
|
1893
|
+
Parameters: {"code"=>"2fcf0f5be93be0e74b433767e359725d56b6e3e1031cf3f7696cef54975e36a3", "state"=>"e60b7fb085f0c898d197d7316eb8ead1cd641ea782e035cc"}
|
1894
|
+
Authenticating with gds_sso strategy
|
1895
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
1873
1896
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1874
|
-
[1m[35mSQL (0.2ms)[0m
|
1875
|
-
[1m[36m (
|
1876
|
-
Processing by Api::UserController#reauth as HTML
|
1877
|
-
Parameters: {"uid"=>"nonexistent-user"}
|
1878
|
-
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'nonexistent-user' ORDER BY "users"."id" ASC LIMIT 1
|
1879
|
-
Completed 200 OK in 1ms (ActiveRecord: 0.2ms)
|
1880
|
-
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
1881
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["uid", "a1s2d32493"]]
|
1882
|
-
[1m[36m (14.7ms)[0m [1mcommit transaction[0m
|
1897
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
|
1898
|
+
[1m[36m (19.7ms)[0m [1mcommit transaction[0m
|
1883
1899
|
[1m[35m (0.1ms)[0m begin transaction
|
1884
|
-
[1m[36mSQL (0.2ms)[0m [
|
1885
|
-
[1m[35m (
|
1886
|
-
|
1887
|
-
|
1888
|
-
|
1889
|
-
|
1890
|
-
[1m[
|
1891
|
-
|
1892
|
-
|
1893
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 9]]
|
1894
|
-
Started GET "/" for 127.0.0.1 at 2015-04-20 13:17:34 +0000
|
1895
|
-
Processing by ExampleController#index as HTML
|
1896
|
-
Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)
|
1897
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-20 13:17:34 +0000
|
1900
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1[0m [["permissions", "---\n- signin\n"]]
|
1901
|
+
[1m[35m (16.7ms)[0m commit transaction
|
1902
|
+
Redirected to http://www.example-client.com/restricted
|
1903
|
+
Completed 302 Found in 42ms (ActiveRecord: 37.1ms)
|
1904
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-23 11:17:21 +0000
|
1905
|
+
Processing by ExampleController#restricted as HTML
|
1906
|
+
[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
|
1907
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
1908
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-23 11:17:21 +0000
|
1898
1909
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
1899
1910
|
Authenticating with gds_sso strategy
|
1900
|
-
Completed in
|
1901
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-
|
1902
|
-
Started GET "/auth/gds/callback?code=
|
1911
|
+
Completed in 1ms
|
1912
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-23 11:17:21 +0000
|
1913
|
+
Started GET "/auth/gds/callback?code=6484293edcd053d49cd0a9e72c9e26f67e9db9a7451560fe76577c69d7e178dc&state=10a39ddac302e7d47d2fecee5317dd1c653499abe8677245" for 127.0.0.1 at 2015-04-23 11:17:21 +0000
|
1903
1914
|
Processing by AuthenticationsController#callback as HTML
|
1904
|
-
Parameters: {"code"=>"
|
1915
|
+
Parameters: {"code"=>"6484293edcd053d49cd0a9e72c9e26f67e9db9a7451560fe76577c69d7e178dc", "state"=>"10a39ddac302e7d47d2fecee5317dd1c653499abe8677245"}
|
1905
1916
|
Authenticating with gds_sso strategy
|
1906
|
-
[1m[35mUser Load (0.
|
1907
|
-
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'test@example-client.com' ORDER BY "users"."id" ASC LIMIT 1[0m
|
1908
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1909
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?)[0m [["email", "test@example-client.com"], ["name", "Test User"], ["permissions", "---\n- signin\n"], ["uid", "integration-uid"]]
|
1910
|
-
[1m[35m (11.9ms)[0m commit transaction
|
1917
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
1911
1918
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1912
|
-
[1m[35mSQL (0.
|
1913
|
-
[1m[36m (
|
1919
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
|
1920
|
+
[1m[36m (35.8ms)[0m [1mcommit transaction[0m
|
1921
|
+
[1m[35m (0.2ms)[0m begin transaction
|
1922
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1[0m [["permissions", "---\n- signin\n"]]
|
1923
|
+
[1m[35m (39.1ms)[0m commit transaction
|
1914
1924
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
1915
|
-
Completed 302 Found in
|
1916
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-
|
1925
|
+
Completed 302 Found in 82ms (ActiveRecord: 75.9ms)
|
1926
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-23 11:17:21 +0000
|
1917
1927
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
1918
|
-
[1m[
|
1919
|
-
Completed 200 OK in
|
1920
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-
|
1928
|
+
[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
|
1929
|
+
Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.2ms)
|
1930
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-23 11:17:21 +0000
|
1921
1931
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
1922
1932
|
Authenticating with gds_sso strategy
|
1923
1933
|
Completed in 0ms
|
1924
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-
|
1925
|
-
Started GET "/auth/gds/callback?code=
|
1934
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-23 11:17:21 +0000
|
1935
|
+
Started GET "/auth/gds/callback?code=7785a137b1a1a36efe03906e639aec82ceea9ccef241b83db171dd8e25023319&state=5b2664b6c06013d4486cde76fc2142e534340e0a922d0ac9" for 127.0.0.1 at 2015-04-23 11:17:22 +0000
|
1926
1936
|
Processing by AuthenticationsController#callback as HTML
|
1927
|
-
Parameters: {"code"=>"
|
1937
|
+
Parameters: {"code"=>"7785a137b1a1a36efe03906e639aec82ceea9ccef241b83db171dd8e25023319", "state"=>"5b2664b6c06013d4486cde76fc2142e534340e0a922d0ac9"}
|
1928
1938
|
Authenticating with gds_sso strategy
|
1929
|
-
[1m[
|
1930
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1931
|
-
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
1932
|
-
[1m[35m (11.5ms)[0m commit transaction
|
1939
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
1933
1940
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1934
|
-
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" =
|
1935
|
-
[1m[36m (
|
1941
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
|
1942
|
+
[1m[36m (15.2ms)[0m [1mcommit transaction[0m
|
1943
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1944
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1[0m [["permissions", "---\n- signin\n"]]
|
1945
|
+
[1m[35m (14.4ms)[0m commit transaction
|
1936
1946
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
1937
|
-
Completed 302 Found in
|
1938
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-
|
1947
|
+
Completed 302 Found in 35ms (ActiveRecord: 30.4ms)
|
1948
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-23 11:17:22 +0000
|
1939
1949
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
1940
|
-
[1m[
|
1941
|
-
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.
|
1942
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
1950
|
+
[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
|
1951
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
1952
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-23 11:17:22 +0000
|
1943
1953
|
Processing by ExampleController#restricted as HTML
|
1944
1954
|
Authenticating with gds_sso strategy
|
1945
1955
|
Completed in 1ms
|
1946
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-
|
1947
|
-
Started GET "/auth/gds/callback?code=
|
1956
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-23 11:17:22 +0000
|
1957
|
+
Started GET "/auth/gds/callback?code=8dabfc3a08b21b3fa285f6cfae73fe7c094347a31a3c26d5e7a7e1f9b4ee3827&state=657f2dcdf876ab73ba7afe999d0ff87c1716a149f3fdd835" for 127.0.0.1 at 2015-04-23 11:17:22 +0000
|
1948
1958
|
Processing by AuthenticationsController#callback as HTML
|
1949
|
-
Parameters: {"code"=>"
|
1959
|
+
Parameters: {"code"=>"8dabfc3a08b21b3fa285f6cfae73fe7c094347a31a3c26d5e7a7e1f9b4ee3827", "state"=>"657f2dcdf876ab73ba7afe999d0ff87c1716a149f3fdd835"}
|
1950
1960
|
Authenticating with gds_sso strategy
|
1951
|
-
[1m[
|
1952
|
-
[1m[35m (0.2ms)[0m begin transaction
|
1953
|
-
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
1954
|
-
[1m[35m (25.3ms)[0m commit transaction
|
1961
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
1955
1962
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1956
|
-
[1m[35mSQL (0.
|
1957
|
-
[1m[36m (
|
1963
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
|
1964
|
+
[1m[36m (13.3ms)[0m [1mcommit transaction[0m
|
1965
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1966
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1[0m [["permissions", "---\n- signin\n"]]
|
1967
|
+
[1m[35m (8.1ms)[0m commit transaction
|
1958
1968
|
Redirected to http://www.example-client.com/restricted
|
1959
|
-
Completed 302 Found in
|
1960
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
1961
|
-
Processing by ExampleController#restricted as HTML
|
1962
|
-
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1
|
1963
|
-
Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.3ms)
|
1964
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-20 13:17:36 +0000
|
1969
|
+
Completed 302 Found in 28ms (ActiveRecord: 22.2ms)
|
1970
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-23 11:17:22 +0000
|
1965
1971
|
Processing by ExampleController#restricted as HTML
|
1966
|
-
|
1967
|
-
Completed
|
1968
|
-
|
1969
|
-
Started GET "/auth/gds/callback?code=c57743fcb6c233a520f13b00f2b0e5e0d342e9d805939710f3c56adad0c56119&state=57dc5403eb0d6103107061e9afd80e9711fb3814e1fcaf2d" for 127.0.0.1 at 2015-04-20 13:17:36 +0000
|
1970
|
-
Processing by AuthenticationsController#callback as HTML
|
1971
|
-
Parameters: {"code"=>"c57743fcb6c233a520f13b00f2b0e5e0d342e9d805939710f3c56adad0c56119", "state"=>"57dc5403eb0d6103107061e9afd80e9711fb3814e1fcaf2d"}
|
1972
|
-
Authenticating with gds_sso strategy
|
1973
|
-
[1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
1974
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1975
|
-
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
1976
|
-
[1m[35m (113.3ms)[0m commit transaction
|
1972
|
+
[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
|
1973
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.3ms)
|
1974
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'test@example-client.com' ORDER BY "users"."id" ASC LIMIT 1
|
1977
1975
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1978
|
-
[1m[35mSQL (0.
|
1979
|
-
[1m[36m (
|
1980
|
-
|
1981
|
-
Completed 302 Found in 175ms (ActiveRecord: 167.0ms)
|
1982
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-20 13:17:37 +0000
|
1976
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "permissions" = ?, "remotely_signed_out" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"], ["remotely_signed_out", "t"]]
|
1977
|
+
[1m[36m (11.7ms)[0m [1mcommit transaction[0m
|
1978
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-23 11:17:22 +0000
|
1983
1979
|
Processing by ExampleController#restricted as HTML
|
1984
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
|
1985
|
-
Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.3ms)
|
1986
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-20 13:17:37 +0000
|
1987
|
-
Processing by ExampleController#restricted as HTML
|
1988
1981
|
Authenticating with gds_sso strategy
|
1989
|
-
Completed in
|
1990
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-
|
1991
|
-
Started GET "/auth/gds/callback?code=
|
1982
|
+
Completed in 2ms
|
1983
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-23 11:17:22 +0000
|
1984
|
+
Started GET "/auth/gds/callback?code=f1ff2df2323588db018931b5e3107ac2b2c95c4e7be9e924661ae147c4f0d98f&state=beb79b646060eca8a8958ea87838392458470478d42e2192" for 127.0.0.1 at 2015-04-23 11:17:23 +0000
|
1992
1985
|
Processing by AuthenticationsController#callback as HTML
|
1993
|
-
Parameters: {"code"=>"
|
1986
|
+
Parameters: {"code"=>"f1ff2df2323588db018931b5e3107ac2b2c95c4e7be9e924661ae147c4f0d98f", "state"=>"beb79b646060eca8a8958ea87838392458470478d42e2192"}
|
1994
1987
|
Authenticating with gds_sso strategy
|
1995
|
-
[1m[36mUser Load (0.
|
1996
|
-
[1m[35m (0.
|
1997
|
-
[1m[36mSQL (0.
|
1998
|
-
[1m[35m (
|
1988
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
1989
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1990
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1[0m [["permissions", "---\n- signin\n"]]
|
1991
|
+
[1m[35m (6.2ms)[0m commit transaction
|
1999
1992
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2000
|
-
[1m[35mSQL (0.
|
2001
|
-
[1m[36m (
|
1993
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ?, "remotely_signed_out" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"], ["remotely_signed_out", "f"]]
|
1994
|
+
[1m[36m (12.3ms)[0m [1mcommit transaction[0m
|
2002
1995
|
Redirected to http://www.example-client.com/restricted
|
2003
|
-
Completed 302 Found in
|
2004
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
1996
|
+
Completed 302 Found in 24ms (ActiveRecord: 19.2ms)
|
1997
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-23 11:17:23 +0000
|
2005
1998
|
Processing by ExampleController#restricted as HTML
|
2006
|
-
[1m[35mUser Load (0.
|
2007
|
-
Completed 200 OK in
|
2008
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
1999
|
+
[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
|
2000
|
+
Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.2ms)
|
2001
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-23 11:17:23 +0000
|
2009
2002
|
Processing by ExampleController#restricted as HTML
|
2010
2003
|
Authenticating with gds_sso strategy
|
2011
2004
|
Completed in 1ms
|
2012
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-
|
2013
|
-
Started GET "/auth/gds/callback?code=
|
2005
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-23 11:17:23 +0000
|
2006
|
+
Started GET "/auth/gds/callback?code=d09c67f6a2d301431b49a8eeb1967467e0709939074c96dec3bff747c478e9c4&state=71f5adcb63e0b798e564d6d1c1a97b0aef13eb541c1240d2" for 127.0.0.1 at 2015-04-23 11:17:23 +0000
|
2014
2007
|
Processing by AuthenticationsController#callback as HTML
|
2015
|
-
Parameters: {"code"=>"
|
2008
|
+
Parameters: {"code"=>"d09c67f6a2d301431b49a8eeb1967467e0709939074c96dec3bff747c478e9c4", "state"=>"71f5adcb63e0b798e564d6d1c1a97b0aef13eb541c1240d2"}
|
2016
2009
|
Authenticating with gds_sso strategy
|
2017
|
-
[1m[36mUser Load (0.
|
2010
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
2018
2011
|
[1m[35m (0.1ms)[0m begin transaction
|
2019
|
-
[1m[36mSQL (0.
|
2020
|
-
[1m[35m (
|
2012
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1[0m [["permissions", "---\n- signin\n"]]
|
2013
|
+
[1m[35m (16.1ms)[0m commit transaction
|
2021
2014
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2022
|
-
[1m[35mSQL (0.
|
2023
|
-
[1m[36m (
|
2015
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
|
2016
|
+
[1m[36m (23.7ms)[0m [1mcommit transaction[0m
|
2024
2017
|
Redirected to http://www.example-client.com/restricted
|
2025
|
-
Completed 302 Found in
|
2026
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
2018
|
+
Completed 302 Found in 46ms (ActiveRecord: 40.6ms)
|
2019
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-23 11:17:23 +0000
|
2027
2020
|
Processing by ExampleController#restricted as HTML
|
2028
|
-
[1m[35mUser Load (0.
|
2029
|
-
Completed 200 OK in
|
2030
|
-
|
2031
|
-
[1m[35m (0.1ms)[0m begin transaction
|
2032
|
-
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "permissions" = ?, "remotely_signed_out" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"], ["remotely_signed_out", "t"]]
|
2033
|
-
[1m[35m (24.2ms)[0m commit transaction
|
2034
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-20 13:17:38 +0000
|
2021
|
+
[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
|
2022
|
+
Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.3ms)
|
2023
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-24 07:22:23 +0000
|
2035
2024
|
Processing by ExampleController#restricted as HTML
|
2036
|
-
[1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1[0m
|
2037
2025
|
Authenticating with gds_sso strategy
|
2038
|
-
Completed in
|
2039
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-
|
2040
|
-
Started GET "/auth/gds/callback?code=
|
2026
|
+
Completed in 1ms
|
2027
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-24 07:22:23 +0000
|
2028
|
+
Started GET "/auth/gds/callback?code=a78b3fdfd7f9c5fc60fc080b26063062dbae4fd277a7c5a0360bc7e3e3bc6f34&state=8f45e6c9b1e1197471fd57596d01d10bc6f613d0ad23a44c" for 127.0.0.1 at 2015-04-24 07:22:23 +0000
|
2041
2029
|
Processing by AuthenticationsController#callback as HTML
|
2042
|
-
Parameters: {"code"=>"
|
2030
|
+
Parameters: {"code"=>"a78b3fdfd7f9c5fc60fc080b26063062dbae4fd277a7c5a0360bc7e3e3bc6f34", "state"=>"8f45e6c9b1e1197471fd57596d01d10bc6f613d0ad23a44c"}
|
2043
2031
|
Authenticating with gds_sso strategy
|
2044
|
-
[1m[
|
2045
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2046
|
-
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
2047
|
-
[1m[36m (22.3ms)[0m [1mcommit transaction[0m
|
2032
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
2048
2033
|
[1m[35m (0.1ms)[0m begin transaction
|
2049
|
-
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" =
|
2050
|
-
[1m[35m (
|
2034
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1[0m [["permissions", "---\n- signin\n"]]
|
2035
|
+
[1m[35m (23.4ms)[0m commit transaction
|
2036
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2037
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
|
2038
|
+
[1m[36m (29.7ms)[0m [1mcommit transaction[0m
|
2051
2039
|
Redirected to http://www.example-client.com/restricted
|
2052
|
-
Completed 302 Found in
|
2053
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
2040
|
+
Completed 302 Found in 59ms (ActiveRecord: 54.0ms)
|
2041
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-24 07:22:23 +0000
|
2054
2042
|
Processing by ExampleController#restricted as HTML
|
2055
|
-
[1m[
|
2056
|
-
Completed 200 OK in 2ms (Views: 0.
|
2057
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
2043
|
+
[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
|
2044
|
+
Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)
|
2045
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-23 11:17:24 +0000
|
2058
2046
|
Processing by ExampleController#restricted as HTML
|
2059
2047
|
Authenticating with gds_sso strategy
|
2060
2048
|
Completed in 1ms
|
2061
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-
|
2062
|
-
Started GET "/auth/gds/callback?code=
|
2049
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-23 11:17:24 +0000
|
2050
|
+
Started GET "/auth/gds/callback?code=1b2b31067274cea97000e1d011cbdcab07d13821aaa5f5fcc41494bcf59403e1&state=d3b2b9bc3aadbdb21b9a2f27ffa5f51959980b6ed256e260" for 127.0.0.1 at 2015-04-23 11:17:24 +0000
|
2063
2051
|
Processing by AuthenticationsController#callback as HTML
|
2064
|
-
Parameters: {"code"=>"
|
2052
|
+
Parameters: {"code"=>"1b2b31067274cea97000e1d011cbdcab07d13821aaa5f5fcc41494bcf59403e1", "state"=>"d3b2b9bc3aadbdb21b9a2f27ffa5f51959980b6ed256e260"}
|
2065
2053
|
Authenticating with gds_sso strategy
|
2066
|
-
[1m[
|
2067
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2068
|
-
[1m[35mSQL (0.4ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
2069
|
-
[1m[36m (21.4ms)[0m [1mcommit transaction[0m
|
2054
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
2070
2055
|
[1m[35m (0.1ms)[0m begin transaction
|
2071
|
-
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" =
|
2072
|
-
[1m[35m (
|
2056
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1[0m [["permissions", "---\n- signin\n"]]
|
2057
|
+
[1m[35m (9.1ms)[0m commit transaction
|
2058
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2059
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
|
2060
|
+
[1m[36m (9.8ms)[0m [1mcommit transaction[0m
|
2073
2061
|
Redirected to http://www.example-client.com/restricted
|
2074
|
-
Completed 302 Found in
|
2075
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
2062
|
+
Completed 302 Found in 26ms (ActiveRecord: 19.7ms)
|
2063
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-23 11:17:24 +0000
|
2076
2064
|
Processing by ExampleController#restricted as HTML
|
2077
|
-
[1m[
|
2065
|
+
[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
|
2078
2066
|
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.3ms)
|
2079
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
2080
|
-
Processing by ExampleController#restricted as HTML
|
2081
|
-
Authenticating with gds_sso strategy
|
2082
|
-
Completed in 1ms
|
2083
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-21 09:22:40 +0000
|
2084
|
-
Started GET "/auth/gds/callback?code=dc1dccf8a43b71f955bae71f6199c5b54556f5203485540b43bc983ed4d937a7&state=5c78b48b731237ddd0719e3dea2c7a2a4d3aaf168aea5e14" for 127.0.0.1 at 2015-04-21 09:22:40 +0000
|
2085
|
-
Processing by AuthenticationsController#callback as HTML
|
2086
|
-
Parameters: {"code"=>"dc1dccf8a43b71f955bae71f6199c5b54556f5203485540b43bc983ed4d937a7", "state"=>"5c78b48b731237ddd0719e3dea2c7a2a4d3aaf168aea5e14"}
|
2087
|
-
Authenticating with gds_sso strategy
|
2088
|
-
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
2089
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2090
|
-
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
2091
|
-
[1m[36m (10.5ms)[0m [1mcommit transaction[0m
|
2092
|
-
[1m[35m (0.1ms)[0m begin transaction
|
2093
|
-
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
2094
|
-
[1m[35m (9.9ms)[0m commit transaction
|
2095
|
-
Redirected to http://www.example-client.com/restricted
|
2096
|
-
Completed 302 Found in 27ms (ActiveRecord: 21.3ms)
|
2097
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-21 09:22:40 +0000
|
2067
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-24 07:12:24 +0000
|
2098
2068
|
Processing by ExampleController#restricted as HTML
|
2099
2069
|
[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
|
2100
2070
|
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.3ms)
|
2101
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
2102
|
-
Processing by ExampleController#restricted as
|
2103
|
-
|
2104
|
-
|
2105
|
-
|
2106
|
-
|
2107
|
-
|
2108
|
-
|
2109
|
-
|
2071
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-23 11:17:24 +0000
|
2072
|
+
Processing by ExampleController#restricted as JSON
|
2073
|
+
Completed in 20ms
|
2074
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-23 11:17:25 +0000
|
2075
|
+
Processing by ExampleController#restricted as JSON
|
2076
|
+
[1m[35mUser Load (0.4ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
2077
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2078
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "disabled" = ?, "permissions" = ? WHERE "users"."id" = 1 [["disabled", nil], ["permissions", "---\n- signin\n"]]
|
2079
|
+
[1m[36m (8.5ms)[0m [1mcommit transaction[0m
|
2110
2080
|
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
2111
2081
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2112
|
-
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" =
|
2113
|
-
[1m[36m (
|
2082
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
|
2083
|
+
[1m[36m (18.6ms)[0m [1mcommit transaction[0m
|
2084
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
2085
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2086
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
|
2087
|
+
[1m[36m (12.9ms)[0m [1mcommit transaction[0m
|
2088
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
2089
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2090
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
|
2091
|
+
[1m[36m (9.4ms)[0m [1mcommit transaction[0m
|
2114
2092
|
[1m[35m (0.1ms)[0m begin transaction
|
2115
|
-
[1m[36mSQL (0.
|
2116
|
-
[1m[35m (
|
2117
|
-
|
2118
|
-
|
2119
|
-
|
2120
|
-
Processing by ExampleController#restricted as HTML
|
2121
|
-
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1[0m
|
2122
|
-
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.3ms)
|
2123
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-21 09:12:40 +0000
|
2124
|
-
Processing by ExampleController#restricted as HTML
|
2125
|
-
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1
|
2126
|
-
Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.3ms)
|
2127
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-20 13:17:41 +0000
|
2128
|
-
Processing by ExampleController#restricted as JSON
|
2129
|
-
Completed in 18ms
|
2130
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-20 13:17:41 +0000
|
2131
|
-
Processing by ExampleController#restricted as JSON
|
2132
|
-
Completed in 17ms
|
2133
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-20 13:17:41 +0000
|
2134
|
-
Processing by ExampleController#restricted as JSON
|
2093
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1[0m [["permissions", "---\n- signin\n"]]
|
2094
|
+
[1m[35m (6.2ms)[0m commit transaction
|
2095
|
+
Completed 200 OK in 224ms (Views: 0.5ms | ActiveRecord: 58.5ms)
|
2096
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-23 11:17:25 +0000
|
2097
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
2135
2098
|
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
2136
2099
|
[1m[35m (0.1ms)[0m begin transaction
|
2137
|
-
[1m[36mSQL (0.
|
2138
|
-
[1m[35m (
|
2100
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1[0m [["permissions", "---\n- signin\n"]]
|
2101
|
+
[1m[35m (22.9ms)[0m commit transaction
|
2139
2102
|
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
2140
2103
|
[1m[35m (0.1ms)[0m begin transaction
|
2141
|
-
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" =
|
2142
|
-
[1m[35m (
|
2143
|
-
[1m[36mUser Load (0.
|
2104
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1[0m [["permissions", "---\n- signin\n"]]
|
2105
|
+
[1m[35m (25.0ms)[0m commit transaction
|
2106
|
+
[1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
2144
2107
|
[1m[35m (0.1ms)[0m begin transaction
|
2145
|
-
[1m[36mSQL (0.
|
2146
|
-
[1m[35m (
|
2147
|
-
[1m[36mUser Load (0.
|
2108
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1[0m [["permissions", "---\n- signin\n"]]
|
2109
|
+
[1m[35m (15.9ms)[0m commit transaction
|
2110
|
+
[1m[36mUser Load (0.5ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
2148
2111
|
[1m[35m (0.1ms)[0m begin transaction
|
2149
|
-
[1m[36mSQL (0.
|
2150
|
-
[1m[35m (
|
2112
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1[0m [["permissions", "---\n- signin\n"]]
|
2113
|
+
[1m[35m (18.7ms)[0m commit transaction
|
2151
2114
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2152
|
-
[1m[35mSQL (0.
|
2153
|
-
[1m[36m (
|
2154
|
-
Completed 200 OK in
|
2155
|
-
Started GET "/
|
2156
|
-
Processing by ExampleController#
|
2157
|
-
|
2115
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
|
2116
|
+
[1m[36m (16.2ms)[0m [1mcommit transaction[0m
|
2117
|
+
Completed 200 OK in 272ms (Views: 0.5ms | ActiveRecord: 101.8ms)
|
2118
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-23 11:17:26 +0000
|
2119
|
+
Processing by ExampleController#restricted as JSON
|
2120
|
+
Completed in 18ms
|
2121
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2122
|
+
[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", "a1s2d33739"]]
|
2123
|
+
[1m[35m (29.8ms)[0m commit transaction
|
2158
2124
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2159
|
-
[1m[35mSQL (0.2ms)[0m
|
2160
|
-
[1m[36m (
|
2161
|
-
|
2125
|
+
[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", "a1s2d33885"]]
|
2126
|
+
[1m[36m (31.0ms)[0m [1mcommit transaction[0m
|
2127
|
+
Processing by Api::UserController#update as HTML
|
2128
|
+
Parameters: {"uid"=>"a1s2d33739"}
|
2129
|
+
Completed 403 Forbidden in 4ms (Views: 3.4ms | ActiveRecord: 0.0ms)
|
2130
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2131
|
+
[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", "a1s2d39360"]]
|
2132
|
+
[1m[35m (20.8ms)[0m commit transaction
|
2162
2133
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2163
|
-
[1m[35mSQL (0.2ms)[0m
|
2164
|
-
[1m[36m (
|
2165
|
-
|
2134
|
+
[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", "a1s2d36014"]]
|
2135
|
+
[1m[36m (29.8ms)[0m [1mcommit transaction[0m
|
2136
|
+
Processing by Api::UserController#update as HTML
|
2137
|
+
Parameters: {"uid"=>"a1s2d39360"}
|
2138
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d39360' ORDER BY "users"."id" ASC LIMIT 1
|
2166
2139
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2167
|
-
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" =
|
2168
|
-
[1m[36m (
|
2169
|
-
|
2140
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "email" = ?, "name" = ?, "organisation_content_id" = ?, "organisation_slug" = ?, "permissions" = ? WHERE "users"."id" = 4 [["email", "user@domain.com"], ["name", "Joshua Marshall"], ["organisation_content_id", "aae1319e-5788-4677-998c-f1a53af528d0"], ["organisation_slug", "justice-league"], ["permissions", "---\n- signin\n- new permission\n"]]
|
2141
|
+
[1m[36m (16.5ms)[0m [1mcommit transaction[0m
|
2142
|
+
Completed 200 OK in 21ms (ActiveRecord: 17.1ms)
|
2143
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]]
|
2170
2144
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2171
|
-
[1m[35mSQL (0.2ms)[0m
|
2172
|
-
[1m[36m (
|
2145
|
+
[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", "a1s2d34766"]]
|
2146
|
+
[1m[36m (9.3ms)[0m [1mcommit transaction[0m
|
2173
2147
|
[1m[35m (0.1ms)[0m begin transaction
|
2174
|
-
[1m[36mSQL (0.
|
2175
|
-
[1m[35m (
|
2176
|
-
|
2148
|
+
[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", "a1s2d38379"]]
|
2149
|
+
[1m[35m (25.0ms)[0m commit transaction
|
2150
|
+
Processing by Api::UserController#reauth as HTML
|
2151
|
+
Parameters: {"uid"=>"a1s2d34766"}
|
2152
|
+
Completed 403 Forbidden in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)
|
2153
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2154
|
+
[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", "a1s2d34380"]]
|
2155
|
+
[1m[36m (14.0ms)[0m [1mcommit transaction[0m
|
2156
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2157
|
+
[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", "a1s2d38046"]]
|
2158
|
+
[1m[35m (10.1ms)[0m commit transaction
|
2159
|
+
Processing by Api::UserController#reauth as HTML
|
2160
|
+
Parameters: {"uid"=>"nonexistent-user"}
|
2161
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'nonexistent-user' ORDER BY "users"."id" ASC LIMIT 1[0m
|
2162
|
+
Completed 200 OK in 1ms (ActiveRecord: 0.3ms)
|
2163
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2164
|
+
[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", "a1s2d38075"]]
|
2165
|
+
[1m[35m (15.7ms)[0m commit transaction
|
2166
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2167
|
+
[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", "a1s2d34888"]]
|
2168
|
+
[1m[36m (12.8ms)[0m [1mcommit transaction[0m
|
2169
|
+
Processing by Api::UserController#reauth as HTML
|
2170
|
+
Parameters: {"uid"=>"a1s2d38075"}
|
2171
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d38075' ORDER BY "users"."id" ASC LIMIT 1
|
2172
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2173
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ?, "remotely_signed_out" = ? WHERE "users"."id" = 10 [["permissions", "---\n- signin\n"], ["remotely_signed_out", "t"]]
|
2174
|
+
[1m[36m (11.6ms)[0m [1mcommit transaction[0m
|
2175
|
+
Completed 200 OK in 15ms (ActiveRecord: 12.2ms)
|
2176
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 10]]
|