gds-sso 13.5.0 → 13.5.1
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/controller_methods.rb +1 -1
- data/lib/gds-sso/version.rb +1 -1
- data/spec/internal/db/combustion_test.sqlite +0 -0
- data/spec/internal/log/test.log +1437 -1437
- metadata +15 -15
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4c93fc375363a131501ac31c10e3d2cab78ac590
|
4
|
+
data.tar.gz: d8f3324a67ee849caa66851846350c4e57c8b60a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fb888c9c819f4500c815434abd6f9eb6e2ef0cf025148183936316e844ac7b197661efdb016e571e7be876088b6f92f9e276e7628f780e90d9c3c27e6af18497
|
7
|
+
data.tar.gz: 1aa7afaa32573236264b96d6cb9f83a2829c7bc632a2bb1324e570647aaf216c88303c42631a98acb0b15f288ffd27f91545deff7089fcc9c2dba493206c7e2d
|
@@ -44,7 +44,7 @@ module GDS
|
|
44
44
|
end
|
45
45
|
|
46
46
|
def require_signin_permission!
|
47
|
-
ActiveSupport::Deprecation.warn("require_signin_permission! is deprecated and will be removed in a future version.
|
47
|
+
ActiveSupport::Deprecation.warn("require_signin_permission! is deprecated and will be removed in a future version. The signon application checks for signin permission during oauth and it is no longer optional. Note that your application will still need to call authorise_user! if it doesn't already.", caller)
|
48
48
|
authorise_user!('signin')
|
49
49
|
rescue PermissionDeniedException
|
50
50
|
render "authorisations/cant_signin", layout: "unauthorised", status: :forbidden
|
data/lib/gds-sso/version.rb
CHANGED
Binary file
|
data/spec/internal/log/test.log
CHANGED
@@ -1,830 +1,897 @@
|
|
1
|
-
[1m[36m (
|
2
|
-
[1m[35m (
|
1
|
+
[1m[36m (8.7ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "uid" varchar NOT NULL, "email" varchar NOT NULL, "remotely_signed_out" boolean, "permissions" text, "organisation_slug" varchar, "organisation_content_id" varchar, "disabled" boolean DEFAULT 'f') [0m
|
2
|
+
[1m[35m (11.4ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
3
3
|
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
4
|
-
[1m[35m (
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
[1m[
|
15
|
-
[1m[
|
4
|
+
[1m[35m (5.4ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
5
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "asd"]]
|
6
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "user@example.com"]]
|
7
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
8
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions", "organisation_slug", "organisation_content_id", "disabled") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "asd"], ["email", "user@example.com"], ["name", "A Name"], ["permissions", "---\n- signin\n"], ["organisation_slug", "hmrc"], ["organisation_content_id", "67a2b78d-eee3-45b3-80e2-792e7f71cecc"], ["disabled", nil]]
|
9
|
+
[1m[36m (7.8ms)[0m [1mcommit transaction[0m
|
10
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "asd"]]
|
11
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
12
|
+
[1m[35m (0.0ms)[0m commit transaction
|
13
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
14
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d34983"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
15
|
+
[1m[36m (8.0ms)[0m [1mcommit transaction[0m
|
16
|
+
[1m[35m (0.0ms)[0m begin transaction
|
17
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d36880"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
18
|
+
[1m[35m (4.2ms)[0m commit transaction
|
19
|
+
Processing by Api::UserController#reauth as HTML
|
20
|
+
Parameters: {"uid"=>"a1s2d34983"}
|
21
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "a1s2d34983"]]
|
22
|
+
[1m[35m (0.0ms)[0m begin transaction
|
23
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "t"], ["id", 2]]
|
24
|
+
[1m[35m (6.3ms)[0m commit transaction
|
25
|
+
Completed 200 OK in 10ms (ActiveRecord: 6.6ms)
|
26
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 2]]
|
27
|
+
[1m[35m (0.1ms)[0m begin transaction
|
28
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d334"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
29
|
+
[1m[35m (7.2ms)[0m commit transaction
|
30
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
31
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d35232"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
32
|
+
[1m[36m (6.2ms)[0m [1mcommit transaction[0m
|
33
|
+
Processing by Api::UserController#reauth as HTML
|
34
|
+
Parameters: {"uid"=>"a1s2d334"}
|
35
|
+
Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
|
36
|
+
Completed 403 Forbidden in 12ms (Views: 11.5ms | ActiveRecord: 0.0ms)
|
37
|
+
[1m[35m (0.1ms)[0m begin transaction
|
38
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d31860"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
39
|
+
[1m[35m (6.7ms)[0m commit transaction
|
40
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d39363"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
42
|
+
[1m[36m (6.3ms)[0m [1mcommit transaction[0m
|
43
|
+
Processing by Api::UserController#reauth as HTML
|
44
|
+
Parameters: {"uid"=>"nonexistent-user"}
|
45
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "nonexistent-user"]]
|
46
|
+
Completed 200 OK in 1ms (ActiveRecord: 0.1ms)
|
16
47
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
17
|
-
[1m[35mSQL (0.
|
18
|
-
[1m[36m (
|
48
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d38845"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
49
|
+
[1m[36m (6.8ms)[0m [1mcommit transaction[0m
|
19
50
|
[1m[35m (0.1ms)[0m begin transaction
|
20
|
-
[1m[36mSQL (0.
|
51
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d31699"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
21
52
|
[1m[35m (3.9ms)[0m commit transaction
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
[1m[
|
53
|
+
Processing by Api::UserController#update as HTML
|
54
|
+
Parameters: {"uid"=>"a1s2d38845"}
|
55
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "a1s2d38845"]]
|
56
|
+
[1m[35m (0.0ms)[0m begin transaction
|
57
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "email" = ?, "name" = ?, "permissions" = ?, "organisation_slug" = ?, "organisation_content_id" = ? WHERE "users"."id" = ?[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"], ["id", 8]]
|
58
|
+
[1m[35m (6.2ms)[0m commit transaction
|
59
|
+
Completed 200 OK in 10ms (ActiveRecord: 6.5ms)
|
60
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 8]]
|
61
|
+
[1m[35m (0.1ms)[0m begin transaction
|
62
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d35812"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
63
|
+
[1m[35m (4.2ms)[0m commit transaction
|
64
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
65
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d38211"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
66
|
+
[1m[36m (7.2ms)[0m [1mcommit transaction[0m
|
67
|
+
Processing by Api::UserController#update as HTML
|
68
|
+
Parameters: {"uid"=>"a1s2d35812"}
|
69
|
+
Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.1ms)
|
70
|
+
Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
71
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2018-01-23 17:15:51 +0000
|
72
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
73
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
74
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["email", "test@example-client.com"]]
|
75
|
+
[1m[35m (0.1ms)[0m begin transaction
|
76
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions", "disabled") VALUES (?, ?, ?, ?, ?)[0m [["uid", "integration-uid"], ["email", "test@example-client.com"], ["name", "Test User"], ["permissions", "---\n- signin\n"], ["disabled", nil]]
|
77
|
+
[1m[35m (19.3ms)[0m commit transaction
|
78
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
79
|
+
[1m[35m (0.1ms)[0m begin transaction
|
80
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
81
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
82
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
83
|
+
[1m[35m (0.1ms)[0m commit transaction
|
84
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
85
|
+
[1m[35m (0.1ms)[0m begin transaction
|
86
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
87
|
+
[1m[35m (0.0ms)[0m begin transaction
|
88
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id", 12]]
|
89
|
+
[1m[35m (7.5ms)[0m commit transaction
|
90
|
+
Rendered text template (0.0ms)
|
91
|
+
Completed 200 OK in 340ms (Views: 3.5ms | ActiveRecord: 28.1ms)
|
92
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:15:51 +0000
|
93
|
+
Processing by ExampleController#restricted as JSON
|
94
|
+
Completed in 31ms (ActiveRecord: 0.0ms)
|
95
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:15:52 +0000
|
96
|
+
Processing by ExampleController#restricted as JSON
|
97
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
98
|
+
[1m[35m (0.1ms)[0m begin transaction
|
99
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
100
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
101
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
102
|
+
[1m[35m (0.0ms)[0m commit transaction
|
103
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
104
|
+
[1m[35m (0.1ms)[0m begin transaction
|
105
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
106
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
107
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
108
|
+
[1m[35m (0.1ms)[0m commit transaction
|
109
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
110
|
+
[1m[35m (0.0ms)[0m commit transaction
|
27
111
|
Rendered text template (0.0ms)
|
28
|
-
Completed 200 OK in
|
29
|
-
Started GET "/
|
112
|
+
Completed 200 OK in 71ms (Views: 0.3ms | ActiveRecord: 0.8ms)
|
113
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:15:52 +0000
|
114
|
+
Processing by ExampleController#restricted as JSON
|
115
|
+
Completed in 24ms (ActiveRecord: 0.0ms)
|
116
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:15:52 +0000
|
117
|
+
Processing by ExampleController#restricted as HTML
|
118
|
+
Authenticating with gds_sso strategy
|
119
|
+
Completed in 0ms (ActiveRecord: 0.0ms)
|
120
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2018-01-23 17:15:52 +0000
|
30
121
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
31
122
|
Authenticating with gds_sso strategy
|
32
123
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
33
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
34
|
-
Started GET "/auth/gds/callback?code=
|
124
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-01-23 17:15:52 +0000
|
125
|
+
Started GET "/auth/gds/callback?code=403fb0d1ec97649af51d34a0885922c8cf07debe7344a56dc9aa84ee676cabc8&state=748a66d055257f50dd6e45a1ff8c850d158ba585519fedff" for 127.0.0.1 at 2018-01-23 17:16:02 +0000
|
35
126
|
Processing by AuthenticationsController#callback as HTML
|
36
|
-
Parameters: {"code"=>"
|
127
|
+
Parameters: {"code"=>"403fb0d1ec97649af51d34a0885922c8cf07debe7344a56dc9aa84ee676cabc8", "state"=>"748a66d055257f50dd6e45a1ff8c850d158ba585519fedff"}
|
37
128
|
Authenticating with gds_sso strategy
|
38
|
-
[1m[
|
39
|
-
[1m[
|
40
|
-
[1m[
|
129
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
130
|
+
[1m[35m (0.3ms)[0m begin transaction
|
131
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "disabled" = ? WHERE "users"."id" = ?[0m [["disabled", "f"], ["id", 12]]
|
132
|
+
[1m[35m (8.1ms)[0m commit transaction
|
41
133
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42
134
|
[1m[35m (0.0ms)[0m commit transaction
|
43
135
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
44
|
-
Completed 302 Found in
|
45
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at
|
136
|
+
Completed 302 Found in 14ms (ActiveRecord: 8.8ms)
|
137
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2018-01-23 17:16:02 +0000
|
46
138
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
47
|
-
[1m[36mUser Load (0.
|
139
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
48
140
|
Rendered text template (0.0ms)
|
49
|
-
Completed 200 OK in
|
50
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at
|
141
|
+
Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
142
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2018-01-23 17:16:02 +0000
|
51
143
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
52
144
|
Authenticating with gds_sso strategy
|
53
145
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
54
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
55
|
-
Started GET "/auth/gds/callback?code=
|
146
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-01-23 17:16:02 +0000
|
147
|
+
Started GET "/auth/gds/callback?code=21ad57aeb6cbc4395aa34f175ab0f5fe4458d8ece2b7c8d4b9be155f086a475f&state=6e21c7bcb78b4b88679aef913b38e813bf4f3896e88d0a51" for 127.0.0.1 at 2018-01-23 17:16:02 +0000
|
56
148
|
Processing by AuthenticationsController#callback as HTML
|
57
|
-
Parameters: {"code"=>"
|
149
|
+
Parameters: {"code"=>"21ad57aeb6cbc4395aa34f175ab0f5fe4458d8ece2b7c8d4b9be155f086a475f", "state"=>"6e21c7bcb78b4b88679aef913b38e813bf4f3896e88d0a51"}
|
58
150
|
Authenticating with gds_sso strategy
|
59
151
|
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
60
152
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
61
|
-
[1m[35m (0.
|
153
|
+
[1m[35m (0.1ms)[0m commit transaction
|
62
154
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
63
155
|
[1m[35m (0.0ms)[0m commit transaction
|
64
156
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
65
157
|
Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
|
66
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at
|
158
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2018-01-23 17:16:02 +0000
|
67
159
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
68
160
|
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
69
161
|
Rendered text template (0.0ms)
|
70
|
-
Completed 200 OK in
|
71
|
-
Started GET "/" for 127.0.0.1 at
|
162
|
+
Completed 200 OK in 7ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
163
|
+
Started GET "/" for 127.0.0.1 at 2018-01-23 17:16:02 +0000
|
72
164
|
Processing by ExampleController#index as HTML
|
73
165
|
Rendered text template (0.0ms)
|
74
|
-
Completed 200 OK in 0ms (Views: 0.
|
75
|
-
Started GET "/restricted" for 127.0.0.1 at
|
166
|
+
Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
167
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:02 +0000
|
168
|
+
Processing by ExampleController#restricted as HTML
|
169
|
+
Authenticating with gds_sso strategy
|
170
|
+
Completed in 0ms (ActiveRecord: 0.0ms)
|
171
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-01-23 17:16:02 +0000
|
172
|
+
Started GET "/auth/gds/callback?code=14038c8a0248bd24984494852a5fa349e995812d4406085eb51ccfccfc37d70a&state=7ff6ab7ad0eee8ec2ac4c9dcae08ad818cc7dd89d2b93646" for 127.0.0.1 at 2018-01-23 17:16:03 +0000
|
173
|
+
Processing by AuthenticationsController#callback as HTML
|
174
|
+
Parameters: {"code"=>"14038c8a0248bd24984494852a5fa349e995812d4406085eb51ccfccfc37d70a", "state"=>"7ff6ab7ad0eee8ec2ac4c9dcae08ad818cc7dd89d2b93646"}
|
175
|
+
Authenticating with gds_sso strategy
|
176
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
177
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
178
|
+
[1m[35m (0.1ms)[0m commit transaction
|
179
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
180
|
+
[1m[35m (0.1ms)[0m commit transaction
|
181
|
+
Redirected to http://www.example-client.com/restricted
|
182
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.4ms)
|
183
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:03 +0000
|
184
|
+
Processing by ExampleController#restricted as HTML
|
185
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
186
|
+
Rendered text template (0.0ms)
|
187
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
188
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:03 +0000
|
76
189
|
Processing by ExampleController#restricted as HTML
|
77
190
|
Authenticating with gds_sso strategy
|
78
191
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
79
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
80
|
-
Started GET "/auth/gds/callback?code=
|
192
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-01-23 17:16:03 +0000
|
193
|
+
Started GET "/auth/gds/callback?code=719d8909be67ddb269b27767dbd0749dab35455bbe20bcd26ce1cec25ddbbd5c&state=0728ab14e4d2bc82b566086d2888f124e2cc6dbad3c9852b" for 127.0.0.1 at 2018-01-23 17:16:03 +0000
|
81
194
|
Processing by AuthenticationsController#callback as HTML
|
82
|
-
Parameters: {"code"=>"
|
195
|
+
Parameters: {"code"=>"719d8909be67ddb269b27767dbd0749dab35455bbe20bcd26ce1cec25ddbbd5c", "state"=>"0728ab14e4d2bc82b566086d2888f124e2cc6dbad3c9852b"}
|
83
196
|
Authenticating with gds_sso strategy
|
84
197
|
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
85
198
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
86
|
-
[1m[35m (0.
|
199
|
+
[1m[35m (0.1ms)[0m commit transaction
|
87
200
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
88
201
|
[1m[35m (0.0ms)[0m commit transaction
|
89
202
|
Redirected to http://www.example-client.com/restricted
|
90
|
-
Completed 302 Found in
|
91
|
-
Started GET "/restricted" for 127.0.0.1 at
|
203
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.3ms)
|
204
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:03 +0000
|
92
205
|
Processing by ExampleController#restricted as HTML
|
93
206
|
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
94
207
|
Rendered text template (0.0ms)
|
95
|
-
Completed 200 OK in 1ms (Views: 0.
|
96
|
-
Started GET "/restricted" for 127.0.0.1 at
|
208
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
209
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:03 +0000
|
97
210
|
Processing by ExampleController#restricted as HTML
|
98
211
|
Authenticating with gds_sso strategy
|
99
212
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
100
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
101
|
-
Started GET "/auth/gds/callback?code=
|
213
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-01-23 17:16:03 +0000
|
214
|
+
Started GET "/auth/gds/callback?code=984e3293314d2b147a048b206054b4fd8de7d590793008b70fa9aad3f81bb076&state=201c99f2fcda23d198f358246cb15939ea7c82c572c00d0c" for 127.0.0.1 at 2018-01-23 17:16:03 +0000
|
102
215
|
Processing by AuthenticationsController#callback as HTML
|
103
|
-
Parameters: {"code"=>"
|
216
|
+
Parameters: {"code"=>"984e3293314d2b147a048b206054b4fd8de7d590793008b70fa9aad3f81bb076", "state"=>"201c99f2fcda23d198f358246cb15939ea7c82c572c00d0c"}
|
104
217
|
Authenticating with gds_sso strategy
|
105
218
|
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
106
219
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
107
220
|
[1m[35m (0.0ms)[0m commit transaction
|
108
221
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
109
|
-
[1m[35m (0.
|
222
|
+
[1m[35m (0.0ms)[0m commit transaction
|
110
223
|
Redirected to http://www.example-client.com/restricted
|
111
|
-
Completed 302 Found in
|
112
|
-
Started GET "/restricted" for 127.0.0.1 at
|
224
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.3ms)
|
225
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:03 +0000
|
113
226
|
Processing by ExampleController#restricted as HTML
|
114
227
|
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
115
228
|
Rendered text template (0.0ms)
|
116
229
|
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
117
|
-
Started GET "/restricted" for 127.0.0.1 at
|
230
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:03 +0000
|
118
231
|
Processing by ExampleController#restricted as HTML
|
119
232
|
Authenticating with gds_sso strategy
|
120
233
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
121
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
122
|
-
Started GET "/auth/gds/callback?code=
|
234
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-01-23 17:16:03 +0000
|
235
|
+
Started GET "/auth/gds/callback?code=ac8d3b4e3d11487847e594d93277b140b0dd11d5689c5d8ebbcf0c4007703256&state=8d200a74c4c26e61a5674820ba2c00143132bce4a029f582" for 127.0.0.1 at 2018-01-23 17:16:03 +0000
|
123
236
|
Processing by AuthenticationsController#callback as HTML
|
124
|
-
Parameters: {"code"=>"
|
237
|
+
Parameters: {"code"=>"ac8d3b4e3d11487847e594d93277b140b0dd11d5689c5d8ebbcf0c4007703256", "state"=>"8d200a74c4c26e61a5674820ba2c00143132bce4a029f582"}
|
125
238
|
Authenticating with gds_sso strategy
|
126
239
|
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
127
240
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
128
241
|
[1m[35m (0.0ms)[0m commit transaction
|
129
|
-
[1m[36m (0.
|
242
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
130
243
|
[1m[35m (0.0ms)[0m commit transaction
|
131
244
|
Redirected to http://www.example-client.com/restricted
|
132
|
-
Completed 302 Found in
|
133
|
-
Started GET "/restricted" for 127.0.0.1 at
|
245
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.5ms)
|
246
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:03 +0000
|
134
247
|
Processing by ExampleController#restricted as HTML
|
135
248
|
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
136
249
|
Rendered text template (0.0ms)
|
137
|
-
Completed 200 OK in 1ms (Views: 0.
|
250
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
138
251
|
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "test@example-client.com"]]
|
139
252
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
140
|
-
[1m[35mSQL (0.
|
141
|
-
[1m[36m (8.
|
142
|
-
Started GET "/restricted" for 127.0.0.1 at
|
253
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 12]]
|
254
|
+
[1m[36m (8.4ms)[0m [1mcommit transaction[0m
|
255
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:03 +0000
|
143
256
|
Processing by ExampleController#restricted as HTML
|
144
257
|
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
145
258
|
Authenticating with gds_sso strategy
|
146
259
|
Completed in 1ms (ActiveRecord: 0.1ms)
|
147
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
148
|
-
Started GET "/auth/gds/callback?code=
|
260
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-01-23 17:16:03 +0000
|
261
|
+
Started GET "/auth/gds/callback?code=a42cc66b7c08714a86aa1b0fd4fe829eed275b90dd80990fde259abd6fd389c3&state=b77e7afe03bb5fe0230fee7588a9e9fd817d535c13aaf82f" for 127.0.0.1 at 2018-01-23 17:16:04 +0000
|
149
262
|
Processing by AuthenticationsController#callback as HTML
|
150
|
-
Parameters: {"code"=>"
|
263
|
+
Parameters: {"code"=>"a42cc66b7c08714a86aa1b0fd4fe829eed275b90dd80990fde259abd6fd389c3", "state"=>"b77e7afe03bb5fe0230fee7588a9e9fd817d535c13aaf82f"}
|
151
264
|
Authenticating with gds_sso strategy
|
152
265
|
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
153
266
|
[1m[35m (0.1ms)[0m begin transaction
|
154
267
|
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
155
268
|
[1m[35m (0.0ms)[0m begin transaction
|
156
|
-
[1m[36mSQL (0.
|
157
|
-
[1m[35m (
|
269
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id", 12]]
|
270
|
+
[1m[35m (7.3ms)[0m commit transaction
|
158
271
|
Redirected to http://www.example-client.com/restricted
|
159
|
-
Completed 302 Found in
|
160
|
-
Started GET "/restricted" for 127.0.0.1 at
|
272
|
+
Completed 302 Found in 12ms (ActiveRecord: 7.8ms)
|
273
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:04 +0000
|
161
274
|
Processing by ExampleController#restricted as HTML
|
162
275
|
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
163
276
|
Rendered text template (0.0ms)
|
164
|
-
Completed 200 OK in 2ms (Views: 0.
|
165
|
-
Started GET "/restricted" for 127.0.0.1 at
|
277
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
278
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:04 +0000
|
166
279
|
Processing by ExampleController#restricted as HTML
|
167
280
|
Authenticating with gds_sso strategy
|
168
|
-
Completed in
|
169
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
170
|
-
Started GET "/auth/gds/callback?code=
|
281
|
+
Completed in 0ms (ActiveRecord: 0.0ms)
|
282
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-01-23 17:16:04 +0000
|
283
|
+
Started GET "/auth/gds/callback?code=ea4be227e15fee05e27f9fe3445da8a37a8505855bfe6005fea4edeaa88e45ec&state=1bcab3b054b7680473e9ab5c24b567654cb6f69bdd7cdc4a" for 127.0.0.1 at 2018-01-23 17:16:04 +0000
|
171
284
|
Processing by AuthenticationsController#callback as HTML
|
172
|
-
Parameters: {"code"=>"
|
285
|
+
Parameters: {"code"=>"ea4be227e15fee05e27f9fe3445da8a37a8505855bfe6005fea4edeaa88e45ec", "state"=>"1bcab3b054b7680473e9ab5c24b567654cb6f69bdd7cdc4a"}
|
173
286
|
Authenticating with gds_sso strategy
|
174
287
|
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
175
288
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
176
|
-
[1m[35m (0.
|
289
|
+
[1m[35m (0.1ms)[0m commit transaction
|
177
290
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
178
291
|
[1m[35m (0.0ms)[0m commit transaction
|
179
292
|
Redirected to http://www.example-client.com/restricted
|
180
|
-
Completed 302 Found in 4ms (ActiveRecord: 0.
|
181
|
-
Started GET "/restricted" for 127.0.0.1 at
|
293
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
294
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:04 +0000
|
182
295
|
Processing by ExampleController#restricted as HTML
|
183
296
|
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
184
297
|
Rendered text template (0.0ms)
|
185
298
|
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
186
|
-
Started GET "/restricted" for 127.0.0.1 at
|
187
|
-
Processing by ExampleController#restricted as HTML
|
188
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
189
|
-
Rendered text template (0.0ms)
|
190
|
-
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
191
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-15 16:09:25 +0000
|
299
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-24 13:21:04 +0000
|
192
300
|
Processing by ExampleController#restricted as HTML
|
193
301
|
Authenticating with gds_sso strategy
|
194
302
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
195
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
196
|
-
Started GET "/auth/gds/callback?code=
|
303
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-01-24 13:21:04 +0000
|
304
|
+
Started GET "/auth/gds/callback?code=3e8cf2dec1562f532d37e19ac4ae275d02573770e2e22010542dee49e01d1386&state=b5306cfd42b8e7d546344d54f80f31484c900d753e028142" for 127.0.0.1 at 2018-01-24 13:21:04 +0000
|
197
305
|
Processing by AuthenticationsController#callback as HTML
|
198
|
-
Parameters: {"code"=>"
|
306
|
+
Parameters: {"code"=>"3e8cf2dec1562f532d37e19ac4ae275d02573770e2e22010542dee49e01d1386", "state"=>"b5306cfd42b8e7d546344d54f80f31484c900d753e028142"}
|
199
307
|
Authenticating with gds_sso strategy
|
200
|
-
[1m[
|
201
|
-
[1m[
|
202
|
-
[1m[
|
203
|
-
[1m[
|
204
|
-
[1m[
|
308
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
309
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
310
|
+
[1m[35m (0.1ms)[0m commit transaction
|
311
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
312
|
+
[1m[35m (0.1ms)[0m commit transaction
|
205
313
|
Redirected to http://www.example-client.com/restricted
|
206
|
-
Completed 302 Found in 4ms (ActiveRecord: 0.
|
207
|
-
Started GET "/restricted" for 127.0.0.1 at
|
314
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
315
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-24 13:21:04 +0000
|
208
316
|
Processing by ExampleController#restricted as HTML
|
209
|
-
[1m[
|
317
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
210
318
|
Rendered text template (0.0ms)
|
211
|
-
Completed 200 OK in
|
212
|
-
Started GET "/restricted" for 127.0.0.1 at
|
213
|
-
Processing by ExampleController#restricted as HTML
|
214
|
-
Authenticating with gds_sso strategy
|
215
|
-
Completed in 0ms (ActiveRecord: 0.0ms)
|
216
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-16 12:14:25 +0000
|
217
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-15 16:09:25 +0000
|
319
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
320
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:04 +0000
|
218
321
|
Processing by ExampleController#restricted as HTML
|
219
322
|
Authenticating with gds_sso strategy
|
220
323
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
221
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
222
|
-
Started GET "/auth/gds/callback?code=
|
324
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-01-23 17:16:04 +0000
|
325
|
+
Started GET "/auth/gds/callback?code=d229a130e1aaea3d4242bfeda50599cbd201fbeb809478a7de56fc368a7c4dcd&state=cb92bde06d95b1f03c9d5874a6e821d7a1234c7f5deec91a" for 127.0.0.1 at 2018-01-23 17:16:04 +0000
|
223
326
|
Processing by AuthenticationsController#callback as HTML
|
224
|
-
Parameters: {"code"=>"
|
327
|
+
Parameters: {"code"=>"d229a130e1aaea3d4242bfeda50599cbd201fbeb809478a7de56fc368a7c4dcd", "state"=>"cb92bde06d95b1f03c9d5874a6e821d7a1234c7f5deec91a"}
|
225
328
|
Authenticating with gds_sso strategy
|
226
|
-
[1m[
|
227
|
-
[1m[
|
228
|
-
[1m[
|
229
|
-
[1m[
|
230
|
-
[1m[
|
329
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
330
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
331
|
+
[1m[35m (0.0ms)[0m commit transaction
|
332
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
333
|
+
[1m[35m (0.0ms)[0m commit transaction
|
231
334
|
Redirected to http://www.example-client.com/restricted
|
232
|
-
Completed 302 Found in 4ms (ActiveRecord: 0.
|
233
|
-
Started GET "/restricted" for 127.0.0.1 at
|
335
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.5ms)
|
336
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:04 +0000
|
234
337
|
Processing by ExampleController#restricted as HTML
|
235
|
-
[1m[
|
338
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
236
339
|
Rendered text template (0.0ms)
|
237
340
|
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
238
|
-
Started GET "/restricted" for 127.0.0.1 at
|
341
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-24 13:21:04 +0000
|
342
|
+
Processing by ExampleController#restricted as HTML
|
343
|
+
Authenticating with gds_sso strategy
|
344
|
+
Completed in 1ms (ActiveRecord: 0.0ms)
|
345
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-01-24 13:21:04 +0000
|
346
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:04 +0000
|
239
347
|
Processing by ExampleController#restricted as HTML
|
240
348
|
Authenticating with gds_sso strategy
|
241
349
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
242
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
243
|
-
Started GET "/auth/gds/callback?code=
|
350
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-01-23 17:16:04 +0000
|
351
|
+
Started GET "/auth/gds/callback?code=abe7dbdab2e4f482d01a0bcbc29dd202fc1c474cc83e74c5b0eeca24e7ded0a7&state=f5f792e5354fb43000f91e015faea05b61ea865f91e2b60d" for 127.0.0.1 at 2018-01-23 17:16:05 +0000
|
244
352
|
Processing by AuthenticationsController#callback as HTML
|
245
|
-
Parameters: {"code"=>"
|
353
|
+
Parameters: {"code"=>"abe7dbdab2e4f482d01a0bcbc29dd202fc1c474cc83e74c5b0eeca24e7ded0a7", "state"=>"f5f792e5354fb43000f91e015faea05b61ea865f91e2b60d"}
|
246
354
|
Authenticating with gds_sso strategy
|
247
|
-
[1m[
|
248
|
-
[1m[
|
249
|
-
[1m[
|
250
|
-
[1m[
|
251
|
-
[1m[
|
355
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
356
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
357
|
+
[1m[35m (0.0ms)[0m commit transaction
|
358
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
359
|
+
[1m[35m (0.0ms)[0m commit transaction
|
252
360
|
Redirected to http://www.example-client.com/restricted
|
253
|
-
Completed 302 Found in
|
254
|
-
Started GET "/restricted" for 127.0.0.1 at
|
361
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.4ms)
|
362
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:05 +0000
|
255
363
|
Processing by ExampleController#restricted as HTML
|
256
|
-
[1m[
|
364
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
257
365
|
Rendered text template (0.0ms)
|
258
366
|
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
259
|
-
Started GET "/restricted" for 127.0.0.1 at
|
260
|
-
Processing by ExampleController#restricted as JSON
|
261
|
-
Completed in 27ms (ActiveRecord: 0.0ms)
|
262
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-15 16:09:26 +0000
|
263
|
-
Processing by ExampleController#restricted as JSON
|
264
|
-
Completed in 13ms (ActiveRecord: 0.0ms)
|
265
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-15 16:09:26 +0000
|
266
|
-
Processing by ExampleController#this_requires_signin_permission as JSON
|
267
|
-
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
268
|
-
[1m[35m (0.1ms)[0m begin transaction
|
269
|
-
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "disabled" = ? WHERE "users"."id" = ?[0m [["disabled", nil], ["id", 1]]
|
270
|
-
[1m[35m (6.1ms)[0m commit transaction
|
271
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
272
|
-
[1m[35m (0.1ms)[0m begin transaction
|
273
|
-
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
274
|
-
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
275
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
276
|
-
[1m[35m (0.1ms)[0m commit transaction
|
277
|
-
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
278
|
-
[1m[35m (0.1ms)[0m begin transaction
|
279
|
-
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
280
|
-
[1m[35m (0.0ms)[0m begin transaction
|
281
|
-
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
282
|
-
Rendered text template (0.0ms)
|
283
|
-
Completed 200 OK in 78ms (Views: 0.4ms | ActiveRecord: 7.1ms)
|
284
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-15 16:09:26 +0000
|
285
|
-
Processing by ExampleController#restricted as JSON
|
286
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
287
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
288
|
-
[1m[35m (0.1ms)[0m commit transaction
|
289
|
-
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
290
|
-
[1m[35m (0.1ms)[0m begin transaction
|
291
|
-
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
292
|
-
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
293
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
294
|
-
[1m[35m (0.1ms)[0m commit transaction
|
295
|
-
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
296
|
-
[1m[35m (0.1ms)[0m begin transaction
|
297
|
-
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
298
|
-
[1m[35m (0.0ms)[0m begin transaction
|
299
|
-
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
300
|
-
Rendered text template (0.0ms)
|
301
|
-
Completed 200 OK in 67ms (Views: 0.3ms | ActiveRecord: 0.8ms)
|
302
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-15 16:09:26 +0000
|
367
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-24 13:11:05 +0000
|
303
368
|
Processing by ExampleController#restricted as HTML
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["email", "user@example.com"]]
|
308
|
-
[1m[35m (0.1ms)[0m begin transaction
|
309
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions", "organisation_slug", "organisation_content_id", "disabled") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["uid", "asd"], ["email", "user@example.com"], ["name", "A Name"], ["permissions", "---\n- signin\n"], ["organisation_slug", "hmrc"], ["organisation_content_id", "67a2b78d-eee3-45b3-80e2-792e7f71cecc"], ["disabled", nil]]
|
310
|
-
[1m[35m (8.8ms)[0m commit transaction
|
311
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "asd"]]
|
312
|
-
[1m[35m (0.1ms)[0m begin transaction
|
313
|
-
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
314
|
-
[1m[35m (0.1ms)[0m begin transaction
|
315
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d35816"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
316
|
-
[1m[35m (5.5ms)[0m commit transaction
|
317
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
318
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d33753"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
319
|
-
[1m[36m (5.0ms)[0m [1mcommit transaction[0m
|
320
|
-
Processing by Api::UserController#reauth as HTML
|
321
|
-
Parameters: {"uid"=>"a1s2d35816"}
|
322
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "a1s2d35816"]]
|
323
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
324
|
-
[1m[35mSQL (0.1ms)[0m UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 3]]
|
325
|
-
[1m[36m (4.3ms)[0m [1mcommit transaction[0m
|
326
|
-
Completed 200 OK in 7ms (ActiveRecord: 4.6ms)
|
327
|
-
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
|
328
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
329
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d34978"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
330
|
-
[1m[36m (4.1ms)[0m [1mcommit transaction[0m
|
331
|
-
[1m[35m (0.1ms)[0m begin transaction
|
332
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d3583"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
333
|
-
[1m[35m (4.8ms)[0m commit transaction
|
334
|
-
Processing by Api::UserController#reauth as HTML
|
335
|
-
Parameters: {"uid"=>"nonexistent-user"}
|
336
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "nonexistent-user"]]
|
337
|
-
Completed 200 OK in 1ms (ActiveRecord: 0.1ms)
|
338
|
-
[1m[35m (0.1ms)[0m begin transaction
|
339
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d38013"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
340
|
-
[1m[35m (4.3ms)[0m commit transaction
|
341
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
342
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d35921"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
343
|
-
[1m[36m (8.6ms)[0m [1mcommit transaction[0m
|
344
|
-
Processing by Api::UserController#reauth as HTML
|
345
|
-
Parameters: {"uid"=>"a1s2d38013"}
|
346
|
-
Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.3ms)
|
347
|
-
Completed 403 Forbidden in 9ms (Views: 8.7ms | ActiveRecord: 0.0ms)
|
348
|
-
[1m[35m (0.1ms)[0m begin transaction
|
349
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d31949"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
350
|
-
[1m[35m (5.5ms)[0m commit transaction
|
351
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
352
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d35382"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
353
|
-
[1m[36m (4.3ms)[0m [1mcommit transaction[0m
|
354
|
-
Processing by Api::UserController#update as HTML
|
355
|
-
Parameters: {"uid"=>"a1s2d31949"}
|
356
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "a1s2d31949"]]
|
357
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
358
|
-
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "email" = ?, "name" = ?, "permissions" = ?, "organisation_slug" = ?, "organisation_content_id" = ? WHERE "users"."id" = ? [["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"], ["id", 9]]
|
359
|
-
[1m[36m (6.1ms)[0m [1mcommit transaction[0m
|
360
|
-
Completed 200 OK in 10ms (ActiveRecord: 6.4ms)
|
361
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 9]]
|
362
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
363
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d31937"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
364
|
-
[1m[36m (4.4ms)[0m [1mcommit transaction[0m
|
365
|
-
[1m[35m (0.1ms)[0m begin transaction
|
366
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d33052"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
367
|
-
[1m[35m (5.6ms)[0m commit transaction
|
368
|
-
Processing by Api::UserController#update as HTML
|
369
|
-
Parameters: {"uid"=>"a1s2d31937"}
|
370
|
-
Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.0ms)
|
371
|
-
Completed 403 Forbidden in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
|
369
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
370
|
+
Rendered text template (0.1ms)
|
371
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
372
372
|
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "users"[0m
|
373
|
-
[1m[35m (
|
374
|
-
[1m[35m (
|
375
|
-
[1m[35m (
|
373
|
+
[1m[35m (0.8ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
374
|
+
[1m[35m (9.7ms)[0m [1m[35mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "uid" varchar NOT NULL, "email" varchar NOT NULL, "remotely_signed_out" boolean, "permissions" text, "organisation_slug" varchar, "organisation_content_id" varchar, "disabled" boolean DEFAULT 'f')[0m
|
375
|
+
[1m[35m (7.1ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
376
376
|
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
377
377
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
378
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "
|
379
|
-
[1m[35m (
|
380
|
-
[1m[35m (
|
378
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2018-01-23 17:16:13.649652"], ["updated_at", "2018-01-23 17:16:13.649652"]]
|
379
|
+
[1m[35m (7.3ms)[0m [1m[36mcommit transaction[0m
|
380
|
+
[1m[35m (7.1ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
381
381
|
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
382
|
-
[1m[35m (0.
|
382
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
383
383
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
384
|
-
|
385
|
-
|
386
|
-
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
387
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["email", "test@example-client.com"], ["LIMIT", 1]]
|
384
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "asd"], ["LIMIT", 1]]
|
385
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["email", "user@example.com"], ["LIMIT", 1]]
|
388
386
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
389
|
-
[1m[35mSQL (0.
|
390
|
-
[1m[35m (6.
|
391
|
-
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "
|
387
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions", "organisation_slug", "organisation_content_id", "disabled") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["name", "A Name"], ["uid", "asd"], ["email", "user@example.com"], ["permissions", "---\n- signin\n"], ["organisation_slug", "hmrc"], ["organisation_content_id", "67a2b78d-eee3-45b3-80e2-792e7f71cecc"], ["disabled", nil]]
|
388
|
+
[1m[35m (6.8ms)[0m [1m[36mcommit transaction[0m
|
389
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "asd"], ["LIMIT", 1]]
|
392
390
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
393
|
-
[1m[35m (0.
|
394
|
-
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
391
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
395
392
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
396
|
-
[1m[
|
397
|
-
[1m[
|
393
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d37661"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
394
|
+
[1m[35m (6.3ms)[0m [1m[36mcommit transaction[0m
|
398
395
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
399
|
-
[1m[
|
396
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d33640"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
397
|
+
[1m[35m (6.0ms)[0m [1m[36mcommit transaction[0m
|
398
|
+
Processing by Api::UserController#update as HTML
|
399
|
+
Parameters: {"uid"=>"a1s2d37661"}
|
400
|
+
Rendering /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
401
|
+
Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
|
402
|
+
Completed 403 Forbidden in 10ms (Views: 9.5ms | ActiveRecord: 0.0ms)
|
403
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
404
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d31445"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
405
|
+
[1m[35m (6.6ms)[0m [1m[36mcommit transaction[0m
|
406
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
407
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d36546"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
408
|
+
[1m[35m (5.2ms)[0m [1m[36mcommit transaction[0m
|
409
|
+
Processing by Api::UserController#update as HTML
|
410
|
+
Parameters: {"uid"=>"a1s2d31445"}
|
411
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d31445"], ["LIMIT", 1]]
|
412
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
413
|
+
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "users" SET "email" = ?, "name" = ?, "permissions" = ?, "organisation_slug" = ?, "organisation_content_id" = ? WHERE "users"."id" = ?[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"], ["id", 4]]
|
414
|
+
[1m[35m (5.5ms)[0m [1m[36mcommit transaction[0m
|
415
|
+
Completed 200 OK in 11ms (ActiveRecord: 5.9ms)
|
416
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 4], ["LIMIT", 1]]
|
417
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
418
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d35667"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
419
|
+
[1m[35m (6.3ms)[0m [1m[36mcommit transaction[0m
|
400
420
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
401
|
-
[1m[35mSQL (0.2ms)[0m [1m[
|
421
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d37841"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
422
|
+
[1m[35m (6.0ms)[0m [1m[36mcommit transaction[0m
|
423
|
+
Processing by Api::UserController#reauth as HTML
|
424
|
+
Parameters: {"uid"=>"a1s2d35667"}
|
425
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d35667"], ["LIMIT", 1]]
|
426
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
427
|
+
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "t"], ["id", 6]]
|
402
428
|
[1m[35m (5.3ms)[0m [1m[36mcommit transaction[0m
|
403
|
-
|
404
|
-
|
405
|
-
|
406
|
-
|
429
|
+
Completed 200 OK in 8ms (ActiveRecord: 5.7ms)
|
430
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 6], ["LIMIT", 1]]
|
431
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
432
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d32079"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
433
|
+
[1m[35m (6.8ms)[0m [1m[36mcommit transaction[0m
|
434
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
435
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d38719"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
436
|
+
[1m[35m (6.4ms)[0m [1m[36mcommit transaction[0m
|
437
|
+
Processing by Api::UserController#reauth as HTML
|
438
|
+
Parameters: {"uid"=>"a1s2d32079"}
|
439
|
+
Rendering /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
440
|
+
Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.0ms)
|
441
|
+
Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
|
442
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
443
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d3596"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
444
|
+
[1m[35m (6.7ms)[0m [1m[36mcommit transaction[0m
|
445
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
446
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d32221"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
447
|
+
[1m[35m (6.8ms)[0m [1m[36mcommit transaction[0m
|
448
|
+
Processing by Api::UserController#reauth as HTML
|
449
|
+
Parameters: {"uid"=>"nonexistent-user"}
|
450
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "nonexistent-user"], ["LIMIT", 1]]
|
451
|
+
Completed 200 OK in 1ms (ActiveRecord: 0.1ms)
|
452
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:14 +0000
|
453
|
+
Processing by ExampleController#restricted as HTML
|
454
|
+
Authenticating with gds_sso strategy
|
455
|
+
Completed in 6ms (ActiveRecord: 0.0ms)
|
456
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:14 +0000
|
457
|
+
Processing by ExampleController#restricted as JSON
|
458
|
+
Completed in 30ms (ActiveRecord: 0.0ms)
|
459
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:14 +0000
|
407
460
|
Processing by ExampleController#restricted as JSON
|
408
|
-
Completed in 24ms (ActiveRecord: 0.0ms)
|
409
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-15 16:09:35 +0000
|
410
|
-
Processing by ExampleController#this_requires_signin_permission as JSON
|
411
461
|
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
462
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["email", "test@example-client.com"], ["LIMIT", 1]]
|
412
463
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
413
|
-
[1m[
|
464
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions", "disabled") VALUES (?, ?, ?, ?, ?)[0m [["name", "Test User"], ["uid", "integration-uid"], ["email", "test@example-client.com"], ["permissions", "---\n- signin\n"], ["disabled", nil]]
|
465
|
+
[1m[35m (4.9ms)[0m [1m[36mcommit transaction[0m
|
466
|
+
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
467
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
468
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
414
469
|
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
415
470
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
416
|
-
[1m[35m (0.
|
471
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
417
472
|
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
418
473
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
419
|
-
[1m[35m (0.
|
474
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
475
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
476
|
+
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id", 12]]
|
477
|
+
[1m[35m (5.9ms)[0m [1m[36mcommit transaction[0m
|
478
|
+
Rendering text template
|
479
|
+
Rendered text template (0.0ms)
|
480
|
+
Completed 200 OK in 98ms (Views: 1.7ms | ActiveRecord: 13.1ms)
|
481
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2018-01-23 17:16:14 +0000
|
482
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
483
|
+
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
484
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
485
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
486
|
+
[1m[36mCACHE User Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
487
|
+
[1m[35m (0.8ms)[0m [1m[36mbegin transaction[0m
|
488
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
420
489
|
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
421
490
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
422
|
-
[1m[35m (0.
|
491
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
492
|
+
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
493
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
494
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
423
495
|
Rendering text template
|
424
496
|
Rendered text template (0.0ms)
|
425
|
-
Completed 200 OK in
|
426
|
-
Started GET "/restricted" for 127.0.0.1 at
|
497
|
+
Completed 200 OK in 78ms (Views: 0.7ms | ActiveRecord: 2.3ms)
|
498
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:14 +0000
|
427
499
|
Processing by ExampleController#restricted as JSON
|
428
|
-
Completed in
|
429
|
-
Started GET "/restricted" for 127.0.0.1 at
|
500
|
+
Completed in 17ms (ActiveRecord: 0.0ms)
|
501
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:14 +0000
|
430
502
|
Processing by ExampleController#restricted as HTML
|
431
503
|
Authenticating with gds_sso strategy
|
432
504
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
433
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
434
|
-
Started GET "/auth/gds/callback?code=
|
505
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-01-23 17:16:14 +0000
|
506
|
+
Started GET "/auth/gds/callback?code=91daf7112fcf8d0313f0a45c1bba7a15715b8ca70e0b780694248a9e2bde5f89&state=25eddc4fde2d37ad90157fbb959c73947dc2cf1e364d453e" for 127.0.0.1 at 2018-01-23 17:16:14 +0000
|
435
507
|
Processing by AuthenticationsController#callback as HTML
|
436
|
-
Parameters: {"code"=>"
|
508
|
+
Parameters: {"code"=>"91daf7112fcf8d0313f0a45c1bba7a15715b8ca70e0b780694248a9e2bde5f89", "state"=>"25eddc4fde2d37ad90157fbb959c73947dc2cf1e364d453e"}
|
437
509
|
Authenticating with gds_sso strategy
|
438
|
-
[1m[36mUser Load (0.
|
439
|
-
[1m[35m (0.
|
440
|
-
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "users" SET "disabled" = ? WHERE "users"."id" = ?[0m [["disabled", "f"], ["id",
|
441
|
-
[1m[35m (
|
510
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
511
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
512
|
+
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "users" SET "disabled" = ? WHERE "users"."id" = ?[0m [["disabled", "f"], ["id", 12]]
|
513
|
+
[1m[35m (7.3ms)[0m [1m[36mcommit transaction[0m
|
442
514
|
Redirected to http://www.example-client.com/restricted
|
443
|
-
Completed 302 Found in
|
444
|
-
Started GET "/restricted" for 127.0.0.1 at
|
515
|
+
Completed 302 Found in 12ms (ActiveRecord: 7.8ms)
|
516
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:14 +0000
|
445
517
|
Processing by ExampleController#restricted as HTML
|
446
518
|
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
447
519
|
Rendering text template
|
448
520
|
Rendered text template (0.0ms)
|
449
|
-
Completed 200 OK in
|
450
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at
|
521
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
522
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2018-01-23 17:16:14 +0000
|
451
523
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
452
524
|
Authenticating with gds_sso strategy
|
453
525
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
454
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
455
|
-
Started GET "/auth/gds/callback?code=
|
526
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-01-23 17:16:14 +0000
|
527
|
+
Started GET "/auth/gds/callback?code=0b04d8c48e5fd2478fb8b3af84309f559c1ad05d1b1c21a11b833ce1593c6e39&state=e96239537c0c2f74d1dc27e2afb4bae334eaacb43215638c" for 127.0.0.1 at 2018-01-23 17:16:14 +0000
|
456
528
|
Processing by AuthenticationsController#callback as HTML
|
457
|
-
Parameters: {"code"=>"
|
529
|
+
Parameters: {"code"=>"0b04d8c48e5fd2478fb8b3af84309f559c1ad05d1b1c21a11b833ce1593c6e39", "state"=>"e96239537c0c2f74d1dc27e2afb4bae334eaacb43215638c"}
|
458
530
|
Authenticating with gds_sso strategy
|
459
|
-
[1m[36mUser Load (0.
|
531
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
460
532
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
461
533
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
462
534
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
463
|
-
Completed 302 Found in
|
464
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at
|
535
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
536
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2018-01-23 17:16:15 +0000
|
465
537
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
466
538
|
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
467
539
|
Rendering text template
|
468
540
|
Rendered text template (0.0ms)
|
469
541
|
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
470
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at
|
542
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2018-01-23 17:16:15 +0000
|
471
543
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
472
544
|
Authenticating with gds_sso strategy
|
473
545
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
474
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
475
|
-
Started GET "/auth/gds/callback?code=
|
546
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-01-23 17:16:15 +0000
|
547
|
+
Started GET "/auth/gds/callback?code=6c400a531253b352933fa50caceeedd633c1a374f09dd76a3105e407f0e4446c&state=765e268bd9ca801419b7e71627eabed18c4ce8aa5c238e8e" for 127.0.0.1 at 2018-01-23 17:16:15 +0000
|
476
548
|
Processing by AuthenticationsController#callback as HTML
|
477
|
-
Parameters: {"code"=>"
|
549
|
+
Parameters: {"code"=>"6c400a531253b352933fa50caceeedd633c1a374f09dd76a3105e407f0e4446c", "state"=>"765e268bd9ca801419b7e71627eabed18c4ce8aa5c238e8e"}
|
478
550
|
Authenticating with gds_sso strategy
|
479
|
-
[1m[36mUser Load (0.
|
551
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
480
552
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
481
|
-
[1m[35m (0.
|
553
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
482
554
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
483
|
-
Completed 302 Found in
|
484
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at
|
555
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
556
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2018-01-23 17:16:15 +0000
|
485
557
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
486
558
|
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
487
559
|
Rendering text template
|
488
560
|
Rendered text template (0.0ms)
|
489
561
|
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
490
|
-
Started GET "/
|
491
|
-
Processing by ExampleController#
|
492
|
-
Authenticating with gds_sso strategy
|
493
|
-
Completed in 0ms (ActiveRecord: 0.0ms)
|
494
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-15 16:09:36 +0000
|
495
|
-
Started GET "/auth/gds/callback?code=43e57b005e25581ba8b5b77fbe305148e69a5be89adba8a356e662bd2bfb0f04&state=339c072e72a4c1f96ce29b65555b1060c37a35b801fa675d" for 127.0.0.1 at 2017-12-15 16:09:36 +0000
|
496
|
-
Processing by AuthenticationsController#callback as HTML
|
497
|
-
Parameters: {"code"=>"43e57b005e25581ba8b5b77fbe305148e69a5be89adba8a356e662bd2bfb0f04", "state"=>"339c072e72a4c1f96ce29b65555b1060c37a35b801fa675d"}
|
498
|
-
Authenticating with gds_sso strategy
|
499
|
-
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
500
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
501
|
-
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
502
|
-
Redirected to http://www.example-client.com/restricted
|
503
|
-
Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
|
504
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-15 16:09:36 +0000
|
505
|
-
Processing by ExampleController#restricted as HTML
|
506
|
-
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
562
|
+
Started GET "/" for 127.0.0.1 at 2018-01-23 17:16:15 +0000
|
563
|
+
Processing by ExampleController#index as HTML
|
507
564
|
Rendering text template
|
508
565
|
Rendered text template (0.0ms)
|
509
|
-
Completed 200 OK in
|
510
|
-
Started GET "/restricted" for 127.0.0.1 at
|
566
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
567
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:15 +0000
|
511
568
|
Processing by ExampleController#restricted as HTML
|
512
569
|
Authenticating with gds_sso strategy
|
513
570
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
514
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
515
|
-
Started GET "/auth/gds/callback?code=
|
571
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-01-23 17:16:15 +0000
|
572
|
+
Started GET "/auth/gds/callback?code=03cb21cbed6480c2234f288bf81895fa754edaa6f48304ce92a28a156cc59e7b&state=195c2aef60ededea8d73dc1bea20607b63353f07897956b4" for 127.0.0.1 at 2018-01-23 17:16:15 +0000
|
516
573
|
Processing by AuthenticationsController#callback as HTML
|
517
|
-
Parameters: {"code"=>"
|
574
|
+
Parameters: {"code"=>"03cb21cbed6480c2234f288bf81895fa754edaa6f48304ce92a28a156cc59e7b", "state"=>"195c2aef60ededea8d73dc1bea20607b63353f07897956b4"}
|
518
575
|
Authenticating with gds_sso strategy
|
519
|
-
[1m[36mUser Load (0.
|
576
|
+
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
520
577
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
521
578
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
522
579
|
Redirected to http://www.example-client.com/restricted
|
523
|
-
Completed 302 Found in
|
524
|
-
Started GET "/restricted" for 127.0.0.1 at
|
580
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.6ms)
|
581
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:15 +0000
|
525
582
|
Processing by ExampleController#restricted as HTML
|
526
|
-
[1m[36mUser Load (0.
|
527
|
-
Rendering text template
|
528
|
-
Rendered text template (0.0ms)
|
529
|
-
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
530
|
-
Started GET "/" for 127.0.0.1 at 2017-12-15 16:09:36 +0000
|
531
|
-
Processing by ExampleController#index as HTML
|
583
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
532
584
|
Rendering text template
|
533
585
|
Rendered text template (0.0ms)
|
534
|
-
Completed 200 OK in
|
535
|
-
Started GET "/restricted" for 127.0.0.1 at
|
586
|
+
Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.3ms)
|
587
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:15 +0000
|
536
588
|
Processing by ExampleController#restricted as HTML
|
537
589
|
Authenticating with gds_sso strategy
|
538
590
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
539
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
540
|
-
Started GET "/auth/gds/callback?code=
|
591
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-01-23 17:16:15 +0000
|
592
|
+
Started GET "/auth/gds/callback?code=30de01255a24d9dec3c93fadca99af449ed43e3949c83a6573c6ce1004a4fabe&state=a961609be14f7135eac870b4666dcb6201861f463104fc62" for 127.0.0.1 at 2018-01-23 17:16:15 +0000
|
541
593
|
Processing by AuthenticationsController#callback as HTML
|
542
|
-
Parameters: {"code"=>"
|
594
|
+
Parameters: {"code"=>"30de01255a24d9dec3c93fadca99af449ed43e3949c83a6573c6ce1004a4fabe", "state"=>"a961609be14f7135eac870b4666dcb6201861f463104fc62"}
|
543
595
|
Authenticating with gds_sso strategy
|
544
596
|
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
545
597
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
546
|
-
[1m[35m (0.
|
598
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
547
599
|
Redirected to http://www.example-client.com/restricted
|
548
|
-
Completed 302 Found in
|
549
|
-
Started GET "/restricted" for 127.0.0.1 at
|
600
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
601
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:15 +0000
|
550
602
|
Processing by ExampleController#restricted as HTML
|
551
603
|
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
552
604
|
Rendering text template
|
553
605
|
Rendered text template (0.0ms)
|
554
|
-
Completed 200 OK in 2ms (Views: 0.
|
555
|
-
|
556
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
557
|
-
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "t"], ["id", 1]]
|
558
|
-
[1m[35m (4.8ms)[0m [1m[36mcommit transaction[0m
|
559
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-15 16:09:36 +0000
|
606
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
607
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:15 +0000
|
560
608
|
Processing by ExampleController#restricted as HTML
|
561
|
-
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
562
609
|
Authenticating with gds_sso strategy
|
563
|
-
Completed in
|
564
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
565
|
-
Started GET "/auth/gds/callback?code=
|
610
|
+
Completed in 0ms (ActiveRecord: 0.0ms)
|
611
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-01-23 17:16:15 +0000
|
612
|
+
Started GET "/auth/gds/callback?code=5e58bbe491f1453c00b63f73929b9c6531f82b91ef0e78b1dc660add49949cae&state=b87c0dbadc989a86f5582926f0a94eebf6ea7bedcc2e53bd" for 127.0.0.1 at 2018-01-23 17:16:15 +0000
|
566
613
|
Processing by AuthenticationsController#callback as HTML
|
567
|
-
Parameters: {"code"=>"
|
614
|
+
Parameters: {"code"=>"5e58bbe491f1453c00b63f73929b9c6531f82b91ef0e78b1dc660add49949cae", "state"=>"b87c0dbadc989a86f5582926f0a94eebf6ea7bedcc2e53bd"}
|
568
615
|
Authenticating with gds_sso strategy
|
569
|
-
[1m[36mUser Load (0.
|
616
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
570
617
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
571
|
-
[1m[35m (0.
|
572
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
573
|
-
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id", 1]]
|
574
|
-
[1m[35m (6.0ms)[0m [1m[36mcommit transaction[0m
|
618
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
575
619
|
Redirected to http://www.example-client.com/restricted
|
576
|
-
Completed 302 Found in
|
577
|
-
Started GET "/restricted" for 127.0.0.1 at
|
620
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
621
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:16 +0000
|
578
622
|
Processing by ExampleController#restricted as HTML
|
579
|
-
[1m[36mUser Load (0.
|
623
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
580
624
|
Rendering text template
|
581
625
|
Rendered text template (0.0ms)
|
582
|
-
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.
|
583
|
-
Started GET "/restricted" for 127.0.0.1 at
|
626
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.3ms)
|
627
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-24 13:21:16 +0000
|
584
628
|
Processing by ExampleController#restricted as HTML
|
585
629
|
Authenticating with gds_sso strategy
|
586
630
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
587
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
588
|
-
Started GET "/auth/gds/callback?code=
|
631
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-01-24 13:21:16 +0000
|
632
|
+
Started GET "/auth/gds/callback?code=77dd6a06bbc303a6203f8f87605ab5550216feae3c53db93960f2c8a5448847c&state=0a2a8378d8b0427ed04653829c9005e0ed93009063b46bcf" for 127.0.0.1 at 2018-01-24 13:21:16 +0000
|
589
633
|
Processing by AuthenticationsController#callback as HTML
|
590
|
-
Parameters: {"code"=>"
|
634
|
+
Parameters: {"code"=>"77dd6a06bbc303a6203f8f87605ab5550216feae3c53db93960f2c8a5448847c", "state"=>"0a2a8378d8b0427ed04653829c9005e0ed93009063b46bcf"}
|
591
635
|
Authenticating with gds_sso strategy
|
592
636
|
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
593
637
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
594
638
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
595
639
|
Redirected to http://www.example-client.com/restricted
|
596
640
|
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
597
|
-
Started GET "/restricted" for 127.0.0.1 at
|
641
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-24 13:21:16 +0000
|
598
642
|
Processing by ExampleController#restricted as HTML
|
599
|
-
[1m[36mUser Load (0.
|
643
|
+
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
600
644
|
Rendering text template
|
601
|
-
Rendered text template (0.
|
602
|
-
Completed 200 OK in 2ms (Views: 0.
|
603
|
-
Started GET "/restricted" for 127.0.0.1 at
|
645
|
+
Rendered text template (0.1ms)
|
646
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.4ms)
|
647
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:16 +0000
|
604
648
|
Processing by ExampleController#restricted as HTML
|
605
649
|
Authenticating with gds_sso strategy
|
606
650
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
607
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
608
|
-
Started GET "/auth/gds/callback?code=
|
651
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-01-23 17:16:16 +0000
|
652
|
+
Started GET "/auth/gds/callback?code=a998f94940f771e0e8e770236512a193763b529e98175513922a2b0bee22bd0b&state=3d00f54c2828456a0e02470c06fdcdf7d697ad6537fb85ca" for 127.0.0.1 at 2018-01-23 17:16:16 +0000
|
609
653
|
Processing by AuthenticationsController#callback as HTML
|
610
|
-
Parameters: {"code"=>"
|
654
|
+
Parameters: {"code"=>"a998f94940f771e0e8e770236512a193763b529e98175513922a2b0bee22bd0b", "state"=>"3d00f54c2828456a0e02470c06fdcdf7d697ad6537fb85ca"}
|
611
655
|
Authenticating with gds_sso strategy
|
612
656
|
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
613
657
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
614
658
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
615
659
|
Redirected to http://www.example-client.com/restricted
|
616
|
-
Completed 302 Found in
|
617
|
-
Started GET "/restricted" for 127.0.0.1 at
|
660
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.4ms)
|
661
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:16 +0000
|
618
662
|
Processing by ExampleController#restricted as HTML
|
619
663
|
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
620
664
|
Rendering text template
|
621
665
|
Rendered text template (0.0ms)
|
622
|
-
Completed 200 OK in 2ms (Views: 0.
|
623
|
-
Started GET "/restricted" for 127.0.0.1 at
|
666
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
667
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-24 13:11:16 +0000
|
668
|
+
Processing by ExampleController#restricted as HTML
|
669
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
670
|
+
Rendering text template
|
671
|
+
Rendered text template (0.0ms)
|
672
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
|
673
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:16 +0000
|
624
674
|
Processing by ExampleController#restricted as HTML
|
625
675
|
Authenticating with gds_sso strategy
|
626
676
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
627
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
628
|
-
Started GET "/auth/gds/callback?code=
|
677
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-01-23 17:16:16 +0000
|
678
|
+
Started GET "/auth/gds/callback?code=e6b16c97c606e602c06aae707e5b94f217b33c6e2d3e883a8af27398f79668a3&state=42dcc37ebdbf81b486a19ccc8aa43a42417419ba00b188e0" for 127.0.0.1 at 2018-01-23 17:16:16 +0000
|
629
679
|
Processing by AuthenticationsController#callback as HTML
|
630
|
-
Parameters: {"code"=>"
|
680
|
+
Parameters: {"code"=>"e6b16c97c606e602c06aae707e5b94f217b33c6e2d3e883a8af27398f79668a3", "state"=>"42dcc37ebdbf81b486a19ccc8aa43a42417419ba00b188e0"}
|
631
681
|
Authenticating with gds_sso strategy
|
632
682
|
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
633
|
-
[1m[35m (0.
|
634
|
-
[1m[35m (0.
|
683
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
684
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
635
685
|
Redirected to http://www.example-client.com/restricted
|
636
|
-
Completed 302 Found in 4ms (ActiveRecord: 0.
|
637
|
-
Started GET "/restricted" for 127.0.0.1 at
|
686
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
687
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:16 +0000
|
638
688
|
Processing by ExampleController#restricted as HTML
|
639
689
|
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
640
690
|
Rendering text template
|
641
691
|
Rendered text template (0.0ms)
|
642
|
-
Completed 200 OK in 2ms (Views: 0.
|
643
|
-
Started GET "/restricted" for 127.0.0.1 at
|
692
|
+
Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.2ms)
|
693
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-24 13:21:16 +0000
|
644
694
|
Processing by ExampleController#restricted as HTML
|
645
695
|
Authenticating with gds_sso strategy
|
646
696
|
Completed in 1ms (ActiveRecord: 0.0ms)
|
647
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
648
|
-
Started GET "/restricted" for 127.0.0.1 at
|
697
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-01-24 13:21:16 +0000
|
698
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:16 +0000
|
649
699
|
Processing by ExampleController#restricted as HTML
|
650
700
|
Authenticating with gds_sso strategy
|
651
701
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
652
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
653
|
-
Started GET "/auth/gds/callback?code=
|
702
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-01-23 17:16:16 +0000
|
703
|
+
Started GET "/auth/gds/callback?code=a98605620a3252b49f52d649c68b378e9e08d0c747776b1ae0385e6411078a9f&state=782377e72efdbe0c2b66c925440a3fc5eaf03e9a1f834ae6" for 127.0.0.1 at 2018-01-23 17:16:16 +0000
|
654
704
|
Processing by AuthenticationsController#callback as HTML
|
655
|
-
Parameters: {"code"=>"
|
705
|
+
Parameters: {"code"=>"a98605620a3252b49f52d649c68b378e9e08d0c747776b1ae0385e6411078a9f", "state"=>"782377e72efdbe0c2b66c925440a3fc5eaf03e9a1f834ae6"}
|
656
706
|
Authenticating with gds_sso strategy
|
657
707
|
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
658
708
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
659
|
-
[1m[35m (0.
|
709
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
660
710
|
Redirected to http://www.example-client.com/restricted
|
661
|
-
Completed 302 Found in
|
662
|
-
Started GET "/restricted" for 127.0.0.1 at
|
711
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
712
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:16 +0000
|
663
713
|
Processing by ExampleController#restricted as HTML
|
664
714
|
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
665
715
|
Rendering text template
|
666
716
|
Rendered text template (0.0ms)
|
667
|
-
Completed 200 OK in 2ms (Views: 0.
|
668
|
-
|
717
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
718
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["email", "test@example-client.com"], ["LIMIT", 1]]
|
719
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
720
|
+
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "t"], ["id", 12]]
|
721
|
+
[1m[35m (7.8ms)[0m [1m[36mcommit transaction[0m
|
722
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:16 +0000
|
669
723
|
Processing by ExampleController#restricted as HTML
|
670
724
|
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
671
|
-
Rendering text template
|
672
|
-
Rendered text template (0.0ms)
|
673
|
-
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
|
674
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-15 16:09:37 +0000
|
675
|
-
Processing by ExampleController#restricted as HTML
|
676
725
|
Authenticating with gds_sso strategy
|
677
|
-
Completed in
|
726
|
+
Completed in 1ms (ActiveRecord: 0.2ms)
|
727
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-01-23 17:16:16 +0000
|
728
|
+
Started GET "/auth/gds/callback?code=a18d19dff286b1c94f19fe6899efa48d54cd7b0d86696af5158053a036d223fd&state=401b15a073056d265aae12704df93015d82a0094f29d6f8a" for 127.0.0.1 at 2018-01-23 17:16:17 +0000
|
729
|
+
Processing by AuthenticationsController#callback as HTML
|
730
|
+
Parameters: {"code"=>"a18d19dff286b1c94f19fe6899efa48d54cd7b0d86696af5158053a036d223fd", "state"=>"401b15a073056d265aae12704df93015d82a0094f29d6f8a"}
|
731
|
+
Authenticating with gds_sso strategy
|
732
|
+
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
678
733
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
679
|
-
[1m[
|
680
|
-
[1m[35m (6.7ms)[0m [1m[36mcommit transaction[0m
|
681
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
682
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d31266"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
683
|
-
[1m[35m (4.8ms)[0m [1m[36mcommit transaction[0m
|
684
|
-
Processing by Api::UserController#reauth as HTML
|
685
|
-
Parameters: {"uid"=>"nonexistent-user"}
|
686
|
-
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "nonexistent-user"], ["LIMIT", 1]]
|
687
|
-
Completed 200 OK in 1ms (ActiveRecord: 0.2ms)
|
734
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
688
735
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
689
|
-
[1m[35mSQL (0.2ms)[0m [1m[
|
690
|
-
[1m[35m (
|
691
|
-
|
692
|
-
|
693
|
-
|
736
|
+
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id", 12]]
|
737
|
+
[1m[35m (7.8ms)[0m [1m[36mcommit transaction[0m
|
738
|
+
Redirected to http://www.example-client.com/restricted
|
739
|
+
Completed 302 Found in 14ms (ActiveRecord: 8.6ms)
|
740
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:17 +0000
|
741
|
+
Processing by ExampleController#restricted as HTML
|
742
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
743
|
+
Rendering text template
|
744
|
+
Rendered text template (0.0ms)
|
745
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.3ms)
|
746
|
+
[1m[36m (6.4ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "uid" varchar NOT NULL, "email" varchar NOT NULL, "remotely_signed_out" boolean, "permissions" text, "organisation_slug" varchar, "organisation_content_id" varchar, "disabled" boolean DEFAULT 'f') [0m
|
747
|
+
[1m[35m (6.6ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
748
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
749
|
+
[1m[35m (6.7ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
750
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "asd"]]
|
751
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "user@example.com"]]
|
752
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
753
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions", "organisation_slug", "organisation_content_id", "disabled") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "asd"], ["email", "user@example.com"], ["name", "A Name"], ["permissions", "---\n- signin\n"], ["organisation_slug", "hmrc"], ["organisation_content_id", "67a2b78d-eee3-45b3-80e2-792e7f71cecc"], ["disabled", nil]]
|
754
|
+
[1m[36m (5.9ms)[0m [1mcommit transaction[0m
|
755
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "asd"]]
|
756
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
757
|
+
[1m[35m (0.0ms)[0m commit transaction
|
758
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
759
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d3205"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
760
|
+
[1m[36m (6.5ms)[0m [1mcommit transaction[0m
|
761
|
+
[1m[35m (0.0ms)[0m begin transaction
|
762
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d3478"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
763
|
+
[1m[35m (6.5ms)[0m commit transaction
|
694
764
|
Processing by Api::UserController#reauth as HTML
|
695
|
-
Parameters: {"uid"=>"
|
696
|
-
Rendering /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
765
|
+
Parameters: {"uid"=>"a1s2d3205"}
|
697
766
|
Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
|
698
|
-
Completed 403 Forbidden in
|
699
|
-
[1m[
|
700
|
-
[1m[35mSQL (0.2ms)[0m
|
701
|
-
[1m[
|
702
|
-
[1m[35m (0.
|
703
|
-
[1m[
|
704
|
-
[1m[35m (
|
767
|
+
Completed 403 Forbidden in 13ms (Views: 12.9ms | ActiveRecord: 0.0ms)
|
768
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
769
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d32498"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
770
|
+
[1m[36m (5.7ms)[0m [1mcommit transaction[0m
|
771
|
+
[1m[35m (0.1ms)[0m begin transaction
|
772
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d36256"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
773
|
+
[1m[35m (5.2ms)[0m commit transaction
|
705
774
|
Processing by Api::UserController#reauth as HTML
|
706
|
-
Parameters: {"uid"=>"
|
707
|
-
[1m[36mUser Load (0.1ms)[0m [
|
708
|
-
[1m[35m (0.
|
709
|
-
[1m[
|
710
|
-
[1m[35m (
|
711
|
-
Completed 200 OK in
|
712
|
-
[1m[36mUser Load (0.2ms)[0m [
|
713
|
-
[1m[35m (0.1ms)[0m
|
714
|
-
[1m[
|
715
|
-
[1m[35m (
|
716
|
-
[1m[
|
717
|
-
[1m[35mSQL (0.
|
718
|
-
[1m[
|
775
|
+
Parameters: {"uid"=>"a1s2d32498"}
|
776
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "a1s2d32498"]]
|
777
|
+
[1m[35m (0.1ms)[0m begin transaction
|
778
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "t"], ["id", 4]]
|
779
|
+
[1m[35m (7.7ms)[0m commit transaction
|
780
|
+
Completed 200 OK in 11ms (ActiveRecord: 8.1ms)
|
781
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 4]]
|
782
|
+
[1m[35m (0.1ms)[0m begin transaction
|
783
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d31373"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
784
|
+
[1m[35m (5.6ms)[0m commit transaction
|
785
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
786
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d32429"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
787
|
+
[1m[36m (6.9ms)[0m [1mcommit transaction[0m
|
788
|
+
Processing by Api::UserController#reauth as HTML
|
789
|
+
Parameters: {"uid"=>"nonexistent-user"}
|
790
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "nonexistent-user"]]
|
791
|
+
Completed 200 OK in 1ms (ActiveRecord: 0.1ms)
|
792
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
793
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d33259"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
794
|
+
[1m[36m (6.2ms)[0m [1mcommit transaction[0m
|
795
|
+
[1m[35m (0.1ms)[0m begin transaction
|
796
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d34602"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
797
|
+
[1m[35m (5.7ms)[0m commit transaction
|
719
798
|
Processing by Api::UserController#update as HTML
|
720
|
-
Parameters: {"uid"=>"
|
721
|
-
Rendering /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
799
|
+
Parameters: {"uid"=>"a1s2d33259"}
|
722
800
|
Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.0ms)
|
723
|
-
Completed 403 Forbidden in 1ms (Views: 0.
|
724
|
-
[1m[
|
725
|
-
[1m[35mSQL (0.
|
726
|
-
[1m[
|
727
|
-
[1m[35m (0.
|
728
|
-
[1m[
|
729
|
-
[1m[35m (
|
801
|
+
Completed 403 Forbidden in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
|
802
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
803
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d39976"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
804
|
+
[1m[36m (14.2ms)[0m [1mcommit transaction[0m
|
805
|
+
[1m[35m (0.1ms)[0m begin transaction
|
806
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d37304"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
807
|
+
[1m[35m (6.5ms)[0m commit transaction
|
730
808
|
Processing by Api::UserController#update as HTML
|
731
|
-
Parameters: {"uid"=>"
|
732
|
-
[1m[36mUser Load (0.1ms)[0m [
|
733
|
-
[1m[35m (0.
|
734
|
-
[1m[
|
735
|
-
[1m[35m (
|
736
|
-
Completed 200 OK in
|
737
|
-
[1m[36mUser Load (0.1ms)[0m [
|
738
|
-
|
739
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["email", "user@example.com"], ["LIMIT", 1]]
|
740
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
741
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions", "organisation_slug", "organisation_content_id", "disabled") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["name", "A Name"], ["uid", "asd"], ["email", "user@example.com"], ["permissions", "---\n- signin\n"], ["organisation_slug", "hmrc"], ["organisation_content_id", "67a2b78d-eee3-45b3-80e2-792e7f71cecc"], ["disabled", nil]]
|
742
|
-
[1m[35m (8.3ms)[0m [1m[36mcommit transaction[0m
|
743
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "asd"], ["LIMIT", 1]]
|
744
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
745
|
-
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
746
|
-
[1m[36m (5.2ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "uid" varchar NOT NULL, "email" varchar NOT NULL, "remotely_signed_out" boolean, "permissions" text, "organisation_slug" varchar, "organisation_content_id" varchar, "disabled" boolean DEFAULT 'f') [0m
|
747
|
-
[1m[35m (5.3ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
748
|
-
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
749
|
-
[1m[35m (8.6ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
750
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-15 16:09:46 +0000
|
809
|
+
Parameters: {"uid"=>"a1s2d39976"}
|
810
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "a1s2d39976"]]
|
811
|
+
[1m[35m (0.1ms)[0m begin transaction
|
812
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "email" = ?, "name" = ?, "permissions" = ?, "organisation_slug" = ?, "organisation_content_id" = ? WHERE "users"."id" = ?[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"], ["id", 10]]
|
813
|
+
[1m[35m (5.2ms)[0m commit transaction
|
814
|
+
Completed 200 OK in 9ms (ActiveRecord: 5.5ms)
|
815
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 10]]
|
816
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:23 +0000
|
751
817
|
Processing by ExampleController#restricted as HTML
|
752
818
|
Authenticating with gds_sso strategy
|
753
819
|
Completed in 9ms (ActiveRecord: 0.0ms)
|
754
|
-
Started GET "/
|
755
|
-
|
756
|
-
|
757
|
-
|
758
|
-
|
820
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:23 +0000
|
821
|
+
Processing by ExampleController#restricted as JSON
|
822
|
+
Completed in 29ms (ActiveRecord: 0.0ms)
|
823
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:23 +0000
|
824
|
+
Processing by ExampleController#restricted as JSON
|
825
|
+
Completed in 13ms (ActiveRecord: 0.0ms)
|
826
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:23 +0000
|
827
|
+
Processing by ExampleController#restricted as JSON
|
828
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
829
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["email", "test@example-client.com"]]
|
830
|
+
[1m[35m (0.1ms)[0m begin transaction
|
831
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions", "disabled") VALUES (?, ?, ?, ?, ?)[0m [["uid", "integration-uid"], ["email", "test@example-client.com"], ["name", "Test User"], ["permissions", "---\n- signin\n"], ["disabled", nil]]
|
832
|
+
[1m[35m (7.2ms)[0m commit transaction
|
759
833
|
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
760
|
-
[1m[
|
834
|
+
[1m[35m (0.1ms)[0m begin transaction
|
835
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
836
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
761
837
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
762
|
-
[1m[
|
763
|
-
[1m[
|
838
|
+
[1m[35m (0.1ms)[0m commit transaction
|
839
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
840
|
+
[1m[35m (0.1ms)[0m begin transaction
|
841
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
764
842
|
[1m[35m (0.0ms)[0m begin transaction
|
765
|
-
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id",
|
766
|
-
[1m[35m (
|
767
|
-
Redirected to http://www.example-client.com/restricted
|
768
|
-
Completed 302 Found in 36ms (ActiveRecord: 10.0ms)
|
769
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-15 16:09:46 +0000
|
770
|
-
Processing by ExampleController#restricted as HTML
|
771
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
843
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id", 12]]
|
844
|
+
[1m[35m (7.0ms)[0m commit transaction
|
772
845
|
Rendered text template (0.0ms)
|
773
|
-
Completed 200 OK in
|
774
|
-
Started GET "/
|
775
|
-
Processing by ExampleController#
|
776
|
-
|
777
|
-
|
778
|
-
|
779
|
-
|
780
|
-
Processing by AuthenticationsController#callback as HTML
|
781
|
-
Parameters: {"code"=>"f7d827163bfc683f21e4b914013d9afb11538bd236218206b2174df826211c7e", "state"=>"215e265d6f90d6985a3ece21e99943bf6ec7137b95b4534d"}
|
782
|
-
Authenticating with gds_sso strategy
|
783
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
846
|
+
Completed 200 OK in 92ms (Views: 3.5ms | ActiveRecord: 15.5ms)
|
847
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2018-01-23 17:16:23 +0000
|
848
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
849
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
850
|
+
[1m[35m (0.1ms)[0m begin transaction
|
851
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
852
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
784
853
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
785
854
|
[1m[35m (0.0ms)[0m commit transaction
|
855
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
856
|
+
[1m[35m (0.1ms)[0m begin transaction
|
857
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
858
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
859
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
860
|
+
[1m[35m (0.1ms)[0m commit transaction
|
786
861
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
787
862
|
[1m[35m (0.0ms)[0m commit transaction
|
788
|
-
Redirected to http://www.example-client.com/restricted
|
789
|
-
Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
|
790
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-15 16:09:46 +0000
|
791
|
-
Processing by ExampleController#restricted as HTML
|
792
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
793
|
-
Rendered text template (0.0ms)
|
794
|
-
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
795
|
-
Started GET "/" for 127.0.0.1 at 2017-12-15 16:09:46 +0000
|
796
|
-
Processing by ExampleController#index as HTML
|
797
863
|
Rendered text template (0.0ms)
|
798
|
-
Completed 200 OK in
|
799
|
-
Started GET "/restricted" for 127.0.0.1 at
|
864
|
+
Completed 200 OK in 78ms (Views: 0.3ms | ActiveRecord: 0.8ms)
|
865
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:23 +0000
|
800
866
|
Processing by ExampleController#restricted as HTML
|
801
867
|
Authenticating with gds_sso strategy
|
802
868
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
803
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
804
|
-
Started GET "/auth/gds/callback?code=
|
869
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-01-23 17:16:23 +0000
|
870
|
+
Started GET "/auth/gds/callback?code=b43e7720850448d58a0fbb16aac9abbba5555d3dc9ba571fbda9193081f96be3&state=e90e55268e547d927b1656d5c1f7994019f4106e97e80bf6" for 127.0.0.1 at 2018-01-23 17:16:23 +0000
|
805
871
|
Processing by AuthenticationsController#callback as HTML
|
806
|
-
Parameters: {"code"=>"
|
872
|
+
Parameters: {"code"=>"b43e7720850448d58a0fbb16aac9abbba5555d3dc9ba571fbda9193081f96be3", "state"=>"e90e55268e547d927b1656d5c1f7994019f4106e97e80bf6"}
|
807
873
|
Authenticating with gds_sso strategy
|
808
|
-
[1m[
|
809
|
-
[1m[
|
810
|
-
[1m[
|
874
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
875
|
+
[1m[35m (0.1ms)[0m begin transaction
|
876
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "disabled" = ? WHERE "users"."id" = ?[0m [["disabled", "f"], ["id", 12]]
|
877
|
+
[1m[35m (6.4ms)[0m commit transaction
|
811
878
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
812
879
|
[1m[35m (0.0ms)[0m commit transaction
|
813
880
|
Redirected to http://www.example-client.com/restricted
|
814
|
-
Completed 302 Found in
|
815
|
-
Started GET "/restricted" for 127.0.0.1 at
|
881
|
+
Completed 302 Found in 11ms (ActiveRecord: 7.0ms)
|
882
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:23 +0000
|
816
883
|
Processing by ExampleController#restricted as HTML
|
817
|
-
[1m[36mUser Load (0.
|
884
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
818
885
|
Rendered text template (0.0ms)
|
819
|
-
Completed 200 OK in
|
820
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at
|
886
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
887
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2018-01-23 17:16:23 +0000
|
821
888
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
822
889
|
Authenticating with gds_sso strategy
|
823
890
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
824
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
825
|
-
Started GET "/auth/gds/callback?code=
|
891
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-01-23 17:16:23 +0000
|
892
|
+
Started GET "/auth/gds/callback?code=ad28c5b212a5014bde668312daed640902e06e87740bf9a670c455ddf0477f06&state=561135a89d12e6ef7b7dfa8068535ce6d3c2b1d016d05d9e" for 127.0.0.1 at 2018-01-23 17:16:23 +0000
|
826
893
|
Processing by AuthenticationsController#callback as HTML
|
827
|
-
Parameters: {"code"=>"
|
894
|
+
Parameters: {"code"=>"ad28c5b212a5014bde668312daed640902e06e87740bf9a670c455ddf0477f06", "state"=>"561135a89d12e6ef7b7dfa8068535ce6d3c2b1d016d05d9e"}
|
828
895
|
Authenticating with gds_sso strategy
|
829
896
|
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
830
897
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
@@ -833,529 +900,357 @@ Authenticating with gds_sso strategy
|
|
833
900
|
[1m[35m (0.0ms)[0m commit transaction
|
834
901
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
835
902
|
Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
|
836
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at
|
903
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2018-01-23 17:16:23 +0000
|
837
904
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
838
905
|
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
839
906
|
Rendered text template (0.0ms)
|
840
907
|
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
841
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at
|
908
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2018-01-23 17:16:23 +0000
|
842
909
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
843
910
|
Authenticating with gds_sso strategy
|
844
911
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
845
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
846
|
-
Started GET "/auth/gds/callback?code=
|
912
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-01-23 17:16:23 +0000
|
913
|
+
Started GET "/auth/gds/callback?code=b8c4461438a6303cb6035a09e95123bba1b6657ec8341f7570a58663d6054196&state=5b690f193aa68e0ebf417044e31701552852f065af2974df" for 127.0.0.1 at 2018-01-23 17:16:24 +0000
|
847
914
|
Processing by AuthenticationsController#callback as HTML
|
848
|
-
Parameters: {"code"=>"
|
915
|
+
Parameters: {"code"=>"b8c4461438a6303cb6035a09e95123bba1b6657ec8341f7570a58663d6054196", "state"=>"5b690f193aa68e0ebf417044e31701552852f065af2974df"}
|
849
916
|
Authenticating with gds_sso strategy
|
850
917
|
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
851
918
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
852
|
-
[1m[35m (0.
|
853
|
-
[1m[36m (0.
|
919
|
+
[1m[35m (0.1ms)[0m commit transaction
|
920
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
854
921
|
[1m[35m (0.0ms)[0m commit transaction
|
855
922
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
856
|
-
Completed 302 Found in
|
857
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at
|
923
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
924
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2018-01-23 17:16:24 +0000
|
858
925
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
859
|
-
[1m[36mUser Load (0.
|
926
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
860
927
|
Rendered text template (0.0ms)
|
861
|
-
Completed 200 OK in 2ms (Views: 0.
|
862
|
-
Started GET "/restricted" for 127.0.0.1 at
|
928
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
929
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:24 +0000
|
863
930
|
Processing by ExampleController#restricted as HTML
|
864
931
|
Authenticating with gds_sso strategy
|
865
932
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
866
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
867
|
-
Started GET "/auth/gds/callback?code=
|
933
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-01-23 17:16:24 +0000
|
934
|
+
Started GET "/auth/gds/callback?code=975e5f50712651ecbef9c61594d6754bdd527da25fd8be5631e207c984cb2ccc&state=1aac7d835f566e4fb96f4f33527a0279f5481ebd839014c0" for 127.0.0.1 at 2018-01-23 17:16:24 +0000
|
868
935
|
Processing by AuthenticationsController#callback as HTML
|
869
|
-
Parameters: {"code"=>"
|
936
|
+
Parameters: {"code"=>"975e5f50712651ecbef9c61594d6754bdd527da25fd8be5631e207c984cb2ccc", "state"=>"1aac7d835f566e4fb96f4f33527a0279f5481ebd839014c0"}
|
870
937
|
Authenticating with gds_sso strategy
|
871
938
|
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
872
939
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
873
940
|
[1m[35m (0.0ms)[0m commit transaction
|
874
|
-
[1m[36m (0.
|
941
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
875
942
|
[1m[35m (0.0ms)[0m commit transaction
|
876
943
|
Redirected to http://www.example-client.com/restricted
|
877
|
-
Completed 302 Found in
|
878
|
-
Started GET "/restricted" for 127.0.0.1 at
|
944
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.4ms)
|
945
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:24 +0000
|
879
946
|
Processing by ExampleController#restricted as HTML
|
880
947
|
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
881
948
|
Rendered text template (0.0ms)
|
882
|
-
Completed 200 OK in
|
883
|
-
Started GET "/restricted" for 127.0.0.1 at
|
884
|
-
Processing by ExampleController#restricted as HTML
|
885
|
-
Authenticating with gds_sso strategy
|
886
|
-
Completed in 0ms (ActiveRecord: 0.0ms)
|
887
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-16 12:14:47 +0000
|
888
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-15 16:09:47 +0000
|
949
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
950
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:24 +0000
|
889
951
|
Processing by ExampleController#restricted as HTML
|
890
952
|
Authenticating with gds_sso strategy
|
891
953
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
892
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
893
|
-
Started GET "/auth/gds/callback?code=
|
954
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-01-23 17:16:24 +0000
|
955
|
+
Started GET "/auth/gds/callback?code=202556d7dc2f8b9066383e72bbd74a55602cd697827d37c2e4fa62ad11ff1268&state=e71db924cb8cfbb0fa3ac7ebbd10377082e80ea49afa24a9" for 127.0.0.1 at 2018-01-23 17:16:24 +0000
|
894
956
|
Processing by AuthenticationsController#callback as HTML
|
895
|
-
Parameters: {"code"=>"
|
957
|
+
Parameters: {"code"=>"202556d7dc2f8b9066383e72bbd74a55602cd697827d37c2e4fa62ad11ff1268", "state"=>"e71db924cb8cfbb0fa3ac7ebbd10377082e80ea49afa24a9"}
|
896
958
|
Authenticating with gds_sso strategy
|
897
959
|
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
898
960
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
899
|
-
[1m[35m (0.
|
900
|
-
[1m[36m (0.
|
961
|
+
[1m[35m (0.0ms)[0m commit transaction
|
962
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
901
963
|
[1m[35m (0.0ms)[0m commit transaction
|
902
964
|
Redirected to http://www.example-client.com/restricted
|
903
965
|
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
904
|
-
Started GET "/restricted" for 127.0.0.1 at
|
966
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:24 +0000
|
905
967
|
Processing by ExampleController#restricted as HTML
|
906
968
|
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
907
969
|
Rendered text template (0.0ms)
|
908
970
|
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
909
|
-
Started GET "/
|
971
|
+
Started GET "/" for 127.0.0.1 at 2018-01-23 17:16:24 +0000
|
972
|
+
Processing by ExampleController#index as HTML
|
973
|
+
Rendered text template (0.0ms)
|
974
|
+
Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
975
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:24 +0000
|
910
976
|
Processing by ExampleController#restricted as HTML
|
911
977
|
Authenticating with gds_sso strategy
|
912
978
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
913
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
914
|
-
Started GET "/auth/gds/callback?code=
|
979
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-01-23 17:16:24 +0000
|
980
|
+
Started GET "/auth/gds/callback?code=e260ffadd922aee49408fdba01481a53923ffa2f8462f23cccf62cbb999f9782&state=107bfc7e38eae0d08dc54d74ff14b15a9c967a57af421cb5" for 127.0.0.1 at 2018-01-23 17:16:24 +0000
|
915
981
|
Processing by AuthenticationsController#callback as HTML
|
916
|
-
Parameters: {"code"=>"
|
982
|
+
Parameters: {"code"=>"e260ffadd922aee49408fdba01481a53923ffa2f8462f23cccf62cbb999f9782", "state"=>"107bfc7e38eae0d08dc54d74ff14b15a9c967a57af421cb5"}
|
917
983
|
Authenticating with gds_sso strategy
|
918
|
-
[1m[35mUser Load (0.
|
919
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
920
|
-
[1m[35m (0.1ms)[0m commit transaction
|
984
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
921
985
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
922
|
-
[1m[35m (0.
|
986
|
+
[1m[35m (0.0ms)[0m commit transaction
|
987
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
988
|
+
[1m[35m (0.0ms)[0m commit transaction
|
923
989
|
Redirected to http://www.example-client.com/restricted
|
924
990
|
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
925
|
-
Started GET "/restricted" for 127.0.0.1 at
|
991
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:24 +0000
|
926
992
|
Processing by ExampleController#restricted as HTML
|
927
993
|
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
928
994
|
Rendered text template (0.0ms)
|
929
995
|
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
930
|
-
|
996
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "test@example-client.com"]]
|
997
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
998
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 12]]
|
999
|
+
[1m[36m (8.3ms)[0m [1mcommit transaction[0m
|
1000
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:24 +0000
|
931
1001
|
Processing by ExampleController#restricted as HTML
|
1002
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
932
1003
|
Authenticating with gds_sso strategy
|
933
|
-
Completed in
|
934
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
935
|
-
Started GET "/auth/gds/callback?code=
|
1004
|
+
Completed in 1ms (ActiveRecord: 0.1ms)
|
1005
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-01-23 17:16:24 +0000
|
1006
|
+
Started GET "/auth/gds/callback?code=f1533c60944399f1391a136290e5bfac751d61e1fb98ca9a75a421a666fd5702&state=c80c433c2aa454a67d9228e89f3d981d1929d677fcdc69bf" for 127.0.0.1 at 2018-01-23 17:16:25 +0000
|
936
1007
|
Processing by AuthenticationsController#callback as HTML
|
937
|
-
Parameters: {"code"=>"
|
1008
|
+
Parameters: {"code"=>"f1533c60944399f1391a136290e5bfac751d61e1fb98ca9a75a421a666fd5702", "state"=>"c80c433c2aa454a67d9228e89f3d981d1929d677fcdc69bf"}
|
938
1009
|
Authenticating with gds_sso strategy
|
939
|
-
[1m[
|
940
|
-
[1m[
|
941
|
-
[1m[
|
942
|
-
[1m[
|
943
|
-
[1m[
|
1010
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
1011
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1012
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
1013
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1014
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id", 12]]
|
1015
|
+
[1m[35m (5.5ms)[0m commit transaction
|
944
1016
|
Redirected to http://www.example-client.com/restricted
|
945
|
-
Completed 302 Found in
|
946
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1017
|
+
Completed 302 Found in 10ms (ActiveRecord: 6.0ms)
|
1018
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:25 +0000
|
947
1019
|
Processing by ExampleController#restricted as HTML
|
948
1020
|
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
949
1021
|
Rendered text template (0.0ms)
|
950
1022
|
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
951
|
-
Started GET "/restricted" for 127.0.0.1 at
|
952
|
-
Processing by ExampleController#restricted as HTML
|
953
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
954
|
-
Rendered text template (0.0ms)
|
955
|
-
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
956
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-15 16:09:48 +0000
|
1023
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:25 +0000
|
957
1024
|
Processing by ExampleController#restricted as HTML
|
958
1025
|
Authenticating with gds_sso strategy
|
959
1026
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
960
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
961
|
-
Started GET "/auth/gds/callback?code=
|
1027
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-01-23 17:16:25 +0000
|
1028
|
+
Started GET "/auth/gds/callback?code=ad908d82d833c29cec117f91462504cfed0a67cb9b7233fb0af9893ffc9ecd82&state=f6f9f89788416ca79638e59ea751a0bb916fa03d0819759b" for 127.0.0.1 at 2018-01-23 17:16:25 +0000
|
962
1029
|
Processing by AuthenticationsController#callback as HTML
|
963
|
-
Parameters: {"code"=>"
|
1030
|
+
Parameters: {"code"=>"ad908d82d833c29cec117f91462504cfed0a67cb9b7233fb0af9893ffc9ecd82", "state"=>"f6f9f89788416ca79638e59ea751a0bb916fa03d0819759b"}
|
964
1031
|
Authenticating with gds_sso strategy
|
965
|
-
[1m[
|
966
|
-
[1m[
|
967
|
-
[1m[
|
968
|
-
[1m[
|
969
|
-
[1m[
|
1032
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
1033
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1034
|
+
[1m[35m (0.1ms)[0m commit transaction
|
1035
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1036
|
+
[1m[35m (0.0ms)[0m commit transaction
|
970
1037
|
Redirected to http://www.example-client.com/restricted
|
971
|
-
Completed 302 Found in
|
972
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1038
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
1039
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:25 +0000
|
973
1040
|
Processing by ExampleController#restricted as HTML
|
974
|
-
[1m[
|
1041
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
975
1042
|
Rendered text template (0.0ms)
|
976
1043
|
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
977
|
-
|
978
|
-
[1m[35m (0.0ms)[0m begin transaction
|
979
|
-
[1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "t"], ["id", 1]]
|
980
|
-
[1m[35m (4.8ms)[0m commit transaction
|
981
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-15 16:09:48 +0000
|
1044
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-24 13:21:25 +0000
|
982
1045
|
Processing by ExampleController#restricted as HTML
|
983
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
984
1046
|
Authenticating with gds_sso strategy
|
985
|
-
Completed in 1ms (ActiveRecord: 0.
|
986
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
987
|
-
Started GET "/
|
1047
|
+
Completed in 1ms (ActiveRecord: 0.0ms)
|
1048
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-01-24 13:21:25 +0000
|
1049
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:25 +0000
|
1050
|
+
Processing by ExampleController#restricted as HTML
|
1051
|
+
Authenticating with gds_sso strategy
|
1052
|
+
Completed in 0ms (ActiveRecord: 0.0ms)
|
1053
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-01-23 17:16:25 +0000
|
1054
|
+
Started GET "/auth/gds/callback?code=d54a02d6befb119141bb82cd97f557576a575fb38635d0c1ed794a97884b1771&state=27889d6abe3e8df526d95349b3ef8a426266d11d4e4c02a9" for 127.0.0.1 at 2018-01-23 17:16:25 +0000
|
988
1055
|
Processing by AuthenticationsController#callback as HTML
|
989
|
-
Parameters: {"code"=>"
|
1056
|
+
Parameters: {"code"=>"d54a02d6befb119141bb82cd97f557576a575fb38635d0c1ed794a97884b1771", "state"=>"27889d6abe3e8df526d95349b3ef8a426266d11d4e4c02a9"}
|
990
1057
|
Authenticating with gds_sso strategy
|
991
|
-
[1m[35mUser Load (0.
|
1058
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
992
1059
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
993
1060
|
[1m[35m (0.1ms)[0m commit transaction
|
994
1061
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
995
|
-
[1m[
|
996
|
-
[1m[36m (9.7ms)[0m [1mcommit transaction[0m
|
1062
|
+
[1m[35m (0.0ms)[0m commit transaction
|
997
1063
|
Redirected to http://www.example-client.com/restricted
|
998
|
-
Completed 302 Found in
|
999
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1064
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.4ms)
|
1065
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:25 +0000
|
1000
1066
|
Processing by ExampleController#restricted as HTML
|
1001
|
-
[1m[
|
1067
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
1002
1068
|
Rendered text template (0.0ms)
|
1003
1069
|
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
1004
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1070
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-24 13:11:25 +0000
|
1071
|
+
Processing by ExampleController#restricted as HTML
|
1072
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
1073
|
+
Rendered text template (0.0ms)
|
1074
|
+
Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
1075
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:25 +0000
|
1005
1076
|
Processing by ExampleController#restricted as HTML
|
1006
1077
|
Authenticating with gds_sso strategy
|
1007
|
-
Completed in
|
1008
|
-
Started GET "/
|
1009
|
-
|
1010
|
-
|
1011
|
-
|
1012
|
-
|
1013
|
-
[1m[35m (6.1ms)[0m commit transaction
|
1078
|
+
Completed in 1ms (ActiveRecord: 0.0ms)
|
1079
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-01-23 17:16:25 +0000
|
1080
|
+
Started GET "/auth/gds/callback?code=87b601ba35d1440b3ccf9392f2a6555b7a3f58663c455ec63e88a26a8716fe2b&state=430e76f078d97eb50813ac831178dbf427f7ab05ace93fd0" for 127.0.0.1 at 2018-01-23 17:16:26 +0000
|
1081
|
+
Processing by AuthenticationsController#callback as HTML
|
1082
|
+
Parameters: {"code"=>"87b601ba35d1440b3ccf9392f2a6555b7a3f58663c455ec63e88a26a8716fe2b", "state"=>"430e76f078d97eb50813ac831178dbf427f7ab05ace93fd0"}
|
1083
|
+
Authenticating with gds_sso strategy
|
1014
1084
|
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
1015
1085
|
[1m[35m (0.1ms)[0m begin transaction
|
1016
1086
|
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1017
|
-
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
1018
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1019
|
-
[1m[35m (0.1ms)[0m commit transaction
|
1020
|
-
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
1021
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1022
|
-
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1023
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1024
|
-
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1025
|
-
Rendered text template (0.0ms)
|
1026
|
-
Completed 200 OK in 78ms (Views: 0.5ms | ActiveRecord: 6.9ms)
|
1027
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-15 16:09:48 +0000
|
1028
|
-
Processing by ExampleController#restricted as JSON
|
1029
|
-
Completed in 24ms (ActiveRecord: 0.0ms)
|
1030
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-15 16:09:48 +0000
|
1031
|
-
Processing by ExampleController#restricted as JSON
|
1032
|
-
Completed in 12ms (ActiveRecord: 0.0ms)
|
1033
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-15 16:09:48 +0000
|
1034
|
-
Processing by ExampleController#restricted as JSON
|
1035
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
1036
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1037
|
-
[1m[35m (0.0ms)[0m commit transaction
|
1038
|
-
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
1039
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1040
|
-
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1041
|
-
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
1042
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1043
|
-
[1m[35m (0.1ms)[0m commit transaction
|
1044
|
-
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
1045
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1046
|
-
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1047
1087
|
[1m[35m (0.0ms)[0m begin transaction
|
1048
1088
|
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
1089
|
+
Redirected to http://www.example-client.com/restricted
|
1090
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.4ms)
|
1091
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:26 +0000
|
1092
|
+
Processing by ExampleController#restricted as HTML
|
1093
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
1049
1094
|
Rendered text template (0.0ms)
|
1050
|
-
Completed 200 OK in
|
1051
|
-
|
1052
|
-
|
1053
|
-
|
1054
|
-
|
1055
|
-
|
1056
|
-
|
1057
|
-
Processing by
|
1058
|
-
Parameters: {"
|
1059
|
-
|
1060
|
-
[1m[
|
1061
|
-
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "email" = ?, "name" = ?, "permissions" = ?, "organisation_slug" = ?, "organisation_content_id" = ? WHERE "users"."id" = ? [["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"], ["id", 2]]
|
1062
|
-
[1m[36m (3.8ms)[0m [1mcommit transaction[0m
|
1063
|
-
Completed 200 OK in 8ms (ActiveRecord: 4.1ms)
|
1064
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
|
1065
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1066
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d33498"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
1067
|
-
[1m[36m (3.7ms)[0m [1mcommit transaction[0m
|
1068
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1069
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d32155"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1070
|
-
[1m[35m (4.7ms)[0m commit transaction
|
1071
|
-
Processing by Api::UserController#update as HTML
|
1072
|
-
Parameters: {"uid"=>"a1s2d33498"}
|
1073
|
-
Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.3ms)
|
1074
|
-
Completed 403 Forbidden in 9ms (Views: 8.7ms | ActiveRecord: 0.0ms)
|
1075
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1076
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d38345"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
1077
|
-
[1m[36m (4.1ms)[0m [1mcommit transaction[0m
|
1078
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1079
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d31273"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1080
|
-
[1m[35m (5.0ms)[0m commit transaction
|
1081
|
-
Processing by Api::UserController#reauth as HTML
|
1082
|
-
Parameters: {"uid"=>"nonexistent-user"}
|
1083
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "nonexistent-user"]]
|
1084
|
-
Completed 200 OK in 1ms (ActiveRecord: 0.1ms)
|
1095
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.1ms)
|
1096
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-24 13:21:26 +0000
|
1097
|
+
Processing by ExampleController#restricted as HTML
|
1098
|
+
Authenticating with gds_sso strategy
|
1099
|
+
Completed in 0ms (ActiveRecord: 0.0ms)
|
1100
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-01-24 13:21:26 +0000
|
1101
|
+
Started GET "/auth/gds/callback?code=2018ac4d5ceee1b26137609fd9c339af949dcb288845e2bdd5b276dbf0321d2f&state=b163dea3674ef5feb70b88a71185a5a4cfa3ab911e7eb825" for 127.0.0.1 at 2018-01-24 13:21:26 +0000
|
1102
|
+
Processing by AuthenticationsController#callback as HTML
|
1103
|
+
Parameters: {"code"=>"2018ac4d5ceee1b26137609fd9c339af949dcb288845e2bdd5b276dbf0321d2f", "state"=>"b163dea3674ef5feb70b88a71185a5a4cfa3ab911e7eb825"}
|
1104
|
+
Authenticating with gds_sso strategy
|
1105
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
1085
1106
|
[1m[35m (0.1ms)[0m begin transaction
|
1086
|
-
[1m[
|
1087
|
-
[1m[35m (8.2ms)[0m commit transaction
|
1088
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1089
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d36901"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1090
|
-
[1m[36m (5.6ms)[0m [1mcommit transaction[0m
|
1091
|
-
Processing by Api::UserController#reauth as HTML
|
1092
|
-
Parameters: {"uid"=>"a1s2d33190"}
|
1093
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "a1s2d33190"]]
|
1094
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1095
|
-
[1m[35mSQL (0.1ms)[0m UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 8]]
|
1096
|
-
[1m[36m (5.1ms)[0m [1mcommit transaction[0m
|
1097
|
-
Completed 200 OK in 7ms (ActiveRecord: 5.4ms)
|
1098
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 8]]
|
1099
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1100
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d31579"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
1101
|
-
[1m[36m (5.1ms)[0m [1mcommit transaction[0m
|
1107
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
1102
1108
|
[1m[35m (0.1ms)[0m begin transaction
|
1103
|
-
[1m[
|
1104
|
-
|
1105
|
-
|
1106
|
-
|
1107
|
-
|
1108
|
-
|
1109
|
-
|
1110
|
-
|
1111
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1112
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions", "organisation_slug", "organisation_content_id", "disabled") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "asd"], ["email", "user@example.com"], ["name", "A Name"], ["permissions", "---\n- signin\n"], ["organisation_slug", "hmrc"], ["organisation_content_id", "67a2b78d-eee3-45b3-80e2-792e7f71cecc"], ["disabled", nil]]
|
1113
|
-
[1m[36m (8.2ms)[0m [1mcommit transaction[0m
|
1114
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "asd"]]
|
1115
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1116
|
-
[1m[35m (0.0ms)[0m commit transaction
|
1109
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
1110
|
+
Redirected to http://www.example-client.com/restricted
|
1111
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.4ms)
|
1112
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-24 13:21:26 +0000
|
1113
|
+
Processing by ExampleController#restricted as HTML
|
1114
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
1115
|
+
Rendered text template (0.0ms)
|
1116
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
1117
1117
|
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "users"[0m
|
1118
|
-
[1m[35m (
|
1119
|
-
[1m[35m (
|
1120
|
-
[1m[35m (
|
1118
|
+
[1m[35m (0.9ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
1119
|
+
[1m[35m (8.0ms)[0m [1m[35mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "uid" varchar NOT NULL, "email" varchar NOT NULL, "remotely_signed_out" boolean, "permissions" text, "organisation_slug" varchar, "organisation_content_id" varchar, "disabled" boolean DEFAULT 'f')[0m
|
1120
|
+
[1m[35m (8.3ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
1121
1121
|
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
1122
1122
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1123
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "
|
1124
|
-
[1m[35m (
|
1125
|
-
[1m[35m (
|
1126
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.
|
1123
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2018-01-23 17:16:31.586695"], ["updated_at", "2018-01-23 17:16:31.586695"]]
|
1124
|
+
[1m[35m (8.6ms)[0m [1m[36mcommit transaction[0m
|
1125
|
+
[1m[35m (17.0ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
1126
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
1127
1127
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1128
1128
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1129
|
-
|
1130
|
-
|
1131
|
-
[1m[35m (6.2ms)[0m [1m[36mcommit transaction[0m
|
1132
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1133
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d31259"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1134
|
-
[1m[35m (4.9ms)[0m [1m[36mcommit transaction[0m
|
1135
|
-
Processing by Api::UserController#reauth as HTML
|
1136
|
-
Parameters: {"uid"=>"nonexistent-user"}
|
1137
|
-
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "nonexistent-user"], ["LIMIT", 1]]
|
1138
|
-
Completed 200 OK in 2ms (ActiveRecord: 0.2ms)
|
1139
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1140
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d34232"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1141
|
-
[1m[35m (4.2ms)[0m [1m[36mcommit transaction[0m
|
1142
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1143
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d37612"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1144
|
-
[1m[35m (4.9ms)[0m [1m[36mcommit transaction[0m
|
1145
|
-
Processing by Api::UserController#reauth as HTML
|
1146
|
-
Parameters: {"uid"=>"a1s2d34232"}
|
1147
|
-
Rendering /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
1148
|
-
Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
|
1149
|
-
Completed 403 Forbidden in 11ms (Views: 10.1ms | ActiveRecord: 0.0ms)
|
1150
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1151
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d33597"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1152
|
-
[1m[35m (4.1ms)[0m [1m[36mcommit transaction[0m
|
1153
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1154
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d36085"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1155
|
-
[1m[35m (4.9ms)[0m [1m[36mcommit transaction[0m
|
1156
|
-
Processing by Api::UserController#reauth as HTML
|
1157
|
-
Parameters: {"uid"=>"a1s2d33597"}
|
1158
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d33597"], ["LIMIT", 1]]
|
1159
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1160
|
-
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "t"], ["id", 5]]
|
1161
|
-
[1m[35m (5.2ms)[0m [1m[36mcommit transaction[0m
|
1162
|
-
Completed 200 OK in 8ms (ActiveRecord: 5.5ms)
|
1163
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 5], ["LIMIT", 1]]
|
1164
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1165
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d31642"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1166
|
-
[1m[35m (4.1ms)[0m [1m[36mcommit transaction[0m
|
1167
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1168
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d3471"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1169
|
-
[1m[35m (3.9ms)[0m [1m[36mcommit transaction[0m
|
1170
|
-
Processing by Api::UserController#update as HTML
|
1171
|
-
Parameters: {"uid"=>"a1s2d31642"}
|
1172
|
-
Rendering /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
1173
|
-
Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.0ms)
|
1174
|
-
Completed 403 Forbidden in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
1175
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1176
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d36387"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1177
|
-
[1m[35m (5.9ms)[0m [1m[36mcommit transaction[0m
|
1178
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1179
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d33675"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1180
|
-
[1m[35m (4.1ms)[0m [1m[36mcommit transaction[0m
|
1181
|
-
Processing by Api::UserController#update as HTML
|
1182
|
-
Parameters: {"uid"=>"a1s2d36387"}
|
1183
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d36387"], ["LIMIT", 1]]
|
1184
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1185
|
-
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "users" SET "email" = ?, "name" = ?, "permissions" = ?, "organisation_slug" = ?, "organisation_content_id" = ? WHERE "users"."id" = ?[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"], ["id", 9]]
|
1186
|
-
[1m[35m (4.0ms)[0m [1m[36mcommit transaction[0m
|
1187
|
-
Completed 200 OK in 8ms (ActiveRecord: 4.3ms)
|
1188
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 9], ["LIMIT", 1]]
|
1189
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-15 16:09:55 +0000
|
1190
|
-
Processing by ExampleController#restricted as HTML
|
1129
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2018-01-23 17:16:32 +0000
|
1130
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
1191
1131
|
Authenticating with gds_sso strategy
|
1192
1132
|
Completed in 6ms (ActiveRecord: 0.0ms)
|
1193
|
-
Started GET "/
|
1194
|
-
|
1195
|
-
|
1196
|
-
|
1197
|
-
|
1198
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions", "disabled") VALUES (?, ?, ?, ?, ?)[0m [["name", "Test User"], ["uid", "integration-uid"], ["email", "test@example-client.com"], ["permissions", "---\n- signin\n"], ["disabled", nil]]
|
1199
|
-
[1m[35m (4.7ms)[0m [1m[36mcommit transaction[0m
|
1133
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-01-23 17:16:32 +0000
|
1134
|
+
Started GET "/auth/gds/callback?code=17a42fba0db9edb71043d23222be66b12729b473e38d0eba0489fcbc4d155a89&state=24233b213f99d33722d9bee469977a232036881722922f4e" for 127.0.0.1 at 2018-01-23 17:16:32 +0000
|
1135
|
+
Processing by AuthenticationsController#callback as HTML
|
1136
|
+
Parameters: {"code"=>"17a42fba0db9edb71043d23222be66b12729b473e38d0eba0489fcbc4d155a89", "state"=>"24233b213f99d33722d9bee469977a232036881722922f4e"}
|
1137
|
+
Authenticating with gds_sso strategy
|
1200
1138
|
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1201
|
-
[1m[
|
1202
|
-
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1203
|
-
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1204
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1205
|
-
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1206
|
-
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1139
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["email", "test@example-client.com"], ["LIMIT", 1]]
|
1207
1140
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1208
|
-
[1m[
|
1141
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Test User"], ["uid", "integration-uid"], ["email", "test@example-client.com"], ["permissions", "---\n- signin\n"]]
|
1142
|
+
[1m[35m (10.1ms)[0m [1m[36mcommit transaction[0m
|
1209
1143
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1210
|
-
[1m[35mSQL (0.
|
1211
|
-
[1m[35m (6.
|
1144
|
+
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id", 1]]
|
1145
|
+
[1m[35m (6.5ms)[0m [1m[36mcommit transaction[0m
|
1146
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
1147
|
+
Completed 302 Found in 38ms (ActiveRecord: 18.9ms)
|
1148
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2018-01-23 17:16:32 +0000
|
1149
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
1150
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
1212
1151
|
Rendering text template
|
1213
1152
|
Rendered text template (0.0ms)
|
1214
|
-
Completed 200 OK in
|
1215
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at
|
1216
|
-
Processing by ExampleController#this_requires_signin_permission as
|
1153
|
+
Completed 200 OK in 6ms (Views: 2.3ms | ActiveRecord: 0.2ms)
|
1154
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2018-01-23 17:16:32 +0000
|
1155
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
1156
|
+
Authenticating with gds_sso strategy
|
1157
|
+
Completed in 0ms (ActiveRecord: 0.0ms)
|
1158
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-01-23 17:16:32 +0000
|
1159
|
+
Started GET "/auth/gds/callback?code=2a080321a878353fead65147fe47492be7bf440103035213c313b29cd27440f0&state=0a33c40eac3b37546674a109884d471362f840df31e9c4f4" for 127.0.0.1 at 2018-01-23 17:16:32 +0000
|
1160
|
+
Processing by AuthenticationsController#callback as HTML
|
1161
|
+
Parameters: {"code"=>"2a080321a878353fead65147fe47492be7bf440103035213c313b29cd27440f0", "state"=>"0a33c40eac3b37546674a109884d471362f840df31e9c4f4"}
|
1162
|
+
Authenticating with gds_sso strategy
|
1217
1163
|
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1218
1164
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1219
1165
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1220
|
-
|
1221
|
-
|
1222
|
-
|
1223
|
-
|
1224
|
-
[1m[
|
1225
|
-
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1226
|
-
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1227
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1228
|
-
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1229
|
-
Rendering text template
|
1230
|
-
Rendered text template (0.0ms)
|
1231
|
-
Completed 200 OK in 75ms (Views: 0.3ms | ActiveRecord: 0.9ms)
|
1232
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-15 16:09:55 +0000
|
1233
|
-
Processing by ExampleController#restricted as JSON
|
1234
|
-
Completed in 14ms (ActiveRecord: 0.0ms)
|
1235
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-15 16:09:55 +0000
|
1236
|
-
Processing by ExampleController#restricted as JSON
|
1237
|
-
Completed in 24ms (ActiveRecord: 0.0ms)
|
1238
|
-
Started GET "/" for 127.0.0.1 at 2017-12-15 16:09:55 +0000
|
1239
|
-
Processing by ExampleController#index as HTML
|
1166
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
1167
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
1168
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2018-01-23 17:16:32 +0000
|
1169
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
1170
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
1240
1171
|
Rendering text template
|
1241
1172
|
Rendered text template (0.0ms)
|
1242
|
-
Completed 200 OK in
|
1243
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1173
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
1174
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:32 +0000
|
1244
1175
|
Processing by ExampleController#restricted as HTML
|
1245
1176
|
Authenticating with gds_sso strategy
|
1246
|
-
Completed in
|
1247
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1248
|
-
Started GET "/auth/gds/callback?code=
|
1177
|
+
Completed in 1ms (ActiveRecord: 0.0ms)
|
1178
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-01-23 17:16:32 +0000
|
1179
|
+
Started GET "/auth/gds/callback?code=c38a4bb46e6f6345f1c9b4c0d29ae8afcc1d05d70e19eedcdac6242a2bba082f&state=8bb488516848ec1c43e85a2f48eddfb1854db8f1fce7942d" for 127.0.0.1 at 2018-01-23 17:16:32 +0000
|
1249
1180
|
Processing by AuthenticationsController#callback as HTML
|
1250
|
-
Parameters: {"code"=>"
|
1181
|
+
Parameters: {"code"=>"c38a4bb46e6f6345f1c9b4c0d29ae8afcc1d05d70e19eedcdac6242a2bba082f", "state"=>"8bb488516848ec1c43e85a2f48eddfb1854db8f1fce7942d"}
|
1251
1182
|
Authenticating with gds_sso strategy
|
1252
|
-
[1m[36mUser Load (0.
|
1183
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1253
1184
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1254
|
-
[1m[
|
1255
|
-
[1m[35m (5.9ms)[0m [1m[36mcommit transaction[0m
|
1185
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1256
1186
|
Redirected to http://www.example-client.com/restricted
|
1257
|
-
Completed 302 Found in
|
1258
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1187
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
|
1188
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:32 +0000
|
1259
1189
|
Processing by ExampleController#restricted as HTML
|
1260
1190
|
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
1261
1191
|
Rendering text template
|
1262
1192
|
Rendered text template (0.0ms)
|
1263
|
-
Completed 200 OK in
|
1264
|
-
Started GET "/
|
1265
|
-
Processing by ExampleController#
|
1193
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
1194
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:32 +0000
|
1195
|
+
Processing by ExampleController#restricted as HTML
|
1266
1196
|
Authenticating with gds_sso strategy
|
1267
1197
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1268
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1269
|
-
Started GET "/auth/gds/callback?code=
|
1198
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-01-23 17:16:32 +0000
|
1199
|
+
Started GET "/auth/gds/callback?code=73de6d7cb00e3af01bcd18b1ac6f452422be789ca5c8ba94e7fc57d2f406676e&state=9e9902a5b41cecea2e9796e3c4742e26dda9d24fad0eeefb" for 127.0.0.1 at 2018-01-23 17:16:33 +0000
|
1270
1200
|
Processing by AuthenticationsController#callback as HTML
|
1271
|
-
Parameters: {"code"=>"
|
1201
|
+
Parameters: {"code"=>"73de6d7cb00e3af01bcd18b1ac6f452422be789ca5c8ba94e7fc57d2f406676e", "state"=>"9e9902a5b41cecea2e9796e3c4742e26dda9d24fad0eeefb"}
|
1272
1202
|
Authenticating with gds_sso strategy
|
1273
1203
|
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1274
1204
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1275
|
-
[1m[35m (0.
|
1276
|
-
Redirected to http://www.example-client.com/
|
1277
|
-
Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
|
1278
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-15 16:09:56 +0000
|
1279
|
-
Processing by ExampleController#this_requires_signin_permission as HTML
|
1280
|
-
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
1281
|
-
Rendering text template
|
1282
|
-
Rendered text template (0.0ms)
|
1283
|
-
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
1284
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-15 16:09:56 +0000
|
1285
|
-
Processing by ExampleController#this_requires_signin_permission as HTML
|
1286
|
-
Authenticating with gds_sso strategy
|
1287
|
-
Completed in 0ms (ActiveRecord: 0.0ms)
|
1288
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-15 16:09:56 +0000
|
1289
|
-
Started GET "/auth/gds/callback?code=e40bd744a1307d4fc723db1ffd433c763ea292d47ba7bac679420a4e48a839d6&state=ac1f0c3193efb8f3ed7c3ce66a680082a39c1649b422c012" for 127.0.0.1 at 2017-12-15 16:09:56 +0000
|
1290
|
-
Processing by AuthenticationsController#callback as HTML
|
1291
|
-
Parameters: {"code"=>"e40bd744a1307d4fc723db1ffd433c763ea292d47ba7bac679420a4e48a839d6", "state"=>"ac1f0c3193efb8f3ed7c3ce66a680082a39c1649b422c012"}
|
1292
|
-
Authenticating with gds_sso strategy
|
1293
|
-
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1294
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1295
|
-
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1296
|
-
Redirected to http://www.example-client.com/this_requires_signin_permission
|
1205
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1206
|
+
Redirected to http://www.example-client.com/restricted
|
1297
1207
|
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
1298
|
-
Started GET "/
|
1299
|
-
Processing by ExampleController#
|
1208
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:33 +0000
|
1209
|
+
Processing by ExampleController#restricted as HTML
|
1300
1210
|
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
1301
1211
|
Rendering text template
|
1302
1212
|
Rendered text template (0.0ms)
|
1303
1213
|
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
1304
|
-
Started GET "/
|
1305
|
-
Processing by ExampleController#
|
1306
|
-
Authenticating with gds_sso strategy
|
1307
|
-
Completed in 0ms (ActiveRecord: 0.0ms)
|
1308
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-15 16:09:56 +0000
|
1309
|
-
Started GET "/auth/gds/callback?code=50ac4a78e6ffce0789b79a57005b68400979e0db661278d58f216d2a701ede11&state=c8fbb7cd120cf2c350c4367e709b999ec0db79a1f3371ea6" for 127.0.0.1 at 2017-12-15 16:09:56 +0000
|
1310
|
-
Processing by AuthenticationsController#callback as HTML
|
1311
|
-
Parameters: {"code"=>"50ac4a78e6ffce0789b79a57005b68400979e0db661278d58f216d2a701ede11", "state"=>"c8fbb7cd120cf2c350c4367e709b999ec0db79a1f3371ea6"}
|
1312
|
-
Authenticating with gds_sso strategy
|
1313
|
-
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1314
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1315
|
-
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1316
|
-
Redirected to http://www.example-client.com/restricted
|
1317
|
-
Completed 302 Found in 5ms (ActiveRecord: 0.6ms)
|
1318
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-15 16:09:56 +0000
|
1319
|
-
Processing by ExampleController#restricted as HTML
|
1320
|
-
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
1214
|
+
Started GET "/" for 127.0.0.1 at 2018-01-23 17:16:33 +0000
|
1215
|
+
Processing by ExampleController#index as HTML
|
1321
1216
|
Rendering text template
|
1322
1217
|
Rendered text template (0.0ms)
|
1323
|
-
Completed 200 OK in
|
1324
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1218
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
1219
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:33 +0000
|
1325
1220
|
Processing by ExampleController#restricted as HTML
|
1326
1221
|
Authenticating with gds_sso strategy
|
1327
1222
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1328
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1329
|
-
Started GET "/auth/gds/callback?code=
|
1223
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-01-23 17:16:33 +0000
|
1224
|
+
Started GET "/auth/gds/callback?code=bd9ba3b67355cc8208df1dec441e3acc80455dd91c7334dce1e1e6b30cc43bb2&state=b7dee273dc2301ca31ec943fac81efab8f506645a89a4a50" for 127.0.0.1 at 2018-01-23 17:16:33 +0000
|
1330
1225
|
Processing by AuthenticationsController#callback as HTML
|
1331
|
-
Parameters: {"code"=>"
|
1226
|
+
Parameters: {"code"=>"bd9ba3b67355cc8208df1dec441e3acc80455dd91c7334dce1e1e6b30cc43bb2", "state"=>"b7dee273dc2301ca31ec943fac81efab8f506645a89a4a50"}
|
1332
1227
|
Authenticating with gds_sso strategy
|
1333
1228
|
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1334
1229
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1335
|
-
[1m[35m (0.
|
1230
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1336
1231
|
Redirected to http://www.example-client.com/restricted
|
1337
1232
|
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
1338
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1233
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:33 +0000
|
1339
1234
|
Processing by ExampleController#restricted as HTML
|
1340
|
-
[1m[36mUser Load (0.
|
1235
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
1341
1236
|
Rendering text template
|
1342
1237
|
Rendered text template (0.0ms)
|
1343
|
-
Completed 200 OK in 2ms (Views: 0.
|
1344
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1238
|
+
Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.3ms)
|
1239
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:33 +0000
|
1345
1240
|
Processing by ExampleController#restricted as HTML
|
1346
1241
|
Authenticating with gds_sso strategy
|
1347
1242
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1348
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1349
|
-
Started GET "/auth/gds/callback?code=
|
1243
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-01-23 17:16:33 +0000
|
1244
|
+
Started GET "/auth/gds/callback?code=5ae2793133376ba020e354f32dcb6e916a2d1bea7565fdb9967acd170d9dbd42&state=2f3482b86e454876ce678417d934f70afc2dea7c63d35e2d" for 127.0.0.1 at 2018-01-23 17:16:33 +0000
|
1350
1245
|
Processing by AuthenticationsController#callback as HTML
|
1351
|
-
Parameters: {"code"=>"
|
1246
|
+
Parameters: {"code"=>"5ae2793133376ba020e354f32dcb6e916a2d1bea7565fdb9967acd170d9dbd42", "state"=>"2f3482b86e454876ce678417d934f70afc2dea7c63d35e2d"}
|
1352
1247
|
Authenticating with gds_sso strategy
|
1353
1248
|
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1354
1249
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1355
1250
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1356
1251
|
Redirected to http://www.example-client.com/restricted
|
1357
1252
|
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
1358
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1253
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:33 +0000
|
1359
1254
|
Processing by ExampleController#restricted as HTML
|
1360
1255
|
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
1361
1256
|
Rendering text template
|
@@ -1363,450 +1258,520 @@ Processing by ExampleController#restricted as HTML
|
|
1363
1258
|
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
1364
1259
|
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["email", "test@example-client.com"], ["LIMIT", 1]]
|
1365
1260
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1366
|
-
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "t"], ["id",
|
1367
|
-
[1m[35m (
|
1368
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1261
|
+
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "t"], ["id", 1]]
|
1262
|
+
[1m[35m (7.1ms)[0m [1m[36mcommit transaction[0m
|
1263
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:33 +0000
|
1369
1264
|
Processing by ExampleController#restricted as HTML
|
1370
|
-
[1m[36mUser Load (0.
|
1265
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
1371
1266
|
Authenticating with gds_sso strategy
|
1372
|
-
Completed in
|
1373
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1374
|
-
Started GET "/auth/gds/callback?code=
|
1267
|
+
Completed in 1ms (ActiveRecord: 0.2ms)
|
1268
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-01-23 17:16:33 +0000
|
1269
|
+
Started GET "/auth/gds/callback?code=0eb80c3582b538ea33f48bbde7765b4a757c2c684288b0f365802f81ed10a94d&state=59a0890064a4f89f2217c34f38ecf633d7c93f498cb500a7" for 127.0.0.1 at 2018-01-23 17:16:33 +0000
|
1375
1270
|
Processing by AuthenticationsController#callback as HTML
|
1376
|
-
Parameters: {"code"=>"
|
1271
|
+
Parameters: {"code"=>"0eb80c3582b538ea33f48bbde7765b4a757c2c684288b0f365802f81ed10a94d", "state"=>"59a0890064a4f89f2217c34f38ecf633d7c93f498cb500a7"}
|
1377
1272
|
Authenticating with gds_sso strategy
|
1378
1273
|
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1379
1274
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1380
|
-
[1m[35m (0.
|
1381
|
-
[1m[35m (0.
|
1382
|
-
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id",
|
1383
|
-
[1m[35m (
|
1275
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1276
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1277
|
+
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id", 1]]
|
1278
|
+
[1m[35m (10.5ms)[0m [1m[36mcommit transaction[0m
|
1384
1279
|
Redirected to http://www.example-client.com/restricted
|
1385
|
-
Completed 302 Found in
|
1386
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1280
|
+
Completed 302 Found in 15ms (ActiveRecord: 11.1ms)
|
1281
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:33 +0000
|
1387
1282
|
Processing by ExampleController#restricted as HTML
|
1388
|
-
[1m[36mUser Load (0.
|
1283
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
1389
1284
|
Rendering text template
|
1390
1285
|
Rendered text template (0.0ms)
|
1391
|
-
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.
|
1392
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1286
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.3ms)
|
1287
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:34 +0000
|
1393
1288
|
Processing by ExampleController#restricted as HTML
|
1394
1289
|
Authenticating with gds_sso strategy
|
1395
1290
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1396
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1397
|
-
Started GET "/auth/gds/callback?code=
|
1291
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-01-23 17:16:34 +0000
|
1292
|
+
Started GET "/auth/gds/callback?code=c1fdf98b5a864edaf59fcd1e56055ab03e91cea5019ff7937bd5795cee4226f9&state=3349bb3c25b824fad9b7f19c292158c2d651bd18c6d9e619" for 127.0.0.1 at 2018-01-23 17:16:34 +0000
|
1398
1293
|
Processing by AuthenticationsController#callback as HTML
|
1399
|
-
Parameters: {"code"=>"
|
1294
|
+
Parameters: {"code"=>"c1fdf98b5a864edaf59fcd1e56055ab03e91cea5019ff7937bd5795cee4226f9", "state"=>"3349bb3c25b824fad9b7f19c292158c2d651bd18c6d9e619"}
|
1400
1295
|
Authenticating with gds_sso strategy
|
1401
|
-
[1m[36mUser Load (0.
|
1296
|
+
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1402
1297
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1403
1298
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1404
1299
|
Redirected to http://www.example-client.com/restricted
|
1405
|
-
Completed 302 Found in 4ms (ActiveRecord: 0.
|
1406
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1300
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.5ms)
|
1301
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:34 +0000
|
1407
1302
|
Processing by ExampleController#restricted as HTML
|
1408
1303
|
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
1409
1304
|
Rendering text template
|
1410
1305
|
Rendered text template (0.0ms)
|
1411
|
-
Completed 200 OK in 2ms (Views: 0.
|
1412
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1306
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
1307
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-24 13:21:34 +0000
|
1413
1308
|
Processing by ExampleController#restricted as HTML
|
1414
1309
|
Authenticating with gds_sso strategy
|
1415
|
-
Completed in
|
1416
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1417
|
-
Started GET "/auth/gds/callback?code=
|
1310
|
+
Completed in 1ms (ActiveRecord: 0.0ms)
|
1311
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-01-24 13:21:34 +0000
|
1312
|
+
Started GET "/auth/gds/callback?code=123efcc87f2412daa5e1ec5b16d8e99f19608c8c2a060f9b9118e9e819a6ef10&state=cbe8977a609bbbb011cf6abc9b9b53cb0c5d6a14756d7be4" for 127.0.0.1 at 2018-01-24 13:21:34 +0000
|
1418
1313
|
Processing by AuthenticationsController#callback as HTML
|
1419
|
-
Parameters: {"code"=>"
|
1314
|
+
Parameters: {"code"=>"123efcc87f2412daa5e1ec5b16d8e99f19608c8c2a060f9b9118e9e819a6ef10", "state"=>"cbe8977a609bbbb011cf6abc9b9b53cb0c5d6a14756d7be4"}
|
1420
1315
|
Authenticating with gds_sso strategy
|
1421
|
-
[1m[36mUser Load (0.
|
1316
|
+
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1422
1317
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1423
1318
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1424
1319
|
Redirected to http://www.example-client.com/restricted
|
1425
|
-
Completed 302 Found in
|
1426
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1320
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.7ms)
|
1321
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-24 13:21:34 +0000
|
1427
1322
|
Processing by ExampleController#restricted as HTML
|
1428
1323
|
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
1429
1324
|
Rendering text template
|
1430
1325
|
Rendered text template (0.0ms)
|
1431
|
-
Completed 200 OK in
|
1432
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1326
|
+
Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.3ms)
|
1327
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:34 +0000
|
1433
1328
|
Processing by ExampleController#restricted as HTML
|
1434
1329
|
Authenticating with gds_sso strategy
|
1435
1330
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1436
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1437
|
-
Started GET "/auth/gds/callback?code=
|
1331
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-01-23 17:16:34 +0000
|
1332
|
+
Started GET "/auth/gds/callback?code=611fe54437d99e9ef911f40f0eb6d88da725d6db15ab2839893ae823ec9fc1cf&state=bc388674129216ae86a40fda0bb2259b689b195cb130a47f" for 127.0.0.1 at 2018-01-23 17:16:34 +0000
|
1438
1333
|
Processing by AuthenticationsController#callback as HTML
|
1439
|
-
Parameters: {"code"=>"
|
1334
|
+
Parameters: {"code"=>"611fe54437d99e9ef911f40f0eb6d88da725d6db15ab2839893ae823ec9fc1cf", "state"=>"bc388674129216ae86a40fda0bb2259b689b195cb130a47f"}
|
1440
1335
|
Authenticating with gds_sso strategy
|
1441
1336
|
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1442
1337
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1443
|
-
[1m[35m (0.
|
1338
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1444
1339
|
Redirected to http://www.example-client.com/restricted
|
1445
|
-
Completed 302 Found in 4ms (ActiveRecord: 0.
|
1446
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1340
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
1341
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:34 +0000
|
1447
1342
|
Processing by ExampleController#restricted as HTML
|
1448
1343
|
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
1449
1344
|
Rendering text template
|
1450
1345
|
Rendered text template (0.0ms)
|
1451
|
-
Completed 200 OK in 2ms (Views: 0.
|
1452
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1346
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
1347
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-24 13:21:34 +0000
|
1453
1348
|
Processing by ExampleController#restricted as HTML
|
1454
1349
|
Authenticating with gds_sso strategy
|
1455
1350
|
Completed in 1ms (ActiveRecord: 0.0ms)
|
1456
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1457
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1351
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-01-24 13:21:34 +0000
|
1352
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:34 +0000
|
1458
1353
|
Processing by ExampleController#restricted as HTML
|
1459
1354
|
Authenticating with gds_sso strategy
|
1460
|
-
Completed in
|
1461
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1462
|
-
Started GET "/auth/gds/callback?code=
|
1355
|
+
Completed in 1ms (ActiveRecord: 0.0ms)
|
1356
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-01-23 17:16:34 +0000
|
1357
|
+
Started GET "/auth/gds/callback?code=12cd97d03fa4a8af87cb27aee46071db01ea6660ef561c46956e2bd1e86d1d64&state=ce170ec55c3c39bd341a58bcca295dd7ec4b3b6c4e5a1bcc" for 127.0.0.1 at 2018-01-23 17:16:34 +0000
|
1463
1358
|
Processing by AuthenticationsController#callback as HTML
|
1464
|
-
Parameters: {"code"=>"
|
1359
|
+
Parameters: {"code"=>"12cd97d03fa4a8af87cb27aee46071db01ea6660ef561c46956e2bd1e86d1d64", "state"=>"ce170ec55c3c39bd341a58bcca295dd7ec4b3b6c4e5a1bcc"}
|
1465
1360
|
Authenticating with gds_sso strategy
|
1466
1361
|
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1467
1362
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1468
|
-
[1m[35m (0.
|
1363
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1469
1364
|
Redirected to http://www.example-client.com/restricted
|
1470
|
-
Completed 302 Found in
|
1471
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1365
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.4ms)
|
1366
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:34 +0000
|
1472
1367
|
Processing by ExampleController#restricted as HTML
|
1473
1368
|
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
1474
1369
|
Rendering text template
|
1475
1370
|
Rendered text template (0.0ms)
|
1476
|
-
Completed 200 OK in 2ms (Views: 0.
|
1477
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1371
|
+
Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.2ms)
|
1372
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-24 13:11:35 +0000
|
1478
1373
|
Processing by ExampleController#restricted as HTML
|
1479
1374
|
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
1480
1375
|
Rendering text template
|
1481
1376
|
Rendered text template (0.0ms)
|
1482
1377
|
Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.2ms)
|
1483
|
-
|
1378
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:35 +0000
|
1379
|
+
Processing by ExampleController#restricted as JSON
|
1380
|
+
Completed in 54ms (ActiveRecord: 0.0ms)
|
1381
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:35 +0000
|
1382
|
+
Processing by ExampleController#restricted as JSON
|
1383
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1384
|
+
[1m[35m (0.3ms)[0m [1m[36mbegin transaction[0m
|
1385
|
+
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "users" SET "disabled" = ? WHERE "users"."id" = ?[0m [["disabled", nil], ["id", 1]]
|
1386
|
+
[1m[35m (7.8ms)[0m [1m[36mcommit transaction[0m
|
1387
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1388
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1389
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1390
|
+
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1391
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1392
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1393
|
+
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1394
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1395
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1396
|
+
Rendering text template
|
1397
|
+
Rendered text template (0.0ms)
|
1398
|
+
Completed 200 OK in 109ms (Views: 0.3ms | ActiveRecord: 9.3ms)
|
1399
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2018-01-23 17:16:35 +0000
|
1400
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
1401
|
+
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1402
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1403
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1404
|
+
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1405
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1406
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1407
|
+
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1408
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1409
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1410
|
+
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1411
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1412
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1413
|
+
Rendering text template
|
1414
|
+
Rendered text template (0.0ms)
|
1415
|
+
Completed 200 OK in 86ms (Views: 0.3ms | ActiveRecord: 1.1ms)
|
1416
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:35 +0000
|
1417
|
+
Processing by ExampleController#restricted as JSON
|
1418
|
+
Completed in 14ms (ActiveRecord: 0.0ms)
|
1419
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:35 +0000
|
1420
|
+
Processing by ExampleController#restricted as HTML
|
1421
|
+
Authenticating with gds_sso strategy
|
1422
|
+
Completed in 0ms (ActiveRecord: 0.0ms)
|
1423
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "asd"], ["LIMIT", 1]]
|
1484
1424
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["email", "user@example.com"], ["LIMIT", 1]]
|
1485
|
-
[1m[35m (0.
|
1425
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1486
1426
|
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions", "organisation_slug", "organisation_content_id", "disabled") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["name", "A Name"], ["uid", "asd"], ["email", "user@example.com"], ["permissions", "---\n- signin\n"], ["organisation_slug", "hmrc"], ["organisation_content_id", "67a2b78d-eee3-45b3-80e2-792e7f71cecc"], ["disabled", nil]]
|
1487
|
-
[1m[35m (
|
1427
|
+
[1m[35m (6.8ms)[0m [1m[36mcommit transaction[0m
|
1488
1428
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "asd"], ["LIMIT", 1]]
|
1489
1429
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1490
1430
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1491
|
-
[1m[
|
1492
|
-
[1m[
|
1431
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1432
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d36378"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1433
|
+
[1m[35m (6.8ms)[0m [1m[36mcommit transaction[0m
|
1434
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1435
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d3113"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1436
|
+
[1m[35m (5.2ms)[0m [1m[36mcommit transaction[0m
|
1437
|
+
Processing by Api::UserController#reauth as HTML
|
1438
|
+
Parameters: {"uid"=>"a1s2d36378"}
|
1439
|
+
Rendering /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
1440
|
+
Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.3ms)
|
1441
|
+
Completed 403 Forbidden in 11ms (Views: 9.7ms | ActiveRecord: 0.0ms)
|
1442
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1443
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d38646"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1444
|
+
[1m[35m (7.6ms)[0m [1m[36mcommit transaction[0m
|
1445
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1446
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d36943"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1447
|
+
[1m[35m (5.6ms)[0m [1m[36mcommit transaction[0m
|
1448
|
+
Processing by Api::UserController#reauth as HTML
|
1449
|
+
Parameters: {"uid"=>"a1s2d38646"}
|
1450
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d38646"], ["LIMIT", 1]]
|
1451
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1452
|
+
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "t"], ["id", 5]]
|
1453
|
+
[1m[35m (8.4ms)[0m [1m[36mcommit transaction[0m
|
1454
|
+
Completed 200 OK in 12ms (ActiveRecord: 8.8ms)
|
1455
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 5], ["LIMIT", 1]]
|
1456
|
+
[1m[35m (0.6ms)[0m [1m[36mbegin transaction[0m
|
1457
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d39704"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1458
|
+
[1m[35m (7.9ms)[0m [1m[36mcommit transaction[0m
|
1459
|
+
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
1460
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d39238"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1461
|
+
[1m[35m (6.5ms)[0m [1m[36mcommit transaction[0m
|
1462
|
+
Processing by Api::UserController#reauth as HTML
|
1463
|
+
Parameters: {"uid"=>"nonexistent-user"}
|
1464
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "nonexistent-user"], ["LIMIT", 1]]
|
1465
|
+
Completed 200 OK in 1ms (ActiveRecord: 0.1ms)
|
1466
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1467
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d32434"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1468
|
+
[1m[35m (6.3ms)[0m [1m[36mcommit transaction[0m
|
1469
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1470
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d32843"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1471
|
+
[1m[35m (5.3ms)[0m [1m[36mcommit transaction[0m
|
1472
|
+
Processing by Api::UserController#update as HTML
|
1473
|
+
Parameters: {"uid"=>"a1s2d32434"}
|
1474
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d32434"], ["LIMIT", 1]]
|
1475
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1476
|
+
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "users" SET "email" = ?, "name" = ?, "permissions" = ?, "organisation_slug" = ?, "organisation_content_id" = ? WHERE "users"."id" = ?[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"], ["id", 9]]
|
1477
|
+
[1m[35m (6.7ms)[0m [1m[36mcommit transaction[0m
|
1478
|
+
Completed 200 OK in 10ms (ActiveRecord: 7.1ms)
|
1479
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 9], ["LIMIT", 1]]
|
1480
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1481
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d31342"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1482
|
+
[1m[35m (7.5ms)[0m [1m[36mcommit transaction[0m
|
1483
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1484
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d32479"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1485
|
+
[1m[35m (9.4ms)[0m [1m[36mcommit transaction[0m
|
1486
|
+
Processing by Api::UserController#update as HTML
|
1487
|
+
Parameters: {"uid"=>"a1s2d31342"}
|
1488
|
+
Rendering /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
1489
|
+
Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.0ms)
|
1490
|
+
Completed 403 Forbidden in 2ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
1491
|
+
[1m[36m (7.6ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "uid" varchar NOT NULL, "email" varchar NOT NULL, "remotely_signed_out" boolean, "permissions" text, "organisation_slug" varchar, "organisation_content_id" varchar, "disabled" boolean DEFAULT 'f') [0m
|
1492
|
+
[1m[35m (7.7ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
1493
1493
|
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
1494
|
-
[1m[35m (
|
1494
|
+
[1m[35m (7.3ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
1495
1495
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1496
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "
|
1497
|
-
[1m[36m (
|
1496
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d32225"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
1497
|
+
[1m[36m (6.9ms)[0m [1mcommit transaction[0m
|
1498
1498
|
[1m[35m (0.0ms)[0m begin transaction
|
1499
|
-
[1m[36mSQL (0.
|
1500
|
-
[1m[35m (
|
1501
|
-
Processing by Api::UserController#
|
1502
|
-
Parameters: {"uid"=>"
|
1503
|
-
|
1504
|
-
Completed
|
1505
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1506
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d35819"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
1507
|
-
[1m[36m (10.7ms)[0m [1mcommit transaction[0m
|
1508
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1509
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d34231"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1510
|
-
[1m[35m (6.0ms)[0m commit transaction
|
1511
|
-
Processing by Api::UserController#update as HTML
|
1512
|
-
Parameters: {"uid"=>"a1s2d35819"}
|
1513
|
-
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "a1s2d35819"]]
|
1499
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d34488"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1500
|
+
[1m[35m (6.9ms)[0m commit transaction
|
1501
|
+
Processing by Api::UserController#reauth as HTML
|
1502
|
+
Parameters: {"uid"=>"nonexistent-user"}
|
1503
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "nonexistent-user"]]
|
1504
|
+
Completed 200 OK in 7ms (ActiveRecord: 0.3ms)
|
1514
1505
|
[1m[35m (0.1ms)[0m begin transaction
|
1515
|
-
[1m[36mSQL (0.
|
1516
|
-
[1m[35m (
|
1517
|
-
Completed 200 OK in 15ms (ActiveRecord: 5.2ms)
|
1518
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 3]]
|
1519
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1520
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d39552"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
1521
|
-
[1m[35m (5.3ms)[0m commit transaction
|
1506
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d38732"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
1507
|
+
[1m[35m (7.1ms)[0m commit transaction
|
1522
1508
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1523
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "
|
1524
|
-
[1m[36m (
|
1509
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d39399"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1510
|
+
[1m[36m (7.1ms)[0m [1mcommit transaction[0m
|
1525
1511
|
Processing by Api::UserController#reauth as HTML
|
1526
|
-
Parameters: {"uid"=>"
|
1527
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "
|
1512
|
+
Parameters: {"uid"=>"a1s2d38732"}
|
1513
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "a1s2d38732"]]
|
1528
1514
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1529
|
-
[1m[35mSQL (0.
|
1530
|
-
[1m[36m (
|
1531
|
-
Completed 200 OK in
|
1532
|
-
[1m[35mUser Load (0.
|
1533
|
-
[1m[36m (0.
|
1534
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "
|
1535
|
-
[1m[36m (
|
1515
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 3]]
|
1516
|
+
[1m[36m (6.6ms)[0m [1mcommit transaction[0m
|
1517
|
+
Completed 200 OK in 10ms (ActiveRecord: 6.9ms)
|
1518
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
|
1519
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1520
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d38945"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
1521
|
+
[1m[36m (6.4ms)[0m [1mcommit transaction[0m
|
1536
1522
|
[1m[35m (0.1ms)[0m begin transaction
|
1537
|
-
[1m[36mSQL (0.
|
1538
|
-
[1m[35m (
|
1523
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d33233"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1524
|
+
[1m[35m (5.2ms)[0m commit transaction
|
1539
1525
|
Processing by Api::UserController#reauth as HTML
|
1540
|
-
Parameters: {"uid"=>"
|
1541
|
-
Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.
|
1542
|
-
Completed 403 Forbidden in
|
1526
|
+
Parameters: {"uid"=>"a1s2d38945"}
|
1527
|
+
Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
|
1528
|
+
Completed 403 Forbidden in 13ms (Views: 12.4ms | ActiveRecord: 0.0ms)
|
1543
1529
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1544
|
-
[1m[35mSQL (0.
|
1545
|
-
[1m[36m (
|
1546
|
-
[1m[35m (0.
|
1547
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "
|
1548
|
-
[1m[35m (
|
1549
|
-
Processing by Api::UserController#
|
1550
|
-
Parameters: {"uid"=>"
|
1551
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "
|
1552
|
-
|
1553
|
-
|
1530
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d31359"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
1531
|
+
[1m[36m (7.6ms)[0m [1mcommit transaction[0m
|
1532
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1533
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d31852"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1534
|
+
[1m[35m (9.7ms)[0m commit transaction
|
1535
|
+
Processing by Api::UserController#update as HTML
|
1536
|
+
Parameters: {"uid"=>"a1s2d31359"}
|
1537
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "a1s2d31359"]]
|
1538
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1539
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "email" = ?, "name" = ?, "permissions" = ?, "organisation_slug" = ?, "organisation_content_id" = ? WHERE "users"."id" = ?[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"], ["id", 7]]
|
1540
|
+
[1m[35m (9.7ms)[0m commit transaction
|
1541
|
+
Completed 200 OK in 14ms (ActiveRecord: 10.0ms)
|
1542
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 7]]
|
1543
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1544
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d32067"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
1545
|
+
[1m[35m (6.2ms)[0m commit transaction
|
1546
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1547
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d36149"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1548
|
+
[1m[36m (6.2ms)[0m [1mcommit transaction[0m
|
1549
|
+
Processing by Api::UserController#update as HTML
|
1550
|
+
Parameters: {"uid"=>"a1s2d32067"}
|
1551
|
+
Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.1ms)
|
1552
|
+
Completed 403 Forbidden in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
|
1553
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "asd"]]
|
1554
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["email", "user@example.com"]]
|
1555
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1556
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions", "organisation_slug", "organisation_content_id", "disabled") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["uid", "asd"], ["email", "user@example.com"], ["name", "A Name"], ["permissions", "---\n- signin\n"], ["organisation_slug", "hmrc"], ["organisation_content_id", "67a2b78d-eee3-45b3-80e2-792e7f71cecc"], ["disabled", nil]]
|
1557
|
+
[1m[35m (8.1ms)[0m commit transaction
|
1558
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "asd"]]
|
1559
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1560
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1561
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:41 +0000
|
1554
1562
|
Processing by ExampleController#restricted as HTML
|
1555
1563
|
Authenticating with gds_sso strategy
|
1556
1564
|
Completed in 8ms (ActiveRecord: 0.0ms)
|
1557
|
-
Started GET "/
|
1558
|
-
|
1559
|
-
|
1560
|
-
|
1561
|
-
|
1565
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-01-23 17:16:41 +0000
|
1566
|
+
Started GET "/auth/gds/callback?code=6106d79a79b74b6ce966fc681eadc9cf6183d8cafaac9e1d9aa03ea7c6e6be12&state=f153a3d2c341f99dc776933bbc53eca91287c695d2cc6239" for 127.0.0.1 at 2018-01-23 17:16:41 +0000
|
1567
|
+
Processing by AuthenticationsController#callback as HTML
|
1568
|
+
Parameters: {"code"=>"6106d79a79b74b6ce966fc681eadc9cf6183d8cafaac9e1d9aa03ea7c6e6be12", "state"=>"f153a3d2c341f99dc776933bbc53eca91287c695d2cc6239"}
|
1569
|
+
Authenticating with gds_sso strategy
|
1562
1570
|
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
1563
|
-
[1m[36mUser Load (0.
|
1564
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1565
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions", "disabled") VALUES (?, ?, ?, ?, ?)[0m [["uid", "integration-uid"], ["email", "test@example-client.com"], ["name", "Test User"], ["permissions", "---\n- signin\n"], ["disabled", nil]]
|
1566
|
-
[1m[35m (4.4ms)[0m commit transaction
|
1567
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
1571
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["email", "test@example-client.com"]]
|
1568
1572
|
[1m[35m (0.1ms)[0m begin transaction
|
1569
|
-
[1m[
|
1570
|
-
[1m[
|
1573
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "integration-uid"], ["email", "test@example-client.com"], ["name", "Test User"], ["permissions", "---\n- signin\n"]]
|
1574
|
+
[1m[35m (7.5ms)[0m commit transaction
|
1571
1575
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1572
|
-
[1m[
|
1573
|
-
[1m[
|
1574
|
-
|
1575
|
-
|
1576
|
-
|
1577
|
-
|
1578
|
-
[1m[
|
1576
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "f"], ["id", 12]]
|
1577
|
+
[1m[36m (6.3ms)[0m [1mcommit transaction[0m
|
1578
|
+
Redirected to http://www.example-client.com/restricted
|
1579
|
+
Completed 302 Found in 20ms (ActiveRecord: 14.4ms)
|
1580
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:41 +0000
|
1581
|
+
Processing by ExampleController#restricted as HTML
|
1582
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
1579
1583
|
Rendered text template (0.0ms)
|
1580
|
-
Completed 200 OK in
|
1581
|
-
Started GET "/
|
1582
|
-
Processing by ExampleController#
|
1584
|
+
Completed 200 OK in 6ms (Views: 3.8ms | ActiveRecord: 0.2ms)
|
1585
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:41 +0000
|
1586
|
+
Processing by ExampleController#restricted as HTML
|
1587
|
+
Authenticating with gds_sso strategy
|
1588
|
+
Completed in 0ms (ActiveRecord: 0.0ms)
|
1589
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-01-23 17:16:41 +0000
|
1590
|
+
Started GET "/auth/gds/callback?code=537ea2c55975819c6dcf755928345c86fc3ebf88017260f4d915da9bb0e01f74&state=cd553d8d2c035594abc2d5790a4c8ad05d5ca54d333801a8" for 127.0.0.1 at 2018-01-23 17:16:41 +0000
|
1591
|
+
Processing by AuthenticationsController#callback as HTML
|
1592
|
+
Parameters: {"code"=>"537ea2c55975819c6dcf755928345c86fc3ebf88017260f4d915da9bb0e01f74", "state"=>"cd553d8d2c035594abc2d5790a4c8ad05d5ca54d333801a8"}
|
1593
|
+
Authenticating with gds_sso strategy
|
1583
1594
|
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
1584
1595
|
[1m[35m (0.1ms)[0m begin transaction
|
1585
1596
|
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1586
|
-
[1m[
|
1587
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1588
|
-
[1m[35m (0.0ms)[0m commit transaction
|
1589
|
-
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
1590
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1597
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1591
1598
|
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1592
|
-
|
1593
|
-
|
1594
|
-
|
1595
|
-
|
1596
|
-
[1m[
|
1599
|
+
Redirected to http://www.example-client.com/restricted
|
1600
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
|
1601
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:41 +0000
|
1602
|
+
Processing by ExampleController#restricted as HTML
|
1603
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
1597
1604
|
Rendered text template (0.0ms)
|
1598
|
-
Completed 200 OK in
|
1599
|
-
Started GET "/
|
1600
|
-
Processing by ExampleController#
|
1601
|
-
|
1602
|
-
|
1603
|
-
|
1605
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
1606
|
+
Started GET "/" for 127.0.0.1 at 2018-01-23 17:16:41 +0000
|
1607
|
+
Processing by ExampleController#index as HTML
|
1608
|
+
Rendered text template (0.0ms)
|
1609
|
+
Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
1610
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:42 +0000
|
1611
|
+
Processing by ExampleController#restricted as HTML
|
1604
1612
|
Authenticating with gds_sso strategy
|
1605
1613
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1606
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1607
|
-
Started GET "/auth/gds/callback?code=
|
1614
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-01-23 17:16:42 +0000
|
1615
|
+
Started GET "/auth/gds/callback?code=75762056352bf45881acad93cf87b40584548efe92ca742d40eea5796e7f95d1&state=60274fa363afb7ea3c4e855de18380b22dd6564878783054" for 127.0.0.1 at 2018-01-23 17:16:42 +0000
|
1608
1616
|
Processing by AuthenticationsController#callback as HTML
|
1609
|
-
Parameters: {"code"=>"
|
1617
|
+
Parameters: {"code"=>"75762056352bf45881acad93cf87b40584548efe92ca742d40eea5796e7f95d1", "state"=>"60274fa363afb7ea3c4e855de18380b22dd6564878783054"}
|
1610
1618
|
Authenticating with gds_sso strategy
|
1611
1619
|
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
1612
1620
|
[1m[35m (0.1ms)[0m begin transaction
|
1613
|
-
[1m[
|
1614
|
-
[1m[35m (
|
1615
|
-
[1m[36m (0.
|
1616
|
-
|
1617
|
-
|
1618
|
-
|
1619
|
-
|
1620
|
-
|
1621
|
-
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
1621
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1622
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1623
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
1624
|
+
Redirected to http://www.example-client.com/restricted
|
1625
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
1626
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:42 +0000
|
1627
|
+
Processing by ExampleController#restricted as HTML
|
1628
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
1622
1629
|
Rendered text template (0.0ms)
|
1623
|
-
Completed 200 OK in
|
1624
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at
|
1630
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
1631
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2018-01-23 17:16:42 +0000
|
1625
1632
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
1626
1633
|
Authenticating with gds_sso strategy
|
1627
1634
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1628
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1629
|
-
Started GET "/auth/gds/callback?code=
|
1635
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-01-23 17:16:42 +0000
|
1636
|
+
Started GET "/auth/gds/callback?code=9f2b674c802fb034c682048ed6fbcde2488bcdbc3ec8168298118af59d6e044e&state=7f43402cf964163c666a8cae676b451ebdf47254573162fa" for 127.0.0.1 at 2018-01-23 17:16:42 +0000
|
1630
1637
|
Processing by AuthenticationsController#callback as HTML
|
1631
|
-
Parameters: {"code"=>"
|
1638
|
+
Parameters: {"code"=>"9f2b674c802fb034c682048ed6fbcde2488bcdbc3ec8168298118af59d6e044e", "state"=>"7f43402cf964163c666a8cae676b451ebdf47254573162fa"}
|
1632
1639
|
Authenticating with gds_sso strategy
|
1633
|
-
[1m[
|
1634
|
-
[1m[
|
1635
|
-
[1m[
|
1636
|
-
[1m[
|
1637
|
-
[1m[
|
1640
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
1641
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1642
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1643
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1644
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1638
1645
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
1639
1646
|
Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
|
1640
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at
|
1647
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2018-01-23 17:16:42 +0000
|
1641
1648
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
1642
|
-
[1m[
|
1649
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
1643
1650
|
Rendered text template (0.0ms)
|
1644
|
-
Completed 200 OK in 2ms (Views: 0.
|
1645
|
-
Started GET "/
|
1646
|
-
Processing by ExampleController#
|
1651
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
1652
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2018-01-23 17:16:42 +0000
|
1653
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
1647
1654
|
Authenticating with gds_sso strategy
|
1648
1655
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1649
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1650
|
-
Started GET "/auth/gds/callback?code=
|
1656
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-01-23 17:16:42 +0000
|
1657
|
+
Started GET "/auth/gds/callback?code=ed46f97d99c5ad6f300cdda521b8c1f64e0c44dfd7db2322da18a68f034837eb&state=2fde8b89ee229191745897442c29fd955af24b299d3353b4" for 127.0.0.1 at 2018-01-23 17:16:42 +0000
|
1651
1658
|
Processing by AuthenticationsController#callback as HTML
|
1652
|
-
Parameters: {"code"=>"
|
1659
|
+
Parameters: {"code"=>"ed46f97d99c5ad6f300cdda521b8c1f64e0c44dfd7db2322da18a68f034837eb", "state"=>"2fde8b89ee229191745897442c29fd955af24b299d3353b4"}
|
1653
1660
|
Authenticating with gds_sso strategy
|
1654
|
-
[1m[
|
1655
|
-
[1m[
|
1656
|
-
[1m[
|
1657
|
-
[1m[
|
1658
|
-
[1m[
|
1659
|
-
Redirected to http://www.example-client.com/
|
1660
|
-
Completed 302 Found in 4ms (ActiveRecord: 0.
|
1661
|
-
Started GET "/
|
1662
|
-
Processing by ExampleController#
|
1663
|
-
[1m[
|
1661
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
1662
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1663
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1664
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1665
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1666
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
1667
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
1668
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2018-01-23 17:16:42 +0000
|
1669
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
1670
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
1664
1671
|
Rendered text template (0.0ms)
|
1665
|
-
Completed 200 OK in
|
1666
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1672
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
1673
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:42 +0000
|
1667
1674
|
Processing by ExampleController#restricted as HTML
|
1668
1675
|
Authenticating with gds_sso strategy
|
1669
1676
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1670
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1671
|
-
Started GET "/auth/gds/callback?code=
|
1677
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-01-23 17:16:42 +0000
|
1678
|
+
Started GET "/auth/gds/callback?code=1176766ab4954ad6859e4dd74e8451b2e7ff2c24f7bf2a9f4195cfca1a04887d&state=22615fea0ce095a9335bdd74c0ff84b4962a30de5fbf53ab" for 127.0.0.1 at 2018-01-23 17:16:42 +0000
|
1672
1679
|
Processing by AuthenticationsController#callback as HTML
|
1673
|
-
Parameters: {"code"=>"
|
1680
|
+
Parameters: {"code"=>"1176766ab4954ad6859e4dd74e8451b2e7ff2c24f7bf2a9f4195cfca1a04887d", "state"=>"22615fea0ce095a9335bdd74c0ff84b4962a30de5fbf53ab"}
|
1674
1681
|
Authenticating with gds_sso strategy
|
1675
|
-
[1m[
|
1676
|
-
[1m[
|
1677
|
-
[1m[
|
1678
|
-
[1m[
|
1679
|
-
[1m[
|
1682
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
1683
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1684
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1685
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1686
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1680
1687
|
Redirected to http://www.example-client.com/restricted
|
1681
1688
|
Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
|
1682
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1689
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:42 +0000
|
1683
1690
|
Processing by ExampleController#restricted as HTML
|
1684
|
-
[1m[
|
1691
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
1685
1692
|
Rendered text template (0.0ms)
|
1686
|
-
Completed 200 OK in
|
1687
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1688
|
-
Processing by ExampleController#restricted as HTML
|
1689
|
-
Authenticating with gds_sso strategy
|
1690
|
-
Completed in 0ms (ActiveRecord: 0.0ms)
|
1691
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-15 16:10:07 +0000
|
1692
|
-
Started GET "/auth/gds/callback?code=ea8160563e46d9f0f88ae2668dcfffe50024e58e04dfdfa3244907689c5a225f&state=7909b721d2c97d3b204033e499fd3794cfd2f4b91cf69075" for 127.0.0.1 at 2017-12-15 16:10:07 +0000
|
1693
|
-
Processing by AuthenticationsController#callback as HTML
|
1694
|
-
Parameters: {"code"=>"ea8160563e46d9f0f88ae2668dcfffe50024e58e04dfdfa3244907689c5a225f", "state"=>"7909b721d2c97d3b204033e499fd3794cfd2f4b91cf69075"}
|
1695
|
-
Authenticating with gds_sso strategy
|
1696
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
1697
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1698
|
-
[1m[35m (0.0ms)[0m commit transaction
|
1699
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1700
|
-
[1m[35m (0.0ms)[0m commit transaction
|
1701
|
-
Redirected to http://www.example-client.com/restricted
|
1702
|
-
Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
|
1703
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-15 16:10:07 +0000
|
1693
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
1694
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-24 13:11:42 +0000
|
1704
1695
|
Processing by ExampleController#restricted as HTML
|
1705
1696
|
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
1706
1697
|
Rendered text template (0.0ms)
|
1707
1698
|
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
1708
|
-
Started GET "/" for 127.0.0.1 at
|
1709
|
-
Processing by ExampleController#index as HTML
|
1710
|
-
Rendered text template (0.0ms)
|
1711
|
-
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
1712
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-15 16:10:07 +0000
|
1699
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:42 +0000
|
1713
1700
|
Processing by ExampleController#restricted as HTML
|
1714
1701
|
Authenticating with gds_sso strategy
|
1715
1702
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1716
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1717
|
-
Started GET "/auth/gds/callback?code=
|
1703
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-01-23 17:16:42 +0000
|
1704
|
+
Started GET "/auth/gds/callback?code=8d1bde939b83603fedd3af07e0c33fdfbb6e8865854eea34291da532773df4a0&state=1593a7cf9b1b98e2bd7c669230a893b4823f8fb2de2646b7" for 127.0.0.1 at 2018-01-23 17:16:43 +0000
|
1718
1705
|
Processing by AuthenticationsController#callback as HTML
|
1719
|
-
Parameters: {"code"=>"
|
1706
|
+
Parameters: {"code"=>"8d1bde939b83603fedd3af07e0c33fdfbb6e8865854eea34291da532773df4a0", "state"=>"1593a7cf9b1b98e2bd7c669230a893b4823f8fb2de2646b7"}
|
1720
1707
|
Authenticating with gds_sso strategy
|
1721
1708
|
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
1722
1709
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1723
|
-
[1m[35m (0.
|
1710
|
+
[1m[35m (0.1ms)[0m commit transaction
|
1724
1711
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1725
1712
|
[1m[35m (0.0ms)[0m commit transaction
|
1726
1713
|
Redirected to http://www.example-client.com/restricted
|
1727
|
-
Completed 302 Found in 4ms (ActiveRecord: 0.
|
1728
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1729
|
-
Processing by ExampleController#restricted as HTML
|
1730
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
1731
|
-
Rendered text template (0.0ms)
|
1732
|
-
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
1733
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "test@example-client.com"]]
|
1734
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1735
|
-
[1m[35mSQL (0.1ms)[0m UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 11]]
|
1736
|
-
[1m[36m (4.4ms)[0m [1mcommit transaction[0m
|
1737
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-15 16:10:07 +0000
|
1738
|
-
Processing by ExampleController#restricted as HTML
|
1739
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
1740
|
-
Authenticating with gds_sso strategy
|
1741
|
-
Completed in 1ms (ActiveRecord: 0.1ms)
|
1742
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-15 16:10:07 +0000
|
1743
|
-
Started GET "/auth/gds/callback?code=43d9ec3fe981731e37f25e0d25163d102674a138086b682538079459076b28ec&state=eb97ca93c648895c31eb4f32dc6248af74fb24269901c970" for 127.0.0.1 at 2017-12-15 16:10:07 +0000
|
1744
|
-
Processing by AuthenticationsController#callback as HTML
|
1745
|
-
Parameters: {"code"=>"43d9ec3fe981731e37f25e0d25163d102674a138086b682538079459076b28ec", "state"=>"eb97ca93c648895c31eb4f32dc6248af74fb24269901c970"}
|
1746
|
-
Authenticating with gds_sso strategy
|
1747
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
1748
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1749
|
-
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1750
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1751
|
-
[1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id", 11]]
|
1752
|
-
[1m[35m (7.1ms)[0m commit transaction
|
1753
|
-
Redirected to http://www.example-client.com/restricted
|
1754
|
-
Completed 302 Found in 11ms (ActiveRecord: 7.5ms)
|
1755
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-15 16:10:07 +0000
|
1714
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
1715
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:43 +0000
|
1756
1716
|
Processing by ExampleController#restricted as HTML
|
1757
1717
|
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
1758
1718
|
Rendered text template (0.0ms)
|
1759
1719
|
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
1760
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1720
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-24 13:21:43 +0000
|
1761
1721
|
Processing by ExampleController#restricted as HTML
|
1762
1722
|
Authenticating with gds_sso strategy
|
1763
1723
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1764
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1765
|
-
Started GET "/auth/gds/callback?code=
|
1724
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-01-24 13:21:43 +0000
|
1725
|
+
Started GET "/auth/gds/callback?code=12140e420d4d908b4b64d228583445680dcf7909e2197b9b736172bb7701797f&state=c235ca078b03dc2b41f2801367dfd1b9677716ed9a774544" for 127.0.0.1 at 2018-01-24 13:21:43 +0000
|
1766
1726
|
Processing by AuthenticationsController#callback as HTML
|
1767
|
-
Parameters: {"code"=>"
|
1727
|
+
Parameters: {"code"=>"12140e420d4d908b4b64d228583445680dcf7909e2197b9b736172bb7701797f", "state"=>"c235ca078b03dc2b41f2801367dfd1b9677716ed9a774544"}
|
1768
1728
|
Authenticating with gds_sso strategy
|
1769
1729
|
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
1770
1730
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1771
|
-
[1m[35m (0.
|
1772
|
-
[1m[36m (0.
|
1773
|
-
[1m[35m (0.
|
1731
|
+
[1m[35m (0.1ms)[0m commit transaction
|
1732
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1733
|
+
[1m[35m (0.1ms)[0m commit transaction
|
1774
1734
|
Redirected to http://www.example-client.com/restricted
|
1775
|
-
Completed 302 Found in 4ms (ActiveRecord: 0.
|
1776
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1735
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
1736
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-24 13:21:43 +0000
|
1777
1737
|
Processing by ExampleController#restricted as HTML
|
1778
1738
|
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
1779
1739
|
Rendered text template (0.0ms)
|
1780
|
-
Completed 200 OK in
|
1781
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1740
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.1ms)
|
1741
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:43 +0000
|
1782
1742
|
Processing by ExampleController#restricted as HTML
|
1783
1743
|
Authenticating with gds_sso strategy
|
1784
1744
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1785
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1786
|
-
Started GET "/auth/gds/callback?code=
|
1745
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-01-23 17:16:43 +0000
|
1746
|
+
Started GET "/auth/gds/callback?code=16ac32f84623ed4f68818264eb2ef44114b1a87676cd2cb44b4741e573f8fa23&state=c9d60f158b3ee597fe06ff96fe18a421f81d0a52b4ed67f3" for 127.0.0.1 at 2018-01-23 17:16:43 +0000
|
1787
1747
|
Processing by AuthenticationsController#callback as HTML
|
1788
|
-
Parameters: {"code"=>"
|
1748
|
+
Parameters: {"code"=>"16ac32f84623ed4f68818264eb2ef44114b1a87676cd2cb44b4741e573f8fa23", "state"=>"c9d60f158b3ee597fe06ff96fe18a421f81d0a52b4ed67f3"}
|
1789
1749
|
Authenticating with gds_sso strategy
|
1790
|
-
[1m[35mUser Load (0.
|
1750
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
1791
1751
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1792
1752
|
[1m[35m (0.0ms)[0m commit transaction
|
1793
1753
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1794
|
-
[1m[35m (0.
|
1754
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1795
1755
|
Redirected to http://www.example-client.com/restricted
|
1796
1756
|
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
1797
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1757
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:43 +0000
|
1798
1758
|
Processing by ExampleController#restricted as HTML
|
1799
1759
|
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
1800
1760
|
Rendered text template (0.0ms)
|
1801
1761
|
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
1802
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1762
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-24 13:21:43 +0000
|
1763
|
+
Processing by ExampleController#restricted as HTML
|
1764
|
+
Authenticating with gds_sso strategy
|
1765
|
+
Completed in 1ms (ActiveRecord: 0.0ms)
|
1766
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-01-24 13:21:43 +0000
|
1767
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:43 +0000
|
1803
1768
|
Processing by ExampleController#restricted as HTML
|
1804
1769
|
Authenticating with gds_sso strategy
|
1805
1770
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1806
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1807
|
-
Started GET "/auth/gds/callback?code=
|
1771
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-01-23 17:16:43 +0000
|
1772
|
+
Started GET "/auth/gds/callback?code=90d741d593cffcaa80b0bc5b5d2de50e4dc5acaeadf41743a1b8084f44897c32&state=f5fb0f62b214bd9b9e90f506e366e3edb85d635d540d93e3" for 127.0.0.1 at 2018-01-23 17:16:43 +0000
|
1808
1773
|
Processing by AuthenticationsController#callback as HTML
|
1809
|
-
Parameters: {"code"=>"
|
1774
|
+
Parameters: {"code"=>"90d741d593cffcaa80b0bc5b5d2de50e4dc5acaeadf41743a1b8084f44897c32", "state"=>"f5fb0f62b214bd9b9e90f506e366e3edb85d635d540d93e3"}
|
1810
1775
|
Authenticating with gds_sso strategy
|
1811
1776
|
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
1812
1777
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
@@ -1814,422 +1779,457 @@ Authenticating with gds_sso strategy
|
|
1814
1779
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1815
1780
|
[1m[35m (0.0ms)[0m commit transaction
|
1816
1781
|
Redirected to http://www.example-client.com/restricted
|
1817
|
-
Completed 302 Found in
|
1818
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1782
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
1783
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:43 +0000
|
1819
1784
|
Processing by ExampleController#restricted as HTML
|
1820
1785
|
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
1821
1786
|
Rendered text template (0.0ms)
|
1822
|
-
Completed 200 OK in 1ms (Views: 0.
|
1823
|
-
|
1787
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
1788
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "test@example-client.com"]]
|
1789
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1790
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 12]]
|
1791
|
+
[1m[36m (10.6ms)[0m [1mcommit transaction[0m
|
1792
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:43 +0000
|
1824
1793
|
Processing by ExampleController#restricted as HTML
|
1825
1794
|
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
1826
|
-
Rendered text template (0.0ms)
|
1827
|
-
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
1828
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-15 16:10:08 +0000
|
1829
|
-
Processing by ExampleController#restricted as HTML
|
1830
1795
|
Authenticating with gds_sso strategy
|
1831
|
-
Completed in
|
1832
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1833
|
-
Started GET "/auth/gds/callback?code=
|
1796
|
+
Completed in 1ms (ActiveRecord: 0.1ms)
|
1797
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-01-23 17:16:43 +0000
|
1798
|
+
Started GET "/auth/gds/callback?code=afc5d8ec921423e82ded653ce384613f07962359d1d331d654a8c735a83b3ba3&state=2eda5b67171a2e64f78f886ab25a9877673ac8101e911645" for 127.0.0.1 at 2018-01-23 17:16:44 +0000
|
1834
1799
|
Processing by AuthenticationsController#callback as HTML
|
1835
|
-
Parameters: {"code"=>"
|
1800
|
+
Parameters: {"code"=>"afc5d8ec921423e82ded653ce384613f07962359d1d331d654a8c735a83b3ba3", "state"=>"2eda5b67171a2e64f78f886ab25a9877673ac8101e911645"}
|
1836
1801
|
Authenticating with gds_sso strategy
|
1837
1802
|
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
1838
1803
|
[1m[35m (0.1ms)[0m begin transaction
|
1839
|
-
[1m[36m (0.
|
1804
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
1840
1805
|
[1m[35m (0.0ms)[0m begin transaction
|
1841
|
-
[1m[
|
1806
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id", 12]]
|
1807
|
+
[1m[35m (7.0ms)[0m commit transaction
|
1842
1808
|
Redirected to http://www.example-client.com/restricted
|
1843
|
-
Completed 302 Found in
|
1844
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1809
|
+
Completed 302 Found in 12ms (ActiveRecord: 7.5ms)
|
1810
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:44 +0000
|
1845
1811
|
Processing by ExampleController#restricted as HTML
|
1846
|
-
[1m[
|
1812
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
1847
1813
|
Rendered text template (0.0ms)
|
1848
|
-
Completed 200 OK in
|
1849
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1814
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
1815
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:44 +0000
|
1850
1816
|
Processing by ExampleController#restricted as HTML
|
1851
1817
|
Authenticating with gds_sso strategy
|
1852
1818
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1853
|
-
Started GET "/
|
1854
|
-
|
1855
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."
|
1819
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:44 +0000
|
1820
|
+
Processing by ExampleController#restricted as JSON
|
1821
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
1856
1822
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1857
|
-
[1m[35mSQL (0.
|
1858
|
-
[1m[36m (
|
1859
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "
|
1823
|
+
[1m[35mSQL (0.4ms)[0m UPDATE "users" SET "disabled" = ? WHERE "users"."id" = ? [["disabled", nil], ["id", 12]]
|
1824
|
+
[1m[36m (7.7ms)[0m [1mcommit transaction[0m
|
1825
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
1826
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1827
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1828
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
1829
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1830
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
1831
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
1832
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1833
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1860
1834
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1861
1835
|
[1m[35m (0.0ms)[0m commit transaction
|
1836
|
+
Rendered text template (0.0ms)
|
1837
|
+
Completed 200 OK in 80ms (Views: 0.4ms | ActiveRecord: 8.9ms)
|
1838
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:44 +0000
|
1839
|
+
Processing by ExampleController#restricted as JSON
|
1840
|
+
Completed in 13ms (ActiveRecord: 0.0ms)
|
1841
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2018-01-23 17:16:44 +0000
|
1842
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
1843
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
1844
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1845
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1846
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
1847
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1848
|
+
[1m[35m (0.1ms)[0m commit transaction
|
1849
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
1850
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1851
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
1852
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
1853
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1854
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1855
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1856
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1857
|
+
Rendered text template (0.0ms)
|
1858
|
+
Completed 200 OK in 93ms (Views: 0.3ms | ActiveRecord: 0.8ms)
|
1859
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:44 +0000
|
1860
|
+
Processing by ExampleController#restricted as JSON
|
1861
|
+
Completed in 24ms (ActiveRecord: 0.0ms)
|
1862
1862
|
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "users"[0m
|
1863
|
-
[1m[35m (
|
1864
|
-
[1m[35m (
|
1865
|
-
[1m[35m (8.
|
1866
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
1867
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1868
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2017-12-15 16:10:14.354442"], ["updated_at", "2017-12-15 16:10:14.354442"]]
|
1869
|
-
[1m[35m (5.0ms)[0m [1m[36mcommit transaction[0m
|
1870
|
-
[1m[35m (4.0ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
1863
|
+
[1m[35m (0.8ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
1864
|
+
[1m[35m (6.7ms)[0m [1m[35mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "uid" varchar NOT NULL, "email" varchar NOT NULL, "remotely_signed_out" boolean, "permissions" text, "organisation_slug" varchar, "organisation_content_id" varchar, "disabled" boolean DEFAULT 'f')[0m
|
1865
|
+
[1m[35m (8.7ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
1871
1866
|
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
1872
1867
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1873
|
-
[1m[
|
1874
|
-
[1m[35m (
|
1875
|
-
[1m[
|
1876
|
-
[1m[
|
1877
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1878
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d37517"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1879
|
-
[1m[35m (6.5ms)[0m [1m[36mcommit transaction[0m
|
1880
|
-
Processing by Api::UserController#update as HTML
|
1881
|
-
Parameters: {"uid"=>"a1s2d36112"}
|
1882
|
-
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d36112"], ["LIMIT", 1]]
|
1883
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1884
|
-
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "users" SET "email" = ?, "name" = ?, "permissions" = ?, "organisation_slug" = ?, "organisation_content_id" = ? WHERE "users"."id" = ?[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"], ["id", 1]]
|
1885
|
-
[1m[35m (4.5ms)[0m [1m[36mcommit transaction[0m
|
1886
|
-
Completed 200 OK in 10ms (ActiveRecord: 5.0ms)
|
1887
|
-
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
1888
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1889
|
-
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d39339"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1890
|
-
[1m[35m (5.4ms)[0m [1m[36mcommit transaction[0m
|
1891
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1892
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d39904"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1893
|
-
[1m[35m (9.3ms)[0m [1m[36mcommit transaction[0m
|
1894
|
-
Processing by Api::UserController#update as HTML
|
1895
|
-
Parameters: {"uid"=>"a1s2d39339"}
|
1896
|
-
Rendering /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
1897
|
-
Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.3ms)
|
1898
|
-
Completed 403 Forbidden in 12ms (Views: 11.2ms | ActiveRecord: 0.0ms)
|
1899
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1900
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d34286"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1901
|
-
[1m[35m (4.7ms)[0m [1m[36mcommit transaction[0m
|
1902
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1903
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d38224"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1904
|
-
[1m[35m (7.5ms)[0m [1m[36mcommit transaction[0m
|
1905
|
-
Processing by Api::UserController#reauth as HTML
|
1906
|
-
Parameters: {"uid"=>"a1s2d34286"}
|
1907
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d34286"], ["LIMIT", 1]]
|
1908
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1909
|
-
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "t"], ["id", 5]]
|
1910
|
-
[1m[35m (4.9ms)[0m [1m[36mcommit transaction[0m
|
1911
|
-
Completed 200 OK in 8ms (ActiveRecord: 5.3ms)
|
1912
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 5], ["LIMIT", 1]]
|
1913
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1914
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d3831"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1915
|
-
[1m[35m (4.9ms)[0m [1m[36mcommit transaction[0m
|
1916
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1917
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d37902"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1918
|
-
[1m[35m (3.9ms)[0m [1m[36mcommit transaction[0m
|
1919
|
-
Processing by Api::UserController#reauth as HTML
|
1920
|
-
Parameters: {"uid"=>"nonexistent-user"}
|
1921
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "nonexistent-user"], ["LIMIT", 1]]
|
1922
|
-
Completed 200 OK in 1ms (ActiveRecord: 0.1ms)
|
1923
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1924
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d36644"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1925
|
-
[1m[35m (3.8ms)[0m [1m[36mcommit transaction[0m
|
1868
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2018-01-23 17:16:49.799868"], ["updated_at", "2018-01-23 17:16:49.799868"]]
|
1869
|
+
[1m[35m (4.2ms)[0m [1m[36mcommit transaction[0m
|
1870
|
+
[1m[35m (6.1ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
1871
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
1926
1872
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1927
|
-
[1m[
|
1928
|
-
[1m[
|
1929
|
-
Processing by Api::UserController#reauth as HTML
|
1930
|
-
Parameters: {"uid"=>"a1s2d36644"}
|
1931
|
-
Rendering /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
1932
|
-
Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.0ms)
|
1933
|
-
Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
|
1934
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "asd"], ["LIMIT", 1]]
|
1873
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1874
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "asd"], ["LIMIT", 1]]
|
1935
1875
|
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["email", "user@example.com"], ["LIMIT", 1]]
|
1936
1876
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1937
1877
|
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions", "organisation_slug", "organisation_content_id", "disabled") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["name", "A Name"], ["uid", "asd"], ["email", "user@example.com"], ["permissions", "---\n- signin\n"], ["organisation_slug", "hmrc"], ["organisation_content_id", "67a2b78d-eee3-45b3-80e2-792e7f71cecc"], ["disabled", nil]]
|
1938
|
-
[1m[35m (
|
1878
|
+
[1m[35m (6.7ms)[0m [1m[36mcommit transaction[0m
|
1939
1879
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "asd"], ["LIMIT", 1]]
|
1940
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1941
|
-
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1942
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-15 16:10:14 +0000
|
1943
|
-
Processing by ExampleController#restricted as JSON
|
1944
|
-
Completed in 25ms (ActiveRecord: 0.0ms)
|
1945
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-15 16:10:15 +0000
|
1946
|
-
Processing by ExampleController#restricted as JSON
|
1947
|
-
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1948
|
-
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["email", "test@example-client.com"], ["LIMIT", 1]]
|
1949
1880
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1950
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions", "disabled") VALUES (?, ?, ?, ?, ?)[0m [["name", "Test User"], ["uid", "integration-uid"], ["email", "test@example-client.com"], ["permissions", "---\n- signin\n"], ["disabled", nil]]
|
1951
|
-
[1m[35m (4.6ms)[0m [1m[36mcommit transaction[0m
|
1952
|
-
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1953
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1954
|
-
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1955
|
-
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1956
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1957
1881
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1958
|
-
|
1959
|
-
|
1960
|
-
|
1961
|
-
|
1962
|
-
|
1963
|
-
|
1882
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:50 +0000
|
1883
|
+
Processing by ExampleController#restricted as HTML
|
1884
|
+
Authenticating with gds_sso strategy
|
1885
|
+
Completed in 6ms (ActiveRecord: 0.0ms)
|
1886
|
+
Started GET "/" for 127.0.0.1 at 2018-01-23 17:16:50 +0000
|
1887
|
+
Processing by ExampleController#index as HTML
|
1964
1888
|
Rendering text template
|
1965
1889
|
Rendered text template (0.0ms)
|
1966
|
-
Completed 200 OK in
|
1967
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1968
|
-
Processing by ExampleController#restricted as
|
1969
|
-
|
1970
|
-
|
1971
|
-
|
1890
|
+
Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.0ms)
|
1891
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:50 +0000
|
1892
|
+
Processing by ExampleController#restricted as HTML
|
1893
|
+
Authenticating with gds_sso strategy
|
1894
|
+
Completed in 0ms (ActiveRecord: 0.0ms)
|
1895
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-01-23 17:16:50 +0000
|
1896
|
+
Started GET "/auth/gds/callback?code=a9ce83eca750a3acb886bd980109a7460030ba4ae34811860a6af12dc56d1fee&state=631641b49f5c4cc84f372f0c2d278a1ffe52846f9a5720b2" for 127.0.0.1 at 2018-01-23 17:16:50 +0000
|
1897
|
+
Processing by AuthenticationsController#callback as HTML
|
1898
|
+
Parameters: {"code"=>"a9ce83eca750a3acb886bd980109a7460030ba4ae34811860a6af12dc56d1fee", "state"=>"631641b49f5c4cc84f372f0c2d278a1ffe52846f9a5720b2"}
|
1899
|
+
Authenticating with gds_sso strategy
|
1972
1900
|
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1901
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["email", "test@example-client.com"], ["LIMIT", 1]]
|
1973
1902
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1974
|
-
[1m[
|
1975
|
-
[1m[
|
1976
|
-
[1m[35m (0.
|
1977
|
-
[1m[
|
1978
|
-
[1m[
|
1979
|
-
|
1980
|
-
|
1981
|
-
|
1982
|
-
|
1983
|
-
[1m[
|
1903
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Test User"], ["uid", "integration-uid"], ["email", "test@example-client.com"], ["permissions", "---\n- signin\n"]]
|
1904
|
+
[1m[35m (5.3ms)[0m [1m[36mcommit transaction[0m
|
1905
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1906
|
+
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id", 2]]
|
1907
|
+
[1m[35m (4.2ms)[0m [1m[36mcommit transaction[0m
|
1908
|
+
Redirected to http://www.example-client.com/restricted
|
1909
|
+
Completed 302 Found in 16ms (ActiveRecord: 10.4ms)
|
1910
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:50 +0000
|
1911
|
+
Processing by ExampleController#restricted as HTML
|
1912
|
+
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
1984
1913
|
Rendering text template
|
1985
1914
|
Rendered text template (0.0ms)
|
1986
|
-
Completed 200 OK in
|
1987
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1915
|
+
Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.4ms)
|
1916
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:50 +0000
|
1988
1917
|
Processing by ExampleController#restricted as HTML
|
1989
1918
|
Authenticating with gds_sso strategy
|
1990
|
-
Completed in
|
1991
|
-
Started GET "/
|
1992
|
-
|
1993
|
-
Authenticating with gds_sso strategy
|
1994
|
-
Completed in 0ms (ActiveRecord: 0.0ms)
|
1995
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-15 16:10:15 +0000
|
1996
|
-
Started GET "/auth/gds/callback?code=f5ded92b93b4f071fc088ae57afcf1138dcedb5c3976979bcae3d722f10ae687&state=b9df4a261d6cb6e4ecee2aacaf7259b64da062bb9af4b7e1" for 127.0.0.1 at 2017-12-15 16:10:15 +0000
|
1919
|
+
Completed in 2ms (ActiveRecord: 0.0ms)
|
1920
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-01-23 17:16:50 +0000
|
1921
|
+
Started GET "/auth/gds/callback?code=d030ff31e907ea07c245d2f883f3473e09d2585af84690b451ffb8a971e3229d&state=637cebcfea31685c91f69fc6a5f6fd5d5412fa6bfd0778ec" for 127.0.0.1 at 2018-01-23 17:16:50 +0000
|
1997
1922
|
Processing by AuthenticationsController#callback as HTML
|
1998
|
-
Parameters: {"code"=>"
|
1923
|
+
Parameters: {"code"=>"d030ff31e907ea07c245d2f883f3473e09d2585af84690b451ffb8a971e3229d", "state"=>"637cebcfea31685c91f69fc6a5f6fd5d5412fa6bfd0778ec"}
|
1999
1924
|
Authenticating with gds_sso strategy
|
2000
|
-
[1m[36mUser Load (0.
|
2001
|
-
[1m[35m (0.
|
2002
|
-
[1m[
|
2003
|
-
[1m[35m (4.9ms)[0m [1m[36mcommit transaction[0m
|
1925
|
+
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1926
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1927
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
2004
1928
|
Redirected to http://www.example-client.com/restricted
|
2005
|
-
Completed 302 Found in
|
2006
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1929
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.5ms)
|
1930
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:50 +0000
|
2007
1931
|
Processing by ExampleController#restricted as HTML
|
2008
1932
|
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
2009
1933
|
Rendering text template
|
2010
1934
|
Rendered text template (0.0ms)
|
2011
|
-
Completed 200 OK in 2ms (Views: 0.
|
2012
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1935
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
1936
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:50 +0000
|
2013
1937
|
Processing by ExampleController#restricted as HTML
|
2014
1938
|
Authenticating with gds_sso strategy
|
2015
1939
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
2016
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
2017
|
-
Started GET "/auth/gds/callback?code=
|
1940
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-01-23 17:16:50 +0000
|
1941
|
+
Started GET "/auth/gds/callback?code=8317ae69e828dac16c0aa7a8a19e18e6e1914ce3320e1b463c71dc37e3b26b03&state=fb7236519484b53a53e0cca046b58a32413538aaec613a58" for 127.0.0.1 at 2018-01-23 17:16:50 +0000
|
2018
1942
|
Processing by AuthenticationsController#callback as HTML
|
2019
|
-
Parameters: {"code"=>"
|
1943
|
+
Parameters: {"code"=>"8317ae69e828dac16c0aa7a8a19e18e6e1914ce3320e1b463c71dc37e3b26b03", "state"=>"fb7236519484b53a53e0cca046b58a32413538aaec613a58"}
|
2020
1944
|
Authenticating with gds_sso strategy
|
2021
|
-
[1m[36mUser Load (0.
|
1945
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
2022
1946
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2023
1947
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2024
1948
|
Redirected to http://www.example-client.com/restricted
|
2025
|
-
Completed 302 Found in
|
2026
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1949
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
1950
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:50 +0000
|
2027
1951
|
Processing by ExampleController#restricted as HTML
|
2028
|
-
[1m[36mUser Load (0.
|
1952
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
2029
1953
|
Rendering text template
|
2030
1954
|
Rendered text template (0.0ms)
|
2031
|
-
Completed 200 OK in
|
2032
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at
|
1955
|
+
Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.3ms)
|
1956
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2018-01-23 17:16:50 +0000
|
2033
1957
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
2034
1958
|
Authenticating with gds_sso strategy
|
2035
1959
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
2036
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
2037
|
-
Started GET "/auth/gds/callback?code=
|
1960
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-01-23 17:16:50 +0000
|
1961
|
+
Started GET "/auth/gds/callback?code=d2d3651c07e4c501c7fa73f24ebeb494024174f199ef51ac56c3a345725f663a&state=e0fc93d6db0a7f169dec35d354fe994531ca8b9ca4d1965b" for 127.0.0.1 at 2018-01-23 17:16:51 +0000
|
2038
1962
|
Processing by AuthenticationsController#callback as HTML
|
2039
|
-
Parameters: {"code"=>"
|
1963
|
+
Parameters: {"code"=>"d2d3651c07e4c501c7fa73f24ebeb494024174f199ef51ac56c3a345725f663a", "state"=>"e0fc93d6db0a7f169dec35d354fe994531ca8b9ca4d1965b"}
|
2040
1964
|
Authenticating with gds_sso strategy
|
2041
1965
|
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
2042
|
-
[1m[35m (0.
|
2043
|
-
[1m[35m (0.
|
1966
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1967
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2044
1968
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
2045
|
-
Completed 302 Found in 4ms (ActiveRecord: 0.
|
2046
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at
|
1969
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
1970
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2018-01-23 17:16:51 +0000
|
2047
1971
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
2048
1972
|
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
2049
1973
|
Rendering text template
|
2050
1974
|
Rendered text template (0.0ms)
|
2051
1975
|
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
2052
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at
|
1976
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2018-01-23 17:16:51 +0000
|
2053
1977
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
2054
1978
|
Authenticating with gds_sso strategy
|
2055
1979
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
2056
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
2057
|
-
Started GET "/auth/gds/callback?code=
|
1980
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-01-23 17:16:51 +0000
|
1981
|
+
Started GET "/auth/gds/callback?code=369c086cb730b105a20645be2666f4c210a5bf392f9fe49c358f219875fca26a&state=9091de2512356f92ef1d6317200c0b7f0865005152d11825" for 127.0.0.1 at 2018-01-23 17:16:51 +0000
|
2058
1982
|
Processing by AuthenticationsController#callback as HTML
|
2059
|
-
Parameters: {"code"=>"
|
1983
|
+
Parameters: {"code"=>"369c086cb730b105a20645be2666f4c210a5bf392f9fe49c358f219875fca26a", "state"=>"9091de2512356f92ef1d6317200c0b7f0865005152d11825"}
|
2060
1984
|
Authenticating with gds_sso strategy
|
2061
|
-
[1m[36mUser Load (0.
|
2062
|
-
[1m[35m (0.
|
1985
|
+
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1986
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2063
1987
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
2064
1988
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
2065
|
-
Completed 302 Found in
|
2066
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at
|
1989
|
+
Completed 302 Found in 6ms (ActiveRecord: 1.0ms)
|
1990
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2018-01-23 17:16:51 +0000
|
2067
1991
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
2068
|
-
[1m[36mUser Load (0.
|
2069
|
-
Rendering text template
|
2070
|
-
Rendered text template (0.0ms)
|
2071
|
-
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.3ms)
|
2072
|
-
Started GET "/" for 127.0.0.1 at 2017-12-15 16:10:16 +0000
|
2073
|
-
Processing by ExampleController#index as HTML
|
1992
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
2074
1993
|
Rendering text template
|
2075
1994
|
Rendered text template (0.0ms)
|
2076
|
-
Completed 200 OK in
|
2077
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1995
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
1996
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:51 +0000
|
2078
1997
|
Processing by ExampleController#restricted as HTML
|
2079
1998
|
Authenticating with gds_sso strategy
|
2080
1999
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
2081
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
2082
|
-
Started GET "/auth/gds/callback?code=
|
2000
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-01-23 17:16:51 +0000
|
2001
|
+
Started GET "/auth/gds/callback?code=967d35ddd16ab6835e05e15507d4b3de38df3192fc9d4dbaaff38a0a854a8e2d&state=c03637a006789a2fa9cf52aeae57e39236406c68ddc5d010" for 127.0.0.1 at 2018-01-23 17:16:51 +0000
|
2083
2002
|
Processing by AuthenticationsController#callback as HTML
|
2084
|
-
Parameters: {"code"=>"
|
2003
|
+
Parameters: {"code"=>"967d35ddd16ab6835e05e15507d4b3de38df3192fc9d4dbaaff38a0a854a8e2d", "state"=>"c03637a006789a2fa9cf52aeae57e39236406c68ddc5d010"}
|
2085
2004
|
Authenticating with gds_sso strategy
|
2086
2005
|
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
2087
2006
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2088
2007
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2089
2008
|
Redirected to http://www.example-client.com/restricted
|
2090
2009
|
Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
|
2091
|
-
Started GET "/restricted" for 127.0.0.1 at
|
2010
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:51 +0000
|
2092
2011
|
Processing by ExampleController#restricted as HTML
|
2093
2012
|
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
2094
2013
|
Rendering text template
|
2095
2014
|
Rendered text template (0.0ms)
|
2096
|
-
Completed 200 OK in 2ms (Views: 0.
|
2097
|
-
Started GET "/restricted" for 127.0.0.1 at
|
2015
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
2016
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-24 13:21:51 +0000
|
2098
2017
|
Processing by ExampleController#restricted as HTML
|
2099
2018
|
Authenticating with gds_sso strategy
|
2100
2019
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
2101
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
2102
|
-
Started GET "/
|
2020
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-01-24 13:21:51 +0000
|
2021
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:51 +0000
|
2022
|
+
Processing by ExampleController#restricted as HTML
|
2023
|
+
Authenticating with gds_sso strategy
|
2024
|
+
Completed in 0ms (ActiveRecord: 0.0ms)
|
2025
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-01-23 17:16:51 +0000
|
2026
|
+
Started GET "/auth/gds/callback?code=19ec16425236a08a3f6864245e6f1a46f6dcefbdbc582932553c5dc8deddf32a&state=8b8fbe1cc8c344e535a10791e6ffe541be6b3d0ee1e86538" for 127.0.0.1 at 2018-01-23 17:16:51 +0000
|
2103
2027
|
Processing by AuthenticationsController#callback as HTML
|
2104
|
-
Parameters: {"code"=>"
|
2028
|
+
Parameters: {"code"=>"19ec16425236a08a3f6864245e6f1a46f6dcefbdbc582932553c5dc8deddf32a", "state"=>"8b8fbe1cc8c344e535a10791e6ffe541be6b3d0ee1e86538"}
|
2105
2029
|
Authenticating with gds_sso strategy
|
2106
2030
|
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
2107
|
-
[1m[35m (0.
|
2031
|
+
[1m[35m (0.3ms)[0m [1m[36mbegin transaction[0m
|
2108
2032
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2109
2033
|
Redirected to http://www.example-client.com/restricted
|
2110
|
-
Completed 302 Found in
|
2111
|
-
Started GET "/restricted" for 127.0.0.1 at
|
2034
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.7ms)
|
2035
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:51 +0000
|
2112
2036
|
Processing by ExampleController#restricted as HTML
|
2113
|
-
[1m[36mUser Load (0.
|
2037
|
+
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
2114
2038
|
Rendering text template
|
2115
2039
|
Rendered text template (0.0ms)
|
2116
|
-
Completed 200 OK in 2ms (Views: 0.
|
2117
|
-
|
2118
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2119
|
-
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "t"], ["id", 12]]
|
2120
|
-
[1m[35m (12.5ms)[0m [1m[36mcommit transaction[0m
|
2121
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-15 16:10:16 +0000
|
2122
|
-
Processing by ExampleController#restricted as HTML
|
2123
|
-
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
2124
|
-
Authenticating with gds_sso strategy
|
2125
|
-
Completed in 1ms (ActiveRecord: 0.2ms)
|
2126
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-15 16:10:16 +0000
|
2127
|
-
Started GET "/auth/gds/callback?code=742d2c681d678f953cb1c5afe8acfb2c828de14f5c889c6e8b723a8ed5d750d3&state=b2ae84e608c4650a404e0ce83ccc50e90e526ef1fdfe4cfd" for 127.0.0.1 at 2017-12-15 16:10:16 +0000
|
2128
|
-
Processing by AuthenticationsController#callback as HTML
|
2129
|
-
Parameters: {"code"=>"742d2c681d678f953cb1c5afe8acfb2c828de14f5c889c6e8b723a8ed5d750d3", "state"=>"b2ae84e608c4650a404e0ce83ccc50e90e526ef1fdfe4cfd"}
|
2130
|
-
Authenticating with gds_sso strategy
|
2131
|
-
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
2132
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2133
|
-
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2134
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2135
|
-
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id", 12]]
|
2136
|
-
[1m[35m (4.3ms)[0m [1m[36mcommit transaction[0m
|
2137
|
-
Redirected to http://www.example-client.com/restricted
|
2138
|
-
Completed 302 Found in 8ms (ActiveRecord: 4.8ms)
|
2139
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-15 16:10:16 +0000
|
2040
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.4ms)
|
2041
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-24 13:11:51 +0000
|
2140
2042
|
Processing by ExampleController#restricted as HTML
|
2141
2043
|
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
2142
2044
|
Rendering text template
|
2143
2045
|
Rendered text template (0.0ms)
|
2144
|
-
Completed 200 OK in 2ms (Views: 0.
|
2145
|
-
Started GET "/restricted" for 127.0.0.1 at
|
2046
|
+
Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.2ms)
|
2047
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:52 +0000
|
2146
2048
|
Processing by ExampleController#restricted as HTML
|
2147
2049
|
Authenticating with gds_sso strategy
|
2148
2050
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
2149
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
2150
|
-
Started GET "/auth/gds/callback?code=
|
2051
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-01-23 17:16:52 +0000
|
2052
|
+
Started GET "/auth/gds/callback?code=297989a2ae99bb0eedc98eaaf32e038d0106646ca1d313101343ca9a7dd95b45&state=40718a3fec89954747b948a1f20ffd3eb59137aaa0dd098c" for 127.0.0.1 at 2018-01-23 17:16:52 +0000
|
2151
2053
|
Processing by AuthenticationsController#callback as HTML
|
2152
|
-
Parameters: {"code"=>"
|
2054
|
+
Parameters: {"code"=>"297989a2ae99bb0eedc98eaaf32e038d0106646ca1d313101343ca9a7dd95b45", "state"=>"40718a3fec89954747b948a1f20ffd3eb59137aaa0dd098c"}
|
2153
2055
|
Authenticating with gds_sso strategy
|
2154
|
-
[1m[36mUser Load (0.
|
2155
|
-
[1m[35m (0.
|
2056
|
+
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
2057
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2156
2058
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2157
2059
|
Redirected to http://www.example-client.com/restricted
|
2158
|
-
Completed 302 Found in
|
2159
|
-
Started GET "/restricted" for 127.0.0.1 at
|
2160
|
-
Processing by ExampleController#restricted as HTML
|
2161
|
-
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
2162
|
-
Rendering text template
|
2163
|
-
Rendered text template (0.0ms)
|
2164
|
-
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
2165
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-16 12:05:17 +0000
|
2060
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.5ms)
|
2061
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:52 +0000
|
2166
2062
|
Processing by ExampleController#restricted as HTML
|
2167
2063
|
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
2168
2064
|
Rendering text template
|
2169
2065
|
Rendered text template (0.0ms)
|
2170
|
-
Completed 200 OK in
|
2171
|
-
Started GET "/restricted" for 127.0.0.1 at
|
2066
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
2067
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-24 13:21:52 +0000
|
2172
2068
|
Processing by ExampleController#restricted as HTML
|
2173
2069
|
Authenticating with gds_sso strategy
|
2174
2070
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
2175
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
2176
|
-
Started GET "/auth/gds/callback?code=
|
2071
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-01-24 13:21:52 +0000
|
2072
|
+
Started GET "/auth/gds/callback?code=54377010f1a9c07a15d4423dd035d0c1c5c321cf7d61a0297accb5fc4d79c593&state=a62d8da933475177c35f7d4a2db72612b9ef4d78b3498df8" for 127.0.0.1 at 2018-01-24 13:21:52 +0000
|
2177
2073
|
Processing by AuthenticationsController#callback as HTML
|
2178
|
-
Parameters: {"code"=>"
|
2074
|
+
Parameters: {"code"=>"54377010f1a9c07a15d4423dd035d0c1c5c321cf7d61a0297accb5fc4d79c593", "state"=>"a62d8da933475177c35f7d4a2db72612b9ef4d78b3498df8"}
|
2179
2075
|
Authenticating with gds_sso strategy
|
2180
|
-
[1m[36mUser Load (0.
|
2076
|
+
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
2181
2077
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2182
|
-
[1m[35m (0.
|
2078
|
+
[1m[35m (0.2ms)[0m [1m[36mcommit transaction[0m
|
2183
2079
|
Redirected to http://www.example-client.com/restricted
|
2184
|
-
Completed 302 Found in
|
2185
|
-
Started GET "/restricted" for 127.0.0.1 at
|
2080
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.7ms)
|
2081
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-24 13:21:52 +0000
|
2186
2082
|
Processing by ExampleController#restricted as HTML
|
2187
|
-
[1m[36mUser Load (0.
|
2083
|
+
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
2188
2084
|
Rendering text template
|
2189
2085
|
Rendered text template (0.0ms)
|
2190
|
-
Completed 200 OK in
|
2191
|
-
Started GET "/restricted" for 127.0.0.1 at
|
2086
|
+
Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.5ms)
|
2087
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:52 +0000
|
2192
2088
|
Processing by ExampleController#restricted as HTML
|
2193
2089
|
Authenticating with gds_sso strategy
|
2194
2090
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
2195
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
2196
|
-
Started GET "/auth/gds/callback?code=
|
2091
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-01-23 17:16:52 +0000
|
2092
|
+
Started GET "/auth/gds/callback?code=adbddef8e27bcdb699d4e7da6151954aab434834ee9a31e9f488b25a6889fdbe&state=d829ac64295a4ec3ae1a8829e62b4e631a6702438523fe4e" for 127.0.0.1 at 2018-01-23 17:16:52 +0000
|
2197
2093
|
Processing by AuthenticationsController#callback as HTML
|
2198
|
-
Parameters: {"code"=>"
|
2094
|
+
Parameters: {"code"=>"adbddef8e27bcdb699d4e7da6151954aab434834ee9a31e9f488b25a6889fdbe", "state"=>"d829ac64295a4ec3ae1a8829e62b4e631a6702438523fe4e"}
|
2199
2095
|
Authenticating with gds_sso strategy
|
2200
|
-
[1m[36mUser Load (
|
2096
|
+
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
2201
2097
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2202
|
-
[1m[35m (0.
|
2098
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2203
2099
|
Redirected to http://www.example-client.com/restricted
|
2204
|
-
Completed 302 Found in
|
2205
|
-
Started GET "/restricted" for 127.0.0.1 at
|
2100
|
+
Completed 302 Found in 5ms (ActiveRecord: 1.2ms)
|
2101
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:52 +0000
|
2206
2102
|
Processing by ExampleController#restricted as HTML
|
2207
|
-
[1m[36mUser Load (0.
|
2103
|
+
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
2208
2104
|
Rendering text template
|
2209
|
-
Rendered text template (0.
|
2210
|
-
Completed 200 OK in
|
2211
|
-
|
2105
|
+
Rendered text template (0.1ms)
|
2106
|
+
Completed 200 OK in 8ms (Views: 1.3ms | ActiveRecord: 0.8ms)
|
2107
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["email", "test@example-client.com"], ["LIMIT", 1]]
|
2108
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2109
|
+
[1m[35mSQL (0.6ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "t"], ["id", 2]]
|
2110
|
+
[1m[35m (7.1ms)[0m [1m[36mcommit transaction[0m
|
2111
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:52 +0000
|
2212
2112
|
Processing by ExampleController#restricted as HTML
|
2113
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
2213
2114
|
Authenticating with gds_sso strategy
|
2214
|
-
Completed in
|
2215
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
2216
|
-
Started GET "/auth/gds/callback?code=
|
2115
|
+
Completed in 2ms (ActiveRecord: 0.2ms)
|
2116
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-01-23 17:16:52 +0000
|
2117
|
+
Started GET "/auth/gds/callback?code=4156d050f22f9369523ef5c16050fe4010c77b30a5e6705de17cdd6862d644ca&state=9d23eeb323692c3ab4744a7cd99c4a2056bd77dfad6fcffd" for 127.0.0.1 at 2018-01-23 17:16:52 +0000
|
2217
2118
|
Processing by AuthenticationsController#callback as HTML
|
2218
|
-
Parameters: {"code"=>"
|
2119
|
+
Parameters: {"code"=>"4156d050f22f9369523ef5c16050fe4010c77b30a5e6705de17cdd6862d644ca", "state"=>"9d23eeb323692c3ab4744a7cd99c4a2056bd77dfad6fcffd"}
|
2219
2120
|
Authenticating with gds_sso strategy
|
2220
|
-
[1m[36mUser Load (0.
|
2121
|
+
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
2221
2122
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2222
|
-
[1m[35m (0.
|
2123
|
+
[1m[35m (0.6ms)[0m [1m[36mcommit transaction[0m
|
2124
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2125
|
+
[1m[35mSQL (0.3ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id", 2]]
|
2126
|
+
[1m[35m (9.2ms)[0m [1m[36mcommit transaction[0m
|
2223
2127
|
Redirected to http://www.example-client.com/restricted
|
2224
|
-
Completed 302 Found in
|
2225
|
-
Started GET "/restricted" for 127.0.0.1 at
|
2128
|
+
Completed 302 Found in 18ms (ActiveRecord: 10.9ms)
|
2129
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:52 +0000
|
2226
2130
|
Processing by ExampleController#restricted as HTML
|
2227
|
-
[1m[36mUser Load (0.
|
2131
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
2228
2132
|
Rendering text template
|
2229
2133
|
Rendered text template (0.0ms)
|
2230
|
-
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.
|
2231
|
-
Started GET "/restricted" for 127.0.0.1 at
|
2232
|
-
Processing by ExampleController#restricted as
|
2233
|
-
|
2234
|
-
|
2235
|
-
|
2134
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.3ms)
|
2135
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:52 +0000
|
2136
|
+
Processing by ExampleController#restricted as JSON
|
2137
|
+
Completed in 36ms (ActiveRecord: 0.0ms)
|
2138
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:52 +0000
|
2139
|
+
Processing by ExampleController#restricted as JSON
|
2140
|
+
Completed in 16ms (ActiveRecord: 0.0ms)
|
2141
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2018-01-23 17:16:53 +0000
|
2142
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
2143
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
2144
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2145
|
+
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "users" SET "disabled" = ? WHERE "users"."id" = ?[0m [["disabled", nil], ["id", 2]]
|
2146
|
+
[1m[35m (6.6ms)[0m [1m[36mcommit transaction[0m
|
2147
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
2148
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2149
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2150
|
+
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
2151
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2152
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2153
|
+
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
2154
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2155
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2156
|
+
Rendering text template
|
2157
|
+
Rendered text template (0.0ms)
|
2158
|
+
Completed 200 OK in 112ms (Views: 0.3ms | ActiveRecord: 7.8ms)
|
2159
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:53 +0000
|
2160
|
+
Processing by ExampleController#restricted as JSON
|
2161
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
2162
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2163
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2164
|
+
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
2165
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2166
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
2167
|
+
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
2168
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2169
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
2170
|
+
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
2171
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2172
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2173
|
+
Rendering text template
|
2174
|
+
Rendered text template (0.0ms)
|
2175
|
+
Completed 200 OK in 77ms (Views: 0.3ms | ActiveRecord: 0.8ms)
|
2176
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2177
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d35183"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
2178
|
+
[1m[35m (8.1ms)[0m [1m[36mcommit transaction[0m
|
2179
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2180
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d3850"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
2181
|
+
[1m[35m (6.1ms)[0m [1m[36mcommit transaction[0m
|
2182
|
+
Processing by Api::UserController#reauth as HTML
|
2183
|
+
Parameters: {"uid"=>"nonexistent-user"}
|
2184
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "nonexistent-user"], ["LIMIT", 1]]
|
2185
|
+
Completed 200 OK in 2ms (ActiveRecord: 0.1ms)
|
2186
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2187
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d31284"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
2188
|
+
[1m[35m (6.4ms)[0m [1m[36mcommit transaction[0m
|
2189
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2190
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d379"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
2191
|
+
[1m[35m (5.3ms)[0m [1m[36mcommit transaction[0m
|
2192
|
+
Processing by Api::UserController#reauth as HTML
|
2193
|
+
Parameters: {"uid"=>"a1s2d31284"}
|
2194
|
+
Rendering /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
2195
|
+
Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.5ms)
|
2196
|
+
Completed 403 Forbidden in 9ms (Views: 8.8ms | ActiveRecord: 0.0ms)
|
2197
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2198
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d3661"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
2199
|
+
[1m[35m (6.5ms)[0m [1m[36mcommit transaction[0m
|
2200
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2201
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d31303"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
2202
|
+
[1m[35m (5.8ms)[0m [1m[36mcommit transaction[0m
|
2203
|
+
Processing by Api::UserController#reauth as HTML
|
2204
|
+
Parameters: {"uid"=>"a1s2d3661"}
|
2205
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d3661"], ["LIMIT", 1]]
|
2206
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2207
|
+
[1m[35mSQL (0.4ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "t"], ["id", 7]]
|
2208
|
+
[1m[35m (7.0ms)[0m [1m[36mcommit transaction[0m
|
2209
|
+
Completed 200 OK in 10ms (ActiveRecord: 7.6ms)
|
2210
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 7], ["LIMIT", 1]]
|
2211
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2212
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d395"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
2213
|
+
[1m[35m (5.0ms)[0m [1m[36mcommit transaction[0m
|
2214
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2215
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d36582"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
2216
|
+
[1m[35m (5.8ms)[0m [1m[36mcommit transaction[0m
|
2217
|
+
Processing by Api::UserController#update as HTML
|
2218
|
+
Parameters: {"uid"=>"a1s2d395"}
|
2219
|
+
Rendering /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
2220
|
+
Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.0ms)
|
2221
|
+
Completed 403 Forbidden in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
|
2222
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2223
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d3568"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
2224
|
+
[1m[35m (6.0ms)[0m [1m[36mcommit transaction[0m
|
2225
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2226
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d31082"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
2227
|
+
[1m[35m (6.0ms)[0m [1m[36mcommit transaction[0m
|
2228
|
+
Processing by Api::UserController#update as HTML
|
2229
|
+
Parameters: {"uid"=>"a1s2d3568"}
|
2230
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d3568"], ["LIMIT", 1]]
|
2231
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2232
|
+
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "users" SET "email" = ?, "name" = ?, "permissions" = ?, "organisation_slug" = ?, "organisation_content_id" = ? WHERE "users"."id" = ?[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"], ["id", 11]]
|
2233
|
+
[1m[35m (6.1ms)[0m [1m[36mcommit transaction[0m
|
2234
|
+
Completed 200 OK in 9ms (ActiveRecord: 6.4ms)
|
2235
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 11], ["LIMIT", 1]]
|