gds-sso 9.2.0 → 9.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/gds-sso/version.rb +1 -1
- data/lib/gds-sso/warden_config.rb +2 -1
- data/spec/internal/db/combustion_test.sqlite +0 -0
- data/spec/internal/log/test.log +194 -194
- metadata +4 -4
data/lib/gds-sso/version.rb
CHANGED
@@ -169,9 +169,10 @@ Warden::Strategies.add(:mock_gds_sso_api_access) do
|
|
169
169
|
|
170
170
|
def authenticate!
|
171
171
|
logger.debug("Authenticating with mock_gds_sso_api_access strategy")
|
172
|
-
dummy_api_user = GDS::SSO.test_user || GDS::SSO::Config.user_klass.
|
172
|
+
dummy_api_user = GDS::SSO.test_user || GDS::SSO::Config.user_klass.where(email: "dummyapiuser@domain.com").first
|
173
173
|
if dummy_api_user.nil?
|
174
174
|
dummy_api_user = GDS::SSO::Config.user_klass.create!(
|
175
|
+
email: "dummyapiuser@domain.com",
|
175
176
|
uid: "#{rand(10000)}",
|
176
177
|
name: "Dummy API user created by gds-sso",
|
177
178
|
permissions: ["signin"],
|
Binary file
|
data/spec/internal/log/test.log
CHANGED
@@ -1,375 +1,375 @@
|
|
1
1
|
Connecting to database specified by database.yml
|
2
|
-
[1m[36m (1.
|
3
|
-
[1m[35m (
|
4
|
-
[1m[36m (
|
5
|
-
[1m[35m (
|
2
|
+
[1m[36m (1.9ms)[0m [1mselect sqlite_version(*)[0m
|
3
|
+
[1m[35m (17.1ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "uid" varchar(255) NOT NULL, "email" varchar(255) NOT NULL, "remotely_signed_out" boolean, "permissions" text, "organisation_slug" varchar(255))
|
4
|
+
[1m[36m (12.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
5
|
+
[1m[35m (15.2ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
6
6
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7
|
-
[1m[35mSQL (
|
8
|
-
[1m[36m (
|
7
|
+
[1m[35mSQL (3.8ms)[0m INSERT INTO "users" ("email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["organisation_slug", nil], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d34286"]]
|
8
|
+
[1m[36m (13.0ms)[0m [1mcommit transaction[0m
|
9
9
|
[1m[35m (0.1ms)[0m begin transaction
|
10
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["organisation_slug", nil], ["permissions", "---\n- signin\n- user_update_permission\n"], ["remotely_signed_out", nil], ["uid", "
|
11
|
-
[1m[35m (
|
10
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["organisation_slug", nil], ["permissions", "---\n- signin\n- user_update_permission\n"], ["remotely_signed_out", nil], ["uid", "a1s2d34481"]]
|
11
|
+
[1m[35m (12.2ms)[0m commit transaction
|
12
12
|
WARNING: Can't mass-assign protected attributes: uid, name, permissions
|
13
13
|
Processing by Api::UserController#update as HTML
|
14
|
-
Parameters: {"uid"=>"
|
15
|
-
Rendered /home/jenkins/workspace/govuk_gds_sso/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (3.
|
16
|
-
Completed 403 Forbidden in 40.
|
14
|
+
Parameters: {"uid"=>"a1s2d34286"}
|
15
|
+
Rendered /home/jenkins/workspace/govuk_gds_sso/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (3.0ms)
|
16
|
+
Completed 403 Forbidden in 40.6ms (Views: 39.8ms | ActiveRecord: 0.0ms)
|
17
17
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
18
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["organisation_slug", nil], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "
|
19
|
-
[1m[36m (
|
18
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["organisation_slug", nil], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d34054"]]
|
19
|
+
[1m[36m (15.4ms)[0m [1mcommit transaction[0m
|
20
20
|
[1m[35m (0.1ms)[0m begin transaction
|
21
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["organisation_slug", nil], ["permissions", "---\n- signin\n- user_update_permission\n"], ["remotely_signed_out", nil], ["uid", "
|
22
|
-
[1m[35m (
|
21
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["organisation_slug", nil], ["permissions", "---\n- signin\n- user_update_permission\n"], ["remotely_signed_out", nil], ["uid", "a1s2d39648"]]
|
22
|
+
[1m[35m (14.7ms)[0m commit transaction
|
23
23
|
Processing by Api::UserController#update as HTML
|
24
|
-
Parameters: {"uid"=>"
|
25
|
-
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = '
|
26
|
-
[1m[35m (0.
|
27
|
-
[1m[36m (0.
|
24
|
+
Parameters: {"uid"=>"a1s2d34054"}
|
25
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d34054' LIMIT 1[0m
|
26
|
+
[1m[35m (0.1ms)[0m begin transaction
|
27
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "email" = 'user@domain.com', "name" = 'Joshua Marshall', "permissions" = '---
|
28
28
|
- signin
|
29
29
|
- new permission
|
30
30
|
', "organisation_slug" = 'justice-league' WHERE "users"."id" = 3[0m
|
31
|
-
[1m[35m (
|
32
|
-
Completed 200 OK in
|
31
|
+
[1m[35m (10.6ms)[0m commit transaction
|
32
|
+
Completed 200 OK in 18.3ms (ActiveRecord: 11.1ms)
|
33
33
|
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 3]]
|
34
|
-
[1m[35m (0.
|
35
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["organisation_slug", nil], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "
|
36
|
-
[1m[35m (
|
34
|
+
[1m[35m (0.0ms)[0m begin transaction
|
35
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["organisation_slug", nil], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d31062"]]
|
36
|
+
[1m[35m (10.2ms)[0m commit transaction
|
37
37
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
38
|
-
[1m[35mSQL (0.
|
39
|
-
[1m[36m (
|
38
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?) [["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["organisation_slug", nil], ["permissions", "---\n- signin\n- user_update_permission\n"], ["remotely_signed_out", nil], ["uid", "a1s2d3460"]]
|
39
|
+
[1m[36m (9.8ms)[0m [1mcommit transaction[0m
|
40
40
|
WARNING: Can't mass-assign protected attributes: uid, name, permissions
|
41
41
|
Processing by Api::UserController#reauth as HTML
|
42
|
-
Parameters: {"uid"=>"
|
43
|
-
Completed 403 Forbidden in
|
42
|
+
Parameters: {"uid"=>"a1s2d31062"}
|
43
|
+
Completed 403 Forbidden in 1.7ms (Views: 1.1ms | ActiveRecord: 0.0ms)
|
44
44
|
[1m[35m (0.1ms)[0m begin transaction
|
45
|
-
[1m[36mSQL (0.
|
46
|
-
[1m[35m (
|
45
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["organisation_slug", nil], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d39234"]]
|
46
|
+
[1m[35m (9.8ms)[0m commit transaction
|
47
47
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
48
|
-
[1m[35mSQL (0.
|
49
|
-
[1m[36m (
|
48
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?) [["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["organisation_slug", nil], ["permissions", "---\n- signin\n- user_update_permission\n"], ["remotely_signed_out", nil], ["uid", "a1s2d31308"]]
|
49
|
+
[1m[36m (10.0ms)[0m [1mcommit transaction[0m
|
50
50
|
Processing by Api::UserController#reauth as HTML
|
51
51
|
Parameters: {"uid"=>"nonexistent-user"}
|
52
52
|
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'nonexistent-user' LIMIT 1
|
53
|
-
Completed 200 OK in 1.
|
53
|
+
Completed 200 OK in 1.1ms (ActiveRecord: 0.2ms)
|
54
54
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
55
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["organisation_slug", nil], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "
|
56
|
-
[1m[36m (
|
57
|
-
[1m[35m (0.
|
58
|
-
[1m[36mSQL (0.
|
59
|
-
[1m[35m (
|
55
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["organisation_slug", nil], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d39743"]]
|
56
|
+
[1m[36m (9.9ms)[0m [1mcommit transaction[0m
|
57
|
+
[1m[35m (0.0ms)[0m begin transaction
|
58
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["organisation_slug", nil], ["permissions", "---\n- signin\n- user_update_permission\n"], ["remotely_signed_out", nil], ["uid", "a1s2d3249"]]
|
59
|
+
[1m[35m (10.2ms)[0m commit transaction
|
60
60
|
Processing by Api::UserController#reauth as HTML
|
61
|
-
Parameters: {"uid"=>"
|
62
|
-
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = '
|
61
|
+
Parameters: {"uid"=>"a1s2d39743"}
|
62
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d39743' LIMIT 1[0m
|
63
63
|
[1m[35m (0.0ms)[0m begin transaction
|
64
64
|
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = 't', "permissions" = '---
|
65
65
|
- signin
|
66
66
|
' WHERE "users"."id" = 9[0m
|
67
|
-
[1m[35m (
|
68
|
-
Completed 200 OK in
|
67
|
+
[1m[35m (10.2ms)[0m commit transaction
|
68
|
+
Completed 200 OK in 13.0ms (ActiveRecord: 10.6ms)
|
69
69
|
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 9]]
|
70
|
-
Started GET "/" for 127.0.0.1 at 2014-01-
|
70
|
+
Started GET "/" for 127.0.0.1 at 2014-01-30 11:26:06 +0000
|
71
71
|
Processing by ExampleController#index as HTML
|
72
|
-
Completed 200 OK in
|
73
|
-
Started GET "/restricted" for 127.0.0.1 at 2014-01-
|
72
|
+
Completed 200 OK in 3.5ms (Views: 3.1ms | ActiveRecord: 0.0ms)
|
73
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-01-30 11:26:06 +0000
|
74
74
|
Processing by ExampleController#restricted as HTML
|
75
75
|
Authenticating with gds_sso strategy
|
76
|
-
Completed in
|
77
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2014-01-
|
78
|
-
Started GET "/auth/gds/callback?code=
|
76
|
+
Completed in 41.5ms
|
77
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2014-01-30 11:26:06 +0000
|
78
|
+
Started GET "/auth/gds/callback?code=bbd6f4334c2e431e50558d804c177d5ab1fd34ee7f4c79567ec75fe58c7e2325&state=ac961d72be22d46e54df46b5fc0bc6088757e50db5f0cb94" for 127.0.0.1 at 2014-01-30 11:26:07 +0000
|
79
79
|
Processing by AuthenticationsController#callback as HTML
|
80
|
-
Parameters: {"code"=>"
|
80
|
+
Parameters: {"code"=>"bbd6f4334c2e431e50558d804c177d5ab1fd34ee7f4c79567ec75fe58c7e2325", "state"=>"ac961d72be22d46e54df46b5fc0bc6088757e50db5f0cb94"}
|
81
81
|
Authenticating with gds_sso strategy
|
82
|
-
[1m[35mUser Load (0.
|
82
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
83
83
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
84
84
|
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?) [["email", "test@example-client.com"], ["name", "Test User"], ["organisation_slug", nil], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "integration-uid"]]
|
85
|
-
[1m[36m (
|
86
|
-
[1m[35m (0.
|
85
|
+
[1m[36m (10.1ms)[0m [1mcommit transaction[0m
|
86
|
+
[1m[35m (0.0ms)[0m begin transaction
|
87
87
|
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = 'f', "permissions" = '---
|
88
88
|
- signin
|
89
89
|
' WHERE "users"."id" = 11[0m
|
90
|
-
[1m[35m (
|
90
|
+
[1m[35m (8.2ms)[0m commit transaction
|
91
91
|
Redirected to http://www.example-client.com/restricted
|
92
|
-
Completed 302 Found in
|
93
|
-
Started GET "/restricted" for 127.0.0.1 at 2014-01-
|
92
|
+
Completed 302 Found in 24.8ms (ActiveRecord: 18.8ms)
|
93
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-01-30 11:26:07 +0000
|
94
94
|
Processing by ExampleController#restricted as HTML
|
95
|
-
[1m[36mUser Load (0.
|
96
|
-
Completed 200 OK in 1.
|
97
|
-
Started GET "/restricted" for 127.0.0.1 at 2014-01-
|
95
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1[0m
|
96
|
+
Completed 200 OK in 1.2ms (Views: 0.4ms | ActiveRecord: 0.1ms)
|
97
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-01-30 11:26:07 +0000
|
98
98
|
Processing by ExampleController#restricted as HTML
|
99
99
|
Authenticating with gds_sso strategy
|
100
|
-
Completed in 0.
|
101
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2014-01-
|
102
|
-
Started GET "/auth/gds/callback?code=
|
100
|
+
Completed in 0.2ms
|
101
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2014-01-30 11:26:07 +0000
|
102
|
+
Started GET "/auth/gds/callback?code=4e9ef98e9bc9eca3c940483b933e6b039bf5fa44e65c348fef6800867172c0f8&state=bf519f59b9ea347c0af6862627c940625a4af53f4e0408f1" for 127.0.0.1 at 2014-01-30 11:26:08 +0000
|
103
103
|
Processing by AuthenticationsController#callback as HTML
|
104
|
-
Parameters: {"code"=>"
|
104
|
+
Parameters: {"code"=>"4e9ef98e9bc9eca3c940483b933e6b039bf5fa44e65c348fef6800867172c0f8", "state"=>"bf519f59b9ea347c0af6862627c940625a4af53f4e0408f1"}
|
105
105
|
Authenticating with gds_sso strategy
|
106
|
-
[1m[35mUser Load (0.
|
106
|
+
[1m[35mUser Load (0.4ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
107
107
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
108
|
-
[1m[35m (0.
|
108
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "permissions" = '---
|
109
109
|
- signin
|
110
110
|
' WHERE "users"."id" = 11
|
111
|
-
[1m[36m (
|
112
|
-
[1m[35m (0.
|
113
|
-
[1m[36m (0.
|
111
|
+
[1m[36m (18.6ms)[0m [1mcommit transaction[0m
|
112
|
+
[1m[35m (0.0ms)[0m begin transaction
|
113
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
114
114
|
- signin
|
115
115
|
' WHERE "users"."id" = 11[0m
|
116
|
-
[1m[35m (
|
116
|
+
[1m[35m (13.9ms)[0m commit transaction
|
117
117
|
Redirected to http://www.example-client.com/restricted
|
118
|
-
Completed 302 Found in
|
119
|
-
Started GET "/restricted" for 127.0.0.1 at 2014-01-
|
118
|
+
Completed 302 Found in 40.7ms (ActiveRecord: 33.3ms)
|
119
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-01-30 11:26:08 +0000
|
120
120
|
Processing by ExampleController#restricted as HTML
|
121
|
-
[1m[36mUser Load (0.
|
122
|
-
Completed 200 OK in
|
123
|
-
Started GET "/restricted" for 127.0.0.1 at 2014-01-
|
121
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1[0m
|
122
|
+
Completed 200 OK in 2.6ms (Views: 0.8ms | ActiveRecord: 0.3ms)
|
123
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-01-30 11:26:08 +0000
|
124
124
|
Processing by ExampleController#restricted as HTML
|
125
125
|
Authenticating with gds_sso strategy
|
126
126
|
Completed in 0.3ms
|
127
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2014-01-
|
128
|
-
Started GET "/auth/gds/callback?code=
|
127
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2014-01-30 11:26:08 +0000
|
128
|
+
Started GET "/auth/gds/callback?code=2955a427052acac9fb020d74f6dcce52c21c7837c1fff15841ca4bff16810df3&state=f54772c3aadc24cc438268104fbf1d63fee88c2b29337fef" for 127.0.0.1 at 2014-01-30 11:26:08 +0000
|
129
129
|
Processing by AuthenticationsController#callback as HTML
|
130
|
-
Parameters: {"code"=>"
|
130
|
+
Parameters: {"code"=>"2955a427052acac9fb020d74f6dcce52c21c7837c1fff15841ca4bff16810df3", "state"=>"f54772c3aadc24cc438268104fbf1d63fee88c2b29337fef"}
|
131
131
|
Authenticating with gds_sso strategy
|
132
132
|
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
133
|
-
[1m[36m (0.
|
133
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
134
134
|
[1m[35m (0.2ms)[0m UPDATE "users" SET "permissions" = '---
|
135
135
|
- signin
|
136
136
|
' WHERE "users"."id" = 11
|
137
|
-
[1m[36m (
|
137
|
+
[1m[36m (12.3ms)[0m [1mcommit transaction[0m
|
138
138
|
[1m[35m (0.1ms)[0m begin transaction
|
139
139
|
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
140
140
|
- signin
|
141
141
|
' WHERE "users"."id" = 11[0m
|
142
|
-
[1m[35m (
|
142
|
+
[1m[35m (12.0ms)[0m commit transaction
|
143
143
|
Redirected to http://www.example-client.com/restricted
|
144
|
-
Completed 302 Found in
|
145
|
-
Started GET "/restricted" for 127.0.0.1 at 2014-01-
|
144
|
+
Completed 302 Found in 30.7ms (ActiveRecord: 25.0ms)
|
145
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-01-30 11:26:08 +0000
|
146
146
|
Processing by ExampleController#restricted as HTML
|
147
|
-
[1m[36mUser Load (0.
|
148
|
-
Completed 200 OK in 1.
|
149
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2014-01-
|
147
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1[0m
|
148
|
+
Completed 200 OK in 1.2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
149
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2014-01-30 11:26:08 +0000
|
150
150
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
151
151
|
Authenticating with gds_sso strategy
|
152
|
-
Completed in
|
153
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2014-01-
|
154
|
-
Started GET "/auth/gds/callback?code=
|
152
|
+
Completed in 0.6ms
|
153
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2014-01-30 11:26:08 +0000
|
154
|
+
Started GET "/auth/gds/callback?code=4b843d5cb3e88fa160c5fe50a3988e7eaaa7d989dcaf29a3b7fb90e8b47bfe39&state=e04d474f8e77975f6560f50641a87648994e340c93e285fb" for 127.0.0.1 at 2014-01-30 11:26:09 +0000
|
155
155
|
Processing by AuthenticationsController#callback as HTML
|
156
|
-
Parameters: {"code"=>"
|
156
|
+
Parameters: {"code"=>"4b843d5cb3e88fa160c5fe50a3988e7eaaa7d989dcaf29a3b7fb90e8b47bfe39", "state"=>"e04d474f8e77975f6560f50641a87648994e340c93e285fb"}
|
157
157
|
Authenticating with gds_sso strategy
|
158
158
|
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
159
159
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
160
|
-
[1m[35m (0.
|
160
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "permissions" = '---
|
161
161
|
- signin
|
162
162
|
' WHERE "users"."id" = 11
|
163
|
-
[1m[36m (
|
164
|
-
[1m[35m (0.
|
165
|
-
[1m[36m (0.
|
163
|
+
[1m[36m (9.3ms)[0m [1mcommit transaction[0m
|
164
|
+
[1m[35m (0.1ms)[0m begin transaction
|
165
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
166
166
|
- signin
|
167
167
|
' WHERE "users"."id" = 11[0m
|
168
|
-
[1m[35m (7.
|
168
|
+
[1m[35m (7.6ms)[0m commit transaction
|
169
169
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
170
|
-
Completed 302 Found in 22.
|
171
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2014-01-
|
170
|
+
Completed 302 Found in 22.7ms (ActiveRecord: 17.6ms)
|
171
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2014-01-30 11:26:09 +0000
|
172
172
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
173
|
-
[1m[36mUser Load (0.
|
174
|
-
Completed 200 OK in 1.5ms (Views: 0.4ms | ActiveRecord: 0.
|
175
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2014-01-
|
173
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1[0m
|
174
|
+
Completed 200 OK in 1.5ms (Views: 0.4ms | ActiveRecord: 0.1ms)
|
175
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2014-01-30 11:26:09 +0000
|
176
176
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
177
177
|
Authenticating with gds_sso strategy
|
178
|
-
Completed in 0.
|
179
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2014-01-
|
180
|
-
Started GET "/auth/gds/callback?code=
|
178
|
+
Completed in 0.2ms
|
179
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2014-01-30 11:26:09 +0000
|
180
|
+
Started GET "/auth/gds/callback?code=134885ee836204ff43d31ccc582b44083b4f4f1690fa9ad2d3b9e80441ab890e&state=a62b5d8ff1085b8ab7f457b63757682bd1945487f66771ff" for 127.0.0.1 at 2014-01-30 11:26:09 +0000
|
181
181
|
Processing by AuthenticationsController#callback as HTML
|
182
|
-
Parameters: {"code"=>"
|
182
|
+
Parameters: {"code"=>"134885ee836204ff43d31ccc582b44083b4f4f1690fa9ad2d3b9e80441ab890e", "state"=>"a62b5d8ff1085b8ab7f457b63757682bd1945487f66771ff"}
|
183
183
|
Authenticating with gds_sso strategy
|
184
184
|
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
185
185
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
186
186
|
[1m[35m (0.2ms)[0m UPDATE "users" SET "permissions" = '---
|
187
187
|
- signin
|
188
188
|
' WHERE "users"."id" = 11
|
189
|
-
[1m[36m (
|
189
|
+
[1m[36m (13.6ms)[0m [1mcommit transaction[0m
|
190
190
|
[1m[35m (0.1ms)[0m begin transaction
|
191
191
|
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
192
192
|
- signin
|
193
193
|
' WHERE "users"."id" = 11[0m
|
194
|
-
[1m[35m (
|
194
|
+
[1m[35m (8.2ms)[0m commit transaction
|
195
195
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
196
|
-
Completed 302 Found in
|
197
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2014-01-
|
196
|
+
Completed 302 Found in 26.7ms (ActiveRecord: 22.4ms)
|
197
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2014-01-30 11:26:09 +0000
|
198
198
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
199
199
|
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1[0m
|
200
200
|
Completed 200 OK in 1.4ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
201
|
-
Started GET "/restricted" for 127.0.0.1 at 2014-01-
|
201
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-01-30 11:26:09 +0000
|
202
202
|
Processing by ExampleController#restricted as HTML
|
203
203
|
Authenticating with gds_sso strategy
|
204
204
|
Completed in 0.2ms
|
205
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2014-01-
|
206
|
-
Started GET "/auth/gds/callback?code=
|
205
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2014-01-30 11:26:09 +0000
|
206
|
+
Started GET "/auth/gds/callback?code=d14d2130eac245b11610d2d7c51bd796c9fbae7597f4fe5647ce47f6194c9b12&state=0ce283073ff60edb6c2b7f306b8acc6ab9c507abaa1028a3" for 127.0.0.1 at 2014-01-30 11:26:09 +0000
|
207
207
|
Processing by AuthenticationsController#callback as HTML
|
208
|
-
Parameters: {"code"=>"
|
208
|
+
Parameters: {"code"=>"d14d2130eac245b11610d2d7c51bd796c9fbae7597f4fe5647ce47f6194c9b12", "state"=>"0ce283073ff60edb6c2b7f306b8acc6ab9c507abaa1028a3"}
|
209
209
|
Authenticating with gds_sso strategy
|
210
|
-
[1m[35mUser Load (0.
|
210
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
211
211
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
212
|
-
[1m[35m (0.
|
212
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "permissions" = '---
|
213
213
|
- signin
|
214
214
|
' WHERE "users"."id" = 11
|
215
|
-
[1m[36m (
|
216
|
-
[1m[35m (0.
|
217
|
-
[1m[36m (0.
|
215
|
+
[1m[36m (8.7ms)[0m [1mcommit transaction[0m
|
216
|
+
[1m[35m (0.0ms)[0m begin transaction
|
217
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
218
218
|
- signin
|
219
219
|
' WHERE "users"."id" = 11[0m
|
220
|
-
[1m[35m (
|
220
|
+
[1m[35m (6.5ms)[0m commit transaction
|
221
221
|
Redirected to http://www.example-client.com/restricted
|
222
|
-
Completed 302 Found in
|
223
|
-
Started GET "/restricted" for 127.0.0.1 at 2014-01-
|
222
|
+
Completed 302 Found in 20.5ms (ActiveRecord: 15.7ms)
|
223
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-01-30 11:26:09 +0000
|
224
224
|
Processing by ExampleController#restricted as HTML
|
225
|
-
[1m[36mUser Load (0.
|
226
|
-
Completed 200 OK in
|
225
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1[0m
|
226
|
+
Completed 200 OK in 1.3ms (Views: 0.4ms | ActiveRecord: 0.1ms)
|
227
227
|
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'test@example-client.com' LIMIT 1
|
228
228
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
229
|
-
[1m[35m (0.
|
229
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "remotely_signed_out" = 't', "permissions" = '---
|
230
230
|
- signin
|
231
231
|
' WHERE "users"."id" = 11
|
232
|
-
[1m[36m (8.
|
233
|
-
Started GET "/restricted" for 127.0.0.1 at 2014-01-
|
232
|
+
[1m[36m (8.0ms)[0m [1mcommit transaction[0m
|
233
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-01-30 11:26:10 +0000
|
234
234
|
Processing by ExampleController#restricted as HTML
|
235
|
-
[1m[35mUser Load (0.
|
235
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1
|
236
236
|
Authenticating with gds_sso strategy
|
237
|
-
Completed in
|
238
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2014-01-
|
239
|
-
Started GET "/auth/gds/callback?code=
|
237
|
+
Completed in 0.7ms
|
238
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2014-01-30 11:26:10 +0000
|
239
|
+
Started GET "/auth/gds/callback?code=ab02d8007ca7b28a90d145185f0238f776e0b1a3459f156a6669a643708bbc27&state=0f587d064bf9e71ea3d6bb3249a272d4049ef72440671dba" for 127.0.0.1 at 2014-01-30 11:26:10 +0000
|
240
240
|
Processing by AuthenticationsController#callback as HTML
|
241
|
-
Parameters: {"code"=>"
|
241
|
+
Parameters: {"code"=>"ab02d8007ca7b28a90d145185f0238f776e0b1a3459f156a6669a643708bbc27", "state"=>"0f587d064bf9e71ea3d6bb3249a272d4049ef72440671dba"}
|
242
242
|
Authenticating with gds_sso strategy
|
243
243
|
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
244
|
-
[1m[35m (0.
|
244
|
+
[1m[35m (0.1ms)[0m begin transaction
|
245
245
|
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
246
246
|
- signin
|
247
247
|
' WHERE "users"."id" = 11[0m
|
248
|
-
[1m[35m (
|
248
|
+
[1m[35m (18.4ms)[0m commit transaction
|
249
249
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
250
|
-
[1m[35m (0.
|
250
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "remotely_signed_out" = 'f', "permissions" = '---
|
251
251
|
- signin
|
252
252
|
' WHERE "users"."id" = 11
|
253
|
-
[1m[36m (
|
253
|
+
[1m[36m (7.2ms)[0m [1mcommit transaction[0m
|
254
254
|
Redirected to http://www.example-client.com/restricted
|
255
|
-
Completed 302 Found in
|
256
|
-
Started GET "/restricted" for 127.0.0.1 at 2014-01-
|
255
|
+
Completed 302 Found in 30.2ms (ActiveRecord: 26.1ms)
|
256
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-01-30 11:26:10 +0000
|
257
257
|
Processing by ExampleController#restricted as HTML
|
258
|
-
[1m[35mUser Load (0.
|
259
|
-
Completed 200 OK in 1.1ms (Views: 0.3ms | ActiveRecord: 0.
|
260
|
-
Started GET "/restricted" for 127.0.0.1 at 2014-01-
|
258
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1
|
259
|
+
Completed 200 OK in 1.1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
260
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-01-30 11:26:10 +0000
|
261
261
|
Processing by ExampleController#restricted as HTML
|
262
262
|
Authenticating with gds_sso strategy
|
263
263
|
Completed in 0.2ms
|
264
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2014-01-
|
265
|
-
Started GET "/auth/gds/callback?code=
|
264
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2014-01-30 11:26:10 +0000
|
265
|
+
Started GET "/auth/gds/callback?code=1925d41b24df1eb865d5bd41bd3649acb2a0598b18e07c730d02cfe4e3847a84&state=38715f2b26587f3ff0631a8abf6937a262a7af0e8e750bb1" for 127.0.0.1 at 2014-01-30 11:26:10 +0000
|
266
266
|
Processing by AuthenticationsController#callback as HTML
|
267
|
-
Parameters: {"code"=>"
|
267
|
+
Parameters: {"code"=>"1925d41b24df1eb865d5bd41bd3649acb2a0598b18e07c730d02cfe4e3847a84", "state"=>"38715f2b26587f3ff0631a8abf6937a262a7af0e8e750bb1"}
|
268
268
|
Authenticating with gds_sso strategy
|
269
|
-
[1m[36mUser Load (0.
|
269
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
270
270
|
[1m[35m (0.1ms)[0m begin transaction
|
271
|
-
[1m[36m (0.
|
271
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
272
272
|
- signin
|
273
273
|
' WHERE "users"."id" = 11[0m
|
274
|
-
[1m[35m (
|
274
|
+
[1m[35m (7.9ms)[0m commit transaction
|
275
275
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
276
|
-
[1m[35m (0.
|
276
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "permissions" = '---
|
277
277
|
- signin
|
278
278
|
' WHERE "users"."id" = 11
|
279
|
-
[1m[36m (
|
279
|
+
[1m[36m (6.2ms)[0m [1mcommit transaction[0m
|
280
280
|
Redirected to http://www.example-client.com/restricted
|
281
|
-
Completed 302 Found in
|
282
|
-
Started GET "/restricted" for 127.0.0.1 at 2014-01-
|
281
|
+
Completed 302 Found in 19.2ms (ActiveRecord: 14.7ms)
|
282
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-01-30 11:26:10 +0000
|
283
283
|
Processing by ExampleController#restricted as HTML
|
284
|
-
[1m[35mUser Load (0.
|
285
|
-
Completed 200 OK in 1.
|
286
|
-
Started GET "/restricted" for 127.0.0.1 at 2014-01-
|
284
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1
|
285
|
+
Completed 200 OK in 1.2ms (Views: 0.4ms | ActiveRecord: 0.1ms)
|
286
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-01-31 07:31:10 +0000
|
287
287
|
Processing by ExampleController#restricted as HTML
|
288
288
|
Authenticating with gds_sso strategy
|
289
|
-
Completed in 0.
|
290
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2014-01-
|
291
|
-
Started GET "/auth/gds/callback?code=
|
289
|
+
Completed in 0.2ms
|
290
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2014-01-31 07:31:10 +0000
|
291
|
+
Started GET "/auth/gds/callback?code=83f960a4a005ab15c432803710b3601129f3a965a2dddd5f891b8b6c6e7d1fbc&state=1a74af1fd08d87d48b925359c27c60eaa0190c55010fbe3d" for 127.0.0.1 at 2014-01-31 07:31:10 +0000
|
292
292
|
Processing by AuthenticationsController#callback as HTML
|
293
|
-
Parameters: {"code"=>"
|
293
|
+
Parameters: {"code"=>"83f960a4a005ab15c432803710b3601129f3a965a2dddd5f891b8b6c6e7d1fbc", "state"=>"1a74af1fd08d87d48b925359c27c60eaa0190c55010fbe3d"}
|
294
294
|
Authenticating with gds_sso strategy
|
295
|
-
[1m[36mUser Load (0.
|
295
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
296
296
|
[1m[35m (0.0ms)[0m begin transaction
|
297
297
|
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
298
298
|
- signin
|
299
299
|
' WHERE "users"."id" = 11[0m
|
300
|
-
[1m[35m (
|
301
|
-
[1m[36m (0.
|
302
|
-
[1m[35m (0.
|
300
|
+
[1m[35m (10.1ms)[0m commit transaction
|
301
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
302
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "permissions" = '---
|
303
303
|
- signin
|
304
304
|
' WHERE "users"."id" = 11
|
305
|
-
[1m[36m (
|
305
|
+
[1m[36m (8.7ms)[0m [1mcommit transaction[0m
|
306
306
|
Redirected to http://www.example-client.com/restricted
|
307
|
-
Completed 302 Found in
|
308
|
-
Started GET "/restricted" for 127.0.0.1 at 2014-01-
|
307
|
+
Completed 302 Found in 22.8ms (ActiveRecord: 19.3ms)
|
308
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-01-31 07:31:10 +0000
|
309
309
|
Processing by ExampleController#restricted as HTML
|
310
|
-
[1m[35mUser Load (0.
|
311
|
-
Completed 200 OK in 1.1ms (Views: 0.2ms | ActiveRecord: 0.
|
312
|
-
Started GET "/restricted" for 127.0.0.1 at 2014-01-
|
310
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1
|
311
|
+
Completed 200 OK in 1.1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
312
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-01-30 11:26:10 +0000
|
313
313
|
Processing by ExampleController#restricted as HTML
|
314
314
|
Authenticating with gds_sso strategy
|
315
315
|
Completed in 0.2ms
|
316
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2014-01-
|
317
|
-
Started GET "/auth/gds/callback?code=
|
316
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2014-01-30 11:26:10 +0000
|
317
|
+
Started GET "/auth/gds/callback?code=a189c109c0650bf0f0ef6ffe19f9dc6115efe9c34cf2393c9af2a4d9b3dec0ab&state=e4bf81abac5c130c5138a67bfb5dde669d703052f34e43ed" for 127.0.0.1 at 2014-01-30 11:26:11 +0000
|
318
318
|
Processing by AuthenticationsController#callback as HTML
|
319
|
-
Parameters: {"code"=>"
|
319
|
+
Parameters: {"code"=>"a189c109c0650bf0f0ef6ffe19f9dc6115efe9c34cf2393c9af2a4d9b3dec0ab", "state"=>"e4bf81abac5c130c5138a67bfb5dde669d703052f34e43ed"}
|
320
320
|
Authenticating with gds_sso strategy
|
321
|
-
[1m[36mUser Load (0.
|
321
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
322
322
|
[1m[35m (0.1ms)[0m begin transaction
|
323
|
-
[1m[36m (0.
|
323
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
324
324
|
- signin
|
325
325
|
' WHERE "users"."id" = 11[0m
|
326
|
-
[1m[35m (
|
327
|
-
[1m[36m (0.
|
328
|
-
[1m[35m (0.
|
326
|
+
[1m[35m (10.5ms)[0m commit transaction
|
327
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
328
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "permissions" = '---
|
329
329
|
- signin
|
330
330
|
' WHERE "users"."id" = 11
|
331
|
-
[1m[36m (
|
331
|
+
[1m[36m (8.5ms)[0m [1mcommit transaction[0m
|
332
332
|
Redirected to http://www.example-client.com/restricted
|
333
|
-
Completed 302 Found in
|
334
|
-
Started GET "/restricted" for 127.0.0.1 at 2014-01-
|
333
|
+
Completed 302 Found in 24.5ms (ActiveRecord: 19.6ms)
|
334
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-01-30 11:26:11 +0000
|
335
335
|
Processing by ExampleController#restricted as HTML
|
336
336
|
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1
|
337
337
|
Completed 200 OK in 1.4ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
338
|
-
Started GET "/restricted" for 127.0.0.1 at 2014-01-
|
338
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-01-31 07:21:11 +0000
|
339
339
|
Processing by ExampleController#restricted as HTML
|
340
|
-
[1m[36mUser Load (0.
|
341
|
-
Completed 200 OK in
|
342
|
-
Started GET "/restricted" for 127.0.0.1 at 2014-01-
|
340
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1[0m
|
341
|
+
Completed 200 OK in 0.9ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
342
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-01-30 11:26:11 +0000
|
343
343
|
Processing by ExampleController#restricted as JSON
|
344
344
|
Authenticating with gds_bearer_token strategy
|
345
345
|
Completed in 7.8ms
|
346
|
-
Started GET "/restricted" for 127.0.0.1 at 2014-01-
|
346
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-01-30 11:26:11 +0000
|
347
347
|
Processing by ExampleController#restricted as JSON
|
348
348
|
Authenticating with gds_bearer_token strategy
|
349
349
|
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
350
350
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
351
|
-
[1m[35m (0.
|
351
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "permissions" = '---
|
352
352
|
- signin
|
353
353
|
' WHERE "users"."id" = 11
|
354
|
-
[1m[36m (
|
355
|
-
[1m[35m (0.
|
356
|
-
[1m[36m (0.
|
354
|
+
[1m[36m (10.9ms)[0m [1mcommit transaction[0m
|
355
|
+
[1m[35m (0.1ms)[0m begin transaction
|
356
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
357
357
|
- signin
|
358
358
|
' WHERE "users"."id" = 11[0m
|
359
|
-
[1m[35m (
|
360
|
-
Completed 200 OK in
|
361
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2014-01-
|
359
|
+
[1m[35m (9.8ms)[0m commit transaction
|
360
|
+
Completed 200 OK in 59.7ms (Views: 0.3ms | ActiveRecord: 21.3ms)
|
361
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2014-01-30 11:26:11 +0000
|
362
362
|
Processing by ExampleController#this_requires_signin_permission as JSON
|
363
363
|
Authenticating with gds_bearer_token strategy
|
364
|
-
[1m[36mUser Load (0.
|
365
|
-
[1m[35m (0.
|
364
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
365
|
+
[1m[35m (0.0ms)[0m begin transaction
|
366
366
|
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
367
367
|
- signin
|
368
368
|
' WHERE "users"."id" = 11[0m
|
369
|
-
[1m[35m (
|
370
|
-
[1m[36m (0.
|
371
|
-
[1m[35m (0.
|
369
|
+
[1m[35m (10.1ms)[0m commit transaction
|
370
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
371
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "permissions" = '---
|
372
372
|
- signin
|
373
373
|
' WHERE "users"."id" = 11
|
374
|
-
[1m[36m (
|
375
|
-
Completed 200 OK in 61.
|
374
|
+
[1m[36m (10.0ms)[0m [1mcommit transaction[0m
|
375
|
+
Completed 200 OK in 61.3ms (Views: 0.2ms | ActiveRecord: 20.7ms)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gds-sso
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 9.2.
|
4
|
+
version: 9.2.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2014-01-
|
13
|
+
date: 2014-01-30 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rails
|
@@ -332,7 +332,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
332
332
|
version: '0'
|
333
333
|
segments:
|
334
334
|
- 0
|
335
|
-
hash:
|
335
|
+
hash: -250005457247113865
|
336
336
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
337
337
|
none: false
|
338
338
|
requirements:
|
@@ -341,7 +341,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
341
341
|
version: '0'
|
342
342
|
segments:
|
343
343
|
- 0
|
344
|
-
hash:
|
344
|
+
hash: -250005457247113865
|
345
345
|
requirements: []
|
346
346
|
rubyforge_project: gds-sso
|
347
347
|
rubygems_version: 1.8.23
|