gds-sso 10.1.0 → 11.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/gds-sso/version.rb +1 -1
- data/spec/internal/db/combustion_test.sqlite +0 -0
- data/spec/internal/log/test.log +1566 -1568
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9512f0fb1fd84dabfb9691eae110678add2601e3
|
4
|
+
data.tar.gz: 40a0b0b77f1fd1ff418d60a3f6acbe79920781eb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b9009157194d7a4c25e9e220c98b974daf9af89200e0c023de2b4de8348a82c53188c8075ecf06f413febbb5ce3809c76ec41c8051d0cfbb76750039790bea6e
|
7
|
+
data.tar.gz: c270569fa89d72db5d2ddcfd3f7a320794259ce599a965ab22fd2c4f3ade9ca6132ca9c2e94b12d21a1a40250ce99c3188a7201169870573063d15a1e097e89f
|
data/lib/gds-sso/version.rb
CHANGED
Binary file
|
data/spec/internal/log/test.log
CHANGED
@@ -1,2176 +1,2174 @@
|
|
1
1
|
Connecting to database specified by database.yml
|
2
|
-
|
2
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3
|
+
[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", "a1s2d34052"]]
|
4
|
+
[1m[36m (16.4ms)[0m [1mcommit transaction[0m
|
5
|
+
[1m[35m (0.1ms)[0m begin transaction
|
6
|
+
[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", "a1s2d38151"]]
|
7
|
+
[1m[35m (14.8ms)[0m commit transaction
|
8
|
+
WARNING: Can't mass-assign protected attributes: uid, name, permissions
|
9
|
+
Processing by Api::UserController#update as HTML
|
10
|
+
Parameters: {"uid"=>"a1s2d34052"}
|
11
|
+
Rendered /home/jenkins/workspace/govuk_gds_sso/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.3ms)
|
12
|
+
Completed 403 Forbidden in 90.0ms (Views: 88.8ms | ActiveRecord: 0.0ms)
|
13
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
14
|
+
[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", "a1s2d34452"]]
|
15
|
+
[1m[36m (17.2ms)[0m [1mcommit transaction[0m
|
16
|
+
[1m[35m (0.1ms)[0m begin transaction
|
17
|
+
[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", "a1s2d37739"]]
|
18
|
+
[1m[35m (13.9ms)[0m commit transaction
|
19
|
+
Processing by Api::UserController#update as HTML
|
20
|
+
Parameters: {"uid"=>"a1s2d34452"}
|
21
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d34452' LIMIT 1[0m
|
22
|
+
[1m[35m (0.1ms)[0m begin transaction
|
23
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "email" = 'user@domain.com', "name" = 'Joshua Marshall', "permissions" = '---
|
24
|
+
- signin
|
25
|
+
- new permission
|
26
|
+
', "organisation_slug" = 'justice-league', "organisation_content_id" = 'aae1319e-5788-4677-998c-f1a53af528d0' WHERE "users"."id" = 3[0m
|
27
|
+
[1m[35m (15.7ms)[0m commit transaction
|
28
|
+
Completed 200 OK in 107.8ms (ActiveRecord: 16.2ms)
|
29
|
+
[1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 3]]
|
30
|
+
[1m[35m (0.1ms)[0m begin transaction
|
31
|
+
[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", "a1s2d31015"]]
|
32
|
+
[1m[35m (65.6ms)[0m commit transaction
|
33
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
34
|
+
[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", "a1s2d32106"]]
|
35
|
+
[1m[36m (27.5ms)[0m [1mcommit transaction[0m
|
36
|
+
WARNING: Can't mass-assign protected attributes: uid, name, permissions
|
37
|
+
Processing by Api::UserController#reauth as HTML
|
38
|
+
Parameters: {"uid"=>"a1s2d31015"}
|
39
|
+
Completed 403 Forbidden in 3.7ms (Views: 2.3ms | ActiveRecord: 0.0ms)
|
40
|
+
[1m[35m (0.1ms)[0m begin transaction
|
41
|
+
[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", "a1s2d36947"]]
|
42
|
+
[1m[35m (12.1ms)[0m commit transaction
|
43
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
44
|
+
[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", "a1s2d38160"]]
|
45
|
+
[1m[36m (10.1ms)[0m [1mcommit transaction[0m
|
46
|
+
Processing by Api::UserController#reauth as HTML
|
47
|
+
Parameters: {"uid"=>"a1s2d36947"}
|
48
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d36947' LIMIT 1
|
49
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
50
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "remotely_signed_out" = 't', "permissions" = '---
|
51
|
+
- signin
|
52
|
+
' WHERE "users"."id" = 7
|
53
|
+
[1m[36m (19.5ms)[0m [1mcommit transaction[0m
|
54
|
+
Completed 200 OK in 25.0ms (ActiveRecord: 20.2ms)
|
55
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 7]]
|
56
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
57
|
+
[1m[35mSQL (0.4ms)[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", "a1s2d33856"]]
|
58
|
+
[1m[36m (16.4ms)[0m [1mcommit transaction[0m
|
59
|
+
[1m[35m (0.1ms)[0m begin transaction
|
60
|
+
[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", "a1s2d33211"]]
|
61
|
+
[1m[35m (10.8ms)[0m commit transaction
|
62
|
+
Processing by Api::UserController#reauth as HTML
|
63
|
+
Parameters: {"uid"=>"nonexistent-user"}
|
64
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'nonexistent-user' LIMIT 1[0m
|
65
|
+
Completed 200 OK in 2.2ms (ActiveRecord: 0.3ms)
|
66
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-24 10:28:06 +0000
|
3
67
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
4
68
|
Authenticating with gds_sso strategy
|
5
|
-
Completed in
|
6
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-
|
7
|
-
Started GET "/auth/gds/callback?code=
|
69
|
+
Completed in 94.0ms
|
70
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-24 10:28:06 +0000
|
71
|
+
Started GET "/auth/gds/callback?code=13b0230f3d4f7a3f9d014fd93b31311734e104e3e0ea6e1431607a185e16441a&state=7a7d1a29fccaf8b5dd8d47968c781de881ba248eec48e751" for 127.0.0.1 at 2015-04-24 10:28:08 +0000
|
8
72
|
Processing by AuthenticationsController#callback as HTML
|
9
|
-
Parameters: {"code"=>"
|
73
|
+
Parameters: {"code"=>"13b0230f3d4f7a3f9d014fd93b31311734e104e3e0ea6e1431607a185e16441a", "state"=>"7a7d1a29fccaf8b5dd8d47968c781de881ba248eec48e751"}
|
10
74
|
Authenticating with gds_sso strategy
|
11
|
-
[1m[
|
12
|
-
[1m[
|
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
|
75
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
76
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'test@example-client.com' LIMIT 1[0m
|
16
77
|
[1m[35m (0.1ms)[0m begin transaction
|
17
|
-
[1m[
|
78
|
+
[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", "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"]]
|
79
|
+
[1m[35m (14.2ms)[0m commit transaction
|
80
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
81
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "remotely_signed_out" = 'f', "permissions" = '---
|
18
82
|
- signin
|
19
|
-
' WHERE "users"."id" =
|
20
|
-
[1m[
|
83
|
+
' WHERE "users"."id" = 11
|
84
|
+
[1m[36m (14.9ms)[0m [1mcommit transaction[0m
|
21
85
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
22
|
-
Completed 302 Found in
|
23
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-
|
86
|
+
Completed 302 Found in 37.8ms (ActiveRecord: 30.1ms)
|
87
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-24 10:28:09 +0000
|
24
88
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
25
|
-
[1m[
|
26
|
-
|
27
|
-
|
28
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-23 11:02:32 +0000
|
89
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1
|
90
|
+
Completed 200 OK in 5.5ms (Views: 3.6ms | ActiveRecord: 0.3ms)
|
91
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-24 10:28:09 +0000
|
29
92
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
30
93
|
Authenticating with gds_sso strategy
|
31
|
-
Completed in 0.
|
32
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-
|
33
|
-
Started GET "/auth/gds/callback?code=
|
94
|
+
Completed in 0.3ms
|
95
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-24 10:28:09 +0000
|
96
|
+
Started GET "/auth/gds/callback?code=50f1353f4a2a8161b3b240ba44a3313596bf39f44f31384bb0d7de9dd3f9792e&state=56e1f7462700568872aa738ff18bb9a196a2d2e6debd98f7" for 127.0.0.1 at 2015-04-24 10:28:09 +0000
|
34
97
|
Processing by AuthenticationsController#callback as HTML
|
35
|
-
Parameters: {"code"=>"
|
98
|
+
Parameters: {"code"=>"50f1353f4a2a8161b3b240ba44a3313596bf39f44f31384bb0d7de9dd3f9792e", "state"=>"56e1f7462700568872aa738ff18bb9a196a2d2e6debd98f7"}
|
36
99
|
Authenticating with gds_sso strategy
|
37
|
-
[1m[
|
100
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
101
|
+
[1m[35m (0.0ms)[0m begin transaction
|
102
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
103
|
+
- signin
|
104
|
+
' WHERE "users"."id" = 11[0m
|
105
|
+
[1m[35m (12.9ms)[0m commit transaction
|
38
106
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
39
107
|
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
40
108
|
- signin
|
41
|
-
' WHERE "users"."id" =
|
42
|
-
[1m[36m (
|
43
|
-
[1m[35m (0.2ms)[0m begin transaction
|
44
|
-
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
45
|
-
- signin
|
46
|
-
' WHERE "users"."id" = 1[0m
|
47
|
-
[1m[35m (10.3ms)[0m commit transaction
|
109
|
+
' WHERE "users"."id" = 11
|
110
|
+
[1m[36m (10.8ms)[0m [1mcommit transaction[0m
|
48
111
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
49
|
-
Completed 302 Found in
|
50
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-
|
112
|
+
Completed 302 Found in 31.1ms (ActiveRecord: 24.5ms)
|
113
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-24 10:28:09 +0000
|
51
114
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
52
|
-
[1m[
|
53
|
-
|
54
|
-
|
55
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-23 11:02:32 +0000
|
115
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1
|
116
|
+
Completed 200 OK in 3.0ms (Views: 0.6ms | ActiveRecord: 0.3ms)
|
117
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-24 10:28:09 +0000
|
56
118
|
Processing by ExampleController#restricted as HTML
|
57
119
|
Authenticating with gds_sso strategy
|
58
|
-
Completed in 0.
|
59
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-
|
60
|
-
Started GET "/auth/gds/callback?code=
|
120
|
+
Completed in 0.9ms
|
121
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-24 10:28:09 +0000
|
122
|
+
Started GET "/auth/gds/callback?code=e841cf21c0043548b43a7fc7156bb4d40b962cacc866bfb49f79449bc4522fe9&state=42ad1000e1859f192d485a90db7f113a47822f62ef871b0f" for 127.0.0.1 at 2015-04-24 10:28:10 +0000
|
61
123
|
Processing by AuthenticationsController#callback as HTML
|
62
|
-
Parameters: {"code"=>"
|
124
|
+
Parameters: {"code"=>"e841cf21c0043548b43a7fc7156bb4d40b962cacc866bfb49f79449bc4522fe9", "state"=>"42ad1000e1859f192d485a90db7f113a47822f62ef871b0f"}
|
63
125
|
Authenticating with gds_sso strategy
|
64
|
-
[1m[
|
126
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
127
|
+
[1m[35m (0.1ms)[0m begin transaction
|
128
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
129
|
+
- signin
|
130
|
+
' WHERE "users"."id" = 11[0m
|
131
|
+
[1m[35m (25.9ms)[0m commit transaction
|
65
132
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
66
133
|
[1m[35m (0.2ms)[0m UPDATE "users" SET "permissions" = '---
|
67
134
|
- signin
|
68
|
-
' WHERE "users"."id" =
|
69
|
-
[1m[36m (
|
70
|
-
[1m[35m (0.1ms)[0m begin transaction
|
71
|
-
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
72
|
-
- signin
|
73
|
-
' WHERE "users"."id" = 1[0m
|
74
|
-
[1m[35m (26.4ms)[0m commit transaction
|
135
|
+
' WHERE "users"."id" = 11
|
136
|
+
[1m[36m (33.4ms)[0m [1mcommit transaction[0m
|
75
137
|
Redirected to http://www.example-client.com/restricted
|
76
|
-
Completed 302 Found in
|
77
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
138
|
+
Completed 302 Found in 69.0ms (ActiveRecord: 60.2ms)
|
139
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-24 10:28:10 +0000
|
78
140
|
Processing by ExampleController#restricted as HTML
|
79
|
-
[1m[
|
80
|
-
Completed 200 OK in
|
81
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
141
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1
|
142
|
+
Completed 200 OK in 2.7ms (Views: 0.7ms | ActiveRecord: 0.3ms)
|
143
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-24 10:28:10 +0000
|
82
144
|
Processing by ExampleController#restricted as HTML
|
83
145
|
Authenticating with gds_sso strategy
|
84
146
|
Completed in 0.3ms
|
85
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-
|
86
|
-
Started GET "/auth/gds/callback?code=
|
147
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-24 10:28:10 +0000
|
148
|
+
Started GET "/auth/gds/callback?code=2c8cf2fa9a09b1a159a1a20bcc37924165a34fd4376d4644019334495708a427&state=e08ebfc3b777b8834360103428391f9591475638d09350d4" for 127.0.0.1 at 2015-04-24 10:28:10 +0000
|
87
149
|
Processing by AuthenticationsController#callback as HTML
|
88
|
-
Parameters: {"code"=>"
|
150
|
+
Parameters: {"code"=>"2c8cf2fa9a09b1a159a1a20bcc37924165a34fd4376d4644019334495708a427", "state"=>"e08ebfc3b777b8834360103428391f9591475638d09350d4"}
|
89
151
|
Authenticating with gds_sso strategy
|
90
|
-
[1m[
|
152
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
153
|
+
[1m[35m (0.0ms)[0m begin transaction
|
154
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
155
|
+
- signin
|
156
|
+
' WHERE "users"."id" = 11[0m
|
157
|
+
[1m[35m (12.3ms)[0m commit transaction
|
91
158
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
92
159
|
[1m[35m (0.2ms)[0m UPDATE "users" SET "permissions" = '---
|
93
160
|
- signin
|
94
|
-
' WHERE "users"."id" =
|
95
|
-
[1m[36m (
|
96
|
-
[1m[35m (0.1ms)[0m begin transaction
|
97
|
-
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
98
|
-
- signin
|
99
|
-
' WHERE "users"."id" = 1[0m
|
100
|
-
[1m[35m (6.4ms)[0m commit transaction
|
161
|
+
' WHERE "users"."id" = 11
|
162
|
+
[1m[36m (18.4ms)[0m [1mcommit transaction[0m
|
101
163
|
Redirected to http://www.example-client.com/restricted
|
102
|
-
Completed 302 Found in
|
103
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
164
|
+
Completed 302 Found in 36.9ms (ActiveRecord: 31.4ms)
|
165
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-24 10:28:10 +0000
|
104
166
|
Processing by ExampleController#restricted as HTML
|
105
|
-
[1m[
|
106
|
-
Completed 200 OK in
|
107
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
167
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1
|
168
|
+
Completed 200 OK in 2.2ms (Views: 0.5ms | ActiveRecord: 0.3ms)
|
169
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-24 10:28:11 +0000
|
108
170
|
Processing by ExampleController#restricted as HTML
|
109
171
|
Authenticating with gds_sso strategy
|
110
|
-
Completed in 0.
|
111
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-
|
112
|
-
Started GET "/auth/gds/callback?code=
|
172
|
+
Completed in 0.5ms
|
173
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-24 10:28:11 +0000
|
174
|
+
Started GET "/auth/gds/callback?code=4145060057407e51bded09e3ce8d7fa6f9651f6af3361ae79a40cf1cf1e77c51&state=65265f66ba2270b6803f4e14a3341c199a81c4d65095282f" for 127.0.0.1 at 2015-04-24 10:28:11 +0000
|
113
175
|
Processing by AuthenticationsController#callback as HTML
|
114
|
-
Parameters: {"code"=>"
|
176
|
+
Parameters: {"code"=>"4145060057407e51bded09e3ce8d7fa6f9651f6af3361ae79a40cf1cf1e77c51", "state"=>"65265f66ba2270b6803f4e14a3341c199a81c4d65095282f"}
|
115
177
|
Authenticating with gds_sso strategy
|
116
|
-
[1m[
|
117
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
118
|
-
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
119
|
-
- signin
|
120
|
-
' WHERE "users"."id" = 1
|
121
|
-
[1m[36m (14.6ms)[0m [1mcommit transaction[0m
|
178
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
122
179
|
[1m[35m (0.1ms)[0m begin transaction
|
123
180
|
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
124
181
|
- signin
|
125
|
-
' WHERE "users"."id" =
|
126
|
-
[1m[35m (
|
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
|
137
|
-
Processing by ExampleController#restricted as HTML
|
138
|
-
Authenticating with gds_sso strategy
|
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
|
142
|
-
Processing by AuthenticationsController#callback as HTML
|
143
|
-
Parameters: {"code"=>"cce3f9916fe958766ff905878a2bfc379313e37e550b9f647888859f2fe66d9b", "state"=>"4495e968dca968bb2bf03b84edc0170ed88adfdca46392b1"}
|
144
|
-
Authenticating with gds_sso strategy
|
145
|
-
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
182
|
+
' WHERE "users"."id" = 11[0m
|
183
|
+
[1m[35m (12.1ms)[0m commit transaction
|
146
184
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
147
185
|
[1m[35m (0.2ms)[0m UPDATE "users" SET "permissions" = '---
|
148
186
|
- signin
|
149
|
-
' WHERE "users"."id" =
|
150
|
-
[1m[36m (
|
151
|
-
[1m[35m (0.1ms)[0m begin transaction
|
152
|
-
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
153
|
-
- signin
|
154
|
-
' WHERE "users"."id" = 1[0m
|
155
|
-
[1m[35m (14.5ms)[0m commit transaction
|
187
|
+
' WHERE "users"."id" = 11
|
188
|
+
[1m[36m (17.1ms)[0m [1mcommit transaction[0m
|
156
189
|
Redirected to http://www.example-client.com/restricted
|
157
|
-
Completed 302 Found in
|
158
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
190
|
+
Completed 302 Found in 36.0ms (ActiveRecord: 29.9ms)
|
191
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-24 10:28:11 +0000
|
159
192
|
Processing by ExampleController#restricted as HTML
|
160
|
-
[1m[
|
161
|
-
Completed 200 OK in 1.
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
-
|
166
|
-
' WHERE "users"."id" = 1
|
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
|
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.9ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
195
|
+
Started GET "/" for 127.0.0.1 at 2015-04-24 10:28:11 +0000
|
196
|
+
Processing by ExampleController#index as HTML
|
197
|
+
Completed 200 OK in 1.5ms (Views: 0.8ms | ActiveRecord: 0.0ms)
|
198
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-24 10:28:12 +0000
|
169
199
|
Processing by ExampleController#restricted as HTML
|
170
|
-
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1
|
171
200
|
Authenticating with gds_sso strategy
|
172
|
-
Completed in
|
173
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-
|
174
|
-
Started GET "/auth/gds/callback?code=
|
201
|
+
Completed in 0.3ms
|
202
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-24 10:28:12 +0000
|
203
|
+
Started GET "/auth/gds/callback?code=7f7a634d19983ac97a9ba6aa486b1bbd7f9c1c33a6bc97c76d71dcf3274b7a97&state=c260be7de33bf484ef1aebaf956c29a89d119b56ddb5317d" for 127.0.0.1 at 2015-04-24 10:28:12 +0000
|
175
204
|
Processing by AuthenticationsController#callback as HTML
|
176
|
-
Parameters: {"code"=>"
|
205
|
+
Parameters: {"code"=>"7f7a634d19983ac97a9ba6aa486b1bbd7f9c1c33a6bc97c76d71dcf3274b7a97", "state"=>"c260be7de33bf484ef1aebaf956c29a89d119b56ddb5317d"}
|
177
206
|
Authenticating with gds_sso strategy
|
178
207
|
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
179
208
|
[1m[35m (0.0ms)[0m begin transaction
|
180
209
|
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
181
210
|
- signin
|
182
|
-
' WHERE "users"."id" =
|
183
|
-
[1m[35m (
|
211
|
+
' WHERE "users"."id" = 11[0m
|
212
|
+
[1m[35m (20.8ms)[0m commit transaction
|
184
213
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
185
|
-
[1m[35m (0.
|
214
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
186
215
|
- signin
|
187
|
-
' WHERE "users"."id" =
|
188
|
-
[1m[36m (
|
216
|
+
' WHERE "users"."id" = 11
|
217
|
+
[1m[36m (19.0ms)[0m [1mcommit transaction[0m
|
189
218
|
Redirected to http://www.example-client.com/restricted
|
190
|
-
Completed 302 Found in
|
191
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
219
|
+
Completed 302 Found in 48.1ms (ActiveRecord: 40.6ms)
|
220
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-24 10:28:12 +0000
|
192
221
|
Processing by ExampleController#restricted as HTML
|
193
|
-
[1m[35mUser Load (0.
|
194
|
-
Completed 200 OK in
|
195
|
-
|
222
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1
|
223
|
+
Completed 200 OK in 2.8ms (Views: 0.7ms | ActiveRecord: 0.3ms)
|
224
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'test@example-client.com' LIMIT 1[0m
|
225
|
+
[1m[35m (0.1ms)[0m begin transaction
|
226
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = 't', "permissions" = '---
|
227
|
+
- signin
|
228
|
+
' WHERE "users"."id" = 11[0m
|
229
|
+
[1m[35m (35.4ms)[0m commit transaction
|
230
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-24 10:28:12 +0000
|
196
231
|
Processing by ExampleController#restricted as HTML
|
232
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1[0m
|
197
233
|
Authenticating with gds_sso strategy
|
198
|
-
Completed in
|
199
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-
|
200
|
-
Started GET "/auth/gds/callback?code=
|
234
|
+
Completed in 1.3ms
|
235
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-24 10:28:12 +0000
|
236
|
+
Started GET "/auth/gds/callback?code=c051b11cc0197652393a5d274655d36bc58eb8ee7ef73511134d3d5078cecaeb&state=f0cb1437ee10bdc581c6234e3be7614c12ed9ce894dad858" for 127.0.0.1 at 2015-04-24 10:28:13 +0000
|
201
237
|
Processing by AuthenticationsController#callback as HTML
|
202
|
-
Parameters: {"code"=>"
|
238
|
+
Parameters: {"code"=>"c051b11cc0197652393a5d274655d36bc58eb8ee7ef73511134d3d5078cecaeb", "state"=>"f0cb1437ee10bdc581c6234e3be7614c12ed9ce894dad858"}
|
203
239
|
Authenticating with gds_sso strategy
|
204
|
-
[1m[
|
205
|
-
[1m[
|
206
|
-
[1m[
|
240
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
241
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
242
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
207
243
|
- signin
|
208
|
-
' WHERE "users"."id" =
|
209
|
-
[1m[
|
210
|
-
[1m[
|
211
|
-
[1m[
|
244
|
+
' WHERE "users"."id" = 11
|
245
|
+
[1m[36m (109.6ms)[0m [1mcommit transaction[0m
|
246
|
+
[1m[35m (0.1ms)[0m begin transaction
|
247
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = 'f', "permissions" = '---
|
212
248
|
- signin
|
213
|
-
' WHERE "users"."id" =
|
214
|
-
[1m[
|
249
|
+
' WHERE "users"."id" = 11[0m
|
250
|
+
[1m[35m (10.9ms)[0m commit transaction
|
215
251
|
Redirected to http://www.example-client.com/restricted
|
216
|
-
Completed 302 Found in
|
217
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
252
|
+
Completed 302 Found in 135.8ms (ActiveRecord: 121.4ms)
|
253
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-24 10:28:13 +0000
|
218
254
|
Processing by ExampleController#restricted as HTML
|
219
|
-
[1m[
|
220
|
-
Completed 200 OK in
|
221
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-24
|
255
|
+
[1m[36mUser Load (0.9ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1[0m
|
256
|
+
Completed 200 OK in 2.6ms (Views: 0.3ms | ActiveRecord: 0.9ms)
|
257
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-24 10:28:13 +0000
|
222
258
|
Processing by ExampleController#restricted as HTML
|
223
259
|
Authenticating with gds_sso strategy
|
224
260
|
Completed in 0.4ms
|
225
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-24
|
226
|
-
Started GET "/auth/gds/callback?code=
|
261
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-24 10:28:13 +0000
|
262
|
+
Started GET "/auth/gds/callback?code=4b84528fdb9e1c3fdbf7e7b51b9d0324b3d49a8ec0ff5669e8e31622a27713a6&state=762e330b9b0e13062e19703e8540d4c0a6f569ed7ad36085" for 127.0.0.1 at 2015-04-24 10:28:14 +0000
|
227
263
|
Processing by AuthenticationsController#callback as HTML
|
228
|
-
Parameters: {"code"=>"
|
264
|
+
Parameters: {"code"=>"4b84528fdb9e1c3fdbf7e7b51b9d0324b3d49a8ec0ff5669e8e31622a27713a6", "state"=>"762e330b9b0e13062e19703e8540d4c0a6f569ed7ad36085"}
|
229
265
|
Authenticating with gds_sso strategy
|
230
|
-
[1m[
|
231
|
-
[1m[35m (0.1ms)[0m begin transaction
|
232
|
-
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
233
|
-
- signin
|
234
|
-
' WHERE "users"."id" = 1[0m
|
235
|
-
[1m[35m (11.6ms)[0m commit transaction
|
266
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
236
267
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
237
|
-
[1m[35m (0.
|
268
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
269
|
+
- signin
|
270
|
+
' WHERE "users"."id" = 11
|
271
|
+
[1m[36m (14.2ms)[0m [1mcommit transaction[0m
|
272
|
+
[1m[35m (0.1ms)[0m begin transaction
|
273
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
238
274
|
- signin
|
239
|
-
' WHERE "users"."id" =
|
240
|
-
[1m[
|
275
|
+
' WHERE "users"."id" = 11[0m
|
276
|
+
[1m[35m (11.4ms)[0m commit transaction
|
241
277
|
Redirected to http://www.example-client.com/restricted
|
242
|
-
Completed 302 Found in
|
243
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-24
|
278
|
+
Completed 302 Found in 33.7ms (ActiveRecord: 26.6ms)
|
279
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-24 10:28:14 +0000
|
244
280
|
Processing by ExampleController#restricted as HTML
|
245
|
-
[1m[
|
246
|
-
Completed 200 OK in
|
247
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
281
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1[0m
|
282
|
+
Completed 200 OK in 1.7ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
283
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-25 06:33:14 +0000
|
248
284
|
Processing by ExampleController#restricted as HTML
|
249
285
|
Authenticating with gds_sso strategy
|
250
286
|
Completed in 0.3ms
|
251
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-
|
252
|
-
Started GET "/auth/gds/callback?code=
|
287
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-25 06:33:14 +0000
|
288
|
+
Started GET "/auth/gds/callback?code=2884dd9b54a3a99ea90e71758441a2429a3545d9fd4d16872c9ae7db3e724922&state=a06da9d3e3515142e28adfc26aadf5b942d0bf177b5e6de6" for 127.0.0.1 at 2015-04-25 06:33:14 +0000
|
253
289
|
Processing by AuthenticationsController#callback as HTML
|
254
|
-
Parameters: {"code"=>"
|
290
|
+
Parameters: {"code"=>"2884dd9b54a3a99ea90e71758441a2429a3545d9fd4d16872c9ae7db3e724922", "state"=>"a06da9d3e3515142e28adfc26aadf5b942d0bf177b5e6de6"}
|
255
291
|
Authenticating with gds_sso strategy
|
256
|
-
[1m[
|
292
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
293
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
294
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
295
|
+
- signin
|
296
|
+
' WHERE "users"."id" = 11
|
297
|
+
[1m[36m (16.2ms)[0m [1mcommit transaction[0m
|
257
298
|
[1m[35m (0.1ms)[0m begin transaction
|
258
299
|
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
259
300
|
- signin
|
260
|
-
' WHERE "users"."id" =
|
301
|
+
' WHERE "users"."id" = 11[0m
|
261
302
|
[1m[35m (12.1ms)[0m commit transaction
|
262
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
263
|
-
[1m[35m (0.2ms)[0m UPDATE "users" SET "permissions" = '---
|
264
|
-
- signin
|
265
|
-
' WHERE "users"."id" = 1
|
266
|
-
[1m[36m (19.8ms)[0m [1mcommit transaction[0m
|
267
303
|
Redirected to http://www.example-client.com/restricted
|
268
|
-
Completed 302 Found in
|
269
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
270
|
-
Processing by ExampleController#restricted as HTML
|
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
|
304
|
+
Completed 302 Found in 35.7ms (ActiveRecord: 29.2ms)
|
305
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-25 06:33:14 +0000
|
274
306
|
Processing by ExampleController#restricted as HTML
|
275
307
|
[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.
|
277
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
278
|
-
Processing by ExampleController#restricted as
|
279
|
-
|
280
|
-
|
281
|
-
|
308
|
+
Completed 200 OK in 1.4ms (Views: 0.2ms | ActiveRecord: 0.2ms)
|
309
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-24 10:28:14 +0000
|
310
|
+
Processing by ExampleController#restricted as HTML
|
311
|
+
Authenticating with gds_sso strategy
|
312
|
+
Completed in 0.4ms
|
313
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-24 10:28:14 +0000
|
314
|
+
Started GET "/auth/gds/callback?code=38e7ef3f856eb6033ed63ae3421aee8ba3d5f34e6d8708eb2a2ee2a86870afa8&state=8e5b3f7ccdcacbf7651956efb646bd2c660fb47580c856d1" for 127.0.0.1 at 2015-04-24 10:28:14 +0000
|
315
|
+
Processing by AuthenticationsController#callback as HTML
|
316
|
+
Parameters: {"code"=>"38e7ef3f856eb6033ed63ae3421aee8ba3d5f34e6d8708eb2a2ee2a86870afa8", "state"=>"8e5b3f7ccdcacbf7651956efb646bd2c660fb47580c856d1"}
|
317
|
+
Authenticating with gds_sso strategy
|
282
318
|
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
283
319
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
284
|
-
[1m[35m (0.2ms)[0m UPDATE "users" SET "disabled" = NULL, "permissions" = '---
|
285
|
-
- signin
|
286
|
-
' WHERE "users"."id" = 1
|
287
|
-
[1m[36m (20.8ms)[0m [1mcommit transaction[0m
|
288
|
-
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
289
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
290
|
-
[1m[35m (0.2ms)[0m UPDATE "users" SET "permissions" = '---
|
291
|
-
- signin
|
292
|
-
' WHERE "users"."id" = 1
|
293
|
-
[1m[36m (29.2ms)[0m [1mcommit transaction[0m
|
294
|
-
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
295
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
296
|
-
[1m[35m (0.2ms)[0m UPDATE "users" SET "permissions" = '---
|
297
|
-
- signin
|
298
|
-
' WHERE "users"."id" = 1
|
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
320
|
[1m[35m (0.2ms)[0m UPDATE "users" SET "permissions" = '---
|
303
321
|
- signin
|
304
|
-
' WHERE "users"."id" =
|
305
|
-
[1m[36m (
|
322
|
+
' WHERE "users"."id" = 11
|
323
|
+
[1m[36m (13.9ms)[0m [1mcommit transaction[0m
|
306
324
|
[1m[35m (0.1ms)[0m begin transaction
|
307
|
-
[1m[36m (0.
|
325
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
308
326
|
- signin
|
309
|
-
' WHERE "users"."id" =
|
310
|
-
[1m[35m (
|
311
|
-
|
312
|
-
|
327
|
+
' WHERE "users"."id" = 11[0m
|
328
|
+
[1m[35m (16.9ms)[0m commit transaction
|
329
|
+
Redirected to http://www.example-client.com/restricted
|
330
|
+
Completed 302 Found in 37.6ms (ActiveRecord: 31.6ms)
|
331
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-24 10:28:14 +0000
|
332
|
+
Processing by ExampleController#restricted as HTML
|
333
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1[0m
|
334
|
+
Completed 200 OK in 1.9ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
335
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-25 06:23:14 +0000
|
336
|
+
Processing by ExampleController#restricted as HTML
|
337
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1
|
338
|
+
Completed 200 OK in 1.7ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
339
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-24 10:28:15 +0000
|
340
|
+
Processing by ExampleController#restricted as JSON
|
341
|
+
Completed in 29.2ms
|
342
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-24 10:28:15 +0000
|
313
343
|
Processing by ExampleController#this_requires_signin_permission as JSON
|
314
|
-
[1m[36mUser Load (0.
|
344
|
+
[1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
315
345
|
[1m[35m (0.1ms)[0m begin transaction
|
316
|
-
[1m[36m (0.
|
346
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "disabled" = NULL, "permissions" = '---
|
317
347
|
- signin
|
318
|
-
' WHERE "users"."id" =
|
319
|
-
[1m[35m (
|
320
|
-
[1m[36mUser Load (0.
|
321
|
-
[1m[35m (0.
|
348
|
+
' WHERE "users"."id" = 11[0m
|
349
|
+
[1m[35m (8.0ms)[0m commit transaction
|
350
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
351
|
+
[1m[35m (0.0ms)[0m begin transaction
|
322
352
|
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
323
353
|
- signin
|
324
|
-
' WHERE "users"."id" =
|
325
|
-
[1m[35m (
|
326
|
-
[1m[36mUser Load (0.
|
354
|
+
' WHERE "users"."id" = 11[0m
|
355
|
+
[1m[35m (9.3ms)[0m commit transaction
|
356
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
327
357
|
[1m[35m (0.0ms)[0m begin transaction
|
328
358
|
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
329
359
|
- signin
|
330
|
-
' WHERE "users"."id" =
|
331
|
-
[1m[35m (
|
360
|
+
' WHERE "users"."id" = 11[0m
|
361
|
+
[1m[35m (10.0ms)[0m commit transaction
|
332
362
|
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
333
|
-
[1m[35m (0.
|
363
|
+
[1m[35m (0.0ms)[0m begin transaction
|
334
364
|
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
335
365
|
- signin
|
336
|
-
' WHERE "users"."id" =
|
337
|
-
[1m[35m (
|
366
|
+
' WHERE "users"."id" = 11[0m
|
367
|
+
[1m[35m (25.5ms)[0m commit transaction
|
338
368
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
339
369
|
[1m[35m (0.2ms)[0m UPDATE "users" SET "permissions" = '---
|
340
370
|
- signin
|
341
|
-
' WHERE "users"."id" =
|
342
|
-
[1m[36m (
|
343
|
-
Completed 200 OK in
|
344
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
371
|
+
' WHERE "users"."id" = 11
|
372
|
+
[1m[36m (9.5ms)[0m [1mcommit transaction[0m
|
373
|
+
Completed 200 OK in 208.2ms (Views: 0.5ms | ActiveRecord: 64.8ms)
|
374
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-24 10:28:16 +0000
|
345
375
|
Processing by ExampleController#restricted as JSON
|
346
|
-
|
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
|
350
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
353
|
-
WARNING: Can't mass-assign protected attributes: uid, name, permissions
|
354
|
-
Processing by Api::UserController#update as HTML
|
355
|
-
Parameters: {"uid"=>"a1s2d31007"}
|
356
|
-
Completed 403 Forbidden in 4.0ms (Views: 3.2ms | ActiveRecord: 0.0ms)
|
357
|
-
[1m[35m (0.1ms)[0m begin transaction
|
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
|
376
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
360
377
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
361
|
-
[1m[
|
362
|
-
|
363
|
-
|
364
|
-
|
365
|
-
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = '
|
378
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "permissions" = '---
|
379
|
+
- signin
|
380
|
+
' WHERE "users"."id" = 11
|
381
|
+
[1m[36m (11.1ms)[0m [1mcommit transaction[0m
|
382
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
366
383
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
367
|
-
[1m[35m (0.2ms)[0m UPDATE "users" SET "
|
384
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "permissions" = '---
|
368
385
|
- signin
|
369
|
-
|
370
|
-
|
371
|
-
[1m[
|
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]]
|
374
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
377
|
-
[1m[35m (0.1ms)[0m begin transaction
|
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
|
380
|
-
Processing by Api::UserController#reauth as HTML
|
381
|
-
Parameters: {"uid"=>"nonexistent-user"}
|
382
|
-
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'nonexistent-user' LIMIT 1[0m
|
383
|
-
Completed 200 OK in 1.7ms (ActiveRecord: 0.2ms)
|
384
|
-
[1m[35m (0.1ms)[0m begin transaction
|
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
|
386
|
+
' WHERE "users"."id" = 11
|
387
|
+
[1m[36m (10.2ms)[0m [1mcommit transaction[0m
|
388
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
387
389
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
388
|
-
[1m[
|
389
|
-
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
|
390
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
391
|
+
- signin
|
392
|
+
' WHERE "users"."id" = 11
|
393
|
+
[1m[36m (8.3ms)[0m [1mcommit transaction[0m
|
394
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
395
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
396
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "permissions" = '---
|
397
|
+
- signin
|
398
|
+
' WHERE "users"."id" = 11
|
399
|
+
[1m[36m (13.4ms)[0m [1mcommit transaction[0m
|
394
400
|
[1m[35m (0.1ms)[0m begin transaction
|
395
|
-
[1m[
|
396
|
-
[1m[35m (14.1ms)[0m commit transaction
|
397
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
400
|
-
Processing by Api::UserController#reauth as HTML
|
401
|
-
Parameters: {"uid"=>"a1s2d35311"}
|
402
|
-
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d35311' LIMIT 1
|
403
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
404
|
-
[1m[35m (0.2ms)[0m UPDATE "users" SET "remotely_signed_out" = 't', "permissions" = '---
|
401
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
405
402
|
- signin
|
406
|
-
' WHERE "users"."id" =
|
407
|
-
[1m[
|
408
|
-
Completed 200 OK in
|
409
|
-
|
410
|
-
|
411
|
-
|
412
|
-
|
413
|
-
|
414
|
-
|
415
|
-
|
416
|
-
|
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
|
420
|
-
Processing by AuthenticationsController#callback as HTML
|
421
|
-
Parameters: {"code"=>"b6c42b01bc54033735e8a81964faa30f2f8b7543498243c75de58ac22f3a0bfa", "state"=>"63af1011385db0f7842608ec6d3686d4971981c34ce4eb5f"}
|
422
|
-
Authenticating with gds_sso strategy
|
403
|
+
' WHERE "users"."id" = 11[0m
|
404
|
+
[1m[35m (32.9ms)[0m commit transaction
|
405
|
+
Completed 200 OK in 311.0ms (Views: 0.6ms | ActiveRecord: 78.6ms)
|
406
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-24 10:28:16 +0000
|
407
|
+
Processing by ExampleController#restricted as JSON
|
408
|
+
Completed in 16.4ms
|
409
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-24 10:29:24 +0000
|
410
|
+
Processing by ExampleController#restricted as JSON
|
411
|
+
Completed in 574ms
|
412
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-24 10:29:25 +0000
|
413
|
+
Processing by ExampleController#restricted as JSON
|
423
414
|
[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.
|
415
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'test@example-client.com' ORDER BY "users"."id" ASC LIMIT 1
|
416
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
417
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("disabled", "email", "name", "permissions", "uid") VALUES (?, ?, ?, ?, ?) [["disabled", nil], ["email", "test@example-client.com"], ["name", "Test User"], ["permissions", "---\n- signin\n"], ["uid", "integration-uid"]]
|
418
|
+
[1m[36m (23.3ms)[0m [1mcommit transaction[0m
|
419
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
425
420
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
426
|
-
[1m[35mSQL (0.
|
427
|
-
[1m[36m (
|
428
|
-
[1m[
|
429
|
-
[1m[
|
430
|
-
[1m[
|
431
|
-
|
432
|
-
|
433
|
-
|
421
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
|
422
|
+
[1m[36m (24.3ms)[0m [1mcommit transaction[0m
|
423
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
424
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
425
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
|
426
|
+
[1m[36m (14.6ms)[0m [1mcommit transaction[0m
|
427
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
428
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
429
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
|
430
|
+
[1m[36m (9.8ms)[0m [1mcommit transaction[0m
|
431
|
+
[1m[35m (0.1ms)[0m begin transaction
|
432
|
+
[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"]]
|
433
|
+
[1m[35m (17.9ms)[0m commit transaction
|
434
|
+
Completed 200 OK in 1184ms (Views: 76.4ms | ActiveRecord: 93.8ms)
|
435
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-24 10:29:27 +0000
|
436
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
437
|
+
[1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
438
|
+
[1m[35m (0.1ms)[0m begin transaction
|
439
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1[0m [["permissions", "---\n- signin\n"]]
|
440
|
+
[1m[35m (9.6ms)[0m commit transaction
|
441
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
442
|
+
[1m[35m (0.1ms)[0m begin transaction
|
443
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1[0m [["permissions", "---\n- signin\n"]]
|
444
|
+
[1m[35m (49.6ms)[0m commit transaction
|
445
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
446
|
+
[1m[35m (0.1ms)[0m begin transaction
|
447
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1[0m [["permissions", "---\n- signin\n"]]
|
448
|
+
[1m[35m (21.4ms)[0m commit transaction
|
449
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[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 (16.1ms)[0m commit transaction
|
453
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
454
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
|
455
|
+
[1m[36m (15.7ms)[0m [1mcommit transaction[0m
|
456
|
+
Completed 200 OK in 341ms (Views: 0.4ms | ActiveRecord: 115.1ms)
|
457
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-24 10:29:28 +0000
|
458
|
+
Processing by ExampleController#restricted as JSON
|
459
|
+
Completed in 28ms
|
460
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-24 10:29:28 +0000
|
461
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
462
|
+
Authenticating with gds_sso strategy
|
463
|
+
Completed in 1ms
|
464
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-24 10:29:28 +0000
|
465
|
+
Started GET "/auth/gds/callback?code=e8186c93026f5a68840df41aa69d740db82443934a730e85f1d82ecadb5247e2&state=3e91657252cbd292b54e29138ca6ac508739f2216244ef80" for 127.0.0.1 at 2015-04-24 10:29:29 +0000
|
466
|
+
Processing by AuthenticationsController#callback as HTML
|
467
|
+
Parameters: {"code"=>"e8186c93026f5a68840df41aa69d740db82443934a730e85f1d82ecadb5247e2", "state"=>"3e91657252cbd292b54e29138ca6ac508739f2216244ef80"}
|
468
|
+
Authenticating with gds_sso strategy
|
469
|
+
[1m[35mUser Load (0.4ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
470
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
471
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "disabled" = ?, "permissions" = ? WHERE "users"."id" = 1 [["disabled", false], ["permissions", "---\n- signin\n"]]
|
472
|
+
[1m[36m (40.6ms)[0m [1mcommit transaction[0m
|
473
|
+
[1m[35m (0.1ms)[0m begin transaction
|
474
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1[0m [["permissions", "---\n- signin\n"]]
|
475
|
+
[1m[35m (32.4ms)[0m commit transaction
|
476
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
477
|
+
Completed 302 Found in 81ms (ActiveRecord: 74.2ms)
|
478
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-24 10:29:30 +0000
|
434
479
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
435
480
|
[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
481
|
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-
|
482
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-24 10:29:30 +0000
|
438
483
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
439
484
|
Authenticating with gds_sso strategy
|
440
485
|
Completed in 0ms
|
441
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-
|
442
|
-
Started GET "/auth/gds/callback?code=
|
486
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-24 10:29:30 +0000
|
487
|
+
Started GET "/auth/gds/callback?code=f01a20d2b0dc0755efa3d3278fdab2bdadd64b2786f54b97cc0a97381c191ede&state=7400b5c256c3b3fb4332d5bd54ecab0aeff73908f26ce9ab" for 127.0.0.1 at 2015-04-24 10:29:30 +0000
|
443
488
|
Processing by AuthenticationsController#callback as HTML
|
444
|
-
Parameters: {"code"=>"
|
489
|
+
Parameters: {"code"=>"f01a20d2b0dc0755efa3d3278fdab2bdadd64b2786f54b97cc0a97381c191ede", "state"=>"7400b5c256c3b3fb4332d5bd54ecab0aeff73908f26ce9ab"}
|
445
490
|
Authenticating with gds_sso strategy
|
446
|
-
[1m[35mUser Load (0.
|
491
|
+
[1m[35mUser Load (0.4ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
447
492
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
448
493
|
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
|
449
|
-
[1m[36m (
|
494
|
+
[1m[36m (14.3ms)[0m [1mcommit transaction[0m
|
450
495
|
[1m[35m (0.1ms)[0m begin transaction
|
451
496
|
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1[0m [["permissions", "---\n- signin\n"]]
|
452
|
-
[1m[35m (
|
497
|
+
[1m[35m (10.1ms)[0m commit transaction
|
453
498
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
454
|
-
Completed 302 Found in
|
455
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-
|
499
|
+
Completed 302 Found in 105ms (ActiveRecord: 25.7ms)
|
500
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-24 10:29:30 +0000
|
456
501
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
457
|
-
[1m[36mUser Load (0.
|
458
|
-
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.
|
459
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
502
|
+
[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
|
503
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.3ms)
|
504
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-24 10:29:30 +0000
|
460
505
|
Processing by ExampleController#restricted as HTML
|
461
506
|
Authenticating with gds_sso strategy
|
462
507
|
Completed in 1ms
|
463
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-
|
464
|
-
Started GET "/auth/gds/callback?code=
|
508
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-24 10:29:30 +0000
|
509
|
+
Started GET "/auth/gds/callback?code=69e14a288ac801e78312e013e3c29453fb2c1aa2890f3c4be80afcc28e2005f9&state=3a3fffe1c91c7b639e08782644f47f7b6c0421066e3c2c51" for 127.0.0.1 at 2015-04-24 10:29:31 +0000
|
465
510
|
Processing by AuthenticationsController#callback as HTML
|
466
|
-
Parameters: {"code"=>"
|
511
|
+
Parameters: {"code"=>"69e14a288ac801e78312e013e3c29453fb2c1aa2890f3c4be80afcc28e2005f9", "state"=>"3a3fffe1c91c7b639e08782644f47f7b6c0421066e3c2c51"}
|
467
512
|
Authenticating with gds_sso strategy
|
468
|
-
[1m[35mUser Load (0.
|
513
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
469
514
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
470
|
-
[1m[35mSQL (0.
|
471
|
-
[1m[36m (
|
515
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
|
516
|
+
[1m[36m (12.2ms)[0m [1mcommit transaction[0m
|
472
517
|
[1m[35m (0.1ms)[0m begin transaction
|
473
|
-
[1m[36mSQL (0.
|
474
|
-
[1m[35m (
|
518
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1[0m [["permissions", "---\n- signin\n"]]
|
519
|
+
[1m[35m (7.7ms)[0m commit transaction
|
475
520
|
Redirected to http://www.example-client.com/restricted
|
476
|
-
Completed 302 Found in
|
477
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
521
|
+
Completed 302 Found in 28ms (ActiveRecord: 20.9ms)
|
522
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-24 10:29:31 +0000
|
478
523
|
Processing by ExampleController#restricted as HTML
|
479
|
-
[1m[36mUser Load (0.
|
480
|
-
Completed 200 OK in
|
481
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
524
|
+
[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
|
525
|
+
Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.3ms)
|
526
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-24 10:29:31 +0000
|
482
527
|
Processing by ExampleController#restricted as HTML
|
483
528
|
Authenticating with gds_sso strategy
|
484
|
-
Completed in
|
485
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-
|
486
|
-
Started GET "/auth/gds/callback?code=
|
529
|
+
Completed in 0ms
|
530
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-24 10:29:31 +0000
|
531
|
+
Started GET "/auth/gds/callback?code=1f2939cf458332f2cc4e330a8b4c6038b0194150d028232838af9798872c79a5&state=fbb65bbecde012f81b9d4d19139e91222a5a52bb3c36e99a" for 127.0.0.1 at 2015-04-24 10:29:32 +0000
|
487
532
|
Processing by AuthenticationsController#callback as HTML
|
488
|
-
Parameters: {"code"=>"
|
533
|
+
Parameters: {"code"=>"1f2939cf458332f2cc4e330a8b4c6038b0194150d028232838af9798872c79a5", "state"=>"fbb65bbecde012f81b9d4d19139e91222a5a52bb3c36e99a"}
|
489
534
|
Authenticating with gds_sso strategy
|
490
|
-
[1m[35mUser Load (0.
|
535
|
+
[1m[35mUser Load (0.4ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
491
536
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
492
|
-
[1m[35mSQL (0.
|
493
|
-
[1m[36m (
|
537
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
|
538
|
+
[1m[36m (8.6ms)[0m [1mcommit transaction[0m
|
494
539
|
[1m[35m (0.1ms)[0m begin transaction
|
495
|
-
[1m[36mSQL (0.
|
496
|
-
[1m[35m (
|
540
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1[0m [["permissions", "---\n- signin\n"]]
|
541
|
+
[1m[35m (8.0ms)[0m commit transaction
|
497
542
|
Redirected to http://www.example-client.com/restricted
|
498
|
-
Completed 302 Found in
|
499
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
543
|
+
Completed 302 Found in 26ms (ActiveRecord: 17.8ms)
|
544
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-24 10:29:32 +0000
|
500
545
|
Processing by ExampleController#restricted as HTML
|
501
|
-
[1m[36mUser Load (0.
|
502
|
-
Completed 200 OK in
|
503
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
546
|
+
[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
|
547
|
+
Completed 200 OK in 4ms (Views: 0.7ms | ActiveRecord: 0.4ms)
|
548
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-24 10:29:32 +0000
|
504
549
|
Processing by ExampleController#restricted as HTML
|
505
550
|
Authenticating with gds_sso strategy
|
506
|
-
Completed in
|
507
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-
|
508
|
-
Started GET "/auth/gds/callback?code=
|
551
|
+
Completed in 1ms
|
552
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-24 10:29:32 +0000
|
553
|
+
Started GET "/auth/gds/callback?code=dd00ed476cb691b344f729f68a9ad08513d6912274bbde52a7aa079a86f33f54&state=c724e0efec612579eaeb660e6a31bff8b0675196570309ff" for 127.0.0.1 at 2015-04-24 10:29:32 +0000
|
509
554
|
Processing by AuthenticationsController#callback as HTML
|
510
|
-
Parameters: {"code"=>"
|
555
|
+
Parameters: {"code"=>"dd00ed476cb691b344f729f68a9ad08513d6912274bbde52a7aa079a86f33f54", "state"=>"c724e0efec612579eaeb660e6a31bff8b0675196570309ff"}
|
511
556
|
Authenticating with gds_sso strategy
|
512
557
|
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
513
558
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
514
|
-
[1m[35mSQL (0.
|
515
|
-
[1m[36m (
|
559
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
|
560
|
+
[1m[36m (19.0ms)[0m [1mcommit transaction[0m
|
516
561
|
[1m[35m (0.1ms)[0m begin transaction
|
517
562
|
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1[0m [["permissions", "---\n- signin\n"]]
|
518
|
-
[1m[35m (
|
563
|
+
[1m[35m (13.0ms)[0m commit transaction
|
519
564
|
Redirected to http://www.example-client.com/restricted
|
520
|
-
Completed 302 Found in
|
521
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
565
|
+
Completed 302 Found in 40ms (ActiveRecord: 33.1ms)
|
566
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-24 10:29:32 +0000
|
522
567
|
Processing by ExampleController#restricted as HTML
|
523
568
|
[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
569
|
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.3ms)
|
525
|
-
Started GET "/
|
570
|
+
Started GET "/" for 127.0.0.1 at 2015-04-24 10:29:32 +0000
|
571
|
+
Processing by ExampleController#index as HTML
|
572
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
573
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-24 10:29:33 +0000
|
526
574
|
Processing by ExampleController#restricted as HTML
|
527
575
|
Authenticating with gds_sso strategy
|
528
|
-
Completed in
|
529
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-
|
530
|
-
Started GET "/auth/gds/callback?code=
|
576
|
+
Completed in 0ms
|
577
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-24 10:29:33 +0000
|
578
|
+
Started GET "/auth/gds/callback?code=403c85bc731b555e4fc2a7976fd83f798d0634fe751aea97af86275224666a52&state=1dd0eb08fe33d1fe9913342895576e7c97e04fb3916efad9" for 127.0.0.1 at 2015-04-24 10:29:33 +0000
|
531
579
|
Processing by AuthenticationsController#callback as HTML
|
532
|
-
Parameters: {"code"=>"
|
580
|
+
Parameters: {"code"=>"403c85bc731b555e4fc2a7976fd83f798d0634fe751aea97af86275224666a52", "state"=>"1dd0eb08fe33d1fe9913342895576e7c97e04fb3916efad9"}
|
533
581
|
Authenticating with gds_sso strategy
|
534
|
-
[1m[35mUser Load (0.
|
582
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
535
583
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
536
|
-
[1m[35mSQL (0.
|
537
|
-
[1m[36m (
|
584
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
|
585
|
+
[1m[36m (28.3ms)[0m [1mcommit transaction[0m
|
538
586
|
[1m[35m (0.1ms)[0m begin transaction
|
539
587
|
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1[0m [["permissions", "---\n- signin\n"]]
|
540
|
-
[1m[35m (
|
588
|
+
[1m[35m (10.4ms)[0m commit transaction
|
541
589
|
Redirected to http://www.example-client.com/restricted
|
542
|
-
Completed 302 Found in
|
543
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
590
|
+
Completed 302 Found in 46ms (ActiveRecord: 39.6ms)
|
591
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-24 10:29:33 +0000
|
544
592
|
Processing by ExampleController#restricted as HTML
|
545
593
|
[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
|
547
|
-
|
548
|
-
|
549
|
-
[1m[
|
550
|
-
|
551
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
594
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.3ms)
|
595
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-25 06:24:33 +0000
|
596
|
+
Processing by ExampleController#restricted as HTML
|
597
|
+
[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
|
598
|
+
Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.2ms)
|
599
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-24 10:29:34 +0000
|
552
600
|
Processing by ExampleController#restricted as HTML
|
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
|
554
601
|
Authenticating with gds_sso strategy
|
555
|
-
Completed in
|
556
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-
|
557
|
-
Started GET "/auth/gds/callback?code=
|
602
|
+
Completed in 1ms
|
603
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-24 10:29:34 +0000
|
604
|
+
Started GET "/auth/gds/callback?code=21d7b82a37337f51a57312e0cee268d9fedae7f999f9b1a6e418bd84ba4baba7&state=fc9e08b74c5930a02d3c6591795dba682b3aeb008064f6be" for 127.0.0.1 at 2015-04-24 10:29:34 +0000
|
558
605
|
Processing by AuthenticationsController#callback as HTML
|
559
|
-
Parameters: {"code"=>"
|
606
|
+
Parameters: {"code"=>"21d7b82a37337f51a57312e0cee268d9fedae7f999f9b1a6e418bd84ba4baba7", "state"=>"fc9e08b74c5930a02d3c6591795dba682b3aeb008064f6be"}
|
560
607
|
Authenticating with gds_sso strategy
|
561
608
|
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
562
609
|
[1m[35m (0.1ms)[0m begin transaction
|
563
|
-
[1m[36mSQL (0.
|
564
|
-
[1m[35m (
|
610
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1[0m [["permissions", "---\n- signin\n"]]
|
611
|
+
[1m[35m (11.2ms)[0m commit transaction
|
565
612
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
566
|
-
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "
|
567
|
-
[1m[36m (
|
613
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
|
614
|
+
[1m[36m (8.2ms)[0m [1mcommit transaction[0m
|
568
615
|
Redirected to http://www.example-client.com/restricted
|
569
|
-
Completed 302 Found in
|
570
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
616
|
+
Completed 302 Found in 28ms (ActiveRecord: 20.6ms)
|
617
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-24 10:29:34 +0000
|
571
618
|
Processing by ExampleController#restricted as HTML
|
572
619
|
[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
|
574
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
620
|
+
Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.3ms)
|
621
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-25 06:34:34 +0000
|
575
622
|
Processing by ExampleController#restricted as HTML
|
576
623
|
Authenticating with gds_sso strategy
|
577
624
|
Completed in 1ms
|
578
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-
|
579
|
-
Started GET "/auth/gds/callback?code=
|
625
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-25 06:34:34 +0000
|
626
|
+
Started GET "/auth/gds/callback?code=b7e1698b31bf980a43ff555352b10c941f11bc4cff4e18749ef474b7b2fd94a8&state=248bc7ac11cd96ab12cfd7e1f1ed91495f9f244e26fbfbcc" for 127.0.0.1 at 2015-04-25 06:34:34 +0000
|
580
627
|
Processing by AuthenticationsController#callback as HTML
|
581
|
-
Parameters: {"code"=>"
|
628
|
+
Parameters: {"code"=>"b7e1698b31bf980a43ff555352b10c941f11bc4cff4e18749ef474b7b2fd94a8", "state"=>"248bc7ac11cd96ab12cfd7e1f1ed91495f9f244e26fbfbcc"}
|
582
629
|
Authenticating with gds_sso strategy
|
583
|
-
[1m[36mUser Load (0.
|
630
|
+
[1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
584
631
|
[1m[35m (0.1ms)[0m begin transaction
|
585
632
|
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1[0m [["permissions", "---\n- signin\n"]]
|
586
|
-
[1m[35m (
|
587
|
-
[1m[36m (0.
|
588
|
-
[1m[35mSQL (0.
|
589
|
-
[1m[36m (
|
633
|
+
[1m[35m (42.1ms)[0m commit transaction
|
634
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
635
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
|
636
|
+
[1m[36m (21.8ms)[0m [1mcommit transaction[0m
|
590
637
|
Redirected to http://www.example-client.com/restricted
|
591
|
-
Completed 302 Found in
|
592
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
638
|
+
Completed 302 Found in 73ms (ActiveRecord: 65.2ms)
|
639
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-25 06:34:35 +0000
|
593
640
|
Processing by ExampleController#restricted as HTML
|
594
641
|
[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
|
596
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-24
|
642
|
+
Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.4ms)
|
643
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-24 10:29:35 +0000
|
597
644
|
Processing by ExampleController#restricted as HTML
|
598
645
|
Authenticating with gds_sso strategy
|
599
646
|
Completed in 1ms
|
600
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-24
|
601
|
-
Started GET "/auth/gds/callback?code=
|
647
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-24 10:29:35 +0000
|
648
|
+
Started GET "/auth/gds/callback?code=efaa70d0c49f4e94f5c0ff5bbc75389ef426b26f76936277c504e51425f4e1cd&state=818be4c0182e4ee4eaa1d7d52cce8002be0100004b21b6d3" for 127.0.0.1 at 2015-04-24 10:29:35 +0000
|
602
649
|
Processing by AuthenticationsController#callback as HTML
|
603
|
-
Parameters: {"code"=>"
|
650
|
+
Parameters: {"code"=>"efaa70d0c49f4e94f5c0ff5bbc75389ef426b26f76936277c504e51425f4e1cd", "state"=>"818be4c0182e4ee4eaa1d7d52cce8002be0100004b21b6d3"}
|
604
651
|
Authenticating with gds_sso strategy
|
605
652
|
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
606
653
|
[1m[35m (0.1ms)[0m begin transaction
|
607
654
|
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1[0m [["permissions", "---\n- signin\n"]]
|
608
|
-
[1m[35m (
|
655
|
+
[1m[35m (17.5ms)[0m commit transaction
|
609
656
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
610
657
|
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
|
611
|
-
[1m[36m (
|
658
|
+
[1m[36m (13.6ms)[0m [1mcommit transaction[0m
|
612
659
|
Redirected to http://www.example-client.com/restricted
|
613
|
-
Completed 302 Found in
|
614
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-24
|
660
|
+
Completed 302 Found in 38ms (ActiveRecord: 31.9ms)
|
661
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-24 10:29:35 +0000
|
615
662
|
Processing by ExampleController#restricted as HTML
|
616
663
|
[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.
|
618
|
-
|
664
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.3ms)
|
665
|
+
[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
|
666
|
+
[1m[35m (0.1ms)[0m begin transaction
|
667
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = ?, "permissions" = ? WHERE "users"."id" = 1[0m [["remotely_signed_out", true], ["permissions", "---\n- signin\n"]]
|
668
|
+
[1m[35m (83.9ms)[0m commit transaction
|
669
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-24 10:29:36 +0000
|
619
670
|
Processing by ExampleController#restricted as HTML
|
671
|
+
[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
|
620
672
|
Authenticating with gds_sso strategy
|
621
673
|
Completed in 1ms
|
622
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-
|
623
|
-
Started GET "/auth/gds/callback?code=
|
674
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-24 10:29:36 +0000
|
675
|
+
Started GET "/auth/gds/callback?code=33556849ec8a626f7028cd0b58a36d9ab00540c8ce6de6eb7f813c343a2178cd&state=e40d9de5f14f545c4ddc6b6630ce04b77bc073c4d459e44d" for 127.0.0.1 at 2015-04-24 10:29:36 +0000
|
624
676
|
Processing by AuthenticationsController#callback as HTML
|
625
|
-
Parameters: {"code"=>"
|
677
|
+
Parameters: {"code"=>"33556849ec8a626f7028cd0b58a36d9ab00540c8ce6de6eb7f813c343a2178cd", "state"=>"e40d9de5f14f545c4ddc6b6630ce04b77bc073c4d459e44d"}
|
626
678
|
Authenticating with gds_sso strategy
|
627
|
-
[1m[
|
628
|
-
[1m[
|
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
|
679
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
680
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
632
681
|
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
|
633
|
-
[1m[36m (
|
682
|
+
[1m[36m (25.0ms)[0m [1mcommit transaction[0m
|
683
|
+
[1m[35m (0.1ms)[0m begin transaction
|
684
|
+
[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"]]
|
685
|
+
[1m[35m (18.9ms)[0m commit transaction
|
634
686
|
Redirected to http://www.example-client.com/restricted
|
635
|
-
Completed 302 Found in
|
636
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
687
|
+
Completed 302 Found in 51ms (ActiveRecord: 44.8ms)
|
688
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-24 10:29:36 +0000
|
637
689
|
Processing by ExampleController#restricted as HTML
|
638
|
-
[1m[
|
639
|
-
Completed 200 OK in 2ms (Views: 0.
|
640
|
-
|
641
|
-
|
642
|
-
[1m[
|
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
|
645
|
-
Processing by ExampleController#restricted as JSON
|
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
|
690
|
+
[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
|
691
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.3ms)
|
692
|
+
[1m[35m (0.2ms)[0m begin transaction
|
693
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?)[0m [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["uid", "a1s2d38472"]]
|
694
|
+
[1m[35m (20.2ms)[0m commit transaction
|
657
695
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
658
|
-
[1m[35mSQL (0.2ms)[0m
|
659
|
-
[1m[36m (
|
660
|
-
|
696
|
+
[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", "a1s2d33734"]]
|
697
|
+
[1m[36m (63.6ms)[0m [1mcommit transaction[0m
|
698
|
+
Processing by Api::UserController#reauth as HTML
|
699
|
+
Parameters: {"uid"=>"a1s2d38472"}
|
700
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d38472' ORDER BY "users"."id" ASC LIMIT 1
|
661
701
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
662
|
-
[1m[35mSQL (0.
|
663
|
-
[1m[36m (
|
664
|
-
|
702
|
+
[1m[35mSQL (0.4ms)[0m UPDATE "users" SET "remotely_signed_out" = ?, "permissions" = ? WHERE "users"."id" = 2 [["remotely_signed_out", true], ["permissions", "---\n- signin\n"]]
|
703
|
+
[1m[36m (28.0ms)[0m [1mcommit transaction[0m
|
704
|
+
Completed 200 OK in 32ms (ActiveRecord: 28.7ms)
|
705
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
|
665
706
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
666
|
-
[1m[35mSQL (0.2ms)[0m
|
667
|
-
[1m[36m (
|
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
|
673
|
-
Processing by ExampleController#restricted as JSON
|
674
|
-
[1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
675
|
-
[1m[35m (0.1ms)[0m begin transaction
|
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
|
678
|
-
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
679
|
-
[1m[35m (0.1ms)[0m begin transaction
|
680
|
-
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1[0m [["permissions", "---\n- signin\n"]]
|
681
|
-
[1m[35m (10.8ms)[0m commit transaction
|
682
|
-
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
707
|
+
[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", "a1s2d34838"]]
|
708
|
+
[1m[36m (8.3ms)[0m [1mcommit transaction[0m
|
683
709
|
[1m[35m (0.1ms)[0m begin transaction
|
684
|
-
[1m[36mSQL (0.
|
685
|
-
[1m[35m (
|
686
|
-
|
710
|
+
[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", "a1s2d39646"]]
|
711
|
+
[1m[35m (14.3ms)[0m commit transaction
|
712
|
+
Processing by Api::UserController#reauth as HTML
|
713
|
+
Parameters: {"uid"=>"nonexistent-user"}
|
714
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'nonexistent-user' ORDER BY "users"."id" ASC LIMIT 1[0m
|
715
|
+
Completed 200 OK in 2ms (ActiveRecord: 0.3ms)
|
687
716
|
[1m[35m (0.1ms)[0m begin transaction
|
688
|
-
[1m[36mSQL (0.
|
689
|
-
[1m[35m (
|
690
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
717
|
+
[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", "a1s2d31510"]]
|
718
|
+
[1m[35m (12.1ms)[0m commit transaction
|
697
719
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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", "
|
699
|
-
[1m[36m (
|
700
|
-
Processing by Api::UserController#
|
701
|
-
Parameters: {"uid"=>"
|
702
|
-
Completed 403 Forbidden in
|
720
|
+
[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", "a1s2d34635"]]
|
721
|
+
[1m[36m (11.1ms)[0m [1mcommit transaction[0m
|
722
|
+
Processing by Api::UserController#reauth as HTML
|
723
|
+
Parameters: {"uid"=>"a1s2d31510"}
|
724
|
+
Completed 403 Forbidden in 4ms (Views: 3.2ms | ActiveRecord: 0.0ms)
|
703
725
|
[1m[35m (0.1ms)[0m begin transaction
|
704
|
-
[1m[36mSQL (0.
|
705
|
-
[1m[35m (
|
726
|
+
[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", "a1s2d35236"]]
|
727
|
+
[1m[35m (13.7ms)[0m commit transaction
|
706
728
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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", "
|
708
|
-
[1m[36m (
|
729
|
+
[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", "a1s2d31791"]]
|
730
|
+
[1m[36m (25.8ms)[0m [1mcommit transaction[0m
|
709
731
|
Processing by Api::UserController#update as HTML
|
710
|
-
Parameters: {"uid"=>"
|
711
|
-
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = '
|
712
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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]]
|
732
|
+
Parameters: {"uid"=>"a1s2d35236"}
|
733
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d35236' ORDER BY "users"."id" ASC LIMIT 1
|
717
734
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
718
|
-
[1m[35mSQL (0.
|
719
|
-
[1m[36m (
|
735
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "email" = ?, "name" = ?, "permissions" = ?, "organisation_slug" = ?, "organisation_content_id" = ? WHERE "users"."id" = 8 [["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"]]
|
736
|
+
[1m[36m (21.4ms)[0m [1mcommit transaction[0m
|
737
|
+
Completed 200 OK in 29ms (ActiveRecord: 22.0ms)
|
738
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 8]]
|
739
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
740
|
+
[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", "a1s2d39843"]]
|
741
|
+
[1m[36m (8.4ms)[0m [1mcommit transaction[0m
|
720
742
|
[1m[35m (0.1ms)[0m begin transaction
|
721
|
-
[1m[36mSQL (0.
|
722
|
-
[1m[35m (
|
723
|
-
Processing by Api::UserController#
|
724
|
-
Parameters: {"uid"=>"
|
725
|
-
Completed 403 Forbidden in 2ms (Views: 1.
|
743
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?)[0m [["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"], ["uid", "a1s2d37566"]]
|
744
|
+
[1m[35m (11.4ms)[0m commit transaction
|
745
|
+
Processing by Api::UserController#update as HTML
|
746
|
+
Parameters: {"uid"=>"a1s2d39843"}
|
747
|
+
Completed 403 Forbidden in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)
|
726
748
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
727
|
-
[1m[35mSQL (0.
|
728
|
-
[1m[36m (
|
749
|
+
[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", "a1s2d37864"]]
|
750
|
+
[1m[36m (18.5ms)[0m [1mcommit transaction[0m
|
729
751
|
[1m[35m (0.1ms)[0m begin transaction
|
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", "
|
731
|
-
[1m[35m (
|
752
|
+
[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", "a1s2d35632"]]
|
753
|
+
[1m[35m (15.6ms)[0m commit transaction
|
732
754
|
Processing by Api::UserController#reauth as HTML
|
733
|
-
Parameters: {"uid"=>"
|
734
|
-
[1m[36mUser Load (0.3ms)[0m [1mSELECT
|
735
|
-
|
755
|
+
Parameters: {"uid"=>"a1s2d37864"}
|
756
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d37864' ORDER BY "users"."id" ASC LIMIT 1[0m
|
757
|
+
[1m[35m (0.2ms)[0m begin transaction
|
758
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "permissions" = ?, "remotely_signed_out" = ? WHERE "users"."id" = 1[0m [["permissions", "---\n- signin\n"], ["remotely_signed_out", "t"]]
|
759
|
+
[1m[35m (140.0ms)[0m commit transaction
|
760
|
+
Completed 200 OK in 173ms (ActiveRecord: 140.9ms)
|
761
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
736
762
|
[1m[35m (0.1ms)[0m begin transaction
|
737
|
-
[1m[36mSQL (0.
|
738
|
-
[1m[35m (
|
763
|
+
[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", "a1s2d35345"]]
|
764
|
+
[1m[35m (94.0ms)[0m commit transaction
|
739
765
|
[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", "
|
741
|
-
[1m[36m (
|
766
|
+
[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", "a1s2d39438"]]
|
767
|
+
[1m[36m (31.4ms)[0m [1mcommit transaction[0m
|
742
768
|
Processing by Api::UserController#reauth as HTML
|
743
|
-
Parameters: {"uid"=>"
|
744
|
-
|
769
|
+
Parameters: {"uid"=>"a1s2d35345"}
|
770
|
+
Completed 403 Forbidden in 135ms (Views: 134.1ms | ActiveRecord: 0.0ms)
|
771
|
+
[1m[35m (0.1ms)[0m begin transaction
|
772
|
+
[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", "a1s2d34170"]]
|
773
|
+
[1m[35m (33.1ms)[0m commit transaction
|
745
774
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
746
|
-
[1m[35mSQL (0.
|
747
|
-
[1m[36m (
|
748
|
-
|
749
|
-
|
775
|
+
[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", "a1s2d38763"]]
|
776
|
+
[1m[36m (25.8ms)[0m [1mcommit transaction[0m
|
777
|
+
Processing by Api::UserController#reauth as HTML
|
778
|
+
Parameters: {"uid"=>"nonexistent-user"}
|
779
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'nonexistent-user' ORDER BY "users"."id" ASC LIMIT 1
|
780
|
+
Completed 200 OK in 2ms (ActiveRecord: 0.3ms)
|
750
781
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
751
|
-
[1m[35mSQL (0.
|
752
|
-
[1m[36m (
|
782
|
+
[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", "a1s2d39130"]]
|
783
|
+
[1m[36m (21.6ms)[0m [1mcommit transaction[0m
|
753
784
|
[1m[35m (0.1ms)[0m begin transaction
|
754
|
-
[1m[36mSQL (0.
|
755
|
-
[1m[35m (
|
785
|
+
[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", "a1s2d34094"]]
|
786
|
+
[1m[35m (21.7ms)[0m commit transaction
|
756
787
|
Processing by Api::UserController#update as HTML
|
757
|
-
Parameters: {"uid"=>"
|
758
|
-
|
759
|
-
|
788
|
+
Parameters: {"uid"=>"a1s2d39130"}
|
789
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d39130' ORDER BY "users"."id" ASC LIMIT 1[0m
|
790
|
+
[1m[35m (0.1ms)[0m begin transaction
|
791
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "email" = ?, "name" = ?, "organisation_content_id" = ?, "organisation_slug" = ?, "permissions" = ? WHERE "users"."id" = 7[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"]]
|
792
|
+
[1m[35m (60.1ms)[0m commit transaction
|
793
|
+
Completed 200 OK in 65ms (ActiveRecord: 60.7ms)
|
794
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 7]]
|
795
|
+
[1m[35m (0.1ms)[0m begin transaction
|
796
|
+
[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", "a1s2d37262"]]
|
797
|
+
[1m[35m (79.6ms)[0m commit transaction
|
760
798
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
761
|
-
[1m[35mSQL (0.
|
762
|
-
[1m[36m (
|
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
|
799
|
+
[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", "a1s2d37007"]]
|
800
|
+
[1m[36m (23.0ms)[0m [1mcommit transaction[0m
|
766
801
|
Processing by Api::UserController#update as HTML
|
767
|
-
Parameters: {"uid"=>"
|
768
|
-
|
769
|
-
|
770
|
-
|
771
|
-
[1m[
|
772
|
-
|
773
|
-
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 3]]
|
774
|
-
[1m[35m (0.1ms)[0m begin transaction
|
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
|
780
|
-
Processing by Api::UserController#reauth as HTML
|
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
|
783
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
802
|
+
Parameters: {"uid"=>"a1s2d37262"}
|
803
|
+
Completed 403 Forbidden in 3ms (Views: 1.7ms | ActiveRecord: 0.0ms)
|
804
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-24 10:30:52 +0000
|
805
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
806
|
+
[1m[35mUser Load (55.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
807
|
+
[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
|
791
808
|
[1m[35m (0.1ms)[0m begin transaction
|
792
|
-
[1m[36mSQL (0.
|
793
|
-
[1m[35m (
|
794
|
-
|
795
|
-
|
796
|
-
[1m[
|
797
|
-
|
798
|
-
[1m[
|
799
|
-
[1m[
|
800
|
-
[1m[
|
809
|
+
[1m[36mSQL (0.4ms)[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"]]
|
810
|
+
[1m[35m (20.2ms)[0m commit transaction
|
811
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
812
|
+
[1m[35m (0.1ms)[0m begin transaction
|
813
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
814
|
+
[1m[35m (24.9ms)[0m commit transaction
|
815
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
816
|
+
[1m[35m (0.1ms)[0m begin transaction
|
817
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
818
|
+
[1m[35m (14.2ms)[0m commit transaction
|
819
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
820
|
+
[1m[35m (0.1ms)[0m begin transaction
|
821
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
822
|
+
[1m[35m (61.0ms)[0m commit transaction
|
801
823
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
802
|
-
[1m[35mSQL (0.
|
803
|
-
[1m[36m (
|
804
|
-
|
805
|
-
|
806
|
-
|
807
|
-
|
808
|
-
|
809
|
-
|
810
|
-
|
824
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ?, "remotely_signed_out" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"], ["remotely_signed_out", "f"]]
|
825
|
+
[1m[36m (28.7ms)[0m [1mcommit transaction[0m
|
826
|
+
Completed 200 OK in 1523ms (Views: 88.7ms | ActiveRecord: 206.6ms)
|
827
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-24 10:30:54 +0000
|
828
|
+
Processing by ExampleController#restricted as JSON
|
829
|
+
Completed in 123ms
|
830
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-24 10:30:55 +0000
|
831
|
+
Processing by ExampleController#restricted as JSON
|
832
|
+
[1m[35mUser Load (0.4ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
833
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
834
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
835
|
+
[1m[36m (45.9ms)[0m [1mcommit transaction[0m
|
836
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
837
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
838
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
839
|
+
[1m[36m (16.7ms)[0m [1mcommit transaction[0m
|
840
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
841
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
842
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
843
|
+
[1m[36m (16.8ms)[0m [1mcommit transaction[0m
|
844
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
845
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
846
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
847
|
+
[1m[36m (17.5ms)[0m [1mcommit transaction[0m
|
848
|
+
[1m[35m (0.1ms)[0m begin transaction
|
849
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
850
|
+
[1m[35m (10.6ms)[0m commit transaction
|
851
|
+
Completed 200 OK in 401ms (Views: 0.5ms | ActiveRecord: 109.8ms)
|
852
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-24 10:30:57 +0000
|
853
|
+
Processing by ExampleController#restricted as JSON
|
854
|
+
Completed in 19ms
|
855
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-24 10:30:57 +0000
|
811
856
|
Processing by ExampleController#restricted as HTML
|
812
857
|
Authenticating with gds_sso strategy
|
813
|
-
Completed in
|
814
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-
|
815
|
-
Started GET "/auth/gds/callback?code=
|
858
|
+
Completed in 1ms
|
859
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-24 10:30:57 +0000
|
860
|
+
Started GET "/auth/gds/callback?code=d3286f5fe4c7110a6d0f611cc60905f65b76b8ef4b1aaddeee238abb5aa374aa&state=1ce83ef70973e71597f3a2381266056f4ccd3209ff6ba566" for 127.0.0.1 at 2015-04-24 10:30:58 +0000
|
816
861
|
Processing by AuthenticationsController#callback as HTML
|
817
|
-
Parameters: {"code"=>"
|
862
|
+
Parameters: {"code"=>"d3286f5fe4c7110a6d0f611cc60905f65b76b8ef4b1aaddeee238abb5aa374aa", "state"=>"1ce83ef70973e71597f3a2381266056f4ccd3209ff6ba566"}
|
818
863
|
Authenticating with gds_sso strategy
|
819
|
-
[1m[
|
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
|
864
|
+
[1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
821
865
|
[1m[35m (0.1ms)[0m begin transaction
|
822
|
-
[1m[36mSQL (
|
823
|
-
[1m[35m (
|
866
|
+
[1m[36mSQL (16.5ms)[0m [1mUPDATE "users" SET "disabled" = ?, "permissions" = ? WHERE "users"."id" = 11[0m [["disabled", "f"], ["permissions", "---\n- signin\n"]]
|
867
|
+
[1m[35m (59.7ms)[0m commit transaction
|
824
868
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
825
|
-
[1m[35mSQL (0.
|
826
|
-
[1m[36m (
|
869
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
870
|
+
[1m[36m (26.0ms)[0m [1mcommit transaction[0m
|
827
871
|
Redirected to http://www.example-client.com/restricted
|
828
|
-
Completed 302 Found in 111ms (ActiveRecord:
|
829
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
872
|
+
Completed 302 Found in 111ms (ActiveRecord: 103.0ms)
|
873
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-24 10:30:59 +0000
|
830
874
|
Processing by ExampleController#restricted as HTML
|
831
|
-
[1m[35mUser Load (0.
|
832
|
-
Completed 200 OK in
|
833
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
875
|
+
[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
|
876
|
+
Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.2ms)
|
877
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-24 10:30:59 +0000
|
834
878
|
Processing by ExampleController#restricted as HTML
|
835
879
|
Authenticating with gds_sso strategy
|
836
880
|
Completed in 0ms
|
837
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-
|
838
|
-
Started GET "/auth/gds/callback?code=
|
881
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-24 10:30:59 +0000
|
882
|
+
Started GET "/auth/gds/callback?code=a0517b41101cd203c8e98f07cdbcaa882b69e659be88f4ce8a7aa7a7240caf07&state=afae8edc423bdcd6ab6b50ef6ac7217b2a8087edabef582e" for 127.0.0.1 at 2015-04-24 10:30:59 +0000
|
839
883
|
Processing by AuthenticationsController#callback as HTML
|
840
|
-
Parameters: {"code"=>"
|
884
|
+
Parameters: {"code"=>"a0517b41101cd203c8e98f07cdbcaa882b69e659be88f4ce8a7aa7a7240caf07", "state"=>"afae8edc423bdcd6ab6b50ef6ac7217b2a8087edabef582e"}
|
841
885
|
Authenticating with gds_sso strategy
|
842
|
-
[1m[36mUser Load (0.
|
886
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
843
887
|
[1m[35m (0.1ms)[0m begin transaction
|
844
888
|
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
845
|
-
[1m[35m (
|
889
|
+
[1m[35m (14.5ms)[0m commit transaction
|
846
890
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
847
891
|
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
848
|
-
[1m[36m (
|
892
|
+
[1m[36m (46.4ms)[0m [1mcommit transaction[0m
|
849
893
|
Redirected to http://www.example-client.com/restricted
|
850
|
-
Completed 302 Found in
|
851
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
894
|
+
Completed 302 Found in 67ms (ActiveRecord: 61.7ms)
|
895
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-24 10:30:59 +0000
|
852
896
|
Processing by ExampleController#restricted as HTML
|
853
|
-
[1m[35mUser Load (0.
|
854
|
-
Completed 200 OK in 2ms (Views: 0.
|
855
|
-
Started GET "/
|
856
|
-
Processing by ExampleController#
|
857
|
-
|
897
|
+
[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
|
898
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.3ms)
|
899
|
+
Started GET "/" for 127.0.0.1 at 2015-04-24 10:31:00 +0000
|
900
|
+
Processing by ExampleController#index as HTML
|
901
|
+
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
|
902
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-24 10:31:00 +0000
|
903
|
+
Processing by ExampleController#restricted as HTML
|
904
|
+
Authenticating with gds_sso strategy
|
858
905
|
Completed in 1ms
|
859
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-
|
860
|
-
Started GET "/auth/gds/callback?code=
|
906
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-24 10:31:00 +0000
|
907
|
+
Started GET "/auth/gds/callback?code=ede2f0387e99f30daec424351a11f5eec53b075000c113ba9c4bd5bacfcfddc3&state=9e46c12eef36457e10ea50272be8df75193c9267ab327fa3" for 127.0.0.1 at 2015-04-24 10:31:01 +0000
|
861
908
|
Processing by AuthenticationsController#callback as HTML
|
862
|
-
Parameters: {"code"=>"
|
909
|
+
Parameters: {"code"=>"ede2f0387e99f30daec424351a11f5eec53b075000c113ba9c4bd5bacfcfddc3", "state"=>"9e46c12eef36457e10ea50272be8df75193c9267ab327fa3"}
|
863
910
|
Authenticating with gds_sso strategy
|
864
|
-
[1m[36mUser Load (0.
|
911
|
+
[1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
865
912
|
[1m[35m (0.1ms)[0m begin transaction
|
866
|
-
[1m[36mSQL (0.
|
867
|
-
[1m[35m (
|
913
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
914
|
+
[1m[35m (25.1ms)[0m commit transaction
|
868
915
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
869
916
|
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
870
|
-
[1m[36m (
|
917
|
+
[1m[36m (85.2ms)[0m [1mcommit transaction[0m
|
871
918
|
Redirected to http://www.example-client.com/restricted
|
872
|
-
Completed 302 Found in
|
873
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
919
|
+
Completed 302 Found in 118ms (ActiveRecord: 111.3ms)
|
920
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-24 10:31:01 +0000
|
874
921
|
Processing by ExampleController#restricted as HTML
|
875
|
-
[1m[35mUser Load (0.
|
876
|
-
Completed 200 OK in 2ms (Views: 0.
|
877
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-
|
922
|
+
[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
|
923
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
924
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-24 10:31:02 +0000
|
878
925
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
879
926
|
Authenticating with gds_sso strategy
|
880
927
|
Completed in 1ms
|
881
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-
|
882
|
-
Started GET "/auth/gds/callback?code=
|
928
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-24 10:31:02 +0000
|
929
|
+
Started GET "/auth/gds/callback?code=159dda2f9cb91edf373c74f707cd1c19044cded2abb191dd714352d62f1a0582&state=34dcd551dcb4b1eab1da08d63ca4e725f078401c7ef416aa" for 127.0.0.1 at 2015-04-24 10:31:02 +0000
|
883
930
|
Processing by AuthenticationsController#callback as HTML
|
884
|
-
Parameters: {"code"=>"
|
931
|
+
Parameters: {"code"=>"159dda2f9cb91edf373c74f707cd1c19044cded2abb191dd714352d62f1a0582", "state"=>"34dcd551dcb4b1eab1da08d63ca4e725f078401c7ef416aa"}
|
885
932
|
Authenticating with gds_sso strategy
|
886
|
-
[1m[36mUser Load (0.
|
933
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
887
934
|
[1m[35m (0.1ms)[0m begin transaction
|
888
935
|
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
889
|
-
[1m[35m (
|
936
|
+
[1m[35m (19.4ms)[0m commit transaction
|
890
937
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
891
|
-
[1m[35mSQL (0.
|
892
|
-
[1m[36m (
|
938
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
939
|
+
[1m[36m (19.6ms)[0m [1mcommit transaction[0m
|
893
940
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
894
|
-
Completed 302 Found in
|
895
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-
|
941
|
+
Completed 302 Found in 45ms (ActiveRecord: 39.7ms)
|
942
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-24 10:31:02 +0000
|
896
943
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
897
|
-
[1m[35mUser Load (
|
898
|
-
Completed 200 OK in
|
899
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-
|
944
|
+
[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
|
945
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
946
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-24 10:31:02 +0000
|
900
947
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
901
948
|
Authenticating with gds_sso strategy
|
902
949
|
Completed in 0ms
|
903
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-
|
904
|
-
Started GET "/auth/gds/callback?code=
|
950
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-24 10:31:02 +0000
|
951
|
+
Started GET "/auth/gds/callback?code=b5e10dd4b31d73e67d2dd44bcd15c81d406176bba3b5aa4956870362ca712606&state=3c7fa05375ab8d58ba26ec0ea97fc8c6c58829fcc3a32307" for 127.0.0.1 at 2015-04-24 10:31:03 +0000
|
905
952
|
Processing by AuthenticationsController#callback as HTML
|
906
|
-
Parameters: {"code"=>"
|
953
|
+
Parameters: {"code"=>"b5e10dd4b31d73e67d2dd44bcd15c81d406176bba3b5aa4956870362ca712606", "state"=>"3c7fa05375ab8d58ba26ec0ea97fc8c6c58829fcc3a32307"}
|
907
954
|
Authenticating with gds_sso strategy
|
908
955
|
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
909
956
|
[1m[35m (0.1ms)[0m begin transaction
|
910
957
|
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
911
|
-
[1m[35m (
|
958
|
+
[1m[35m (26.3ms)[0m commit transaction
|
912
959
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
913
960
|
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
914
|
-
[1m[36m (
|
961
|
+
[1m[36m (16.2ms)[0m [1mcommit transaction[0m
|
915
962
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
916
|
-
Completed 302 Found in
|
917
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-
|
963
|
+
Completed 302 Found in 49ms (ActiveRecord: 43.3ms)
|
964
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-24 10:31:03 +0000
|
918
965
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
919
966
|
[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
967
|
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
921
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
968
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-24 10:31:03 +0000
|
922
969
|
Processing by ExampleController#restricted as HTML
|
923
970
|
Authenticating with gds_sso strategy
|
924
971
|
Completed in 1ms
|
925
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-
|
926
|
-
Started GET "/auth/gds/callback?code=
|
972
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-24 10:31:03 +0000
|
973
|
+
Started GET "/auth/gds/callback?code=90876201a256758b9050629f78a0ab75bf13a3d27c591b2537e01767414da396&state=0498bf987400ebe2d3e06093c5e1dd381e821027c10409ad" for 127.0.0.1 at 2015-04-24 10:31:04 +0000
|
927
974
|
Processing by AuthenticationsController#callback as HTML
|
928
|
-
Parameters: {"code"=>"
|
975
|
+
Parameters: {"code"=>"90876201a256758b9050629f78a0ab75bf13a3d27c591b2537e01767414da396", "state"=>"0498bf987400ebe2d3e06093c5e1dd381e821027c10409ad"}
|
929
976
|
Authenticating with gds_sso strategy
|
930
977
|
[1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
931
978
|
[1m[35m (0.1ms)[0m begin transaction
|
932
|
-
[1m[36mSQL (0.
|
933
|
-
[1m[35m (
|
979
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
980
|
+
[1m[35m (17.7ms)[0m commit transaction
|
934
981
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
935
|
-
[1m[35mSQL (0.
|
936
|
-
[1m[36m (
|
982
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
983
|
+
[1m[36m (17.0ms)[0m [1mcommit transaction[0m
|
937
984
|
Redirected to http://www.example-client.com/restricted
|
938
|
-
Completed 302 Found in
|
939
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
985
|
+
Completed 302 Found in 44ms (ActiveRecord: 36.0ms)
|
986
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-24 10:31:04 +0000
|
940
987
|
Processing by ExampleController#restricted as HTML
|
941
988
|
[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
|
942
|
-
Completed 200 OK in
|
943
|
-
|
944
|
-
|
945
|
-
[1m[
|
946
|
-
|
947
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
989
|
+
Completed 200 OK in 3ms (Views: 0.7ms | ActiveRecord: 0.3ms)
|
990
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-25 06:26:04 +0000
|
991
|
+
Processing by ExampleController#restricted as HTML
|
992
|
+
[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
|
993
|
+
Completed 200 OK in 7ms (Views: 0.5ms | ActiveRecord: 0.3ms)
|
994
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-24 10:31:05 +0000
|
948
995
|
Processing by ExampleController#restricted as HTML
|
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
|
950
996
|
Authenticating with gds_sso strategy
|
951
|
-
Completed in
|
952
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-
|
953
|
-
Started GET "/auth/gds/callback?code=
|
997
|
+
Completed in 1ms
|
998
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-24 10:31:05 +0000
|
999
|
+
Started GET "/auth/gds/callback?code=1b55ca8fc2ffbaf6a39b98172bfe74bea6948c40597959d9a32a76cbf688bdff&state=3827423aa5c39d1a392a1a7252c848b121a2cdf1a8026641" for 127.0.0.1 at 2015-04-24 10:31:05 +0000
|
954
1000
|
Processing by AuthenticationsController#callback as HTML
|
955
|
-
Parameters: {"code"=>"
|
1001
|
+
Parameters: {"code"=>"1b55ca8fc2ffbaf6a39b98172bfe74bea6948c40597959d9a32a76cbf688bdff", "state"=>"3827423aa5c39d1a392a1a7252c848b121a2cdf1a8026641"}
|
956
1002
|
Authenticating with gds_sso strategy
|
957
1003
|
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
958
1004
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
959
|
-
[1m[35mSQL (0.
|
960
|
-
[1m[36m (
|
1005
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
1006
|
+
[1m[36m (42.7ms)[0m [1mcommit transaction[0m
|
961
1007
|
[1m[35m (0.1ms)[0m begin transaction
|
962
|
-
[1m[36mSQL (0.
|
963
|
-
[1m[35m (
|
1008
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
1009
|
+
[1m[35m (18.3ms)[0m commit transaction
|
964
1010
|
Redirected to http://www.example-client.com/restricted
|
965
|
-
Completed 302 Found in
|
966
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
1011
|
+
Completed 302 Found in 70ms (ActiveRecord: 62.2ms)
|
1012
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-24 10:31:05 +0000
|
967
1013
|
Processing by ExampleController#restricted as HTML
|
968
|
-
[1m[36mUser Load (0.
|
969
|
-
Completed 200 OK in
|
970
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
1014
|
+
[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
|
1015
|
+
Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.3ms)
|
1016
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-25 06:36:05 +0000
|
971
1017
|
Processing by ExampleController#restricted as HTML
|
972
1018
|
Authenticating with gds_sso strategy
|
973
1019
|
Completed in 1ms
|
974
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-
|
975
|
-
Started GET "/auth/gds/callback?code=
|
1020
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-25 06:36:05 +0000
|
1021
|
+
Started GET "/auth/gds/callback?code=ba922404c1094101fec68a2a28777479f342f3caa7a46a75e30132390c0f766c&state=6e4b84b610803278936417278178a849b62a7828f87675df" for 127.0.0.1 at 2015-04-25 06:36:06 +0000
|
976
1022
|
Processing by AuthenticationsController#callback as HTML
|
977
|
-
Parameters: {"code"=>"
|
1023
|
+
Parameters: {"code"=>"ba922404c1094101fec68a2a28777479f342f3caa7a46a75e30132390c0f766c", "state"=>"6e4b84b610803278936417278178a849b62a7828f87675df"}
|
978
1024
|
Authenticating with gds_sso strategy
|
979
|
-
[1m[35mUser Load (0.
|
1025
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
980
1026
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
981
|
-
[1m[35mSQL (0.
|
982
|
-
[1m[36m (
|
1027
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
1028
|
+
[1m[36m (38.2ms)[0m [1mcommit transaction[0m
|
983
1029
|
[1m[35m (0.1ms)[0m begin transaction
|
984
|
-
[1m[36mSQL (0.
|
985
|
-
[1m[35m (
|
1030
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
1031
|
+
[1m[35m (21.5ms)[0m commit transaction
|
986
1032
|
Redirected to http://www.example-client.com/restricted
|
987
|
-
Completed 302 Found in
|
988
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
1033
|
+
Completed 302 Found in 66ms (ActiveRecord: 60.7ms)
|
1034
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-25 06:36:06 +0000
|
989
1035
|
Processing by ExampleController#restricted as HTML
|
990
1036
|
[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.
|
992
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-24
|
1037
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.3ms)
|
1038
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-24 10:31:06 +0000
|
993
1039
|
Processing by ExampleController#restricted as HTML
|
994
1040
|
Authenticating with gds_sso strategy
|
995
1041
|
Completed in 1ms
|
996
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-24
|
997
|
-
Started GET "/auth/gds/callback?code=
|
1042
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-24 10:31:06 +0000
|
1043
|
+
Started GET "/auth/gds/callback?code=528bcbf2f8abd537046c048f676ef641c9c957eeb93aa29f659b4706329226a2&state=ac3902348d9c7027400d6c96ec49dbb6e7b2bf0313be51ab" for 127.0.0.1 at 2015-04-24 10:31:07 +0000
|
998
1044
|
Processing by AuthenticationsController#callback as HTML
|
999
|
-
Parameters: {"code"=>"
|
1045
|
+
Parameters: {"code"=>"528bcbf2f8abd537046c048f676ef641c9c957eeb93aa29f659b4706329226a2", "state"=>"ac3902348d9c7027400d6c96ec49dbb6e7b2bf0313be51ab"}
|
1000
1046
|
Authenticating with gds_sso strategy
|
1001
1047
|
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
1002
1048
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1003
1049
|
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
1004
|
-
[1m[36m (
|
1050
|
+
[1m[36m (80.4ms)[0m [1mcommit transaction[0m
|
1005
1051
|
[1m[35m (0.1ms)[0m begin transaction
|
1006
1052
|
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
1007
|
-
[1m[35m (
|
1053
|
+
[1m[35m (31.6ms)[0m commit transaction
|
1008
1054
|
Redirected to http://www.example-client.com/restricted
|
1009
|
-
Completed 302 Found in
|
1010
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-24
|
1055
|
+
Completed 302 Found in 119ms (ActiveRecord: 112.8ms)
|
1056
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-24 10:31:07 +0000
|
1011
1057
|
Processing by ExampleController#restricted as HTML
|
1012
|
-
[1m[36mUser Load (0.
|
1013
|
-
Completed 200 OK in
|
1014
|
-
|
1058
|
+
[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
|
1059
|
+
Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.2ms)
|
1060
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'test@example-client.com' ORDER BY "users"."id" ASC LIMIT 1
|
1061
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1062
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ?, "remotely_signed_out" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"], ["remotely_signed_out", "t"]]
|
1063
|
+
[1m[36m (38.4ms)[0m [1mcommit transaction[0m
|
1064
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-24 10:31:07 +0000
|
1015
1065
|
Processing by ExampleController#restricted as HTML
|
1066
|
+
[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
|
1016
1067
|
Authenticating with gds_sso strategy
|
1017
|
-
Completed in
|
1018
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-
|
1019
|
-
Started GET "/auth/gds/callback?code=
|
1068
|
+
Completed in 2ms
|
1069
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-24 10:31:07 +0000
|
1070
|
+
Started GET "/auth/gds/callback?code=a2a8f828940900504f508305b579a19a93e4776a623c2c628835cf39d605ebc9&state=ec356e1c598138916b75c04ed4f4989d9473bd84de17b72f" for 127.0.0.1 at 2015-04-24 10:31:08 +0000
|
1020
1071
|
Processing by AuthenticationsController#callback as HTML
|
1021
|
-
Parameters: {"code"=>"
|
1072
|
+
Parameters: {"code"=>"a2a8f828940900504f508305b579a19a93e4776a623c2c628835cf39d605ebc9", "state"=>"ec356e1c598138916b75c04ed4f4989d9473bd84de17b72f"}
|
1022
1073
|
Authenticating with gds_sso strategy
|
1023
|
-
[1m[
|
1024
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
1074
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
1027
1075
|
[1m[35m (0.1ms)[0m begin transaction
|
1028
1076
|
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
1029
|
-
[1m[35m (
|
1077
|
+
[1m[35m (24.3ms)[0m commit transaction
|
1078
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1079
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ?, "remotely_signed_out" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"], ["remotely_signed_out", "f"]]
|
1080
|
+
[1m[36m (20.6ms)[0m [1mcommit transaction[0m
|
1030
1081
|
Redirected to http://www.example-client.com/restricted
|
1031
|
-
Completed 302 Found in
|
1032
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
1033
|
-
Processing by ExampleController#restricted as HTML
|
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
|
1082
|
+
Completed 302 Found in 51ms (ActiveRecord: 45.8ms)
|
1083
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-24 10:31:08 +0000
|
1037
1084
|
Processing by ExampleController#restricted as HTML
|
1038
1085
|
[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
|
1039
|
-
Completed 200 OK in
|
1040
|
-
|
1041
|
-
|
1042
|
-
|
1043
|
-
|
1044
|
-
Processing by ExampleController#this_requires_signin_permission as JSON
|
1045
|
-
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
1086
|
+
Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.3ms)
|
1087
|
+
Connecting to database specified by database.yml
|
1088
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1089
|
+
[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", "old@domain.com"], ["name", "Moshua Jarshall"], ["organisation_content_id", nil], ["organisation_slug", nil], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d33095"]]
|
1090
|
+
[1m[36m (70.3ms)[0m [1mcommit transaction[0m
|
1046
1091
|
[1m[35m (0.1ms)[0m begin transaction
|
1047
|
-
[1m[36mSQL (0.
|
1048
|
-
[1m[35m (
|
1049
|
-
|
1092
|
+
[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", "a1s2d34722"]]
|
1093
|
+
[1m[35m (12.2ms)[0m commit transaction
|
1094
|
+
WARNING: Can't mass-assign protected attributes: uid, name, permissions
|
1095
|
+
Processing by Api::UserController#update as HTML
|
1096
|
+
Parameters: {"uid"=>"a1s2d33095"}
|
1097
|
+
Rendered /home/jenkins/workspace/govuk_gds_sso/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.3ms)
|
1098
|
+
Completed 403 Forbidden in 15.0ms (Views: 14.5ms | ActiveRecord: 0.0ms)
|
1099
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1100
|
+
[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", "a1s2d37355"]]
|
1101
|
+
[1m[36m (29.4ms)[0m [1mcommit transaction[0m
|
1050
1102
|
[1m[35m (0.1ms)[0m begin transaction
|
1051
|
-
[1m[36mSQL (0.2ms)[0m [
|
1052
|
-
[1m[35m (
|
1053
|
-
|
1103
|
+
[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", "a1s2d36687"]]
|
1104
|
+
[1m[35m (26.1ms)[0m commit transaction
|
1105
|
+
Processing by Api::UserController#update as HTML
|
1106
|
+
Parameters: {"uid"=>"a1s2d37355"}
|
1107
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d37355' LIMIT 1[0m
|
1108
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1109
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "email" = 'user@domain.com', "name" = 'Joshua Marshall', "permissions" = '---
|
1110
|
+
- signin
|
1111
|
+
- new permission
|
1112
|
+
', "organisation_slug" = 'justice-league', "organisation_content_id" = 'aae1319e-5788-4677-998c-f1a53af528d0' WHERE "users"."id" = 3[0m
|
1113
|
+
[1m[35m (22.7ms)[0m commit transaction
|
1114
|
+
Completed 200 OK in 30.4ms (ActiveRecord: 23.2ms)
|
1115
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 3]]
|
1054
1116
|
[1m[35m (0.1ms)[0m begin transaction
|
1055
|
-
[1m[36mSQL (0.2ms)[0m [
|
1117
|
+
[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", "a1s2d32632"]]
|
1118
|
+
[1m[35m (26.8ms)[0m commit transaction
|
1119
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1120
|
+
[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", "a1s2d31064"]]
|
1121
|
+
[1m[36m (20.8ms)[0m [1mcommit transaction[0m
|
1122
|
+
Processing by Api::UserController#reauth as HTML
|
1123
|
+
Parameters: {"uid"=>"a1s2d32632"}
|
1124
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d32632' LIMIT 1
|
1125
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1126
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "remotely_signed_out" = 't', "permissions" = '---
|
1127
|
+
- signin
|
1128
|
+
' WHERE "users"."id" = 5
|
1129
|
+
[1m[36m (23.3ms)[0m [1mcommit transaction[0m
|
1130
|
+
Completed 200 OK in 26.7ms (ActiveRecord: 23.7ms)
|
1131
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]]
|
1132
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1133
|
+
[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", "a1s2d32128"]]
|
1134
|
+
[1m[36m (11.3ms)[0m [1mcommit transaction[0m
|
1135
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1136
|
+
[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", "a1s2d32449"]]
|
1056
1137
|
[1m[35m (32.5ms)[0m commit transaction
|
1057
|
-
|
1138
|
+
Processing by Api::UserController#reauth as HTML
|
1139
|
+
Parameters: {"uid"=>"nonexistent-user"}
|
1140
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'nonexistent-user' LIMIT 1[0m
|
1141
|
+
Completed 200 OK in 1.5ms (ActiveRecord: 0.2ms)
|
1058
1142
|
[1m[35m (0.1ms)[0m begin transaction
|
1059
|
-
[1m[36mSQL (0.2ms)[0m [
|
1060
|
-
[1m[35m (
|
1061
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1062
|
-
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
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
|
1143
|
+
[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", "a1s2d33987"]]
|
1144
|
+
[1m[35m (17.1ms)[0m commit transaction
|
1068
1145
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1069
|
-
[1m[35mSQL (0.
|
1070
|
-
[1m[36m (
|
1071
|
-
|
1146
|
+
[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", "a1s2d36682"]]
|
1147
|
+
[1m[36m (11.1ms)[0m [1mcommit transaction[0m
|
1148
|
+
WARNING: Can't mass-assign protected attributes: uid, name, permissions
|
1149
|
+
Processing by Api::UserController#reauth as HTML
|
1150
|
+
Parameters: {"uid"=>"a1s2d33987"}
|
1151
|
+
Completed 403 Forbidden in 1.7ms (Views: 1.2ms | ActiveRecord: 0.0ms)
|
1152
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-24 10:31:39 +0000
|
1153
|
+
Processing by ExampleController#restricted as HTML
|
1154
|
+
Authenticating with gds_sso strategy
|
1155
|
+
Completed in 19.0ms
|
1156
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-24 10:31:39 +0000
|
1157
|
+
Started GET "/auth/gds/callback?code=6e7ba4f6c003e4871b170be7b236aa555191b06ce0e3fa160fad8ec1236ad627&state=fc49ecae0a651fd25c47c72f1d8060f5b42e0de63b3a3897" for 127.0.0.1 at 2015-04-24 10:31:40 +0000
|
1158
|
+
Processing by AuthenticationsController#callback as HTML
|
1159
|
+
Parameters: {"code"=>"6e7ba4f6c003e4871b170be7b236aa555191b06ce0e3fa160fad8ec1236ad627", "state"=>"fc49ecae0a651fd25c47c72f1d8060f5b42e0de63b3a3897"}
|
1160
|
+
Authenticating with gds_sso strategy
|
1161
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
1162
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'test@example-client.com' LIMIT 1[0m
|
1163
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1164
|
+
[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", "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"]]
|
1165
|
+
[1m[35m (16.0ms)[0m commit transaction
|
1072
1166
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1073
|
-
[1m[
|
1074
|
-
|
1075
|
-
|
1076
|
-
[1m[36m (
|
1077
|
-
|
1078
|
-
|
1079
|
-
|
1167
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "remotely_signed_out" = 'f', "permissions" = '---
|
1168
|
+
- signin
|
1169
|
+
' WHERE "users"."id" = 11
|
1170
|
+
[1m[36m (23.5ms)[0m [1mcommit transaction[0m
|
1171
|
+
Redirected to http://www.example-client.com/restricted
|
1172
|
+
Completed 302 Found in 47.0ms (ActiveRecord: 40.4ms)
|
1173
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-24 10:31:40 +0000
|
1174
|
+
Processing by ExampleController#restricted as HTML
|
1175
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1
|
1176
|
+
Completed 200 OK in 3.1ms (Views: 1.6ms | ActiveRecord: 0.3ms)
|
1177
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-24 10:31:40 +0000
|
1178
|
+
Processing by ExampleController#restricted as HTML
|
1179
|
+
Authenticating with gds_sso strategy
|
1180
|
+
Completed in 0.3ms
|
1181
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-24 10:31:40 +0000
|
1182
|
+
Started GET "/auth/gds/callback?code=08cb78f958a23ea116ac0c21c60c837a0fb7ceaeee4647d7267d425a8740ead3&state=c5276cd5464f6943b2c02b6192d511f17873b0a08d19ade1" for 127.0.0.1 at 2015-04-24 10:31:40 +0000
|
1183
|
+
Processing by AuthenticationsController#callback as HTML
|
1184
|
+
Parameters: {"code"=>"08cb78f958a23ea116ac0c21c60c837a0fb7ceaeee4647d7267d425a8740ead3", "state"=>"c5276cd5464f6943b2c02b6192d511f17873b0a08d19ade1"}
|
1185
|
+
Authenticating with gds_sso strategy
|
1186
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
1187
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1188
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
1189
|
+
- signin
|
1190
|
+
' WHERE "users"."id" = 11[0m
|
1191
|
+
[1m[35m (10.1ms)[0m commit transaction
|
1080
1192
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1081
|
-
[1m[
|
1082
|
-
|
1193
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "permissions" = '---
|
1194
|
+
- signin
|
1195
|
+
' WHERE "users"."id" = 11
|
1196
|
+
[1m[36m (15.6ms)[0m [1mcommit transaction[0m
|
1197
|
+
Redirected to http://www.example-client.com/restricted
|
1198
|
+
Completed 302 Found in 31.5ms (ActiveRecord: 26.6ms)
|
1199
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-24 10:31:40 +0000
|
1200
|
+
Processing by ExampleController#restricted as HTML
|
1201
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1
|
1202
|
+
Completed 200 OK in 1.7ms (Views: 0.3ms | ActiveRecord: 0.3ms)
|
1203
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-24 10:31:41 +0000
|
1204
|
+
Processing by ExampleController#restricted as HTML
|
1205
|
+
Authenticating with gds_sso strategy
|
1206
|
+
Completed in 0.4ms
|
1207
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-24 10:31:41 +0000
|
1208
|
+
Started GET "/auth/gds/callback?code=68e1fdafc41a35e6b3d3c6403acc2f849b9b38ca5c6c1d6b7e114aefd5cd8400&state=c44131a7340194b1c71cba822a31bb2e493c28531f6efb6f" for 127.0.0.1 at 2015-04-24 10:31:41 +0000
|
1209
|
+
Processing by AuthenticationsController#callback as HTML
|
1210
|
+
Parameters: {"code"=>"68e1fdafc41a35e6b3d3c6403acc2f849b9b38ca5c6c1d6b7e114aefd5cd8400", "state"=>"c44131a7340194b1c71cba822a31bb2e493c28531f6efb6f"}
|
1211
|
+
Authenticating with gds_sso strategy
|
1212
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
1083
1213
|
[1m[35m (0.1ms)[0m begin transaction
|
1084
|
-
[1m[
|
1085
|
-
|
1086
|
-
|
1087
|
-
|
1088
|
-
|
1089
|
-
|
1090
|
-
|
1091
|
-
|
1214
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
1215
|
+
- signin
|
1216
|
+
' WHERE "users"."id" = 11[0m
|
1217
|
+
[1m[35m (15.7ms)[0m commit transaction
|
1218
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1219
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "permissions" = '---
|
1220
|
+
- signin
|
1221
|
+
' WHERE "users"."id" = 11
|
1222
|
+
[1m[36m (55.7ms)[0m [1mcommit transaction[0m
|
1223
|
+
Redirected to http://www.example-client.com/restricted
|
1224
|
+
Completed 302 Found in 77.8ms (ActiveRecord: 72.2ms)
|
1225
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-24 10:31:41 +0000
|
1226
|
+
Processing by ExampleController#restricted as HTML
|
1227
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1
|
1228
|
+
Completed 200 OK in 1.7ms (Views: 0.3ms | ActiveRecord: 0.3ms)
|
1229
|
+
Started GET "/" for 127.0.0.1 at 2015-04-24 10:31:42 +0000
|
1092
1230
|
Processing by ExampleController#index as HTML
|
1093
|
-
|
1094
|
-
|
1095
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-23 11:15:20 +0000
|
1231
|
+
Completed 200 OK in 0.8ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
1232
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-24 10:31:42 +0000
|
1096
1233
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
1097
1234
|
Authenticating with gds_sso strategy
|
1098
|
-
Completed in
|
1099
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-
|
1100
|
-
Started GET "/auth/gds/callback?code=
|
1235
|
+
Completed in 0.8ms
|
1236
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-24 10:31:42 +0000
|
1237
|
+
Started GET "/auth/gds/callback?code=e4dcd5f9842e979d502486b0f06f786322f649699150d8d9cd3c8bb1ea053b89&state=123829c12d699c1ff7e4cf46c77be97edc12319c34112b09" for 127.0.0.1 at 2015-04-24 10:31:42 +0000
|
1101
1238
|
Processing by AuthenticationsController#callback as HTML
|
1102
|
-
Parameters: {"code"=>"
|
1239
|
+
Parameters: {"code"=>"e4dcd5f9842e979d502486b0f06f786322f649699150d8d9cd3c8bb1ea053b89", "state"=>"123829c12d699c1ff7e4cf46c77be97edc12319c34112b09"}
|
1103
1240
|
Authenticating with gds_sso strategy
|
1104
|
-
[1m[36mUser Load (0.
|
1105
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'test@example-client.com' LIMIT 1
|
1106
|
-
[1m[36m (0.1ms)[0m [1mbegin 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
|
1241
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
1109
1242
|
[1m[35m (0.1ms)[0m begin transaction
|
1110
|
-
[1m[36m (0.
|
1243
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
1111
1244
|
- signin
|
1112
|
-
' WHERE "users"."id" =
|
1113
|
-
[1m[35m (
|
1245
|
+
' WHERE "users"."id" = 11[0m
|
1246
|
+
[1m[35m (29.7ms)[0m commit transaction
|
1247
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1248
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "permissions" = '---
|
1249
|
+
- signin
|
1250
|
+
' WHERE "users"."id" = 11
|
1251
|
+
[1m[36m (14.2ms)[0m [1mcommit transaction[0m
|
1114
1252
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
1115
|
-
Completed 302 Found in
|
1116
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-
|
1253
|
+
Completed 302 Found in 52.1ms (ActiveRecord: 45.0ms)
|
1254
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-24 10:31:42 +0000
|
1117
1255
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
1118
|
-
[1m[
|
1119
|
-
Completed 200 OK in
|
1120
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-
|
1256
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1
|
1257
|
+
Completed 200 OK in 2.7ms (Views: 0.5ms | ActiveRecord: 0.3ms)
|
1258
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-24 10:31:42 +0000
|
1121
1259
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
1122
1260
|
Authenticating with gds_sso strategy
|
1123
1261
|
Completed in 0.2ms
|
1124
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-
|
1125
|
-
Started GET "/auth/gds/callback?code=
|
1262
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-24 10:31:42 +0000
|
1263
|
+
Started GET "/auth/gds/callback?code=f035b1d6dd7e9ea03bc3da3c5c4e25cdf5d7abfe455fc9e6dea954c89b44ac42&state=1914eb39e1cf366e10f0d681af624cfe66e3915a490bf484" for 127.0.0.1 at 2015-04-24 10:31:43 +0000
|
1126
1264
|
Processing by AuthenticationsController#callback as HTML
|
1127
|
-
Parameters: {"code"=>"
|
1265
|
+
Parameters: {"code"=>"f035b1d6dd7e9ea03bc3da3c5c4e25cdf5d7abfe455fc9e6dea954c89b44ac42", "state"=>"1914eb39e1cf366e10f0d681af624cfe66e3915a490bf484"}
|
1128
1266
|
Authenticating with gds_sso strategy
|
1129
|
-
[1m[
|
1130
|
-
[1m[
|
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
|
1135
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1267
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
1268
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1136
1269
|
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
1137
1270
|
- signin
|
1138
|
-
' WHERE "users"."id" =
|
1139
|
-
[1m[35m (
|
1271
|
+
' WHERE "users"."id" = 11[0m
|
1272
|
+
[1m[35m (9.7ms)[0m commit transaction
|
1273
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1274
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "permissions" = '---
|
1275
|
+
- signin
|
1276
|
+
' WHERE "users"."id" = 11
|
1277
|
+
[1m[36m (10.3ms)[0m [1mcommit transaction[0m
|
1140
1278
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
1141
|
-
Completed 302 Found in
|
1142
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-
|
1279
|
+
Completed 302 Found in 25.6ms (ActiveRecord: 20.8ms)
|
1280
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-24 10:31:43 +0000
|
1143
1281
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
1144
|
-
[1m[
|
1145
|
-
Completed 200 OK in
|
1146
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
1282
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1
|
1283
|
+
Completed 200 OK in 2.0ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
1284
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-24 10:31:43 +0000
|
1147
1285
|
Processing by ExampleController#restricted as HTML
|
1148
1286
|
Authenticating with gds_sso strategy
|
1149
|
-
Completed in
|
1150
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-
|
1151
|
-
Started GET "/auth/gds/callback?code=
|
1287
|
+
Completed in 0.3ms
|
1288
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-24 10:31:43 +0000
|
1289
|
+
Started GET "/auth/gds/callback?code=9abf7cc1405d4c3a8f87264635e3050991aff9f706409e1df3de2390f295e5c9&state=5b142e60b7303ad24358d0537247603f424551cbc78f8645" for 127.0.0.1 at 2015-04-24 10:31:44 +0000
|
1152
1290
|
Processing by AuthenticationsController#callback as HTML
|
1153
|
-
Parameters: {"code"=>"
|
1291
|
+
Parameters: {"code"=>"9abf7cc1405d4c3a8f87264635e3050991aff9f706409e1df3de2390f295e5c9", "state"=>"5b142e60b7303ad24358d0537247603f424551cbc78f8645"}
|
1154
1292
|
Authenticating with gds_sso strategy
|
1155
|
-
[1m[
|
1156
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
1293
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
1161
1294
|
[1m[35m (0.1ms)[0m begin transaction
|
1162
1295
|
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
1163
1296
|
- signin
|
1164
|
-
' WHERE "users"."id" =
|
1165
|
-
[1m[35m (
|
1297
|
+
' WHERE "users"."id" = 11[0m
|
1298
|
+
[1m[35m (9.4ms)[0m commit transaction
|
1299
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1300
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
1301
|
+
- signin
|
1302
|
+
' WHERE "users"."id" = 11
|
1303
|
+
[1m[36m (6.9ms)[0m [1mcommit transaction[0m
|
1166
1304
|
Redirected to http://www.example-client.com/restricted
|
1167
|
-
Completed 302 Found in
|
1168
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
1305
|
+
Completed 302 Found in 23.4ms (ActiveRecord: 17.2ms)
|
1306
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-24 10:31:44 +0000
|
1169
1307
|
Processing by ExampleController#restricted as HTML
|
1170
|
-
[1m[
|
1171
|
-
Completed 200 OK in
|
1172
|
-
|
1308
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1
|
1309
|
+
Completed 200 OK in 2.0ms (Views: 0.4ms | ActiveRecord: 0.3ms)
|
1310
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'test@example-client.com' LIMIT 1[0m
|
1311
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1312
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = 't', "permissions" = '---
|
1313
|
+
- signin
|
1314
|
+
' WHERE "users"."id" = 11[0m
|
1315
|
+
[1m[35m (10.9ms)[0m commit transaction
|
1316
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-24 10:31:44 +0000
|
1173
1317
|
Processing by ExampleController#restricted as HTML
|
1318
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1[0m
|
1174
1319
|
Authenticating with gds_sso strategy
|
1175
|
-
Completed in
|
1176
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-
|
1177
|
-
Started GET "/auth/gds/callback?code=
|
1320
|
+
Completed in 1.1ms
|
1321
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-24 10:31:44 +0000
|
1322
|
+
Started GET "/auth/gds/callback?code=e58ca9b94cf959e020b817602dd3f90a028858a9c9722e8ea664ae2961086784&state=4102bb9dde882a541f4d1cad6b28e6e8dfd02a91f239d22b" for 127.0.0.1 at 2015-04-24 10:31:44 +0000
|
1178
1323
|
Processing by AuthenticationsController#callback as HTML
|
1179
|
-
Parameters: {"code"=>"
|
1324
|
+
Parameters: {"code"=>"e58ca9b94cf959e020b817602dd3f90a028858a9c9722e8ea664ae2961086784", "state"=>"4102bb9dde882a541f4d1cad6b28e6e8dfd02a91f239d22b"}
|
1180
1325
|
Authenticating with gds_sso strategy
|
1181
1326
|
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
1182
|
-
[1m[36m (0.
|
1327
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1183
1328
|
[1m[35m (0.2ms)[0m UPDATE "users" SET "permissions" = '---
|
1184
1329
|
- signin
|
1185
|
-
' WHERE "users"."id" =
|
1186
|
-
[1m[36m (
|
1330
|
+
' WHERE "users"."id" = 11
|
1331
|
+
[1m[36m (19.6ms)[0m [1mcommit transaction[0m
|
1187
1332
|
[1m[35m (0.1ms)[0m begin transaction
|
1188
|
-
[1m[36m (0.
|
1333
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = 'f', "permissions" = '---
|
1189
1334
|
- signin
|
1190
|
-
' WHERE "users"."id" =
|
1191
|
-
[1m[35m (
|
1335
|
+
' WHERE "users"."id" = 11[0m
|
1336
|
+
[1m[35m (14.4ms)[0m commit transaction
|
1192
1337
|
Redirected to http://www.example-client.com/restricted
|
1193
|
-
Completed 302 Found in
|
1194
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
1338
|
+
Completed 302 Found in 39.8ms (ActiveRecord: 34.9ms)
|
1339
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-24 10:31:44 +0000
|
1195
1340
|
Processing by ExampleController#restricted as HTML
|
1196
|
-
[1m[36mUser Load (0.
|
1197
|
-
Completed 200 OK in 1.
|
1198
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
1341
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1[0m
|
1342
|
+
Completed 200 OK in 1.6ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
1343
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-24 10:31:45 +0000
|
1199
1344
|
Processing by ExampleController#restricted as HTML
|
1200
1345
|
Authenticating with gds_sso strategy
|
1201
|
-
Completed in 0.
|
1202
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-
|
1203
|
-
Started GET "/auth/gds/callback?code=
|
1346
|
+
Completed in 0.3ms
|
1347
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-24 10:31:45 +0000
|
1348
|
+
Started GET "/auth/gds/callback?code=3211f030968a76bf34fa74d70b95e0566d2bcfa84666e9ebea0e66422eafc78d&state=102a88cbd51845812888ef87c2d149d1fa213d0b406d3d47" for 127.0.0.1 at 2015-04-24 10:31:45 +0000
|
1204
1349
|
Processing by AuthenticationsController#callback as HTML
|
1205
|
-
Parameters: {"code"=>"
|
1350
|
+
Parameters: {"code"=>"3211f030968a76bf34fa74d70b95e0566d2bcfa84666e9ebea0e66422eafc78d", "state"=>"102a88cbd51845812888ef87c2d149d1fa213d0b406d3d47"}
|
1206
1351
|
Authenticating with gds_sso strategy
|
1207
|
-
[1m[35mUser Load (0.
|
1352
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
1208
1353
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1209
1354
|
[1m[35m (0.2ms)[0m UPDATE "users" SET "permissions" = '---
|
1210
1355
|
- signin
|
1211
|
-
' WHERE "users"."id" =
|
1212
|
-
[1m[36m (
|
1356
|
+
' WHERE "users"."id" = 11
|
1357
|
+
[1m[36m (14.1ms)[0m [1mcommit transaction[0m
|
1213
1358
|
[1m[35m (0.1ms)[0m begin transaction
|
1214
1359
|
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
1215
1360
|
- signin
|
1216
|
-
' WHERE "users"."id" =
|
1217
|
-
[1m[35m (
|
1361
|
+
' WHERE "users"."id" = 11[0m
|
1362
|
+
[1m[35m (21.0ms)[0m commit transaction
|
1218
1363
|
Redirected to http://www.example-client.com/restricted
|
1219
|
-
Completed 302 Found in
|
1220
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
1364
|
+
Completed 302 Found in 41.4ms (ActiveRecord: 35.9ms)
|
1365
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-24 10:31:45 +0000
|
1221
1366
|
Processing by ExampleController#restricted as HTML
|
1222
1367
|
[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.
|
1224
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
1368
|
+
Completed 200 OK in 1.9ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
1369
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-25 06:36:45 +0000
|
1225
1370
|
Processing by ExampleController#restricted as HTML
|
1226
1371
|
Authenticating with gds_sso strategy
|
1227
|
-
Completed in 0.
|
1228
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-
|
1229
|
-
Started GET "/auth/gds/callback?code=
|
1372
|
+
Completed in 0.4ms
|
1373
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-25 06:36:45 +0000
|
1374
|
+
Started GET "/auth/gds/callback?code=4fa660bdfa7fe3928f5ba56314f09dfeabbc4f9692d859f3621529de3438d670&state=0a2d643c63d5e57ff072c763e2525bd826f4055b893966e2" for 127.0.0.1 at 2015-04-25 06:36:45 +0000
|
1230
1375
|
Processing by AuthenticationsController#callback as HTML
|
1231
|
-
Parameters: {"code"=>"
|
1376
|
+
Parameters: {"code"=>"4fa660bdfa7fe3928f5ba56314f09dfeabbc4f9692d859f3621529de3438d670", "state"=>"0a2d643c63d5e57ff072c763e2525bd826f4055b893966e2"}
|
1232
1377
|
Authenticating with gds_sso strategy
|
1233
1378
|
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
1234
1379
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1235
|
-
[1m[35m (0.
|
1380
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
1236
1381
|
- signin
|
1237
|
-
' WHERE "users"."id" =
|
1238
|
-
[1m[36m (
|
1382
|
+
' WHERE "users"."id" = 11
|
1383
|
+
[1m[36m (17.1ms)[0m [1mcommit transaction[0m
|
1239
1384
|
[1m[35m (0.1ms)[0m begin transaction
|
1240
|
-
[1m[36m (0.
|
1385
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
1241
1386
|
- signin
|
1242
|
-
' WHERE "users"."id" =
|
1243
|
-
[1m[35m (
|
1387
|
+
' WHERE "users"."id" = 11[0m
|
1388
|
+
[1m[35m (11.5ms)[0m commit transaction
|
1244
1389
|
Redirected to http://www.example-client.com/restricted
|
1245
|
-
Completed 302 Found in
|
1246
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
1390
|
+
Completed 302 Found in 35.0ms (ActiveRecord: 29.5ms)
|
1391
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-25 06:36:45 +0000
|
1247
1392
|
Processing by ExampleController#restricted as HTML
|
1248
1393
|
[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
|
1250
|
-
|
1251
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1252
|
-
[1m[35m (0.2ms)[0m UPDATE "users" SET "remotely_signed_out" = 't', "permissions" = '---
|
1253
|
-
- signin
|
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
|
1394
|
+
Completed 200 OK in 2.0ms (Views: 0.4ms | ActiveRecord: 0.3ms)
|
1395
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-24 10:31:46 +0000
|
1257
1396
|
Processing by ExampleController#restricted as HTML
|
1258
|
-
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1
|
1259
1397
|
Authenticating with gds_sso strategy
|
1260
|
-
Completed in
|
1261
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-
|
1262
|
-
Started GET "/auth/gds/callback?code=
|
1398
|
+
Completed in 0.2ms
|
1399
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-24 10:31:46 +0000
|
1400
|
+
Started GET "/auth/gds/callback?code=ac1c36f593c1ef8a7954b395a9740819e907f76fa9a699f3e8eab14a656a6d72&state=9c76face2811da97e055aa7bbd31877173f2c65fb370b331" for 127.0.0.1 at 2015-04-24 10:31:46 +0000
|
1263
1401
|
Processing by AuthenticationsController#callback as HTML
|
1264
|
-
Parameters: {"code"=>"
|
1402
|
+
Parameters: {"code"=>"ac1c36f593c1ef8a7954b395a9740819e907f76fa9a699f3e8eab14a656a6d72", "state"=>"9c76face2811da97e055aa7bbd31877173f2c65fb370b331"}
|
1265
1403
|
Authenticating with gds_sso strategy
|
1266
|
-
[1m[
|
1267
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1268
|
-
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
1269
|
-
- signin
|
1270
|
-
' WHERE "users"."id" = 1[0m
|
1271
|
-
[1m[35m (40.6ms)[0m commit transaction
|
1404
|
+
[1m[35mUser Load (0.4ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
1272
1405
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1273
|
-
[1m[35m (0.
|
1406
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
1407
|
+
- signin
|
1408
|
+
' WHERE "users"."id" = 11
|
1409
|
+
[1m[36m (68.4ms)[0m [1mcommit transaction[0m
|
1410
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1411
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
1274
1412
|
- signin
|
1275
|
-
' WHERE "users"."id" =
|
1276
|
-
[1m[
|
1413
|
+
' WHERE "users"."id" = 11[0m
|
1414
|
+
[1m[35m (18.5ms)[0m commit transaction
|
1277
1415
|
Redirected to http://www.example-client.com/restricted
|
1278
|
-
Completed 302 Found in
|
1279
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
1416
|
+
Completed 302 Found in 96.6ms (ActiveRecord: 88.1ms)
|
1417
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-24 10:31:46 +0000
|
1280
1418
|
Processing by ExampleController#restricted as HTML
|
1281
|
-
[1m[
|
1282
|
-
Completed 200 OK in 1.
|
1283
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
1419
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1[0m
|
1420
|
+
Completed 200 OK in 1.7ms (Views: 0.3ms | ActiveRecord: 0.3ms)
|
1421
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-25 06:26:46 +0000
|
1284
1422
|
Processing by ExampleController#restricted as HTML
|
1285
|
-
|
1286
|
-
Completed
|
1287
|
-
Started GET "/
|
1288
|
-
|
1289
|
-
|
1290
|
-
|
1291
|
-
|
1292
|
-
|
1423
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1
|
1424
|
+
Completed 200 OK in 2.2ms (Views: 0.3ms | ActiveRecord: 0.3ms)
|
1425
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-24 10:31:47 +0000
|
1426
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
1427
|
+
[1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
1428
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1429
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "disabled" = NULL, "permissions" = '---
|
1430
|
+
- signin
|
1431
|
+
' WHERE "users"."id" = 11[0m
|
1432
|
+
[1m[35m (11.9ms)[0m commit transaction
|
1433
|
+
[1m[36mUser Load (97.8ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
1293
1434
|
[1m[35m (0.1ms)[0m begin transaction
|
1294
1435
|
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
1295
1436
|
- signin
|
1296
|
-
' WHERE "users"."id" =
|
1297
|
-
[1m[35m (
|
1298
|
-
[1m[
|
1299
|
-
[1m[35m (0.
|
1437
|
+
' WHERE "users"."id" = 11[0m
|
1438
|
+
[1m[35m (31.3ms)[0m commit transaction
|
1439
|
+
[1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
1440
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1441
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
1300
1442
|
- signin
|
1301
|
-
' WHERE "users"."id" =
|
1302
|
-
[1m[
|
1303
|
-
Redirected to http://www.example-client.com/restricted
|
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
|
1306
|
-
Processing by ExampleController#restricted as HTML
|
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
|
1310
|
-
Processing by ExampleController#restricted as HTML
|
1311
|
-
Authenticating with gds_sso strategy
|
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
|
1315
|
-
Processing by AuthenticationsController#callback as HTML
|
1316
|
-
Parameters: {"code"=>"53a69c4a8ab8cedeb8b7ed1245f58efb4b3a66fcf7c532e39bbccdbc920104f9", "state"=>"5d60a3d80a3d34f6fe1079612718b8982e74dd6ef0a346ed"}
|
1317
|
-
Authenticating with gds_sso strategy
|
1443
|
+
' WHERE "users"."id" = 11[0m
|
1444
|
+
[1m[35m (12.3ms)[0m commit transaction
|
1318
1445
|
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
1319
1446
|
[1m[35m (0.1ms)[0m begin transaction
|
1320
1447
|
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
1321
1448
|
- signin
|
1322
|
-
' WHERE "users"."id" =
|
1323
|
-
[1m[35m (
|
1449
|
+
' WHERE "users"."id" = 11[0m
|
1450
|
+
[1m[35m (7.1ms)[0m commit transaction
|
1324
1451
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1325
|
-
[1m[35m (0.
|
1452
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
1326
1453
|
- signin
|
1327
|
-
' WHERE "users"."id" =
|
1328
|
-
[1m[36m (
|
1329
|
-
|
1330
|
-
|
1331
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-24 07:20:27 +0000
|
1332
|
-
Processing by ExampleController#restricted as HTML
|
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
|
1336
|
-
Processing by ExampleController#restricted as HTML
|
1337
|
-
Authenticating with gds_sso strategy
|
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
|
1341
|
-
Processing by AuthenticationsController#callback as HTML
|
1342
|
-
Parameters: {"code"=>"bdecf00081ddfda5185ee1eabd8409d14594834e148cdace629e3c682e56388a", "state"=>"ab1cedcc0f572b6f8291b96825b0ac4c9546b5d4ef1f6a90"}
|
1343
|
-
Authenticating with gds_sso strategy
|
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
|
1350
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1351
|
-
[1m[35m (0.4ms)[0m UPDATE "users" SET "permissions" = '---
|
1352
|
-
- signin
|
1353
|
-
' WHERE "users"."id" = 1
|
1354
|
-
[1m[36m (151.2ms)[0m [1mcommit transaction[0m
|
1355
|
-
Redirected to http://www.example-client.com/restricted
|
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
|
1358
|
-
Processing by ExampleController#restricted as HTML
|
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
|
1362
|
-
Processing by ExampleController#restricted as HTML
|
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
|
1454
|
+
' WHERE "users"."id" = 11
|
1455
|
+
[1m[36m (11.3ms)[0m [1mcommit transaction[0m
|
1456
|
+
Completed 200 OK in 358.4ms (Views: 0.4ms | ActiveRecord: 174.4ms)
|
1457
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-24 10:31:48 +0000
|
1372
1458
|
Processing by ExampleController#restricted as JSON
|
1373
|
-
[1m[35mUser Load (0.
|
1459
|
+
[1m[35mUser Load (0.4ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
1374
1460
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1375
|
-
[1m[35m (0.
|
1376
|
-
- signin
|
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" = '---
|
1461
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
1382
1462
|
- signin
|
1383
|
-
' WHERE "users"."id" =
|
1384
|
-
[1m[36m (
|
1463
|
+
' WHERE "users"."id" = 11
|
1464
|
+
[1m[36m (72.5ms)[0m [1mcommit transaction[0m
|
1385
1465
|
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
1386
1466
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1387
1467
|
[1m[35m (0.2ms)[0m UPDATE "users" SET "permissions" = '---
|
1388
1468
|
- signin
|
1389
|
-
' WHERE "users"."id" =
|
1390
|
-
[1m[36m (
|
1469
|
+
' WHERE "users"."id" = 11
|
1470
|
+
[1m[36m (11.7ms)[0m [1mcommit transaction[0m
|
1391
1471
|
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
1392
1472
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1393
1473
|
[1m[35m (0.2ms)[0m UPDATE "users" SET "permissions" = '---
|
1394
1474
|
- signin
|
1395
|
-
' WHERE "users"."id" =
|
1396
|
-
[1m[36m (
|
1397
|
-
[1m[
|
1398
|
-
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
1399
|
-
- signin
|
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
|
1404
|
-
Processing by ExampleController#this_requires_signin_permission as JSON
|
1405
|
-
[1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
1406
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1407
|
-
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
1408
|
-
- signin
|
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
|
1412
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1413
|
-
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
1414
|
-
- signin
|
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
|
1423
|
-
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
1424
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1425
|
-
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
1426
|
-
- signin
|
1427
|
-
' WHERE "users"."id" = 1[0m
|
1428
|
-
[1m[35m (38.9ms)[0m commit transaction
|
1429
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1430
|
-
[1m[35m (0.2ms)[0m UPDATE "users" SET "permissions" = '---
|
1431
|
-
- signin
|
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
|
1438
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
1448
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
1475
|
+
' WHERE "users"."id" = 11
|
1476
|
+
[1m[36m (8.5ms)[0m [1mcommit transaction[0m
|
1477
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
1454
1478
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1455
|
-
[1m[35m (0.2ms)[0m UPDATE "users" SET "
|
1479
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "permissions" = '---
|
1456
1480
|
- signin
|
1457
|
-
|
1458
|
-
|
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]]
|
1462
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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)
|
1472
|
-
[1m[36m (0.1ms)[0m [1mbegin 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
|
1481
|
+
' WHERE "users"."id" = 11
|
1482
|
+
[1m[36m (10.5ms)[0m [1mcommit transaction[0m
|
1475
1483
|
[1m[35m (0.1ms)[0m begin transaction
|
1476
|
-
[1m[
|
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" = '---
|
1484
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
1483
1485
|
- signin
|
1484
|
-
' WHERE "users"."id" =
|
1485
|
-
[1m[35m (
|
1486
|
-
Completed 200 OK in
|
1487
|
-
|
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
|
1491
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
1501
|
-
[1m[35m (0.1ms)[0m begin transaction
|
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
|
1511
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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)
|
1517
|
-
[1m[35m (0.1ms)[0m begin transaction
|
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
|
1537
|
-
Processing by Api::UserController#update as HTML
|
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
|
1540
|
-
[1m[35m (0.1ms)[0m begin transaction
|
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]]
|
1545
|
-
[1m[35m (0.1ms)[0m begin transaction
|
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
|
1548
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
1486
|
+
' WHERE "users"."id" = 11[0m
|
1487
|
+
[1m[35m (11.3ms)[0m commit transaction
|
1488
|
+
Completed 200 OK in 293.3ms (Views: 0.4ms | ActiveRecord: 117.1ms)
|
1489
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-24 10:31:48 +0000
|
1555
1490
|
Processing by ExampleController#restricted as JSON
|
1556
|
-
Completed in
|
1557
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
1491
|
+
Completed in 41.7ms
|
1492
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-24 10:31:49 +0000
|
1558
1493
|
Processing by ExampleController#restricted as JSON
|
1559
|
-
|
1560
|
-
|
1561
|
-
|
1562
|
-
|
1563
|
-
|
1564
|
-
|
1565
|
-
|
1566
|
-
|
1567
|
-
|
1568
|
-
|
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
|
1494
|
+
Completed in 20.0ms
|
1495
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-24 10:32:15 +0000
|
1496
|
+
Processing by ExampleController#restricted as HTML
|
1497
|
+
Authenticating with gds_sso strategy
|
1498
|
+
Completed in 29ms
|
1499
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-24 10:32:15 +0000
|
1500
|
+
Started GET "/auth/gds/callback?code=51796d9526a4826103ab88f1e522f6db3fee737f64d8261e29e0216c0bafbebf&state=74fdab245e21da4bb8eff9ebe0f4ff792f1786cda68787ca" for 127.0.0.1 at 2015-04-24 10:32:16 +0000
|
1501
|
+
Processing by AuthenticationsController#callback as HTML
|
1502
|
+
Parameters: {"code"=>"51796d9526a4826103ab88f1e522f6db3fee737f64d8261e29e0216c0bafbebf", "state"=>"74fdab245e21da4bb8eff9ebe0f4ff792f1786cda68787ca"}
|
1503
|
+
Authenticating with gds_sso strategy
|
1572
1504
|
[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[
|
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
|
1576
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
1505
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'test@example-client.com' ORDER BY "users"."id" ASC LIMIT 1
|
1587
1506
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1588
|
-
[1m[35mSQL (0.
|
1589
|
-
[1m[36m (
|
1507
|
+
[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"]]
|
1508
|
+
[1m[36m (48.9ms)[0m [1mcommit transaction[0m
|
1509
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1510
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = ?, "permissions" = ? WHERE "users"."id" = 1[0m [["remotely_signed_out", false], ["permissions", "---\n- signin\n"]]
|
1511
|
+
[1m[35m (31.1ms)[0m commit transaction
|
1512
|
+
Redirected to http://www.example-client.com/restricted
|
1513
|
+
Completed 302 Found in 108ms (ActiveRecord: 82.0ms)
|
1514
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-24 10:32:16 +0000
|
1515
|
+
Processing by ExampleController#restricted as HTML
|
1516
|
+
[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
|
1517
|
+
Rendered text template (0.0ms)
|
1518
|
+
Completed 200 OK in 8ms (Views: 5.4ms | ActiveRecord: 0.2ms)
|
1519
|
+
Started GET "/" for 127.0.0.1 at 2015-04-24 10:32:17 +0000
|
1520
|
+
Processing by ExampleController#index as HTML
|
1521
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
1522
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-24 10:32:17 +0000
|
1523
|
+
Processing by ExampleController#restricted as HTML
|
1524
|
+
Authenticating with gds_sso strategy
|
1525
|
+
Completed in 0ms
|
1526
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-24 10:32:17 +0000
|
1527
|
+
Started GET "/auth/gds/callback?code=344272700bf381ff47222ed7b0a9e575d7866aadf6aec247b20af18f1b5ce688&state=24e83a770595eca50c35b5c21ef183d254fd27c52702c2c8" for 127.0.0.1 at 2015-04-24 10:32:17 +0000
|
1528
|
+
Processing by AuthenticationsController#callback as HTML
|
1529
|
+
Parameters: {"code"=>"344272700bf381ff47222ed7b0a9e575d7866aadf6aec247b20af18f1b5ce688", "state"=>"24e83a770595eca50c35b5c21ef183d254fd27c52702c2c8"}
|
1530
|
+
Authenticating with gds_sso strategy
|
1590
1531
|
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
1591
1532
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1592
|
-
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" =
|
1593
|
-
[1m[36m (
|
1594
|
-
[1m[
|
1533
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
|
1534
|
+
[1m[36m (9.4ms)[0m [1mcommit transaction[0m
|
1535
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1536
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1[0m [["permissions", "---\n- signin\n"]]
|
1537
|
+
[1m[35m (63.2ms)[0m commit transaction
|
1538
|
+
Redirected to http://www.example-client.com/restricted
|
1539
|
+
Completed 302 Found in 79ms (ActiveRecord: 73.5ms)
|
1540
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-24 10:32:17 +0000
|
1541
|
+
Processing by ExampleController#restricted as HTML
|
1542
|
+
[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
|
1543
|
+
Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.3ms)
|
1544
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-24 10:32:17 +0000
|
1545
|
+
Processing by ExampleController#restricted as HTML
|
1546
|
+
Authenticating with gds_sso strategy
|
1547
|
+
Completed in 0ms
|
1548
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-24 10:32:17 +0000
|
1549
|
+
Started GET "/auth/gds/callback?code=c993077534f09368fa5420bfe5e9a3c26fe04e0006d678a0237e148bba4f2502&state=dd6df4541c21a3a02bbf7906b74aa8f4be9210122b38544c" for 127.0.0.1 at 2015-04-24 10:32:18 +0000
|
1550
|
+
Processing by AuthenticationsController#callback as HTML
|
1551
|
+
Parameters: {"code"=>"c993077534f09368fa5420bfe5e9a3c26fe04e0006d678a0237e148bba4f2502", "state"=>"dd6df4541c21a3a02bbf7906b74aa8f4be9210122b38544c"}
|
1552
|
+
Authenticating with gds_sso strategy
|
1553
|
+
[1m[35mUser Load (0.4ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
1595
1554
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1596
|
-
[1m[35mSQL (0.
|
1597
|
-
[1m[36m (
|
1555
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
|
1556
|
+
[1m[36m (15.2ms)[0m [1mcommit transaction[0m
|
1598
1557
|
[1m[35m (0.1ms)[0m begin transaction
|
1599
|
-
[1m[36mSQL (0.
|
1600
|
-
[1m[35m (
|
1601
|
-
|
1602
|
-
|
1603
|
-
|
1604
|
-
|
1605
|
-
|
1558
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1[0m [["permissions", "---\n- signin\n"]]
|
1559
|
+
[1m[35m (134.6ms)[0m commit transaction
|
1560
|
+
Redirected to http://www.example-client.com/restricted
|
1561
|
+
Completed 302 Found in 158ms (ActiveRecord: 151.0ms)
|
1562
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-24 10:32:18 +0000
|
1563
|
+
Processing by ExampleController#restricted as HTML
|
1564
|
+
[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
|
1565
|
+
Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.2ms)
|
1566
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-24 10:32:18 +0000
|
1606
1567
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
1607
1568
|
Authenticating with gds_sso strategy
|
1608
1569
|
Completed in 0ms
|
1609
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-
|
1610
|
-
Started GET "/auth/gds/callback?code=
|
1570
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-24 10:32:18 +0000
|
1571
|
+
Started GET "/auth/gds/callback?code=c2ca4b798d02966ec65b640437b6006f3ce6137373d98c38c95a0bc0dbeb95b7&state=7024af524061493321a30673dadf7a62ecbb7b4d4e098b8f" for 127.0.0.1 at 2015-04-24 10:32:19 +0000
|
1611
1572
|
Processing by AuthenticationsController#callback as HTML
|
1612
|
-
Parameters: {"code"=>"
|
1573
|
+
Parameters: {"code"=>"c2ca4b798d02966ec65b640437b6006f3ce6137373d98c38c95a0bc0dbeb95b7", "state"=>"7024af524061493321a30673dadf7a62ecbb7b4d4e098b8f"}
|
1613
1574
|
Authenticating with gds_sso strategy
|
1614
|
-
[1m[
|
1615
|
-
[1m[35m (0.1ms)[0m begin transaction
|
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
|
1575
|
+
[1m[35mUser Load (0.4ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
1618
1576
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1619
|
-
[1m[35mSQL (0.
|
1620
|
-
[1m[36m (
|
1577
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
|
1578
|
+
[1m[36m (18.4ms)[0m [1mcommit transaction[0m
|
1579
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1580
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1[0m [["permissions", "---\n- signin\n"]]
|
1581
|
+
[1m[35m (21.8ms)[0m commit transaction
|
1621
1582
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
1622
|
-
Completed 302 Found in
|
1623
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-
|
1583
|
+
Completed 302 Found in 60ms (ActiveRecord: 41.6ms)
|
1584
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-24 10:32:19 +0000
|
1624
1585
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
1625
|
-
[1m[
|
1626
|
-
Completed 200 OK in
|
1627
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-
|
1586
|
+
[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
|
1587
|
+
Completed 200 OK in 5ms (Views: 0.4ms | ActiveRecord: 0.4ms)
|
1588
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-24 10:32:19 +0000
|
1628
1589
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
1629
1590
|
Authenticating with gds_sso strategy
|
1630
1591
|
Completed in 0ms
|
1631
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-
|
1632
|
-
Started GET "/auth/gds/callback?code=
|
1592
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-24 10:32:19 +0000
|
1593
|
+
Started GET "/auth/gds/callback?code=916c1bef175111d2df2ea32d7a4b764a4d09706c33d6db1a60b5ca79300f2e99&state=1bd1951150028b6ab9b0c4518468844e375581d60027a52b" for 127.0.0.1 at 2015-04-24 10:32:19 +0000
|
1633
1594
|
Processing by AuthenticationsController#callback as HTML
|
1634
|
-
Parameters: {"code"=>"
|
1595
|
+
Parameters: {"code"=>"916c1bef175111d2df2ea32d7a4b764a4d09706c33d6db1a60b5ca79300f2e99", "state"=>"1bd1951150028b6ab9b0c4518468844e375581d60027a52b"}
|
1635
1596
|
Authenticating with gds_sso strategy
|
1636
|
-
[1m[
|
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
|
1597
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
1640
1598
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1641
|
-
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" =
|
1642
|
-
[1m[36m (
|
1599
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
|
1600
|
+
[1m[36m (35.5ms)[0m [1mcommit transaction[0m
|
1601
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1602
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1[0m [["permissions", "---\n- signin\n"]]
|
1603
|
+
[1m[35m (12.0ms)[0m commit transaction
|
1643
1604
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
1644
|
-
Completed 302 Found in
|
1645
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-
|
1605
|
+
Completed 302 Found in 53ms (ActiveRecord: 48.2ms)
|
1606
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-24 10:32:20 +0000
|
1646
1607
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
1647
|
-
[1m[
|
1648
|
-
Completed 200 OK in 2ms (Views: 0.
|
1649
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
1608
|
+
[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
|
1609
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
1610
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-24 10:32:20 +0000
|
1650
1611
|
Processing by ExampleController#restricted as HTML
|
1651
1612
|
Authenticating with gds_sso strategy
|
1652
|
-
Completed in
|
1653
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-
|
1654
|
-
Started GET "/auth/gds/callback?code=
|
1613
|
+
Completed in 0ms
|
1614
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-24 10:32:20 +0000
|
1615
|
+
Started GET "/auth/gds/callback?code=63a58946b925bcf35c69e03a774a31bbea8d6a518c829c42a3481dd5bed0a5d6&state=484c3e52d95ed44116419b251a05f0c8285c71c26456b9c3" for 127.0.0.1 at 2015-04-24 10:32:20 +0000
|
1655
1616
|
Processing by AuthenticationsController#callback as HTML
|
1656
|
-
Parameters: {"code"=>"
|
1617
|
+
Parameters: {"code"=>"63a58946b925bcf35c69e03a774a31bbea8d6a518c829c42a3481dd5bed0a5d6", "state"=>"484c3e52d95ed44116419b251a05f0c8285c71c26456b9c3"}
|
1657
1618
|
Authenticating with gds_sso strategy
|
1658
|
-
[1m[
|
1659
|
-
[1m[35m (0.1ms)[0m begin transaction
|
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
|
1619
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
1662
1620
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1663
|
-
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" =
|
1664
|
-
[1m[36m (
|
1621
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
|
1622
|
+
[1m[36m (9.4ms)[0m [1mcommit transaction[0m
|
1623
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1624
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1[0m [["permissions", "---\n- signin\n"]]
|
1625
|
+
[1m[35m (15.4ms)[0m commit transaction
|
1665
1626
|
Redirected to http://www.example-client.com/restricted
|
1666
|
-
Completed 302 Found in
|
1667
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
1627
|
+
Completed 302 Found in 31ms (ActiveRecord: 25.6ms)
|
1628
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-24 10:32:20 +0000
|
1668
1629
|
Processing by ExampleController#restricted as HTML
|
1669
|
-
[1m[
|
1630
|
+
[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
|
1670
1631
|
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.3ms)
|
1671
|
-
|
1632
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'test@example-client.com' ORDER BY "users"."id" ASC LIMIT 1
|
1633
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1634
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "remotely_signed_out" = ?, "permissions" = ? WHERE "users"."id" = 1 [["remotely_signed_out", true], ["permissions", "---\n- signin\n"]]
|
1635
|
+
[1m[36m (12.0ms)[0m [1mcommit transaction[0m
|
1636
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-24 10:32:20 +0000
|
1672
1637
|
Processing by ExampleController#restricted as HTML
|
1638
|
+
[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
|
1673
1639
|
Authenticating with gds_sso strategy
|
1674
|
-
Completed in
|
1675
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-
|
1676
|
-
Started GET "/auth/gds/callback?code=
|
1640
|
+
Completed in 2ms
|
1641
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-24 10:32:20 +0000
|
1642
|
+
Started GET "/auth/gds/callback?code=09da23da2ca05d0e63266ce2a6768df6ae339acee4bbb494d8115dc642f82a8a&state=a854b1afb22e988a90af74edf28ec498957c0ce2f3d90ef2" for 127.0.0.1 at 2015-04-24 10:32:21 +0000
|
1677
1643
|
Processing by AuthenticationsController#callback as HTML
|
1678
|
-
Parameters: {"code"=>"
|
1644
|
+
Parameters: {"code"=>"09da23da2ca05d0e63266ce2a6768df6ae339acee4bbb494d8115dc642f82a8a", "state"=>"a854b1afb22e988a90af74edf28ec498957c0ce2f3d90ef2"}
|
1679
1645
|
Authenticating with gds_sso strategy
|
1680
1646
|
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
1681
1647
|
[1m[35m (0.1ms)[0m begin transaction
|
1682
|
-
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" =
|
1683
|
-
[1m[35m (
|
1648
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1[0m [["permissions", "---\n- signin\n"]]
|
1649
|
+
[1m[35m (15.1ms)[0m commit transaction
|
1684
1650
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1685
|
-
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" =
|
1686
|
-
[1m[36m (
|
1651
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "remotely_signed_out" = ?, "permissions" = ? WHERE "users"."id" = 1 [["remotely_signed_out", false], ["permissions", "---\n- signin\n"]]
|
1652
|
+
[1m[36m (11.8ms)[0m [1mcommit transaction[0m
|
1687
1653
|
Redirected to http://www.example-client.com/restricted
|
1688
|
-
Completed 302 Found in
|
1689
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
1654
|
+
Completed 302 Found in 33ms (ActiveRecord: 27.8ms)
|
1655
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-24 10:32:21 +0000
|
1690
1656
|
Processing by ExampleController#restricted as HTML
|
1691
|
-
[1m[35mUser Load (0.
|
1692
|
-
Completed 200 OK in 2ms (Views: 0.
|
1693
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
1657
|
+
[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
|
1658
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.3ms)
|
1659
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-24 10:32:21 +0000
|
1694
1660
|
Processing by ExampleController#restricted as HTML
|
1695
1661
|
Authenticating with gds_sso strategy
|
1696
|
-
Completed in
|
1697
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-
|
1698
|
-
Started GET "/auth/gds/callback?code=
|
1662
|
+
Completed in 1ms
|
1663
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-24 10:32:21 +0000
|
1664
|
+
Started GET "/auth/gds/callback?code=257e5dce5a1f064a6847673d163a84978c3f9ece2a5c10b9074d01ffc04cf745&state=8cbf6e077f743453fee85844d602c01a8da708d36774d882" for 127.0.0.1 at 2015-04-24 10:32:22 +0000
|
1699
1665
|
Processing by AuthenticationsController#callback as HTML
|
1700
|
-
Parameters: {"code"=>"
|
1666
|
+
Parameters: {"code"=>"257e5dce5a1f064a6847673d163a84978c3f9ece2a5c10b9074d01ffc04cf745", "state"=>"8cbf6e077f743453fee85844d602c01a8da708d36774d882"}
|
1701
1667
|
Authenticating with gds_sso strategy
|
1702
|
-
[1m[36mUser Load (0.
|
1668
|
+
[1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
1703
1669
|
[1m[35m (0.1ms)[0m begin transaction
|
1704
|
-
[1m[36mSQL (0.
|
1705
|
-
[1m[35m (
|
1706
|
-
[1m[36m (0.
|
1707
|
-
[1m[35mSQL (0.
|
1708
|
-
[1m[36m (
|
1670
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1[0m [["permissions", "---\n- signin\n"]]
|
1671
|
+
[1m[35m (17.0ms)[0m commit transaction
|
1672
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
1673
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
|
1674
|
+
[1m[36m (16.1ms)[0m [1mcommit transaction[0m
|
1709
1675
|
Redirected to http://www.example-client.com/restricted
|
1710
|
-
Completed 302 Found in
|
1711
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
1676
|
+
Completed 302 Found in 42ms (ActiveRecord: 34.3ms)
|
1677
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-24 10:32:22 +0000
|
1712
1678
|
Processing by ExampleController#restricted as HTML
|
1713
|
-
[1m[35mUser Load (0.
|
1714
|
-
Completed 200 OK in 2ms (Views: 0.
|
1715
|
-
Started GET "/" for 127.0.0.1 at 2015-04-
|
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
|
1679
|
+
[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
|
1680
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
1681
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-25 06:37:22 +0000
|
1719
1682
|
Processing by ExampleController#restricted as HTML
|
1720
1683
|
Authenticating with gds_sso strategy
|
1721
1684
|
Completed in 1ms
|
1722
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-
|
1723
|
-
Started GET "/auth/gds/callback?code=
|
1685
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-25 06:37:22 +0000
|
1686
|
+
Started GET "/auth/gds/callback?code=a77f21b60bfea0b21ce5b011ccf8cd720c3a3f4ed6be319da3b22d27e3d08fc5&state=3d4e7abea92d19458a9e2333a219323db9e213333c3c4f25" for 127.0.0.1 at 2015-04-25 06:37:22 +0000
|
1724
1687
|
Processing by AuthenticationsController#callback as HTML
|
1725
|
-
Parameters: {"code"=>"
|
1688
|
+
Parameters: {"code"=>"a77f21b60bfea0b21ce5b011ccf8cd720c3a3f4ed6be319da3b22d27e3d08fc5", "state"=>"3d4e7abea92d19458a9e2333a219323db9e213333c3c4f25"}
|
1726
1689
|
Authenticating with gds_sso strategy
|
1727
1690
|
[1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
1728
|
-
[1m[35m (0.
|
1729
|
-
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" =
|
1730
|
-
[1m[35m (
|
1691
|
+
[1m[35m (0.2ms)[0m begin transaction
|
1692
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1[0m [["permissions", "---\n- signin\n"]]
|
1693
|
+
[1m[35m (10.5ms)[0m commit transaction
|
1731
1694
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1732
|
-
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" =
|
1733
|
-
[1m[36m (
|
1695
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
|
1696
|
+
[1m[36m (10.0ms)[0m [1mcommit transaction[0m
|
1734
1697
|
Redirected to http://www.example-client.com/restricted
|
1735
|
-
Completed 302 Found in
|
1736
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
1698
|
+
Completed 302 Found in 29ms (ActiveRecord: 21.9ms)
|
1699
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-25 06:37:22 +0000
|
1737
1700
|
Processing by ExampleController#restricted as HTML
|
1738
1701
|
[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
|
1739
1702
|
Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.4ms)
|
1740
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-24
|
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
|
1703
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-24 10:32:22 +0000
|
1745
1704
|
Processing by ExampleController#restricted as HTML
|
1746
1705
|
Authenticating with gds_sso strategy
|
1747
1706
|
Completed in 1ms
|
1748
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-
|
1749
|
-
Started GET "/auth/gds/callback?code=
|
1707
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-24 10:32:22 +0000
|
1708
|
+
Started GET "/auth/gds/callback?code=c9ce0c16b42daa49f996bf0bdba40f0cc0773cb4522ad155d5d900e67a59dc41&state=8e6080934aef5298d327617cddf2b746dc4713611cf89923" for 127.0.0.1 at 2015-04-24 10:32:23 +0000
|
1750
1709
|
Processing by AuthenticationsController#callback as HTML
|
1751
|
-
Parameters: {"code"=>"
|
1710
|
+
Parameters: {"code"=>"c9ce0c16b42daa49f996bf0bdba40f0cc0773cb4522ad155d5d900e67a59dc41", "state"=>"8e6080934aef5298d327617cddf2b746dc4713611cf89923"}
|
1752
1711
|
Authenticating with gds_sso strategy
|
1712
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
1713
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1714
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1[0m [["permissions", "---\n- signin\n"]]
|
1715
|
+
[1m[35m (23.3ms)[0m commit transaction
|
1716
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1717
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
|
1718
|
+
[1m[36m (18.8ms)[0m [1mcommit transaction[0m
|
1719
|
+
Redirected to http://www.example-client.com/restricted
|
1720
|
+
Completed 302 Found in 49ms (ActiveRecord: 43.0ms)
|
1721
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-24 10:32:23 +0000
|
1722
|
+
Processing by ExampleController#restricted as HTML
|
1723
|
+
[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
|
1724
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.3ms)
|
1725
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-25 06:27:23 +0000
|
1726
|
+
Processing by ExampleController#restricted as HTML
|
1727
|
+
[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
|
1728
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.3ms)
|
1729
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-24 10:32:23 +0000
|
1730
|
+
Processing by ExampleController#restricted as JSON
|
1753
1731
|
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
1754
1732
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1755
|
-
[1m[35mSQL (0.
|
1756
|
-
[1m[36m (
|
1733
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "disabled" = ?, "permissions" = ? WHERE "users"."id" = 1 [["disabled", nil], ["permissions", "---\n- signin\n"]]
|
1734
|
+
[1m[36m (14.7ms)[0m [1mcommit transaction[0m
|
1735
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
1736
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1737
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
|
1738
|
+
[1m[36m (9.6ms)[0m [1mcommit transaction[0m
|
1739
|
+
[1m[35mUser Load (0.4ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
1740
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1741
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
|
1742
|
+
[1m[36m (13.9ms)[0m [1mcommit transaction[0m
|
1743
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
1744
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1745
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
|
1746
|
+
[1m[36m (15.6ms)[0m [1mcommit transaction[0m
|
1747
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1748
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1[0m [["permissions", "---\n- signin\n"]]
|
1749
|
+
[1m[35m (14.4ms)[0m commit transaction
|
1750
|
+
Completed 200 OK in 331ms (Views: 0.4ms | ActiveRecord: 71.0ms)
|
1751
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-24 10:32:24 +0000
|
1752
|
+
Processing by ExampleController#restricted as JSON
|
1753
|
+
Completed in 21ms
|
1754
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-24 10:32:24 +0000
|
1755
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
1756
|
+
[1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
1757
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1758
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1[0m [["permissions", "---\n- signin\n"]]
|
1759
|
+
[1m[35m (44.8ms)[0m commit transaction
|
1760
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
1761
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1762
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1[0m [["permissions", "---\n- signin\n"]]
|
1763
|
+
[1m[35m (17.7ms)[0m commit transaction
|
1764
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
1765
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1766
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1[0m [["permissions", "---\n- signin\n"]]
|
1767
|
+
[1m[35m (19.1ms)[0m commit transaction
|
1768
|
+
[1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
1769
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1770
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1[0m [["permissions", "---\n- signin\n"]]
|
1771
|
+
[1m[35m (11.9ms)[0m commit transaction
|
1772
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1773
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
|
1774
|
+
[1m[36m (10.1ms)[0m [1mcommit transaction[0m
|
1775
|
+
Completed 200 OK in 392ms (Views: 0.6ms | ActiveRecord: 106.6ms)
|
1776
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-24 10:32:25 +0000
|
1777
|
+
Processing by ExampleController#restricted as JSON
|
1778
|
+
Completed in 28ms
|
1779
|
+
[1m[35m (0.2ms)[0m begin transaction
|
1780
|
+
[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", "a1s2d33194"]]
|
1781
|
+
[1m[35m (28.1ms)[0m commit transaction
|
1782
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1783
|
+
[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", "a1s2d34804"]]
|
1784
|
+
[1m[36m (10.9ms)[0m [1mcommit transaction[0m
|
1785
|
+
Processing by Api::UserController#update as HTML
|
1786
|
+
Parameters: {"uid"=>"a1s2d33194"}
|
1787
|
+
Completed 403 Forbidden in 7ms (Views: 6.1ms | ActiveRecord: 0.0ms)
|
1788
|
+
[1m[35m (0.2ms)[0m begin transaction
|
1789
|
+
[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", "a1s2d31831"]]
|
1790
|
+
[1m[35m (13.8ms)[0m commit transaction
|
1791
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1792
|
+
[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", "a1s2d31147"]]
|
1793
|
+
[1m[36m (10.8ms)[0m [1mcommit transaction[0m
|
1794
|
+
Processing by Api::UserController#update as HTML
|
1795
|
+
Parameters: {"uid"=>"a1s2d31831"}
|
1796
|
+
[1m[35mUser Load (47.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d31831' ORDER BY "users"."id" ASC LIMIT 1
|
1797
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
1798
|
+
[1m[35mSQL (0.5ms)[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"]]
|
1799
|
+
[1m[36m (11.3ms)[0m [1mcommit transaction[0m
|
1800
|
+
Completed 200 OK in 66ms (ActiveRecord: 59.0ms)
|
1801
|
+
[1m[35mUser Load (0.5ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]]
|
1802
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
1803
|
+
[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", "a1s2d39775"]]
|
1804
|
+
[1m[36m (12.4ms)[0m [1mcommit transaction[0m
|
1805
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1806
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?)[0m [["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"], ["uid", "a1s2d35213"]]
|
1807
|
+
[1m[35m (11.9ms)[0m commit transaction
|
1808
|
+
Processing by Api::UserController#reauth as HTML
|
1809
|
+
Parameters: {"uid"=>"nonexistent-user"}
|
1810
|
+
[1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'nonexistent-user' ORDER BY "users"."id" ASC LIMIT 1[0m
|
1811
|
+
Completed 200 OK in 2ms (ActiveRecord: 0.4ms)
|
1812
|
+
[1m[35m (0.2ms)[0m begin transaction
|
1813
|
+
[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", "a1s2d31449"]]
|
1814
|
+
[1m[35m (15.8ms)[0m commit transaction
|
1815
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1816
|
+
[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", "a1s2d3132"]]
|
1817
|
+
[1m[36m (9.1ms)[0m [1mcommit transaction[0m
|
1818
|
+
Processing by Api::UserController#reauth as HTML
|
1819
|
+
Parameters: {"uid"=>"a1s2d31449"}
|
1820
|
+
Completed 403 Forbidden in 2ms (Views: 1.8ms | ActiveRecord: 0.0ms)
|
1821
|
+
[1m[35m (0.2ms)[0m begin transaction
|
1822
|
+
[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", "a1s2d36500"]]
|
1823
|
+
[1m[35m (64.5ms)[0m commit transaction
|
1824
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1825
|
+
[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", "a1s2d32893"]]
|
1826
|
+
[1m[36m (8.1ms)[0m [1mcommit transaction[0m
|
1827
|
+
Processing by Api::UserController#reauth as HTML
|
1828
|
+
Parameters: {"uid"=>"a1s2d36500"}
|
1829
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d36500' 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 "remotely_signed_out" = ?, "permissions" = ? WHERE "users"."id" = 10 [["remotely_signed_out", true], ["permissions", "---\n- signin\n"]]
|
1832
|
+
[1m[36m (14.4ms)[0m [1mcommit transaction[0m
|
1833
|
+
Completed 200 OK in 17ms (ActiveRecord: 14.9ms)
|
1834
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 10]]
|
1835
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1836
|
+
[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", "a1s2d34010"]]
|
1837
|
+
[1m[36m (14.0ms)[0m [1mcommit transaction[0m
|
1838
|
+
[1m[35m (0.2ms)[0m begin transaction
|
1839
|
+
[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", "a1s2d35866"]]
|
1840
|
+
[1m[35m (13.3ms)[0m commit transaction
|
1841
|
+
Processing by Api::UserController#update as HTML
|
1842
|
+
Parameters: {"uid"=>"a1s2d34010"}
|
1843
|
+
Rendered /home/jenkins/workspace/govuk_gds_sso/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.5ms)
|
1844
|
+
Completed 403 Forbidden in 16ms (Views: 15.3ms | ActiveRecord: 0.0ms)
|
1845
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
1846
|
+
[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", "a1s2d31477"]]
|
1847
|
+
[1m[36m (18.4ms)[0m [1mcommit transaction[0m
|
1848
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1849
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?)[0m [["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"], ["uid", "a1s2d38860"]]
|
1850
|
+
[1m[35m (15.4ms)[0m commit transaction
|
1851
|
+
Processing by Api::UserController#update as HTML
|
1852
|
+
Parameters: {"uid"=>"a1s2d31477"}
|
1853
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d31477' ORDER BY "users"."id" ASC LIMIT 1[0m
|
1854
|
+
[1m[35m (0.2ms)[0m begin transaction
|
1855
|
+
[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"]]
|
1856
|
+
[1m[35m (101.2ms)[0m commit transaction
|
1857
|
+
Completed 200 OK in 120ms (ActiveRecord: 102.1ms)
|
1858
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 3]]
|
1859
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1860
|
+
[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", "a1s2d37844"]]
|
1861
|
+
[1m[35m (13.3ms)[0m commit transaction
|
1862
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1863
|
+
[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", "a1s2d37367"]]
|
1864
|
+
[1m[36m (12.3ms)[0m [1mcommit transaction[0m
|
1865
|
+
Processing by Api::UserController#reauth as HTML
|
1866
|
+
Parameters: {"uid"=>"a1s2d37844"}
|
1867
|
+
Completed 403 Forbidden in 17ms (Views: 1.8ms | ActiveRecord: 0.0ms)
|
1868
|
+
[1m[35m (0.2ms)[0m begin transaction
|
1869
|
+
[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", "a1s2d38457"]]
|
1870
|
+
[1m[35m (17.1ms)[0m commit transaction
|
1871
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1872
|
+
[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", "a1s2d31275"]]
|
1873
|
+
[1m[36m (9.0ms)[0m [1mcommit transaction[0m
|
1874
|
+
Processing by Api::UserController#reauth as HTML
|
1875
|
+
Parameters: {"uid"=>"nonexistent-user"}
|
1876
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'nonexistent-user' ORDER BY "users"."id" ASC LIMIT 1
|
1877
|
+
Completed 200 OK in 1ms (ActiveRecord: 0.2ms)
|
1878
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1879
|
+
[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", "a1s2d32207"]]
|
1880
|
+
[1m[36m (8.7ms)[0m [1mcommit transaction[0m
|
1757
1881
|
[1m[35m (0.1ms)[0m begin transaction
|
1758
|
-
[1m[36mSQL (0.2ms)[0m [
|
1759
|
-
[1m[35m (
|
1760
|
-
|
1761
|
-
|
1762
|
-
|
1763
|
-
|
1764
|
-
[1m[
|
1765
|
-
|
1766
|
-
|
1767
|
-
|
1882
|
+
[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", "a1s2d36106"]]
|
1883
|
+
[1m[35m (9.8ms)[0m commit transaction
|
1884
|
+
Processing by Api::UserController#reauth as HTML
|
1885
|
+
Parameters: {"uid"=>"a1s2d32207"}
|
1886
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d32207' ORDER BY "users"."id" ASC LIMIT 1[0m
|
1887
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1888
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ?, "remotely_signed_out" = ? WHERE "users"."id" = 9[0m [["permissions", "---\n- signin\n"], ["remotely_signed_out", "t"]]
|
1889
|
+
[1m[35m (9.9ms)[0m commit transaction
|
1890
|
+
Completed 200 OK in 13ms (ActiveRecord: 10.4ms)
|
1891
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 9]]
|
1892
|
+
Started GET "/" for 127.0.0.1 at 2015-04-24 10:32:50 +0000
|
1893
|
+
Processing by ExampleController#index as HTML
|
1894
|
+
Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms)
|
1895
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-24 10:32:51 +0000
|
1896
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
1768
1897
|
Authenticating with gds_sso strategy
|
1769
|
-
Completed in
|
1770
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-24
|
1771
|
-
Started GET "/auth/gds/callback?code=
|
1898
|
+
Completed in 37ms
|
1899
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-24 10:32:51 +0000
|
1900
|
+
Started GET "/auth/gds/callback?code=c548790aa145094d883935700c7a9615173dfdc805096733cbe599a837a4eaec&state=4760992e6aee543654ce24a6ddf7f297895a1baf8bcdccba" for 127.0.0.1 at 2015-04-24 10:32:52 +0000
|
1772
1901
|
Processing by AuthenticationsController#callback as HTML
|
1773
|
-
Parameters: {"code"=>"
|
1902
|
+
Parameters: {"code"=>"c548790aa145094d883935700c7a9615173dfdc805096733cbe599a837a4eaec", "state"=>"4760992e6aee543654ce24a6ddf7f297895a1baf8bcdccba"}
|
1774
1903
|
Authenticating with gds_sso strategy
|
1775
|
-
[1m[35mUser Load (0.
|
1776
|
-
[1m[
|
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
|
1904
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
1905
|
+
[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
|
1779
1906
|
[1m[35m (0.1ms)[0m begin transaction
|
1780
|
-
[1m[36mSQL (0.
|
1781
|
-
[1m[35m (
|
1782
|
-
|
1783
|
-
|
1784
|
-
|
1785
|
-
|
1786
|
-
|
1787
|
-
|
1788
|
-
|
1789
|
-
|
1907
|
+
[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"]]
|
1908
|
+
[1m[35m (13.2ms)[0m commit transaction
|
1909
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1910
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "permissions" = ?, "remotely_signed_out" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"], ["remotely_signed_out", "f"]]
|
1911
|
+
[1m[36m (12.1ms)[0m [1mcommit transaction[0m
|
1912
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
1913
|
+
Completed 302 Found in 32ms (ActiveRecord: 26.4ms)
|
1914
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-24 10:32:52 +0000
|
1915
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
1916
|
+
[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
|
1917
|
+
Completed 200 OK in 4ms (Views: 0.5ms | ActiveRecord: 0.3ms)
|
1918
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-24 10:32:52 +0000
|
1919
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
1790
1920
|
Authenticating with gds_sso strategy
|
1791
1921
|
Completed in 0ms
|
1792
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-
|
1793
|
-
Started GET "/auth/gds/callback?code=
|
1922
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-24 10:32:52 +0000
|
1923
|
+
Started GET "/auth/gds/callback?code=cc59568f14abc5e1d9a705e3814925cb7a0bbb5d592cc962a7b681607dff4b63&state=4e602d7dbc43bf08743619d38dcd1bd62f46258bda721184" for 127.0.0.1 at 2015-04-24 10:32:52 +0000
|
1794
1924
|
Processing by AuthenticationsController#callback as HTML
|
1795
|
-
Parameters: {"code"=>"
|
1925
|
+
Parameters: {"code"=>"cc59568f14abc5e1d9a705e3814925cb7a0bbb5d592cc962a7b681607dff4b63", "state"=>"4e602d7dbc43bf08743619d38dcd1bd62f46258bda721184"}
|
1796
1926
|
Authenticating with gds_sso strategy
|
1797
|
-
[1m[
|
1798
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1799
|
-
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
1800
|
-
[1m[36m (18.3ms)[0m [1mcommit transaction[0m
|
1927
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
1801
1928
|
[1m[35m (0.1ms)[0m begin transaction
|
1802
1929
|
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
1803
|
-
[1m[35m (
|
1804
|
-
Redirected to http://www.example-client.com/restricted
|
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
|
1807
|
-
Processing by ExampleController#restricted as HTML
|
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
|
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
|
1930
|
+
[1m[35m (13.7ms)[0m commit transaction
|
1811
1931
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1812
|
-
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "
|
1813
|
-
[1m[36m (
|
1814
|
-
|
1932
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
1933
|
+
[1m[36m (12.3ms)[0m [1mcommit transaction[0m
|
1934
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
1935
|
+
Completed 302 Found in 31ms (ActiveRecord: 26.8ms)
|
1936
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-24 10:32:52 +0000
|
1937
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
1938
|
+
[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
|
1939
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.3ms)
|
1940
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-24 10:32:53 +0000
|
1815
1941
|
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
|
1817
1942
|
Authenticating with gds_sso strategy
|
1818
|
-
Completed in
|
1819
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-
|
1820
|
-
Started GET "/auth/gds/callback?code=
|
1943
|
+
Completed in 1ms
|
1944
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-24 10:32:53 +0000
|
1945
|
+
Started GET "/auth/gds/callback?code=4d5ee8b16fe918e80693d07e859211aabcc11956d62c791781ce317f62979776&state=e508f61aca7804028f6ad0749d1970419a542bdf8ee306f4" for 127.0.0.1 at 2015-04-24 10:32:53 +0000
|
1821
1946
|
Processing by AuthenticationsController#callback as HTML
|
1822
|
-
Parameters: {"code"=>"
|
1947
|
+
Parameters: {"code"=>"4d5ee8b16fe918e80693d07e859211aabcc11956d62c791781ce317f62979776", "state"=>"e508f61aca7804028f6ad0749d1970419a542bdf8ee306f4"}
|
1823
1948
|
Authenticating with gds_sso strategy
|
1824
|
-
[1m[36mUser Load (0.3ms)[0m [1mSELECT
|
1949
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
1825
1950
|
[1m[35m (0.1ms)[0m begin transaction
|
1826
1951
|
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
1827
|
-
[1m[35m (
|
1952
|
+
[1m[35m (9.9ms)[0m commit transaction
|
1828
1953
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1829
|
-
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "
|
1830
|
-
[1m[36m (
|
1954
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
1955
|
+
[1m[36m (16.3ms)[0m [1mcommit transaction[0m
|
1831
1956
|
Redirected to http://www.example-client.com/restricted
|
1832
|
-
Completed 302 Found in
|
1833
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
1957
|
+
Completed 302 Found in 33ms (ActiveRecord: 27.0ms)
|
1958
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-24 10:32:53 +0000
|
1834
1959
|
Processing by ExampleController#restricted as HTML
|
1835
|
-
[1m[35mUser Load (0.
|
1836
|
-
Completed 200 OK in 2ms (Views: 0.
|
1837
|
-
Started GET "/" for 127.0.0.1 at 2015-04-
|
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
|
1960
|
+
[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
|
1961
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
1962
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-24 10:32:53 +0000
|
1842
1963
|
Processing by ExampleController#restricted as HTML
|
1843
1964
|
Authenticating with gds_sso strategy
|
1844
|
-
Completed in
|
1845
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-
|
1846
|
-
Started GET "/auth/gds/callback?code=
|
1965
|
+
Completed in 0ms
|
1966
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-24 10:32:53 +0000
|
1967
|
+
Started GET "/auth/gds/callback?code=d606918c3f84f72cb0e9b9775013a62e1f9fbfefd3ddf9e9423266ce6ad4674f&state=6d054cddac9cb33bd3c5b3f6175ba2e3de6cf1c39bacf013" for 127.0.0.1 at 2015-04-24 10:32:54 +0000
|
1847
1968
|
Processing by AuthenticationsController#callback as HTML
|
1848
|
-
Parameters: {"code"=>"
|
1969
|
+
Parameters: {"code"=>"d606918c3f84f72cb0e9b9775013a62e1f9fbfefd3ddf9e9423266ce6ad4674f", "state"=>"6d054cddac9cb33bd3c5b3f6175ba2e3de6cf1c39bacf013"}
|
1849
1970
|
Authenticating with gds_sso strategy
|
1850
|
-
[1m[36mUser Load (0.
|
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
|
1852
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
1971
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
1855
1972
|
[1m[35m (0.1ms)[0m begin transaction
|
1856
|
-
[1m[36mSQL (0.
|
1857
|
-
[1m[35m (
|
1973
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
1974
|
+
[1m[35m (12.7ms)[0m commit transaction
|
1975
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1976
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
1977
|
+
[1m[36m (10.7ms)[0m [1mcommit transaction[0m
|
1858
1978
|
Redirected to http://www.example-client.com/restricted
|
1859
|
-
Completed 302 Found in
|
1860
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
1979
|
+
Completed 302 Found in 28ms (ActiveRecord: 24.1ms)
|
1980
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-24 10:32:54 +0000
|
1861
1981
|
Processing by ExampleController#restricted as HTML
|
1862
|
-
[1m[
|
1863
|
-
Completed 200 OK in
|
1864
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
1982
|
+
[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
|
1983
|
+
Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.2ms)
|
1984
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-24 10:32:54 +0000
|
1865
1985
|
Processing by ExampleController#restricted as HTML
|
1866
1986
|
Authenticating with gds_sso strategy
|
1867
1987
|
Completed in 1ms
|
1868
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-
|
1869
|
-
Started GET "/auth/gds/callback?code=
|
1988
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-24 10:32:54 +0000
|
1989
|
+
Started GET "/auth/gds/callback?code=65111b79c26994b43203cc101aa98566a61d5bf39f2496794c0e2d9e237c3504&state=be13f78012931980d1ac800436e1f39d1dbb97309d6221b4" for 127.0.0.1 at 2015-04-24 10:32:54 +0000
|
1870
1990
|
Processing by AuthenticationsController#callback as HTML
|
1871
|
-
Parameters: {"code"=>"
|
1991
|
+
Parameters: {"code"=>"65111b79c26994b43203cc101aa98566a61d5bf39f2496794c0e2d9e237c3504", "state"=>"be13f78012931980d1ac800436e1f39d1dbb97309d6221b4"}
|
1872
1992
|
Authenticating with gds_sso strategy
|
1873
|
-
[1m[
|
1993
|
+
[1m[36mUser Load (0.5ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
1994
|
+
[1m[35m (0.2ms)[0m begin transaction
|
1995
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
1996
|
+
[1m[35m (18.1ms)[0m commit transaction
|
1874
1997
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1875
|
-
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" =
|
1876
|
-
[1m[36m (
|
1877
|
-
[1m[35m (0.1ms)[0m begin transaction
|
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
|
1998
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
1999
|
+
[1m[36m (14.8ms)[0m [1mcommit transaction[0m
|
1880
2000
|
Redirected to http://www.example-client.com/restricted
|
1881
|
-
Completed 302 Found in
|
1882
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
2001
|
+
Completed 302 Found in 43ms (ActiveRecord: 34.3ms)
|
2002
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-24 10:32:55 +0000
|
1883
2003
|
Processing by ExampleController#restricted as HTML
|
1884
|
-
[1m[
|
1885
|
-
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.
|
1886
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
2004
|
+
[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
|
2005
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.3ms)
|
2006
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-24 10:32:55 +0000
|
1887
2007
|
Processing by ExampleController#restricted as HTML
|
1888
2008
|
Authenticating with gds_sso strategy
|
1889
|
-
Completed in
|
1890
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-
|
1891
|
-
Started GET "/auth/gds/callback?code=
|
2009
|
+
Completed in 1ms
|
2010
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-24 10:32:55 +0000
|
2011
|
+
Started GET "/auth/gds/callback?code=becdf2c50ab34e6c92a534d8abca6bd76f835687228754b087047be17d26cabf&state=48b490a356eb850039bdc3ec6652d552cd94100a40ea1fea" for 127.0.0.1 at 2015-04-24 10:32:55 +0000
|
1892
2012
|
Processing by AuthenticationsController#callback as HTML
|
1893
|
-
Parameters: {"code"=>"
|
2013
|
+
Parameters: {"code"=>"becdf2c50ab34e6c92a534d8abca6bd76f835687228754b087047be17d26cabf", "state"=>"48b490a356eb850039bdc3ec6652d552cd94100a40ea1fea"}
|
1894
2014
|
Authenticating with gds_sso strategy
|
1895
|
-
[1m[
|
1896
|
-
[1m[36m (0.1ms)[0m [1mbegin 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
|
2015
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
1899
2016
|
[1m[35m (0.1ms)[0m begin transaction
|
1900
|
-
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" =
|
1901
|
-
[1m[35m (
|
2017
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
2018
|
+
[1m[35m (15.3ms)[0m commit transaction
|
2019
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2020
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
2021
|
+
[1m[36m (25.1ms)[0m [1mcommit transaction[0m
|
1902
2022
|
Redirected to http://www.example-client.com/restricted
|
1903
|
-
Completed 302 Found in
|
1904
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
2023
|
+
Completed 302 Found in 47ms (ActiveRecord: 41.3ms)
|
2024
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-24 10:32:56 +0000
|
1905
2025
|
Processing by ExampleController#restricted as HTML
|
1906
|
-
[1m[
|
1907
|
-
Completed 200 OK in 2ms (Views: 0.
|
1908
|
-
|
1909
|
-
Processing by ExampleController#this_requires_signin_permission as HTML
|
1910
|
-
Authenticating with gds_sso strategy
|
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
|
1914
|
-
Processing by AuthenticationsController#callback as HTML
|
1915
|
-
Parameters: {"code"=>"6484293edcd053d49cd0a9e72c9e26f67e9db9a7451560fe76577c69d7e178dc", "state"=>"10a39ddac302e7d47d2fecee5317dd1c653499abe8677245"}
|
1916
|
-
Authenticating with gds_sso strategy
|
1917
|
-
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
1918
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
1924
|
-
Redirected to http://www.example-client.com/this_requires_signin_permission
|
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
|
1927
|
-
Processing by ExampleController#this_requires_signin_permission as HTML
|
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
|
1931
|
-
Processing by ExampleController#this_requires_signin_permission as HTML
|
1932
|
-
Authenticating with gds_sso strategy
|
1933
|
-
Completed in 0ms
|
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
|
1936
|
-
Processing by AuthenticationsController#callback as HTML
|
1937
|
-
Parameters: {"code"=>"7785a137b1a1a36efe03906e639aec82ceea9ccef241b83db171dd8e25023319", "state"=>"5b2664b6c06013d4486cde76fc2142e534340e0a922d0ac9"}
|
1938
|
-
Authenticating with gds_sso strategy
|
1939
|
-
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
1940
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
2026
|
+
[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
|
2027
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.3ms)
|
2028
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'test@example-client.com' ORDER BY "users"."id" ASC LIMIT 1[0m
|
1943
2029
|
[1m[35m (0.1ms)[0m begin transaction
|
1944
|
-
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" =
|
1945
|
-
[1m[35m (
|
1946
|
-
|
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
|
1949
|
-
Processing by ExampleController#this_requires_signin_permission as HTML
|
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
|
2030
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ?, "remotely_signed_out" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"], ["remotely_signed_out", "t"]]
|
2031
|
+
[1m[35m (37.0ms)[0m commit transaction
|
2032
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-24 10:32:56 +0000
|
1953
2033
|
Processing by ExampleController#restricted as HTML
|
2034
|
+
[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
|
1954
2035
|
Authenticating with gds_sso strategy
|
1955
|
-
Completed in
|
1956
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-
|
1957
|
-
Started GET "/auth/gds/callback?code=
|
2036
|
+
Completed in 3ms
|
2037
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-24 10:32:56 +0000
|
2038
|
+
Started GET "/auth/gds/callback?code=4ac1024d58e4827bff455207b224041baf62bfc2c5112d236ee4641d35aebccc&state=823078599bb3bb56161757411ae4e2b928244f7839008759" for 127.0.0.1 at 2015-04-24 10:32:56 +0000
|
1958
2039
|
Processing by AuthenticationsController#callback as HTML
|
1959
|
-
Parameters: {"code"=>"
|
2040
|
+
Parameters: {"code"=>"4ac1024d58e4827bff455207b224041baf62bfc2c5112d236ee4641d35aebccc", "state"=>"823078599bb3bb56161757411ae4e2b928244f7839008759"}
|
1960
2041
|
Authenticating with gds_sso strategy
|
1961
|
-
[1m[35mUser Load (0.
|
2042
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
1962
2043
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1963
|
-
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" =
|
1964
|
-
[1m[36m (
|
2044
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
2045
|
+
[1m[36m (10.2ms)[0m [1mcommit transaction[0m
|
1965
2046
|
[1m[35m (0.1ms)[0m begin transaction
|
1966
|
-
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" =
|
1967
|
-
[1m[35m (
|
2047
|
+
[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"]]
|
2048
|
+
[1m[35m (10.7ms)[0m commit transaction
|
1968
2049
|
Redirected to http://www.example-client.com/restricted
|
1969
|
-
Completed 302 Found in
|
1970
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
2050
|
+
Completed 302 Found in 27ms (ActiveRecord: 21.7ms)
|
2051
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-24 10:32:56 +0000
|
1971
2052
|
Processing by ExampleController#restricted as HTML
|
1972
2053
|
[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.
|
1974
|
-
|
1975
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
2054
|
+
Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.3ms)
|
2055
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-24 10:32:56 +0000
|
1979
2056
|
Processing by ExampleController#restricted as HTML
|
1980
|
-
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1
|
1981
2057
|
Authenticating with gds_sso strategy
|
1982
|
-
Completed in
|
1983
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-
|
1984
|
-
Started GET "/auth/gds/callback?code=
|
2058
|
+
Completed in 1ms
|
2059
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-24 10:32:56 +0000
|
2060
|
+
Started GET "/auth/gds/callback?code=ead54df93db12968e37ff3eda9a50d627dc2f951f04d2a88f058d6803632f7b6&state=a9c39723526ae7248acf224c360f61f22cfda7bda118b2e4" for 127.0.0.1 at 2015-04-24 10:32:57 +0000
|
1985
2061
|
Processing by AuthenticationsController#callback as HTML
|
1986
|
-
Parameters: {"code"=>"
|
2062
|
+
Parameters: {"code"=>"ead54df93db12968e37ff3eda9a50d627dc2f951f04d2a88f058d6803632f7b6", "state"=>"a9c39723526ae7248acf224c360f61f22cfda7bda118b2e4"}
|
1987
2063
|
Authenticating with gds_sso strategy
|
1988
|
-
[1m[
|
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
|
2064
|
+
[1m[35mUser Load (0.4ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
1992
2065
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1993
|
-
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" =
|
2066
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
1994
2067
|
[1m[36m (12.3ms)[0m [1mcommit transaction[0m
|
1995
|
-
Redirected to http://www.example-client.com/restricted
|
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
|
1998
|
-
Processing by ExampleController#restricted as HTML
|
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
|
2002
|
-
Processing by ExampleController#restricted as HTML
|
2003
|
-
Authenticating with gds_sso strategy
|
2004
|
-
Completed in 1ms
|
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
|
2007
|
-
Processing by AuthenticationsController#callback as HTML
|
2008
|
-
Parameters: {"code"=>"d09c67f6a2d301431b49a8eeb1967467e0709939074c96dec3bff747c478e9c4", "state"=>"71f5adcb63e0b798e564d6d1c1a97b0aef13eb541c1240d2"}
|
2009
|
-
Authenticating with gds_sso strategy
|
2010
|
-
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
2011
2068
|
[1m[35m (0.1ms)[0m begin transaction
|
2012
|
-
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" =
|
2013
|
-
[1m[35m (
|
2014
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
2069
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
2070
|
+
[1m[35m (12.9ms)[0m commit transaction
|
2017
2071
|
Redirected to http://www.example-client.com/restricted
|
2018
|
-
Completed 302 Found in
|
2019
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
2072
|
+
Completed 302 Found in 32ms (ActiveRecord: 26.1ms)
|
2073
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-24 10:32:57 +0000
|
2020
2074
|
Processing by ExampleController#restricted as HTML
|
2021
|
-
[1m[
|
2022
|
-
Completed 200 OK in 2ms (Views: 0.
|
2023
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
2075
|
+
[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
|
2076
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.3ms)
|
2077
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-25 06:37:57 +0000
|
2024
2078
|
Processing by ExampleController#restricted as HTML
|
2025
2079
|
Authenticating with gds_sso strategy
|
2026
2080
|
Completed in 1ms
|
2027
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-
|
2028
|
-
Started GET "/auth/gds/callback?code=
|
2081
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-25 06:37:57 +0000
|
2082
|
+
Started GET "/auth/gds/callback?code=d3ff3f33b93e895b4f76dcaf23bf3f792c6c4cf90590f694173d7be195b5c3a1&state=4b0980ca9f998f363a9dd29e7aff3263d94bc9e72559d0c1" for 127.0.0.1 at 2015-04-25 06:37:57 +0000
|
2029
2083
|
Processing by AuthenticationsController#callback as HTML
|
2030
|
-
Parameters: {"code"=>"
|
2084
|
+
Parameters: {"code"=>"d3ff3f33b93e895b4f76dcaf23bf3f792c6c4cf90590f694173d7be195b5c3a1", "state"=>"4b0980ca9f998f363a9dd29e7aff3263d94bc9e72559d0c1"}
|
2031
2085
|
Authenticating with gds_sso strategy
|
2032
|
-
[1m[
|
2033
|
-
[1m[35m (0.1ms)[0m begin transaction
|
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
|
2086
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
2036
2087
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2037
|
-
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" =
|
2038
|
-
[1m[36m (
|
2088
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
2089
|
+
[1m[36m (10.2ms)[0m [1mcommit transaction[0m
|
2090
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2091
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
2092
|
+
[1m[35m (10.0ms)[0m commit transaction
|
2039
2093
|
Redirected to http://www.example-client.com/restricted
|
2040
|
-
Completed 302 Found in
|
2041
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
2094
|
+
Completed 302 Found in 28ms (ActiveRecord: 21.2ms)
|
2095
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-25 06:37:57 +0000
|
2042
2096
|
Processing by ExampleController#restricted as HTML
|
2043
|
-
[1m[
|
2044
|
-
Completed 200 OK in 2ms (Views: 0.
|
2045
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
2097
|
+
[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
|
2098
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.3ms)
|
2099
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-24 10:32:57 +0000
|
2046
2100
|
Processing by ExampleController#restricted as HTML
|
2047
2101
|
Authenticating with gds_sso strategy
|
2048
2102
|
Completed in 1ms
|
2049
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-
|
2050
|
-
Started GET "/auth/gds/callback?code=
|
2103
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2015-04-24 10:32:57 +0000
|
2104
|
+
Started GET "/auth/gds/callback?code=cbefabf203aa38b17bba2f3836d930cb58d13046a785a9ca2efc590551409f4e&state=b67490759560e88883eb6d0afe254f28c7e3285f0c10785c" for 127.0.0.1 at 2015-04-24 10:32:58 +0000
|
2051
2105
|
Processing by AuthenticationsController#callback as HTML
|
2052
|
-
Parameters: {"code"=>"
|
2106
|
+
Parameters: {"code"=>"cbefabf203aa38b17bba2f3836d930cb58d13046a785a9ca2efc590551409f4e", "state"=>"b67490759560e88883eb6d0afe254f28c7e3285f0c10785c"}
|
2053
2107
|
Authenticating with gds_sso strategy
|
2054
|
-
[1m[
|
2055
|
-
[1m[35m (0.1ms)[0m begin transaction
|
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
|
2108
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
2058
2109
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2059
|
-
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" =
|
2060
|
-
[1m[36m (
|
2110
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
2111
|
+
[1m[36m (27.1ms)[0m [1mcommit transaction[0m
|
2112
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2113
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
2114
|
+
[1m[35m (11.4ms)[0m commit transaction
|
2061
2115
|
Redirected to http://www.example-client.com/restricted
|
2062
|
-
Completed 302 Found in
|
2063
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
2116
|
+
Completed 302 Found in 45ms (ActiveRecord: 39.4ms)
|
2117
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-24 10:32:58 +0000
|
2064
2118
|
Processing by ExampleController#restricted as HTML
|
2065
|
-
[1m[
|
2119
|
+
[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
|
2066
2120
|
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.3ms)
|
2067
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
2121
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-25 06:27:58 +0000
|
2068
2122
|
Processing by ExampleController#restricted as HTML
|
2069
|
-
[1m[
|
2070
|
-
Completed 200 OK in
|
2071
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
2123
|
+
[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
|
2124
|
+
Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.3ms)
|
2125
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-24 10:32:58 +0000
|
2072
2126
|
Processing by ExampleController#restricted as JSON
|
2073
2127
|
Completed in 20ms
|
2074
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
2128
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-24 10:32:58 +0000
|
2075
2129
|
Processing by ExampleController#restricted as JSON
|
2076
|
-
|
2077
|
-
|
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
|
2080
|
-
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
2081
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
2092
|
-
[1m[35m (0.1ms)[0m begin transaction
|
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
|
2130
|
+
Completed in 22ms
|
2131
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2015-04-24 10:32:59 +0000
|
2097
2132
|
Processing by ExampleController#this_requires_signin_permission as JSON
|
2098
2133
|
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
2099
2134
|
[1m[35m (0.1ms)[0m begin transaction
|
2100
|
-
[1m[36mSQL (0.
|
2101
|
-
[1m[35m (
|
2135
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "disabled" = ?, "permissions" = ? WHERE "users"."id" = 11[0m [["disabled", nil], ["permissions", "---\n- signin\n"]]
|
2136
|
+
[1m[35m (17.2ms)[0m commit transaction
|
2102
2137
|
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
2103
2138
|
[1m[35m (0.1ms)[0m begin transaction
|
2104
|
-
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" =
|
2105
|
-
[1m[35m (
|
2106
|
-
[1m[36mUser Load (0.
|
2139
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
2140
|
+
[1m[35m (16.3ms)[0m commit transaction
|
2141
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
2107
2142
|
[1m[35m (0.1ms)[0m begin transaction
|
2108
|
-
[1m[36mSQL (0.
|
2109
|
-
[1m[35m (
|
2143
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
2144
|
+
[1m[35m (108.2ms)[0m commit transaction
|
2110
2145
|
[1m[36mUser Load (0.5ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
2111
2146
|
[1m[35m (0.1ms)[0m begin transaction
|
2112
|
-
[1m[36mSQL (0.
|
2113
|
-
[1m[35m (
|
2147
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
2148
|
+
[1m[35m (16.8ms)[0m commit transaction
|
2114
2149
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2115
|
-
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" =
|
2116
|
-
[1m[36m (
|
2117
|
-
Completed 200 OK in
|
2118
|
-
Started GET "/restricted" for 127.0.0.1 at 2015-04-
|
2150
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
2151
|
+
[1m[36m (13.0ms)[0m [1mcommit transaction[0m
|
2152
|
+
Completed 200 OK in 345ms (Views: 0.5ms | ActiveRecord: 174.4ms)
|
2153
|
+
Started GET "/restricted" for 127.0.0.1 at 2015-04-24 10:33:00 +0000
|
2119
2154
|
Processing by ExampleController#restricted as JSON
|
2120
|
-
|
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
|
2124
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
2133
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
2155
|
+
[1m[35mUser Load (0.5ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
2139
2156
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2140
|
-
[1m[35mSQL (
|
2141
|
-
[1m[36m (
|
2142
|
-
|
2143
|
-
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]]
|
2144
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
2147
|
-
[1m[35m (0.1ms)[0m begin transaction
|
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)
|
2157
|
+
[1m[35mSQL (61.7ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
2158
|
+
[1m[36m (23.6ms)[0m [1mcommit transaction[0m
|
2159
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
2153
2160
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2154
|
-
[1m[35mSQL (0.2ms)[0m
|
2155
|
-
[1m[36m (
|
2156
|
-
[1m[
|
2157
|
-
[1m[
|
2158
|
-
[1m[
|
2159
|
-
|
2160
|
-
|
2161
|
-
[1m[
|
2162
|
-
|
2161
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
2162
|
+
[1m[36m (72.4ms)[0m [1mcommit transaction[0m
|
2163
|
+
[1m[35mUser Load (0.5ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
2164
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
2165
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
2166
|
+
[1m[36m (14.5ms)[0m [1mcommit transaction[0m
|
2167
|
+
[1m[35mUser Load (0.5ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
2168
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
2169
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
2170
|
+
[1m[36m (72.1ms)[0m [1mcommit transaction[0m
|
2163
2171
|
[1m[35m (0.1ms)[0m begin transaction
|
2164
|
-
[1m[36mSQL (0.
|
2165
|
-
[1m[35m (
|
2166
|
-
|
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]]
|
2172
|
+
[1m[36mSQL (0.5ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
2173
|
+
[1m[35m (14.9ms)[0m commit transaction
|
2174
|
+
Completed 200 OK in 442ms (Views: 0.5ms | ActiveRecord: 263.0ms)
|