gds-sso 14.2.0 → 14.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/gds-sso.rb +6 -0
- data/lib/gds-sso/version.rb +1 -1
- data/spec/internal/db/combustion_test.sqlite +0 -0
- data/spec/internal/log/test.log +902 -902
- metadata +21 -21
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b52e95e5c04761c7ee185a3ca4dca19430eef37d12d8a35cfa2b88269f94e31f
|
4
|
+
data.tar.gz: 7e5f31789917125be6019b9c130f82441bca12ae22f1e426a525a2a760ef5865
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 68cb0541a42c76c9141deab5cb9baba1806c2815a668192cc0fef2a2edafe24e7563b33206250f382bfe5a0b6c2c83544b3b4bf719c58ef7e1eec7ebf29575ce
|
7
|
+
data.tar.gz: 716775197b9749e0d8760c1890d4a1661d1a676db7d92a22b79296254745eae6d14ade4ceac1fe674c9c6d62f8c7032cb38a8d5b01773ad8f063b600cb921e8b
|
data/lib/gds-sso.rb
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
require 'rails'
|
2
2
|
|
3
3
|
require 'gds-sso/config'
|
4
|
+
require 'gds-sso/version'
|
4
5
|
require 'gds-sso/warden_config'
|
5
6
|
require 'omniauth'
|
6
7
|
require 'omniauth-gds'
|
@@ -31,6 +32,11 @@ module GDS
|
|
31
32
|
site: GDS::SSO::Config.oauth_root_url,
|
32
33
|
authorize_url: "#{GDS::SSO::Config.oauth_root_url}/oauth/authorize",
|
33
34
|
token_url: "#{GDS::SSO::Config.oauth_root_url}/oauth/access_token",
|
35
|
+
connection_opts: {
|
36
|
+
headers: {
|
37
|
+
user_agent: "gds-sso/#{GDS::SSO::VERSION} (#{ENV['GOVUK_APP_NAME']})"
|
38
|
+
}
|
39
|
+
}
|
34
40
|
}
|
35
41
|
end
|
36
42
|
|
data/lib/gds-sso/version.rb
CHANGED
Binary file
|
data/spec/internal/log/test.log
CHANGED
@@ -1,419 +1,411 @@
|
|
1
|
-
[1m[36m (
|
2
|
-
[1m[35m (
|
1
|
+
[1m[36m (5.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
|
2
|
+
[1m[35m (3.8ms)[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[
|
16
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d33260"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
17
|
-
[1m[36m (4.9ms)[0m [1mcommit transaction[0m
|
18
|
-
Processing by Api::UserController#reauth as HTML
|
19
|
-
Parameters: {"uid"=>"a1s2d39531"}
|
20
|
-
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
21
|
-
Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.4ms)
|
22
|
-
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
23
|
-
Completed 403 Forbidden in 16ms (Views: 15.4ms | ActiveRecord: 0.0ms)
|
24
|
-
[1m[35m (0.1ms)[0m begin transaction
|
25
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d31518"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
26
|
-
[1m[35m (5.0ms)[0m commit transaction
|
4
|
+
[1m[35m (3.5ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
5
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:29:05 +0000
|
6
|
+
Processing by ExampleController#restricted as HTML
|
7
|
+
Authenticating with gds_sso strategy
|
8
|
+
Completed in 8ms (ActiveRecord: 0.0ms)
|
9
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:29:05 +0000
|
10
|
+
Processing by ExampleController#restricted as JSON
|
11
|
+
Completed in 131ms (ActiveRecord: 0.0ms)
|
12
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:29:05 +0000
|
13
|
+
Processing by ExampleController#restricted as JSON
|
14
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
15
|
+
[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"]]
|
27
16
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
28
|
-
[1m[35mSQL (0.
|
29
|
-
[1m[36m (
|
30
|
-
|
31
|
-
Parameters: {"uid"=>"a1s2d31518"}
|
32
|
-
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "a1s2d31518"]]
|
17
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions", "disabled") VALUES (?, ?, ?, ?, ?) [["uid", "integration-uid"], ["email", "test@example-client.com"], ["name", "Test User"], ["permissions", "---\n- signin\n"], ["disabled", nil]]
|
18
|
+
[1m[36m (6.2ms)[0m [1mcommit transaction[0m
|
19
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
33
20
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
34
|
-
[1m[
|
35
|
-
[1m[
|
36
|
-
Completed 200 OK in 8ms (ActiveRecord: 5.3ms)
|
37
|
-
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]]
|
38
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
39
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d3654"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
40
|
-
[1m[36m (4.6ms)[0m [1mcommit transaction[0m
|
41
|
-
[1m[35m (0.1ms)[0m begin transaction
|
42
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d39034"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
43
|
-
[1m[35m (4.2ms)[0m commit transaction
|
44
|
-
Processing by Api::UserController#reauth as HTML
|
45
|
-
Parameters: {"uid"=>"nonexistent-user"}
|
46
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "nonexistent-user"]]
|
47
|
-
Completed 200 OK in 1ms (ActiveRecord: 0.1ms)
|
21
|
+
[1m[35m (0.1ms)[0m commit transaction
|
22
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
48
23
|
[1m[35m (0.1ms)[0m begin transaction
|
49
|
-
[1m[
|
50
|
-
[1m[
|
24
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
25
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
51
26
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
52
|
-
[1m[
|
53
|
-
[1m[36m (6.7ms)[0m [1mcommit transaction[0m
|
54
|
-
Processing by Api::UserController#update as HTML
|
55
|
-
Parameters: {"uid"=>"a1s2d35460"}
|
56
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "a1s2d35460"]]
|
27
|
+
[1m[35m (0.1ms)[0m commit transaction
|
57
28
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
58
|
-
[1m[35mSQL (0.
|
59
|
-
[1m[36m (
|
60
|
-
|
61
|
-
|
29
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "f"], ["id", 1]]
|
30
|
+
[1m[36m (3.6ms)[0m [1mcommit transaction[0m
|
31
|
+
Rendered text template (0.0ms)
|
32
|
+
Completed 200 OK in 239ms (Views: 8.5ms | ActiveRecord: 11.8ms)
|
33
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-03-02 14:29:05 +0000
|
34
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
35
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
62
36
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
63
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d38072"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
64
|
-
[1m[36m (4.3ms)[0m [1mcommit transaction[0m
|
65
|
-
[1m[35m (0.1ms)[0m begin transaction
|
66
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d37281"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
67
|
-
[1m[35m (5.2ms)[0m commit transaction
|
68
|
-
Processing by Api::UserController#update as HTML
|
69
|
-
Parameters: {"uid"=>"a1s2d38072"}
|
70
|
-
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
71
|
-
Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
|
72
|
-
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
73
|
-
Completed 403 Forbidden in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
|
74
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "asd"]]
|
75
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "user@example.com"]]
|
76
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
77
|
-
[1m[35mSQL (0.3ms)[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]]
|
78
|
-
[1m[36m (5.4ms)[0m [1mcommit transaction[0m
|
79
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "asd"]]
|
80
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
81
37
|
[1m[35m (0.1ms)[0m commit transaction
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:35:57 +0000
|
87
|
-
Processing by ExampleController#restricted as HTML
|
88
|
-
Authenticating with gds_sso strategy
|
89
|
-
Completed in 0ms (ActiveRecord: 0.0ms)
|
90
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2019-11-05 10:35:57 +0000
|
91
|
-
Started GET "/auth/gds/callback?code=e26a2839aa4d8a1fd984f4e7ced9827f43adc37aeaba0e5d3b4402afaf0b85ed&state=fa3ddb76496c2dd3571dbc9400be9cafc43abd306736c38b" for 127.0.0.1 at 2019-11-05 10:36:43 +0000
|
92
|
-
Processing by AuthenticationsController#callback as HTML
|
93
|
-
Parameters: {"code"=>"e26a2839aa4d8a1fd984f4e7ced9827f43adc37aeaba0e5d3b4402afaf0b85ed", "state"=>"fa3ddb76496c2dd3571dbc9400be9cafc43abd306736c38b"}
|
94
|
-
Authenticating with gds_sso strategy
|
95
|
-
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
96
|
-
[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"]]
|
38
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
39
|
+
[1m[35m (0.1ms)[0m begin transaction
|
40
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
41
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
97
42
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
98
|
-
[1m[
|
99
|
-
[1m[
|
100
|
-
[1m[35m (0.
|
101
|
-
[1m[
|
102
|
-
[1m[35m (
|
103
|
-
|
104
|
-
Completed 302 Found in 25ms (ActiveRecord: 20.0ms)
|
105
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:36:44 +0000
|
106
|
-
Processing by ExampleController#restricted as HTML
|
107
|
-
[1m[36mUser Load (0.3ms)[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"]]
|
43
|
+
[1m[35m (0.1ms)[0m commit transaction
|
44
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
45
|
+
[1m[35m (0.1ms)[0m begin transaction
|
46
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
47
|
+
[1m[35m (0.1ms)[0m begin transaction
|
48
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
108
49
|
Rendered text template (0.0ms)
|
109
|
-
Completed 200 OK in
|
110
|
-
Started GET "/restricted" for 127.0.0.1 at
|
50
|
+
Completed 200 OK in 53ms (Views: 0.3ms | ActiveRecord: 0.8ms)
|
51
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:29:06 +0000
|
52
|
+
Processing by ExampleController#restricted as JSON
|
53
|
+
Completed in 21ms (ActiveRecord: 0.0ms)
|
54
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:29:06 +0000
|
111
55
|
Processing by ExampleController#restricted as HTML
|
112
56
|
Authenticating with gds_sso strategy
|
113
57
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
114
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
115
|
-
Started GET "/auth/gds/callback?code=
|
58
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-03-02 14:29:06 +0000
|
59
|
+
Started GET "/auth/gds/callback?code=e1b59076e4f7d7e7f0de46ea514f6009dc4db8bf1ffa612872c13a6db67cc298&state=ba536dc898d9e9d5f62f9b7dcb2308aafa10d8018be7c2fa" for 127.0.0.1 at 2020-03-02 14:29:49 +0000
|
116
60
|
Processing by AuthenticationsController#callback as HTML
|
117
|
-
Parameters: {"code"=>"
|
61
|
+
Parameters: {"code"=>"e1b59076e4f7d7e7f0de46ea514f6009dc4db8bf1ffa612872c13a6db67cc298", "state"=>"ba536dc898d9e9d5f62f9b7dcb2308aafa10d8018be7c2fa"}
|
118
62
|
Authenticating with gds_sso strategy
|
119
|
-
[1m[35mUser Load (0.
|
63
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
120
64
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
121
|
-
[1m[
|
122
|
-
[1m[36m (
|
123
|
-
[1m[35m (0.0ms)[0m
|
65
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "disabled" = ? WHERE "users"."id" = ? [["disabled", "f"], ["id", 1]]
|
66
|
+
[1m[36m (7.4ms)[0m [1mcommit transaction[0m
|
67
|
+
[1m[35m (0.0ms)[0m begin transaction
|
68
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
124
69
|
Redirected to http://www.example-client.com/restricted
|
125
|
-
Completed 302 Found in
|
126
|
-
Started GET "/restricted" for 127.0.0.1 at
|
70
|
+
Completed 302 Found in 13ms (ActiveRecord: 7.9ms)
|
71
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:29:49 +0000
|
127
72
|
Processing by ExampleController#restricted as HTML
|
128
|
-
[1m[
|
73
|
+
[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"]]
|
129
74
|
Rendered text template (0.0ms)
|
130
|
-
Completed 200 OK in
|
131
|
-
Started GET "/restricted" for 127.0.0.1 at
|
75
|
+
Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.2ms)
|
76
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:29:49 +0000
|
132
77
|
Processing by ExampleController#restricted as HTML
|
133
78
|
Authenticating with gds_sso strategy
|
134
79
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
135
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
136
|
-
Started GET "/auth/gds/callback?code=
|
80
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-03-02 14:29:49 +0000
|
81
|
+
Started GET "/auth/gds/callback?code=b8e1009bf9f623a1f56e714f506ec4ce849db7417a5a87bce5ebdec7ad49bca5&state=d70f4e5897597b11c93c7161370fbb89bbe2bd4ed611981d" for 127.0.0.1 at 2020-03-02 14:29:49 +0000
|
137
82
|
Processing by AuthenticationsController#callback as HTML
|
138
|
-
Parameters: {"code"=>"
|
83
|
+
Parameters: {"code"=>"b8e1009bf9f623a1f56e714f506ec4ce849db7417a5a87bce5ebdec7ad49bca5", "state"=>"d70f4e5897597b11c93c7161370fbb89bbe2bd4ed611981d"}
|
139
84
|
Authenticating with gds_sso strategy
|
140
|
-
[1m[
|
141
|
-
[1m[
|
142
|
-
[1m[
|
143
|
-
[1m[
|
144
|
-
[1m[
|
85
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
86
|
+
[1m[35m (0.1ms)[0m begin transaction
|
87
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
88
|
+
[1m[35m (0.0ms)[0m begin transaction
|
89
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
145
90
|
Redirected to http://www.example-client.com/restricted
|
146
91
|
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
147
|
-
Started GET "/restricted" for 127.0.0.1 at
|
92
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:29:50 +0000
|
148
93
|
Processing by ExampleController#restricted as HTML
|
149
|
-
[1m[
|
94
|
+
[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"]]
|
150
95
|
Rendered text template (0.0ms)
|
151
96
|
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
152
|
-
Started GET "/" for 127.0.0.1 at
|
153
|
-
Processing by ExampleController#index as HTML
|
154
|
-
Rendered text template (0.0ms)
|
155
|
-
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
156
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-11-05 10:36:44 +0000
|
97
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-03-02 14:29:50 +0000
|
157
98
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
158
99
|
Authenticating with gds_sso strategy
|
159
100
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
160
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
161
|
-
Started GET "/auth/gds/callback?code=
|
101
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-03-02 14:29:50 +0000
|
102
|
+
Started GET "/auth/gds/callback?code=0468fef77903cb3307e1d8c25284fc29f55bd5f1d9c962abfa642198f188f92d&state=a89a83e83d4bc04bf70fbb55094aaf9e81e929da27b0a113" for 127.0.0.1 at 2020-03-02 14:29:50 +0000
|
162
103
|
Processing by AuthenticationsController#callback as HTML
|
163
|
-
Parameters: {"code"=>"
|
104
|
+
Parameters: {"code"=>"0468fef77903cb3307e1d8c25284fc29f55bd5f1d9c962abfa642198f188f92d", "state"=>"a89a83e83d4bc04bf70fbb55094aaf9e81e929da27b0a113"}
|
164
105
|
Authenticating with gds_sso strategy
|
165
|
-
[1m[
|
166
|
-
[1m[
|
167
|
-
[1m[
|
168
|
-
[1m[
|
169
|
-
[1m[
|
106
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
107
|
+
[1m[35m (0.2ms)[0m begin transaction
|
108
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
109
|
+
[1m[35m (0.0ms)[0m begin transaction
|
110
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
170
111
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
171
|
-
Completed 302 Found in 4ms (ActiveRecord: 0.
|
172
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at
|
112
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.5ms)
|
113
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-03-02 14:29:50 +0000
|
173
114
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
174
|
-
[1m[
|
115
|
+
[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"]]
|
175
116
|
Rendered text template (0.0ms)
|
176
|
-
Completed 200 OK in 1ms (Views: 0.
|
177
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at
|
117
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
118
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-03-02 14:29:50 +0000
|
178
119
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
179
120
|
Authenticating with gds_sso strategy
|
180
121
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
181
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
182
|
-
Started GET "/auth/gds/callback?code=
|
122
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-03-02 14:29:50 +0000
|
123
|
+
Started GET "/auth/gds/callback?code=92a9a318a2f438c1dd7b2c3160ae98a5374fa20c35b02a88df2270325ea0ed43&state=cb74969030c3d92af529044423c4853d3ea4c8031c927ada" for 127.0.0.1 at 2020-03-02 14:29:50 +0000
|
183
124
|
Processing by AuthenticationsController#callback as HTML
|
184
|
-
Parameters: {"code"=>"
|
125
|
+
Parameters: {"code"=>"92a9a318a2f438c1dd7b2c3160ae98a5374fa20c35b02a88df2270325ea0ed43", "state"=>"cb74969030c3d92af529044423c4853d3ea4c8031c927ada"}
|
185
126
|
Authenticating with gds_sso strategy
|
186
|
-
[1m[
|
187
|
-
[1m[
|
188
|
-
[1m[
|
189
|
-
[1m[
|
190
|
-
[1m[
|
127
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
128
|
+
[1m[35m (0.1ms)[0m begin transaction
|
129
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
130
|
+
[1m[35m (0.0ms)[0m begin transaction
|
131
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
191
132
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
192
|
-
Completed 302 Found in 4ms (ActiveRecord: 0.
|
193
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at
|
133
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
|
134
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-03-02 14:29:50 +0000
|
194
135
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
195
|
-
[1m[
|
196
|
-
Rendered text template (0.
|
136
|
+
[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"]]
|
137
|
+
Rendered text template (0.0ms)
|
197
138
|
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
198
|
-
Started GET "/restricted" for 127.0.0.1 at
|
139
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:29:50 +0000
|
199
140
|
Processing by ExampleController#restricted as HTML
|
200
141
|
Authenticating with gds_sso strategy
|
201
142
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
202
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
203
|
-
Started GET "/auth/gds/callback?code=
|
143
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-03-02 14:29:50 +0000
|
144
|
+
Started GET "/auth/gds/callback?code=88875f3fc0462f6c47a3e5199156d94fafaad97b4dc4b808cca257d0806c5e42&state=4aface7075e9f989d578d26c0058afe5764e6cc66af83c09" for 127.0.0.1 at 2020-03-02 14:29:50 +0000
|
204
145
|
Processing by AuthenticationsController#callback as HTML
|
205
|
-
Parameters: {"code"=>"
|
146
|
+
Parameters: {"code"=>"88875f3fc0462f6c47a3e5199156d94fafaad97b4dc4b808cca257d0806c5e42", "state"=>"4aface7075e9f989d578d26c0058afe5764e6cc66af83c09"}
|
206
147
|
Authenticating with gds_sso strategy
|
207
|
-
[1m[
|
208
|
-
[1m[
|
209
|
-
[1m[
|
210
|
-
[1m[
|
211
|
-
[1m[
|
148
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
149
|
+
[1m[35m (0.1ms)[0m begin transaction
|
150
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
151
|
+
[1m[35m (0.0ms)[0m begin transaction
|
152
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
212
153
|
Redirected to http://www.example-client.com/restricted
|
213
|
-
Completed 302 Found in 4ms (ActiveRecord: 0.
|
214
|
-
Started GET "/restricted" for 127.0.0.1 at
|
154
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
|
155
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:29:50 +0000
|
215
156
|
Processing by ExampleController#restricted as HTML
|
216
|
-
[1m[
|
157
|
+
[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"]]
|
217
158
|
Rendered text template (0.0ms)
|
218
|
-
Completed 200 OK in 1ms (Views: 0.
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
Started GET "/restricted" for 127.0.0.1 at
|
159
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
160
|
+
Started GET "/" for 127.0.0.1 at 2020-03-02 14:29:50 +0000
|
161
|
+
Processing by ExampleController#index as HTML
|
162
|
+
Rendered text template (0.0ms)
|
163
|
+
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
164
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:29:50 +0000
|
224
165
|
Processing by ExampleController#restricted as HTML
|
225
|
-
[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"]]
|
226
166
|
Authenticating with gds_sso strategy
|
227
|
-
Completed in
|
228
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
229
|
-
Started GET "/auth/gds/callback?code=
|
167
|
+
Completed in 0ms (ActiveRecord: 0.0ms)
|
168
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-03-02 14:29:50 +0000
|
169
|
+
Started GET "/auth/gds/callback?code=85391d3bf603207eb36a90fd7fb0a988c0e22f569c7247f086954ea511d6fd05&state=96ccf264e2be29f11731d57701c1e85e2d84204e3cae4082" for 127.0.0.1 at 2020-03-02 14:29:50 +0000
|
230
170
|
Processing by AuthenticationsController#callback as HTML
|
231
|
-
Parameters: {"code"=>"
|
171
|
+
Parameters: {"code"=>"85391d3bf603207eb36a90fd7fb0a988c0e22f569c7247f086954ea511d6fd05", "state"=>"96ccf264e2be29f11731d57701c1e85e2d84204e3cae4082"}
|
232
172
|
Authenticating with gds_sso strategy
|
233
173
|
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
234
174
|
[1m[35m (0.1ms)[0m begin transaction
|
235
175
|
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
236
176
|
[1m[35m (0.0ms)[0m begin transaction
|
237
|
-
[1m[
|
238
|
-
[1m[35m (100.1ms)[0m commit transaction
|
177
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
239
178
|
Redirected to http://www.example-client.com/restricted
|
240
|
-
Completed 302 Found in
|
241
|
-
Started GET "/restricted" for 127.0.0.1 at
|
179
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
180
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:29:50 +0000
|
242
181
|
Processing by ExampleController#restricted as HTML
|
243
|
-
[1m[
|
182
|
+
[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"]]
|
244
183
|
Rendered text template (0.0ms)
|
245
|
-
Completed 200 OK in 1ms (Views: 0.
|
246
|
-
Started GET "/restricted" for 127.0.0.1 at
|
184
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
185
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-03-03 10:34:50 +0000
|
247
186
|
Processing by ExampleController#restricted as HTML
|
248
187
|
Authenticating with gds_sso strategy
|
249
188
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
250
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
251
|
-
Started GET "/auth/gds/callback?code=
|
189
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-03-03 10:34:50 +0000
|
190
|
+
Started GET "/auth/gds/callback?code=26b6691d6ecd3c02df89d664e862dc07f8e65dc0c7ed6a6ad8651aded9b11a78&state=0a4d99e830d75ac5d8635078b8b43579373dc4eab819d658" for 127.0.0.1 at 2020-03-03 10:34:50 +0000
|
252
191
|
Processing by AuthenticationsController#callback as HTML
|
253
|
-
Parameters: {"code"=>"
|
192
|
+
Parameters: {"code"=>"26b6691d6ecd3c02df89d664e862dc07f8e65dc0c7ed6a6ad8651aded9b11a78", "state"=>"0a4d99e830d75ac5d8635078b8b43579373dc4eab819d658"}
|
254
193
|
Authenticating with gds_sso strategy
|
255
|
-
[1m[
|
256
|
-
[1m[
|
257
|
-
[1m[
|
258
|
-
[1m[
|
259
|
-
[1m[
|
194
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
195
|
+
[1m[35m (0.1ms)[0m begin transaction
|
196
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
197
|
+
[1m[35m (0.1ms)[0m begin transaction
|
198
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
260
199
|
Redirected to http://www.example-client.com/restricted
|
261
|
-
Completed 302 Found in 4ms (ActiveRecord: 0.
|
262
|
-
Started GET "/restricted" for 127.0.0.1 at
|
200
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
201
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-03-03 10:34:50 +0000
|
263
202
|
Processing by ExampleController#restricted as HTML
|
264
|
-
[1m[
|
203
|
+
[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"]]
|
265
204
|
Rendered text template (0.0ms)
|
266
205
|
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
267
|
-
Started GET "/restricted" for 127.0.0.1 at
|
268
|
-
Processing by ExampleController#restricted as HTML
|
269
|
-
Authenticating with gds_sso strategy
|
270
|
-
Completed in 0ms (ActiveRecord: 0.0ms)
|
271
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2019-11-06 06:41:45 +0000
|
272
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:36:45 +0000
|
206
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:29:50 +0000
|
273
207
|
Processing by ExampleController#restricted as HTML
|
274
208
|
Authenticating with gds_sso strategy
|
275
209
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
276
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
277
|
-
Started GET "/auth/gds/callback?code=
|
210
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-03-02 14:29:50 +0000
|
211
|
+
Started GET "/auth/gds/callback?code=a511233760c58ed49bc2248c2af21616413b693372d304be4cfc8f17e8eb9679&state=55f11ffda7c6ed29b0de0e6bb2fbeb7264ff8840f51a6039" for 127.0.0.1 at 2020-03-02 14:29:51 +0000
|
278
212
|
Processing by AuthenticationsController#callback as HTML
|
279
|
-
Parameters: {"code"=>"
|
213
|
+
Parameters: {"code"=>"a511233760c58ed49bc2248c2af21616413b693372d304be4cfc8f17e8eb9679", "state"=>"55f11ffda7c6ed29b0de0e6bb2fbeb7264ff8840f51a6039"}
|
280
214
|
Authenticating with gds_sso strategy
|
281
|
-
[1m[
|
282
|
-
[1m[
|
283
|
-
[1m[
|
284
|
-
[1m[
|
285
|
-
[1m[
|
215
|
+
[1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
216
|
+
[1m[35m (0.1ms)[0m begin transaction
|
217
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
218
|
+
[1m[35m (0.0ms)[0m begin transaction
|
219
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
286
220
|
Redirected to http://www.example-client.com/restricted
|
287
|
-
Completed 302 Found in 4ms (ActiveRecord: 0.
|
288
|
-
Started GET "/restricted" for 127.0.0.1 at
|
289
|
-
Processing by ExampleController#restricted as HTML
|
290
|
-
[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"]]
|
291
|
-
Rendered text template (0.0ms)
|
292
|
-
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
293
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-11-06 06:31:45 +0000
|
221
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.5ms)
|
222
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:29:51 +0000
|
294
223
|
Processing by ExampleController#restricted as HTML
|
295
224
|
[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"]]
|
296
225
|
Rendered text template (0.0ms)
|
297
|
-
Completed 200 OK in 1ms (Views: 0.
|
298
|
-
Started GET "/restricted" for 127.0.0.1 at
|
226
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
227
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-03-03 10:34:51 +0000
|
228
|
+
Processing by ExampleController#restricted as HTML
|
229
|
+
Authenticating with gds_sso strategy
|
230
|
+
Completed in 1ms (ActiveRecord: 0.0ms)
|
231
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-03-03 10:34:51 +0000
|
232
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:29:51 +0000
|
299
233
|
Processing by ExampleController#restricted as HTML
|
300
234
|
Authenticating with gds_sso strategy
|
301
235
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
302
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
303
|
-
Started GET "/auth/gds/callback?code=
|
236
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-03-02 14:29:51 +0000
|
237
|
+
Started GET "/auth/gds/callback?code=37bb3145b691628a0fc5750413e5d6898c65255cc91d932b63b0f7f80f7c93a1&state=df00753a2f20674d122e783451254b90c53d08215b7126ce" for 127.0.0.1 at 2020-03-02 14:29:51 +0000
|
304
238
|
Processing by AuthenticationsController#callback as HTML
|
305
|
-
Parameters: {"code"=>"
|
239
|
+
Parameters: {"code"=>"37bb3145b691628a0fc5750413e5d6898c65255cc91d932b63b0f7f80f7c93a1", "state"=>"df00753a2f20674d122e783451254b90c53d08215b7126ce"}
|
306
240
|
Authenticating with gds_sso strategy
|
307
|
-
[1m[36mUser Load (0.
|
241
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
308
242
|
[1m[35m (0.1ms)[0m begin transaction
|
309
243
|
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
310
|
-
[1m[35m (0.
|
244
|
+
[1m[35m (0.1ms)[0m begin transaction
|
311
245
|
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
312
246
|
Redirected to http://www.example-client.com/restricted
|
313
247
|
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
314
|
-
Started GET "/restricted" for 127.0.0.1 at
|
248
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:29:51 +0000
|
315
249
|
Processing by ExampleController#restricted as HTML
|
316
250
|
[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"]]
|
317
251
|
Rendered text template (0.0ms)
|
318
|
-
Completed 200 OK in 1ms (Views: 0.
|
319
|
-
Started GET "/restricted" for 127.0.0.1 at
|
252
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
253
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-03-03 10:24:51 +0000
|
254
|
+
Processing by ExampleController#restricted as HTML
|
255
|
+
[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"]]
|
256
|
+
Rendered text template (0.0ms)
|
257
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
258
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:29:51 +0000
|
320
259
|
Processing by ExampleController#restricted as HTML
|
321
260
|
Authenticating with gds_sso strategy
|
322
261
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
323
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
324
|
-
Started GET "/auth/gds/callback?code=
|
262
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-03-02 14:29:51 +0000
|
263
|
+
Started GET "/auth/gds/callback?code=a9045f07f86382c5448721355c2726a8a72437cb892b98fb57489a64ce9f63fc&state=2f3cc07d8eb63374a87b786b70f095f14efc89696fa9c95a" for 127.0.0.1 at 2020-03-02 14:29:51 +0000
|
325
264
|
Processing by AuthenticationsController#callback as HTML
|
326
|
-
Parameters: {"code"=>"
|
265
|
+
Parameters: {"code"=>"a9045f07f86382c5448721355c2726a8a72437cb892b98fb57489a64ce9f63fc", "state"=>"2f3cc07d8eb63374a87b786b70f095f14efc89696fa9c95a"}
|
327
266
|
Authenticating with gds_sso strategy
|
328
|
-
[1m[
|
329
|
-
[1m[
|
330
|
-
[1m[
|
331
|
-
[1m[
|
332
|
-
[1m[
|
267
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
268
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
269
|
+
[1m[35m (0.0ms)[0m commit transaction
|
270
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
271
|
+
[1m[35m (0.1ms)[0m commit transaction
|
333
272
|
Redirected to http://www.example-client.com/restricted
|
334
273
|
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
335
|
-
Started GET "/restricted" for 127.0.0.1 at
|
274
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:29:51 +0000
|
336
275
|
Processing by ExampleController#restricted as HTML
|
337
|
-
[1m[
|
276
|
+
[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"]]
|
338
277
|
Rendered text template (0.0ms)
|
339
|
-
Completed 200 OK in
|
340
|
-
|
341
|
-
|
342
|
-
[1m[
|
343
|
-
[1m[
|
344
|
-
|
345
|
-
|
278
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
279
|
+
[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"]]
|
280
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
281
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 1]]
|
282
|
+
[1m[36m (4.6ms)[0m [1mcommit transaction[0m
|
283
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:29:51 +0000
|
284
|
+
Processing by ExampleController#restricted as HTML
|
285
|
+
[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"]]
|
286
|
+
Authenticating with gds_sso strategy
|
287
|
+
Completed in 1ms (ActiveRecord: 0.1ms)
|
288
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-03-02 14:29:51 +0000
|
289
|
+
Started GET "/auth/gds/callback?code=d0346b4fc520ec80b1f696dcd4af42a7b1bad2245256910e243220ead50dfbe8&state=c09460cc3bfbc7967bcf913f08846fb2f1906eaa661c6072" for 127.0.0.1 at 2020-03-02 14:29:51 +0000
|
290
|
+
Processing by AuthenticationsController#callback as HTML
|
291
|
+
Parameters: {"code"=>"d0346b4fc520ec80b1f696dcd4af42a7b1bad2245256910e243220ead50dfbe8", "state"=>"c09460cc3bfbc7967bcf913f08846fb2f1906eaa661c6072"}
|
292
|
+
Authenticating with gds_sso strategy
|
346
293
|
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
347
|
-
[1m[35m (0.0ms)[0m begin transaction
|
348
|
-
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
349
|
-
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
350
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
351
|
-
[1m[35m (0.0ms)[0m commit transaction
|
352
|
-
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
353
294
|
[1m[35m (0.1ms)[0m begin transaction
|
354
295
|
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
355
|
-
[1m[35m (0.
|
356
|
-
[1m[
|
296
|
+
[1m[35m (0.1ms)[0m begin transaction
|
297
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id", 1]]
|
298
|
+
[1m[35m (4.5ms)[0m commit transaction
|
299
|
+
Redirected to http://www.example-client.com/restricted
|
300
|
+
Completed 302 Found in 9ms (ActiveRecord: 5.0ms)
|
301
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:29:51 +0000
|
302
|
+
Processing by ExampleController#restricted as HTML
|
303
|
+
[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"]]
|
357
304
|
Rendered text template (0.0ms)
|
358
|
-
Completed 200 OK in
|
359
|
-
|
360
|
-
Processing by ExampleController#restricted as JSON
|
361
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
305
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
306
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "dummyapiuser@domain.com"]]
|
362
307
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
363
|
-
[1m[
|
364
|
-
[1m[
|
308
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email", "uid", "name", "permissions") VALUES (?, ?, ?, ?) [["email", "dummyapiuser@domain.com"], ["uid", "8633"], ["name", "Dummy API user created by gds-sso"], ["permissions", "---\n- signin\n"]]
|
309
|
+
[1m[36m (9.3ms)[0m [1mcommit transaction[0m
|
365
310
|
[1m[35m (0.0ms)[0m begin transaction
|
366
|
-
[1m[
|
367
|
-
[1m[
|
311
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = ?[0m [["permissions", "---\n- signin\n- extra_permission\n"], ["id", 2]]
|
312
|
+
[1m[35m (5.1ms)[0m commit transaction
|
368
313
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
369
|
-
[1m[
|
370
|
-
[1m[
|
314
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d39674"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
315
|
+
[1m[36m (3.7ms)[0m [1mcommit transaction[0m
|
316
|
+
[1m[35m (0.0ms)[0m begin transaction
|
317
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d32273"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
318
|
+
[1m[35m (4.8ms)[0m commit transaction
|
319
|
+
Processing by Api::UserController#reauth as HTML
|
320
|
+
Parameters: {"uid"=>"a1s2d39674"}
|
321
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "a1s2d39674"]]
|
322
|
+
[1m[35m (0.0ms)[0m begin transaction
|
323
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "t"], ["id", 3]]
|
324
|
+
[1m[35m (3.5ms)[0m commit transaction
|
325
|
+
Completed 200 OK in 6ms (ActiveRecord: 3.9ms)
|
326
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 3]]
|
327
|
+
[1m[35m (0.0ms)[0m begin transaction
|
328
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d37530"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
329
|
+
[1m[35m (3.2ms)[0m commit transaction
|
330
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
331
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d31850"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
332
|
+
[1m[36m (3.4ms)[0m [1mcommit transaction[0m
|
333
|
+
Processing by Api::UserController#reauth as HTML
|
334
|
+
Parameters: {"uid"=>"nonexistent-user"}
|
335
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "nonexistent-user"]]
|
336
|
+
Completed 200 OK in 1ms (ActiveRecord: 0.1ms)
|
337
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
338
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d3143"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
339
|
+
[1m[36m (3.8ms)[0m [1mcommit transaction[0m
|
340
|
+
[1m[35m (0.0ms)[0m begin transaction
|
341
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d34529"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
342
|
+
[1m[35m (4.3ms)[0m commit transaction
|
343
|
+
Processing by Api::UserController#reauth as HTML
|
344
|
+
Parameters: {"uid"=>"a1s2d3143"}
|
345
|
+
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
346
|
+
Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.3ms)
|
347
|
+
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
348
|
+
Completed 403 Forbidden in 7ms (Views: 6.3ms | ActiveRecord: 0.0ms)
|
349
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
350
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d33656"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
351
|
+
[1m[36m (3.5ms)[0m [1mcommit transaction[0m
|
352
|
+
[1m[35m (0.0ms)[0m begin transaction
|
353
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d31326"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
354
|
+
[1m[35m (5.1ms)[0m commit transaction
|
355
|
+
Processing by Api::UserController#update as HTML
|
356
|
+
Parameters: {"uid"=>"a1s2d33656"}
|
357
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "a1s2d33656"]]
|
358
|
+
[1m[35m (0.0ms)[0m begin transaction
|
359
|
+
[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", 9]]
|
360
|
+
[1m[35m (4.1ms)[0m commit transaction
|
361
|
+
Completed 200 OK in 7ms (ActiveRecord: 4.5ms)
|
362
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 9]]
|
371
363
|
[1m[35m (0.1ms)[0m begin transaction
|
372
|
-
[1m[
|
364
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d34761"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
365
|
+
[1m[35m (3.6ms)[0m commit transaction
|
366
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
367
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d36956"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
368
|
+
[1m[36m (3.7ms)[0m [1mcommit transaction[0m
|
369
|
+
Processing by Api::UserController#update as HTML
|
370
|
+
Parameters: {"uid"=>"a1s2d34761"}
|
371
|
+
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
372
|
+
Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
|
373
|
+
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
374
|
+
Completed 403 Forbidden in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
|
375
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "asd"]]
|
376
|
+
[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"]]
|
377
|
+
[1m[35m (0.0ms)[0m begin transaction
|
378
|
+
[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]]
|
379
|
+
[1m[35m (3.8ms)[0m commit transaction
|
380
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "asd"]]
|
373
381
|
[1m[35m (0.0ms)[0m begin transaction
|
374
382
|
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
375
|
-
Rendered text template (0.0ms)
|
376
|
-
Completed 200 OK in 48ms (Views: 0.3ms | ActiveRecord: 0.6ms)
|
377
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:36:46 +0000
|
378
|
-
Processing by ExampleController#restricted as JSON
|
379
|
-
Completed in 11ms (ActiveRecord: 0.0ms)
|
380
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:36:46 +0000
|
381
|
-
Processing by ExampleController#restricted as JSON
|
382
|
-
Completed in 18ms (ActiveRecord: 0.0ms)
|
383
383
|
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "users"[0m
|
384
|
-
[1m[35m (1.
|
385
|
-
[1m[35m (
|
386
|
-
[1m[35m (
|
384
|
+
[1m[35m (1.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
385
|
+
[1m[35m (6.8ms)[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
|
386
|
+
[1m[35m (4.9ms)[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
|
387
387
|
[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]]
|
388
388
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
389
|
-
[1m[36mActiveRecord::InternalMetadata Create (0.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "
|
390
|
-
[1m[35m (
|
391
|
-
[1m[35m (
|
389
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2020-03-02 14:30:02.427819"], ["updated_at", "2020-03-02 14:30:02.427819"]]
|
390
|
+
[1m[35m (3.1ms)[0m [1m[36mcommit transaction[0m
|
391
|
+
[1m[35m (4.5ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
392
392
|
[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]]
|
393
393
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
394
394
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
395
395
|
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["email", "dummyapiuser@domain.com"], ["LIMIT", 1]]
|
396
396
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
397
|
-
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Dummy API user created by gds-sso"], ["uid", "
|
398
|
-
[1m[35m (
|
397
|
+
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Dummy API user created by gds-sso"], ["uid", "2768"], ["email", "dummyapiuser@domain.com"], ["permissions", "---\n- signin\n"]]
|
398
|
+
[1m[35m (3.9ms)[0m [1m[36mcommit transaction[0m
|
399
399
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
400
400
|
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = ?[0m [["permissions", "---\n- signin\n- extra_permission\n"], ["id", 1]]
|
401
|
-
[1m[35m (
|
402
|
-
|
403
|
-
|
404
|
-
[1m[
|
405
|
-
[1m[36mUser Create (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]]
|
406
|
-
[1m[35m (5.4ms)[0m [1m[36mcommit transaction[0m
|
407
|
-
[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]]
|
408
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
409
|
-
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
410
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:36:57 +0000
|
411
|
-
Processing by ExampleController#restricted as JSON
|
412
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
401
|
+
[1m[35m (3.9ms)[0m [1m[36mcommit transaction[0m
|
402
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-03-02 14:30:03 +0000
|
403
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
404
|
+
[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]]
|
413
405
|
[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]]
|
414
|
-
[1m[35m (0.
|
406
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
415
407
|
[1m[36mUser Create (0.3ms)[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]]
|
416
|
-
[1m[35m (
|
408
|
+
[1m[35m (3.3ms)[0m [1m[36mcommit transaction[0m
|
417
409
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
418
410
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
419
411
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
@@ -424,264 +416,259 @@ Processing by ExampleController#restricted as JSON
|
|
424
416
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
425
417
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
426
418
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
427
|
-
[1m[36mUser Update (0.
|
428
|
-
[1m[35m (
|
419
|
+
[1m[36mUser Update (0.3ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id", 2]]
|
420
|
+
[1m[35m (4.3ms)[0m [1m[36mcommit transaction[0m
|
429
421
|
Rendering text template
|
430
422
|
Rendered text template (0.0ms)
|
431
|
-
Completed 200 OK in
|
432
|
-
Started GET "/
|
433
|
-
Processing by ExampleController#
|
434
|
-
|
423
|
+
Completed 200 OK in 85ms (Views: 3.0ms | ActiveRecord: 9.1ms)
|
424
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:03 +0000
|
425
|
+
Processing by ExampleController#restricted as JSON
|
426
|
+
Completed in 21ms (ActiveRecord: 0.0ms)
|
427
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:03 +0000
|
428
|
+
Processing by ExampleController#restricted as JSON
|
429
|
+
[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]]
|
435
430
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
436
431
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
437
432
|
[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]]
|
438
433
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
439
|
-
[1m[35m (0.
|
434
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
440
435
|
[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]]
|
441
436
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
442
|
-
[1m[35m (0.
|
437
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
443
438
|
[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]]
|
444
439
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
445
|
-
[1m[35m (0.
|
440
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
446
441
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
447
442
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
448
443
|
Rendering text template
|
449
444
|
Rendered text template (0.0ms)
|
450
|
-
Completed 200 OK in
|
451
|
-
Started GET "/restricted" for 127.0.0.1 at
|
445
|
+
Completed 200 OK in 65ms (Views: 0.4ms | ActiveRecord: 0.9ms)
|
446
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:03 +0000
|
452
447
|
Processing by ExampleController#restricted as JSON
|
453
|
-
Completed in
|
454
|
-
Started GET "/restricted" for 127.0.0.1 at
|
455
|
-
Processing by ExampleController#restricted as JSON
|
456
|
-
Completed in 11ms (ActiveRecord: 0.0ms)
|
457
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:36:57 +0000
|
458
|
-
Processing by ExampleController#restricted as HTML
|
459
|
-
Authenticating with gds_sso strategy
|
460
|
-
Completed in 0ms (ActiveRecord: 0.0ms)
|
461
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:36:57 +0000
|
448
|
+
Completed in 13ms (ActiveRecord: 0.0ms)
|
449
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:03 +0000
|
462
450
|
Processing by ExampleController#restricted as HTML
|
463
451
|
Authenticating with gds_sso strategy
|
464
452
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
465
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
466
|
-
Started GET "/auth/gds/callback?code=
|
453
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-03-02 14:30:03 +0000
|
454
|
+
Started GET "/auth/gds/callback?code=26a437ebf35d91ccbbf3931bc52805af65db4af865f181516715c0b5ecee486b&state=202432597d5ac66426c29d82fb60e04328247fb9ed9d5090" for 127.0.0.1 at 2020-03-02 14:30:03 +0000
|
467
455
|
Processing by AuthenticationsController#callback as HTML
|
468
|
-
Parameters: {"code"=>"
|
456
|
+
Parameters: {"code"=>"26a437ebf35d91ccbbf3931bc52805af65db4af865f181516715c0b5ecee486b", "state"=>"202432597d5ac66426c29d82fb60e04328247fb9ed9d5090"}
|
469
457
|
Authenticating with gds_sso strategy
|
470
458
|
[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]]
|
471
459
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
472
|
-
[1m[36mUser Update (0.3ms)[0m [1m[33mUPDATE "users" SET "disabled" = ? WHERE "users"."id" = ?[0m [["disabled", "f"], ["id",
|
473
|
-
[1m[35m (
|
460
|
+
[1m[36mUser Update (0.3ms)[0m [1m[33mUPDATE "users" SET "disabled" = ? WHERE "users"."id" = ?[0m [["disabled", "f"], ["id", 2]]
|
461
|
+
[1m[35m (9.5ms)[0m [1m[36mcommit transaction[0m
|
474
462
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
475
|
-
[1m[35m (0.
|
463
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
476
464
|
Redirected to http://www.example-client.com/restricted
|
477
|
-
Completed 302 Found in
|
478
|
-
Started GET "/restricted" for 127.0.0.1 at
|
465
|
+
Completed 302 Found in 16ms (ActiveRecord: 10.0ms)
|
466
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:03 +0000
|
479
467
|
Processing by ExampleController#restricted as HTML
|
480
468
|
[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]]
|
481
469
|
Rendering text template
|
482
470
|
Rendered text template (0.0ms)
|
483
|
-
Completed 200 OK in
|
484
|
-
Started GET "/
|
485
|
-
Processing by ExampleController#
|
471
|
+
Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
472
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:03 +0000
|
473
|
+
Processing by ExampleController#restricted as HTML
|
486
474
|
Authenticating with gds_sso strategy
|
487
|
-
Completed in
|
488
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
489
|
-
Started GET "/auth/gds/callback?code=
|
475
|
+
Completed in 1ms (ActiveRecord: 0.0ms)
|
476
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-03-02 14:30:03 +0000
|
477
|
+
Started GET "/auth/gds/callback?code=9b8f1f2e4a4263d42da6783bd6f3bad776977eca11a787750a9c3e5f1c5aa736&state=69e48656f18319e86e10e48b15d1fcbf57b5b87a86957cc3" for 127.0.0.1 at 2020-03-02 14:30:03 +0000
|
490
478
|
Processing by AuthenticationsController#callback as HTML
|
491
|
-
Parameters: {"code"=>"
|
479
|
+
Parameters: {"code"=>"9b8f1f2e4a4263d42da6783bd6f3bad776977eca11a787750a9c3e5f1c5aa736", "state"=>"69e48656f18319e86e10e48b15d1fcbf57b5b87a86957cc3"}
|
492
480
|
Authenticating with gds_sso strategy
|
493
481
|
[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]]
|
494
482
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
495
|
-
[1m[35m (0.
|
483
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
496
484
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
497
485
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
498
|
-
Redirected to http://www.example-client.com/
|
499
|
-
Completed 302 Found in 4ms (ActiveRecord: 0.
|
500
|
-
Started GET "/
|
501
|
-
Processing by ExampleController#
|
502
|
-
[1m[36mUser Load (0.
|
486
|
+
Redirected to http://www.example-client.com/restricted
|
487
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
488
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:03 +0000
|
489
|
+
Processing by ExampleController#restricted as HTML
|
490
|
+
[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]]
|
503
491
|
Rendering text template
|
504
492
|
Rendered text template (0.0ms)
|
505
|
-
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.
|
506
|
-
Started GET "/
|
507
|
-
Processing by ExampleController#
|
493
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
494
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:03 +0000
|
495
|
+
Processing by ExampleController#restricted as HTML
|
508
496
|
Authenticating with gds_sso strategy
|
509
497
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
510
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
511
|
-
Started GET "/auth/gds/callback?code=
|
498
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-03-02 14:30:03 +0000
|
499
|
+
Started GET "/auth/gds/callback?code=ee4a57e58116494d0c02166c5a05c4ad933cc5aa0aab93f77daea0a374b0ca2a&state=c47303624bb886942aa490907c2ff490aa2833fa4c124ea0" for 127.0.0.1 at 2020-03-02 14:30:03 +0000
|
512
500
|
Processing by AuthenticationsController#callback as HTML
|
513
|
-
Parameters: {"code"=>"
|
501
|
+
Parameters: {"code"=>"ee4a57e58116494d0c02166c5a05c4ad933cc5aa0aab93f77daea0a374b0ca2a", "state"=>"c47303624bb886942aa490907c2ff490aa2833fa4c124ea0"}
|
514
502
|
Authenticating with gds_sso strategy
|
515
503
|
[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]]
|
516
504
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
505
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
506
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
517
507
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
518
|
-
|
519
|
-
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
520
|
-
Redirected to http://www.example-client.com/this_requires_signin_permission
|
508
|
+
Redirected to http://www.example-client.com/restricted
|
521
509
|
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
522
|
-
Started GET "/
|
523
|
-
Processing by ExampleController#
|
510
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:03 +0000
|
511
|
+
Processing by ExampleController#restricted as HTML
|
524
512
|
[1m[36mUser Load (0.1ms)[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]]
|
525
513
|
Rendering text template
|
526
514
|
Rendered text template (0.0ms)
|
527
515
|
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
528
|
-
Started GET "/" for 127.0.0.1 at
|
516
|
+
Started GET "/" for 127.0.0.1 at 2020-03-02 14:30:03 +0000
|
529
517
|
Processing by ExampleController#index as HTML
|
530
518
|
Rendering text template
|
531
519
|
Rendered text template (0.0ms)
|
532
|
-
Completed 200 OK in 0ms (Views: 0.
|
533
|
-
Started GET "/
|
534
|
-
Processing by ExampleController#
|
520
|
+
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
521
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-03-02 14:30:03 +0000
|
522
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
535
523
|
Authenticating with gds_sso strategy
|
536
524
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
537
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
538
|
-
Started GET "/auth/gds/callback?code=
|
525
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-03-02 14:30:03 +0000
|
526
|
+
Started GET "/auth/gds/callback?code=1bfb6cff5b56de209f2a3562e97990f1fd5db0e301c941a9ec7b69b9e68d68a7&state=cb4ff4eaf6107b43a2bb7865e85070c44fbd401dfdba0a8e" for 127.0.0.1 at 2020-03-02 14:30:04 +0000
|
539
527
|
Processing by AuthenticationsController#callback as HTML
|
540
|
-
Parameters: {"code"=>"
|
528
|
+
Parameters: {"code"=>"1bfb6cff5b56de209f2a3562e97990f1fd5db0e301c941a9ec7b69b9e68d68a7", "state"=>"cb4ff4eaf6107b43a2bb7865e85070c44fbd401dfdba0a8e"}
|
541
529
|
Authenticating with gds_sso strategy
|
542
530
|
[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]]
|
543
531
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
544
532
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
545
|
-
[1m[35m (0.
|
533
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
546
534
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
547
|
-
Redirected to http://www.example-client.com/
|
548
|
-
Completed 302 Found in
|
549
|
-
Started GET "/
|
550
|
-
Processing by ExampleController#
|
535
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
536
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.5ms)
|
537
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-03-02 14:30:04 +0000
|
538
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
551
539
|
[1m[36mUser Load (0.1ms)[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
540
|
Rendering text template
|
553
541
|
Rendered text template (0.0ms)
|
554
|
-
Completed 200 OK in 2ms (Views: 0.
|
555
|
-
Started GET "/
|
556
|
-
Processing by ExampleController#
|
542
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.1ms)
|
543
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-03-02 14:30:04 +0000
|
544
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
557
545
|
Authenticating with gds_sso strategy
|
558
546
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
559
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
560
|
-
Started GET "/auth/gds/callback?code=
|
547
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-03-02 14:30:04 +0000
|
548
|
+
Started GET "/auth/gds/callback?code=59b4eec00cf9f5c691224cccfe2ac7679b4a7ec5450a9605c616e94c1681cb8f&state=210750d633ae672abec2eadc7f94c982b8164af6b5635fc4" for 127.0.0.1 at 2020-03-02 14:30:04 +0000
|
561
549
|
Processing by AuthenticationsController#callback as HTML
|
562
|
-
Parameters: {"code"=>"
|
550
|
+
Parameters: {"code"=>"59b4eec00cf9f5c691224cccfe2ac7679b4a7ec5450a9605c616e94c1681cb8f", "state"=>"210750d633ae672abec2eadc7f94c982b8164af6b5635fc4"}
|
563
551
|
Authenticating with gds_sso strategy
|
564
552
|
[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]]
|
565
553
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
566
554
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
567
555
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
568
556
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
569
|
-
Redirected to http://www.example-client.com/
|
557
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
570
558
|
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
571
|
-
Started GET "/
|
572
|
-
Processing by ExampleController#
|
559
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-03-02 14:30:04 +0000
|
560
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
573
561
|
[1m[36mUser Load (0.1ms)[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]]
|
574
562
|
Rendering text template
|
575
563
|
Rendered text template (0.0ms)
|
576
564
|
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
577
|
-
Started GET "/restricted" for 127.0.0.1 at
|
565
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:04 +0000
|
578
566
|
Processing by ExampleController#restricted as HTML
|
579
567
|
Authenticating with gds_sso strategy
|
580
568
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
581
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
582
|
-
Started GET "/auth/gds/callback?code=
|
569
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-03-02 14:30:04 +0000
|
570
|
+
Started GET "/auth/gds/callback?code=fb866fa3f163776f28651689f620cb13d78a33d5a3efc09035312160fd6a0c72&state=56bb89cf61c27e21844485e510c5c404b3983e53d969baeb" for 127.0.0.1 at 2020-03-02 14:30:04 +0000
|
583
571
|
Processing by AuthenticationsController#callback as HTML
|
584
|
-
Parameters: {"code"=>"
|
572
|
+
Parameters: {"code"=>"fb866fa3f163776f28651689f620cb13d78a33d5a3efc09035312160fd6a0c72", "state"=>"56bb89cf61c27e21844485e510c5c404b3983e53d969baeb"}
|
585
573
|
Authenticating with gds_sso strategy
|
586
574
|
[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]]
|
587
575
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
588
|
-
[1m[35m (0.
|
589
|
-
[1m[35m (0.
|
590
|
-
[1m[35m (0.
|
576
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
577
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
578
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
591
579
|
Redirected to http://www.example-client.com/restricted
|
592
580
|
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
593
|
-
Started GET "/restricted" for 127.0.0.1 at
|
581
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:04 +0000
|
594
582
|
Processing by ExampleController#restricted as HTML
|
595
|
-
[1m[36mUser Load (0.
|
583
|
+
[1m[36mUser Load (0.1ms)[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]]
|
596
584
|
Rendering text template
|
597
585
|
Rendered text template (0.0ms)
|
598
|
-
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.
|
599
|
-
|
600
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
601
|
-
[1m[36mUser Update (0.3ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "t"], ["id", 3]]
|
602
|
-
[1m[35m (5.7ms)[0m [1m[36mcommit transaction[0m
|
603
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:36:58 +0000
|
586
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
587
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-03-03 10:25:04 +0000
|
604
588
|
Processing by ExampleController#restricted as HTML
|
605
589
|
[1m[36mUser Load (0.1ms)[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]]
|
590
|
+
Rendering text template
|
591
|
+
Rendered text template (0.0ms)
|
592
|
+
Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
593
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:04 +0000
|
594
|
+
Processing by ExampleController#restricted as HTML
|
606
595
|
Authenticating with gds_sso strategy
|
607
|
-
Completed in
|
608
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
609
|
-
Started GET "/auth/gds/callback?code=
|
596
|
+
Completed in 0ms (ActiveRecord: 0.0ms)
|
597
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-03-02 14:30:04 +0000
|
598
|
+
Started GET "/auth/gds/callback?code=c8bc30a8a3b0e975ad27dbd80f796a0d85a1bdb8019608b7f74a2bcac1b78fe6&state=124ddb579e2e70c527e4b46d00ea0884951a3b3782eee0f5" for 127.0.0.1 at 2020-03-02 14:30:04 +0000
|
610
599
|
Processing by AuthenticationsController#callback as HTML
|
611
|
-
Parameters: {"code"=>"
|
600
|
+
Parameters: {"code"=>"c8bc30a8a3b0e975ad27dbd80f796a0d85a1bdb8019608b7f74a2bcac1b78fe6", "state"=>"124ddb579e2e70c527e4b46d00ea0884951a3b3782eee0f5"}
|
612
601
|
Authenticating with gds_sso strategy
|
613
602
|
[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]]
|
614
603
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
615
604
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
616
605
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
617
|
-
[1m[
|
618
|
-
[1m[35m (5.6ms)[0m [1m[36mcommit transaction[0m
|
606
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
619
607
|
Redirected to http://www.example-client.com/restricted
|
620
|
-
Completed 302 Found in
|
621
|
-
Started GET "/restricted" for 127.0.0.1 at
|
608
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
609
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:04 +0000
|
622
610
|
Processing by ExampleController#restricted as HTML
|
623
611
|
[1m[36mUser Load (0.1ms)[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]]
|
624
612
|
Rendering text template
|
625
613
|
Rendered text template (0.0ms)
|
626
614
|
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
627
|
-
Started GET "/restricted" for 127.0.0.1 at
|
615
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-03-03 10:35:04 +0000
|
628
616
|
Processing by ExampleController#restricted as HTML
|
629
617
|
Authenticating with gds_sso strategy
|
630
618
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
631
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
632
|
-
Started GET "/auth/gds/callback?code=
|
619
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-03-03 10:35:04 +0000
|
620
|
+
Started GET "/auth/gds/callback?code=8d42028ea4207552ef2a41da9ac8989ff64fd60c564ccf6bc6930ea68faf5f49&state=caa3f5b0e77db2055efc6fc6d4571b9a28d9a0ff6aeb2376" for 127.0.0.1 at 2020-03-03 10:35:04 +0000
|
633
621
|
Processing by AuthenticationsController#callback as HTML
|
634
|
-
Parameters: {"code"=>"
|
622
|
+
Parameters: {"code"=>"8d42028ea4207552ef2a41da9ac8989ff64fd60c564ccf6bc6930ea68faf5f49", "state"=>"caa3f5b0e77db2055efc6fc6d4571b9a28d9a0ff6aeb2376"}
|
635
623
|
Authenticating with gds_sso strategy
|
636
624
|
[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]]
|
637
625
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
638
626
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
639
|
-
[1m[35m (0.
|
627
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
640
628
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
641
629
|
Redirected to http://www.example-client.com/restricted
|
642
630
|
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
643
|
-
Started GET "/restricted" for 127.0.0.1 at
|
631
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-03-03 10:35:04 +0000
|
644
632
|
Processing by ExampleController#restricted as HTML
|
645
633
|
[1m[36mUser Load (0.1ms)[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]]
|
646
634
|
Rendering text template
|
647
635
|
Rendered text template (0.0ms)
|
648
636
|
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
649
|
-
Started GET "/restricted" for 127.0.0.1 at
|
650
|
-
Processing by ExampleController#restricted as HTML
|
651
|
-
[1m[36mUser Load (0.1ms)[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]]
|
652
|
-
Rendering text template
|
653
|
-
Rendered text template (0.0ms)
|
654
|
-
Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
655
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:36:58 +0000
|
637
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:04 +0000
|
656
638
|
Processing by ExampleController#restricted as HTML
|
657
639
|
Authenticating with gds_sso strategy
|
658
640
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
659
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
660
|
-
Started GET "/auth/gds/callback?code=
|
641
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-03-02 14:30:04 +0000
|
642
|
+
Started GET "/auth/gds/callback?code=ba05f6ebbe9f543a6c59a5c2cbc61afac6dff2159199f41ee4fb45d0890ec208&state=0dc638a61e688a2095707f7546b6639392594e66291441c1" for 127.0.0.1 at 2020-03-02 14:30:04 +0000
|
661
643
|
Processing by AuthenticationsController#callback as HTML
|
662
|
-
Parameters: {"code"=>"
|
644
|
+
Parameters: {"code"=>"ba05f6ebbe9f543a6c59a5c2cbc61afac6dff2159199f41ee4fb45d0890ec208", "state"=>"0dc638a61e688a2095707f7546b6639392594e66291441c1"}
|
663
645
|
Authenticating with gds_sso strategy
|
664
646
|
[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]]
|
665
647
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
666
|
-
[1m[35m (0.
|
648
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
667
649
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
668
650
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
669
651
|
Redirected to http://www.example-client.com/restricted
|
670
|
-
Completed 302 Found in 4ms (ActiveRecord: 0.
|
671
|
-
Started GET "/restricted" for 127.0.0.1 at
|
652
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
653
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:04 +0000
|
672
654
|
Processing by ExampleController#restricted as HTML
|
673
655
|
[1m[36mUser Load (0.1ms)[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]]
|
674
656
|
Rendering text template
|
675
657
|
Rendered text template (0.0ms)
|
676
658
|
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
677
|
-
Started GET "/restricted" for 127.0.0.1 at
|
659
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-03-03 10:35:04 +0000
|
678
660
|
Processing by ExampleController#restricted as HTML
|
679
661
|
Authenticating with gds_sso strategy
|
680
662
|
Completed in 1ms (ActiveRecord: 0.0ms)
|
681
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
682
|
-
Started GET "/
|
663
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-03-03 10:35:04 +0000
|
664
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:04 +0000
|
665
|
+
Processing by ExampleController#restricted as HTML
|
666
|
+
Authenticating with gds_sso strategy
|
667
|
+
Completed in 0ms (ActiveRecord: 0.0ms)
|
668
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-03-02 14:30:04 +0000
|
669
|
+
Started GET "/auth/gds/callback?code=f25757c86feb7dbc4bd328b8e8e80d9f0aa61a22cce18138b1f9ffaa906dd450&state=cfa3eede7cc3af1f8c800b96f7209b56067057ceac272a4c" for 127.0.0.1 at 2020-03-02 14:30:04 +0000
|
683
670
|
Processing by AuthenticationsController#callback as HTML
|
684
|
-
Parameters: {"code"=>"
|
671
|
+
Parameters: {"code"=>"f25757c86feb7dbc4bd328b8e8e80d9f0aa61a22cce18138b1f9ffaa906dd450", "state"=>"cfa3eede7cc3af1f8c800b96f7209b56067057ceac272a4c"}
|
685
672
|
Authenticating with gds_sso strategy
|
686
673
|
[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]]
|
687
674
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
@@ -689,570 +676,583 @@ Authenticating with gds_sso strategy
|
|
689
676
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
690
677
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
691
678
|
Redirected to http://www.example-client.com/restricted
|
692
|
-
Completed 302 Found in
|
693
|
-
Started GET "/restricted" for 127.0.0.1 at
|
679
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
680
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:04 +0000
|
694
681
|
Processing by ExampleController#restricted as HTML
|
695
682
|
[1m[36mUser Load (0.1ms)[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]]
|
696
683
|
Rendering text template
|
697
684
|
Rendered text template (0.0ms)
|
698
685
|
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
699
|
-
|
686
|
+
[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]]
|
687
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
688
|
+
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "t"], ["id", 2]]
|
689
|
+
[1m[35m (5.4ms)[0m [1m[36mcommit transaction[0m
|
690
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:05 +0000
|
700
691
|
Processing by ExampleController#restricted as HTML
|
692
|
+
[1m[36mUser Load (0.1ms)[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]]
|
701
693
|
Authenticating with gds_sso strategy
|
702
|
-
Completed in
|
703
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
704
|
-
Started GET "/auth/gds/callback?code=
|
694
|
+
Completed in 1ms (ActiveRecord: 0.1ms)
|
695
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-03-02 14:30:05 +0000
|
696
|
+
Started GET "/auth/gds/callback?code=2f18120d84e864a48f8f0d9abdf73868f1377630d70b779735a50ab304e20026&state=3806da0be94442742b5dff39d7928a0aaa3c8f424d58db63" for 127.0.0.1 at 2020-03-02 14:30:05 +0000
|
705
697
|
Processing by AuthenticationsController#callback as HTML
|
706
|
-
Parameters: {"code"=>"
|
698
|
+
Parameters: {"code"=>"2f18120d84e864a48f8f0d9abdf73868f1377630d70b779735a50ab304e20026", "state"=>"3806da0be94442742b5dff39d7928a0aaa3c8f424d58db63"}
|
707
699
|
Authenticating with gds_sso strategy
|
708
700
|
[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]]
|
709
701
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
710
702
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
711
|
-
[1m[35m (0.
|
712
|
-
[1m[
|
703
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
704
|
+
[1m[36mUser Update (0.3ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id", 2]]
|
705
|
+
[1m[35m (3.1ms)[0m [1m[36mcommit transaction[0m
|
713
706
|
Redirected to http://www.example-client.com/restricted
|
714
|
-
Completed 302 Found in
|
715
|
-
Started GET "/restricted" for 127.0.0.1 at
|
707
|
+
Completed 302 Found in 7ms (ActiveRecord: 3.7ms)
|
708
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:05 +0000
|
716
709
|
Processing by ExampleController#restricted as HTML
|
717
710
|
[1m[36mUser Load (0.1ms)[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]]
|
718
711
|
Rendering text template
|
719
|
-
Rendered text template (0.
|
712
|
+
Rendered text template (0.1ms)
|
720
713
|
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
721
|
-
Started GET "/restricted" for 127.0.0.1 at
|
714
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:05 +0000
|
722
715
|
Processing by ExampleController#restricted as HTML
|
723
716
|
Authenticating with gds_sso strategy
|
724
717
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
725
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2019-11-06 06:41:59 +0000
|
726
718
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
727
|
-
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "
|
728
|
-
[1m[35m (5.7ms)[0m [1m[36mcommit transaction[0m
|
729
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
730
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d33022"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
719
|
+
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d39360"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
731
720
|
[1m[35m (4.6ms)[0m [1m[36mcommit transaction[0m
|
732
|
-
Processing by Api::UserController#update as HTML
|
733
|
-
Parameters: {"uid"=>"a1s2d38035"}
|
734
|
-
Rendering /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
735
|
-
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
736
|
-
Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.3ms)
|
737
|
-
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
738
|
-
Completed 403 Forbidden in 8ms (Views: 7.0ms | ActiveRecord: 0.0ms)
|
739
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
740
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d37622"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
741
|
-
[1m[35m (5.0ms)[0m [1m[36mcommit transaction[0m
|
742
721
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
743
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "
|
744
|
-
[1m[35m (3.5ms)[0m [1m[36mcommit transaction[0m
|
745
|
-
Processing by Api::UserController#update as HTML
|
746
|
-
Parameters: {"uid"=>"a1s2d37622"}
|
747
|
-
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d37622"], ["LIMIT", 1]]
|
748
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
749
|
-
[1m[36mUser Update (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", 6]]
|
722
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d37317"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
750
723
|
[1m[35m (4.1ms)[0m [1m[36mcommit transaction[0m
|
751
|
-
|
752
|
-
|
724
|
+
Processing by Api::UserController#reauth as HTML
|
725
|
+
Parameters: {"uid"=>"a1s2d39360"}
|
726
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d39360"], ["LIMIT", 1]]
|
753
727
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
754
|
-
[1m[36mUser
|
755
|
-
[1m[35m (3.
|
728
|
+
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "t"], ["id", 3]]
|
729
|
+
[1m[35m (3.6ms)[0m [1m[36mcommit transaction[0m
|
730
|
+
Completed 200 OK in 6ms (ActiveRecord: 4.0ms)
|
731
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 3], ["LIMIT", 1]]
|
756
732
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
757
|
-
[1m[36mUser Create (0.
|
758
|
-
[1m[35m (
|
733
|
+
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d33753"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
734
|
+
[1m[35m (7.3ms)[0m [1m[36mcommit transaction[0m
|
735
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
736
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d3305"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
737
|
+
[1m[35m (8.5ms)[0m [1m[36mcommit transaction[0m
|
738
|
+
Processing by Api::UserController#reauth as HTML
|
739
|
+
Parameters: {"uid"=>"a1s2d33753"}
|
740
|
+
Rendering /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
741
|
+
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
742
|
+
Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.3ms)
|
743
|
+
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
744
|
+
Completed 403 Forbidden in 7ms (Views: 6.1ms | ActiveRecord: 0.0ms)
|
745
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
746
|
+
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d32284"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
747
|
+
[1m[35m (4.6ms)[0m [1m[36mcommit transaction[0m
|
748
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
749
|
+
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d32264"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
750
|
+
[1m[35m (3.9ms)[0m [1m[36mcommit transaction[0m
|
759
751
|
Processing by Api::UserController#reauth as HTML
|
760
752
|
Parameters: {"uid"=>"nonexistent-user"}
|
761
753
|
[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]]
|
762
754
|
Completed 200 OK in 1ms (ActiveRecord: 0.1ms)
|
763
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
764
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d35266"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
765
|
-
[1m[35m (4.9ms)[0m [1m[36mcommit transaction[0m
|
766
755
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
767
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "
|
768
|
-
[1m[35m (
|
769
|
-
Processing by Api::UserController#reauth as HTML
|
770
|
-
Parameters: {"uid"=>"a1s2d35266"}
|
771
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d35266"], ["LIMIT", 1]]
|
756
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d35431"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
757
|
+
[1m[35m (4.6ms)[0m [1m[36mcommit transaction[0m
|
772
758
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
773
|
-
[1m[36mUser
|
774
|
-
[1m[35m (
|
775
|
-
|
776
|
-
|
759
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d37098"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
760
|
+
[1m[35m (3.7ms)[0m [1m[36mcommit transaction[0m
|
761
|
+
Processing by Api::UserController#update as HTML
|
762
|
+
Parameters: {"uid"=>"a1s2d35431"}
|
763
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d35431"], ["LIMIT", 1]]
|
764
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
765
|
+
[1m[36mUser Update (0.3ms)[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]]
|
766
|
+
[1m[35m (3.5ms)[0m [1m[36mcommit transaction[0m
|
767
|
+
Completed 200 OK in 7ms (ActiveRecord: 3.9ms)
|
768
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 9], ["LIMIT", 1]]
|
777
769
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
778
|
-
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "
|
779
|
-
[1m[35m (
|
770
|
+
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d31403"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
771
|
+
[1m[35m (7.4ms)[0m [1m[36mcommit transaction[0m
|
780
772
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
781
|
-
[1m[36mUser Create (0.
|
782
|
-
[1m[35m (4.
|
783
|
-
Processing by Api::UserController#
|
784
|
-
Parameters: {"uid"=>"
|
785
|
-
Rendering /var/lib/jenkins/workspace/gds-sso_master
|
773
|
+
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d36303"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
774
|
+
[1m[35m (4.0ms)[0m [1m[36mcommit transaction[0m
|
775
|
+
Processing by Api::UserController#update as HTML
|
776
|
+
Parameters: {"uid"=>"a1s2d31403"}
|
777
|
+
Rendering /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
786
778
|
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
787
|
-
Rendered /var/lib/jenkins/workspace/gds-sso_master
|
779
|
+
Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
|
788
780
|
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
789
|
-
Completed 403 Forbidden in 1ms (Views: 0.
|
790
|
-
[1m[
|
791
|
-
[1m[
|
781
|
+
Completed 403 Forbidden in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)
|
782
|
+
[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]]
|
783
|
+
[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]]
|
784
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
785
|
+
[1m[36mUser Create (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]]
|
786
|
+
[1m[35m (3.6ms)[0m [1m[36mcommit transaction[0m
|
787
|
+
[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]]
|
788
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
789
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
790
|
+
[1m[36m (3.5ms)[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
|
791
|
+
[1m[35m (3.6ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
792
792
|
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
793
|
-
[1m[35m (
|
794
|
-
|
795
|
-
[1m[35m (0.1ms)[0m begin transaction
|
796
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("email", "uid", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["email", "dummyapiuser@domain.com"], ["uid", "5322"], ["name", "Dummy API user created by gds-sso"], ["permissions", "---\n- signin\n"]]
|
797
|
-
[1m[35m (6.1ms)[0m commit transaction
|
798
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
799
|
-
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = ? [["permissions", "---\n- signin\n- extra_permission\n"], ["id", 1]]
|
800
|
-
[1m[36m (4.9ms)[0m [1mcommit transaction[0m
|
801
|
-
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "asd"]]
|
802
|
-
[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"]]
|
803
|
-
[1m[35m (0.1ms)[0m begin transaction
|
804
|
-
[1m[36mSQL (0.7ms)[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]]
|
805
|
-
[1m[35m (5.6ms)[0m commit transaction
|
806
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "asd"]]
|
807
|
-
[1m[35m (0.0ms)[0m begin transaction
|
808
|
-
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
809
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-11-05 10:37:07 +0000
|
793
|
+
[1m[35m (3.3ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
794
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-03-02 14:30:11 +0000
|
810
795
|
Processing by ExampleController#this_requires_signin_permission as JSON
|
796
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
797
|
+
[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"]]
|
798
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
799
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions", "disabled") VALUES (?, ?, ?, ?, ?) [["uid", "integration-uid"], ["email", "test@example-client.com"], ["name", "Test User"], ["permissions", "---\n- signin\n"], ["disabled", nil]]
|
800
|
+
[1m[36m (4.5ms)[0m [1mcommit transaction[0m
|
811
801
|
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
812
|
-
[1m[
|
802
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
803
|
+
[1m[35m (0.1ms)[0m commit transaction
|
804
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
813
805
|
[1m[35m (0.1ms)[0m begin transaction
|
814
|
-
[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]]
|
815
|
-
[1m[35m (6.0ms)[0m commit transaction
|
816
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
817
|
-
[1m[35m (0.0ms)[0m begin transaction
|
818
806
|
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
819
807
|
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
820
808
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
821
809
|
[1m[35m (0.1ms)[0m commit transaction
|
822
|
-
[1m[
|
823
|
-
[1m[
|
824
|
-
[1m[36m (
|
825
|
-
[1m[35m (0.1ms)[0m begin transaction
|
826
|
-
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id", 3]]
|
827
|
-
[1m[35m (5.9ms)[0m commit transaction
|
810
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
811
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "f"], ["id", 1]]
|
812
|
+
[1m[36m (6.1ms)[0m [1mcommit transaction[0m
|
828
813
|
Rendered text template (0.0ms)
|
829
|
-
Completed 200 OK in
|
830
|
-
Started GET "/restricted" for 127.0.0.1 at
|
814
|
+
Completed 200 OK in 108ms (Views: 9.1ms | ActiveRecord: 12.7ms)
|
815
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:11 +0000
|
831
816
|
Processing by ExampleController#restricted as JSON
|
832
817
|
Completed in 13ms (ActiveRecord: 0.0ms)
|
833
|
-
Started GET "/restricted" for 127.0.0.1 at
|
818
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:11 +0000
|
834
819
|
Processing by ExampleController#restricted as JSON
|
835
|
-
[1m[
|
820
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
821
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
822
|
+
[1m[35m (0.1ms)[0m commit transaction
|
823
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
836
824
|
[1m[35m (0.1ms)[0m begin transaction
|
837
825
|
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
838
826
|
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
839
|
-
[1m[36m (0.
|
827
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
840
828
|
[1m[35m (0.1ms)[0m commit transaction
|
841
829
|
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
842
830
|
[1m[35m (0.1ms)[0m begin transaction
|
843
831
|
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
844
|
-
[1m[
|
845
|
-
[1m[36m (0.1ms)[0m [
|
846
|
-
[1m[35m (0.0ms)[0m commit transaction
|
847
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
848
|
-
[1m[35m (0.1ms)[0m commit transaction
|
832
|
+
[1m[35m (0.0ms)[0m begin transaction
|
833
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
849
834
|
Rendered text template (0.0ms)
|
850
|
-
Completed 200 OK in
|
851
|
-
Started GET "/restricted" for 127.0.0.1 at
|
835
|
+
Completed 200 OK in 63ms (Views: 0.3ms | ActiveRecord: 0.8ms)
|
836
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:12 +0000
|
852
837
|
Processing by ExampleController#restricted as JSON
|
853
|
-
Completed in
|
854
|
-
Started GET "/restricted" for 127.0.0.1 at
|
855
|
-
Processing by ExampleController#restricted as HTML
|
856
|
-
Authenticating with gds_sso strategy
|
857
|
-
Completed in 0ms (ActiveRecord: 0.0ms)
|
858
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:37:07 +0000
|
838
|
+
Completed in 19ms (ActiveRecord: 0.0ms)
|
839
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:12 +0000
|
859
840
|
Processing by ExampleController#restricted as HTML
|
860
841
|
Authenticating with gds_sso strategy
|
861
842
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
862
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
863
|
-
Started GET "/auth/gds/callback?code=
|
843
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-03-02 14:30:12 +0000
|
844
|
+
Started GET "/auth/gds/callback?code=dd812cdd5e46a8c52a3ecb64c9c8f864289af877d65ef992e6dd215eb9fce143&state=626d7df0b26b8530d06e1f84ea52490395c8be1ecbe1cfe4" for 127.0.0.1 at 2020-03-02 14:30:12 +0000
|
864
845
|
Processing by AuthenticationsController#callback as HTML
|
865
|
-
Parameters: {"code"=>"
|
846
|
+
Parameters: {"code"=>"dd812cdd5e46a8c52a3ecb64c9c8f864289af877d65ef992e6dd215eb9fce143", "state"=>"626d7df0b26b8530d06e1f84ea52490395c8be1ecbe1cfe4"}
|
866
847
|
Authenticating with gds_sso strategy
|
867
|
-
[1m[
|
868
|
-
[1m[35m (0.1ms)[0m begin transaction
|
869
|
-
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "disabled" = ? WHERE "users"."id" = ?[0m [["disabled", "f"], ["id", 3]]
|
870
|
-
[1m[35m (5.9ms)[0m commit transaction
|
848
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
871
849
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
872
|
-
[1m[
|
850
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "disabled" = ? WHERE "users"."id" = ? [["disabled", "f"], ["id", 1]]
|
851
|
+
[1m[36m (4.1ms)[0m [1mcommit transaction[0m
|
852
|
+
[1m[35m (0.0ms)[0m begin transaction
|
853
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
873
854
|
Redirected to http://www.example-client.com/restricted
|
874
|
-
Completed 302 Found in
|
875
|
-
Started GET "/restricted" for 127.0.0.1 at
|
855
|
+
Completed 302 Found in 9ms (ActiveRecord: 4.6ms)
|
856
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:12 +0000
|
876
857
|
Processing by ExampleController#restricted as HTML
|
877
|
-
[1m[
|
858
|
+
[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"]]
|
878
859
|
Rendered text template (0.0ms)
|
879
|
-
Completed 200 OK in
|
880
|
-
Started GET "/restricted" for 127.0.0.1 at
|
860
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
|
861
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:12 +0000
|
881
862
|
Processing by ExampleController#restricted as HTML
|
882
863
|
Authenticating with gds_sso strategy
|
883
864
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
884
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
885
|
-
Started GET "/auth/gds/callback?code=
|
865
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-03-02 14:30:12 +0000
|
866
|
+
Started GET "/auth/gds/callback?code=ece0516949048a45623b71c607301ba87f2aa846f7ae0cd685d11791a1d8799f&state=39485c198da19461794feb47b78bb6fa2f3d0f6d64019e0e" for 127.0.0.1 at 2020-03-02 14:30:12 +0000
|
886
867
|
Processing by AuthenticationsController#callback as HTML
|
887
|
-
Parameters: {"code"=>"
|
868
|
+
Parameters: {"code"=>"ece0516949048a45623b71c607301ba87f2aa846f7ae0cd685d11791a1d8799f", "state"=>"39485c198da19461794feb47b78bb6fa2f3d0f6d64019e0e"}
|
888
869
|
Authenticating with gds_sso strategy
|
889
|
-
[1m[
|
890
|
-
[1m[
|
891
|
-
[1m[
|
892
|
-
[1m[
|
893
|
-
[1m[
|
870
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
871
|
+
[1m[35m (0.1ms)[0m begin transaction
|
872
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
873
|
+
[1m[35m (0.0ms)[0m begin transaction
|
874
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
894
875
|
Redirected to http://www.example-client.com/restricted
|
895
|
-
Completed 302 Found in 4ms (ActiveRecord: 0.
|
896
|
-
Started GET "/restricted" for 127.0.0.1 at
|
876
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
|
877
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:12 +0000
|
897
878
|
Processing by ExampleController#restricted as HTML
|
898
|
-
[1m[
|
879
|
+
[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"]]
|
899
880
|
Rendered text template (0.0ms)
|
900
881
|
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
|
901
|
-
Started GET "/
|
882
|
+
Started GET "/" for 127.0.0.1 at 2020-03-02 14:30:12 +0000
|
883
|
+
Processing by ExampleController#index as HTML
|
884
|
+
Rendered text template (0.0ms)
|
885
|
+
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
886
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-03-02 14:30:12 +0000
|
902
887
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
903
888
|
Authenticating with gds_sso strategy
|
904
889
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
905
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
906
|
-
Started GET "/auth/gds/callback?code=
|
890
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-03-02 14:30:12 +0000
|
891
|
+
Started GET "/auth/gds/callback?code=32380e0a6d719ec148ad119535ea4f817709a52ee13cf32a5a1f5d70b55fd503&state=21eb58a67be5eb8098d7970bf6bc70a8f266441561a711a9" for 127.0.0.1 at 2020-03-02 14:30:12 +0000
|
907
892
|
Processing by AuthenticationsController#callback as HTML
|
908
|
-
Parameters: {"code"=>"
|
893
|
+
Parameters: {"code"=>"32380e0a6d719ec148ad119535ea4f817709a52ee13cf32a5a1f5d70b55fd503", "state"=>"21eb58a67be5eb8098d7970bf6bc70a8f266441561a711a9"}
|
909
894
|
Authenticating with gds_sso strategy
|
910
|
-
[1m[
|
911
|
-
[1m[
|
912
|
-
[1m[
|
913
|
-
[1m[
|
914
|
-
[1m[
|
895
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
896
|
+
[1m[35m (0.1ms)[0m begin transaction
|
897
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
898
|
+
[1m[35m (0.0ms)[0m begin transaction
|
899
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
915
900
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
916
901
|
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
917
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at
|
902
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-03-02 14:30:12 +0000
|
918
903
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
919
|
-
[1m[
|
904
|
+
[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"]]
|
920
905
|
Rendered text template (0.0ms)
|
921
906
|
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
922
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at
|
907
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-03-02 14:30:12 +0000
|
923
908
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
924
909
|
Authenticating with gds_sso strategy
|
925
910
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
926
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
927
|
-
Started GET "/auth/gds/callback?code=
|
911
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-03-02 14:30:12 +0000
|
912
|
+
Started GET "/auth/gds/callback?code=1b1fc01302bd1bc079f28eb2d0d054484b95b30e8db51dcd95281fc89e8666f3&state=fd73f5c93e145753164fa8d43dd9cc60dba86eb3ba6bf226" for 127.0.0.1 at 2020-03-02 14:30:12 +0000
|
928
913
|
Processing by AuthenticationsController#callback as HTML
|
929
|
-
Parameters: {"code"=>"
|
914
|
+
Parameters: {"code"=>"1b1fc01302bd1bc079f28eb2d0d054484b95b30e8db51dcd95281fc89e8666f3", "state"=>"fd73f5c93e145753164fa8d43dd9cc60dba86eb3ba6bf226"}
|
930
915
|
Authenticating with gds_sso strategy
|
931
|
-
[1m[
|
932
|
-
[1m[
|
933
|
-
[1m[
|
934
|
-
[1m[
|
935
|
-
[1m[
|
916
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
917
|
+
[1m[35m (0.1ms)[0m begin transaction
|
918
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
919
|
+
[1m[35m (0.1ms)[0m begin transaction
|
920
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
936
921
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
937
922
|
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
938
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at
|
923
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-03-02 14:30:12 +0000
|
939
924
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
940
|
-
[1m[
|
941
|
-
Rendered text template (0.0ms)
|
942
|
-
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
943
|
-
Started GET "/" for 127.0.0.1 at 2019-11-05 10:37:08 +0000
|
944
|
-
Processing by ExampleController#index as HTML
|
945
|
-
Rendered text template (0.0ms)
|
946
|
-
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
947
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:37:08 +0000
|
948
|
-
Processing by ExampleController#restricted as HTML
|
949
|
-
Authenticating with gds_sso strategy
|
950
|
-
Completed in 0ms (ActiveRecord: 0.0ms)
|
951
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2019-11-05 10:37:08 +0000
|
952
|
-
Started GET "/auth/gds/callback?code=70f890c37306f6a5847e7fc45efd74c818ac579937c406189bf2725e0976ba7e&state=3810aa6604f0446ea31f28ed3ae675050cf45142413ced60" for 127.0.0.1 at 2019-11-05 10:37:08 +0000
|
953
|
-
Processing by AuthenticationsController#callback as HTML
|
954
|
-
Parameters: {"code"=>"70f890c37306f6a5847e7fc45efd74c818ac579937c406189bf2725e0976ba7e", "state"=>"3810aa6604f0446ea31f28ed3ae675050cf45142413ced60"}
|
955
|
-
Authenticating with gds_sso strategy
|
956
|
-
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
957
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
958
|
-
[1m[35m (0.1ms)[0m commit transaction
|
959
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
960
|
-
[1m[35m (0.0ms)[0m commit transaction
|
961
|
-
Redirected to http://www.example-client.com/restricted
|
962
|
-
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
963
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:37:08 +0000
|
964
|
-
Processing by ExampleController#restricted as HTML
|
965
|
-
[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"]]
|
925
|
+
[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"]]
|
966
926
|
Rendered text template (0.0ms)
|
967
|
-
Completed 200 OK in 1ms (Views: 0.
|
968
|
-
Started GET "/restricted" for 127.0.0.1 at
|
927
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
|
928
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:12 +0000
|
969
929
|
Processing by ExampleController#restricted as HTML
|
970
930
|
Authenticating with gds_sso strategy
|
971
931
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
972
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
973
|
-
Started GET "/auth/gds/callback?code=
|
932
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-03-02 14:30:12 +0000
|
933
|
+
Started GET "/auth/gds/callback?code=79bcc1397f0c11b5303566dc40bdb7b4b58049757112daef86f414f5334b3b99&state=830bc8243c62b9320b873e83ba04c94e36044c30aa0255fc" for 127.0.0.1 at 2020-03-02 14:30:12 +0000
|
974
934
|
Processing by AuthenticationsController#callback as HTML
|
975
|
-
Parameters: {"code"=>"
|
935
|
+
Parameters: {"code"=>"79bcc1397f0c11b5303566dc40bdb7b4b58049757112daef86f414f5334b3b99", "state"=>"830bc8243c62b9320b873e83ba04c94e36044c30aa0255fc"}
|
976
936
|
Authenticating with gds_sso strategy
|
977
|
-
[1m[
|
978
|
-
[1m[
|
979
|
-
[1m[
|
980
|
-
[1m[
|
981
|
-
[1m[
|
937
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
938
|
+
[1m[35m (0.1ms)[0m begin transaction
|
939
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
940
|
+
[1m[35m (0.0ms)[0m begin transaction
|
941
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
982
942
|
Redirected to http://www.example-client.com/restricted
|
983
943
|
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
984
|
-
Started GET "/restricted" for 127.0.0.1 at
|
985
|
-
Processing by ExampleController#restricted as HTML
|
986
|
-
[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"]]
|
987
|
-
Rendered text template (0.0ms)
|
988
|
-
Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
989
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-11-06 06:32:08 +0000
|
944
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:12 +0000
|
990
945
|
Processing by ExampleController#restricted as HTML
|
991
946
|
[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"]]
|
992
947
|
Rendered text template (0.0ms)
|
993
948
|
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
994
|
-
Started GET "/restricted" for 127.0.0.1 at
|
949
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:12 +0000
|
995
950
|
Processing by ExampleController#restricted as HTML
|
996
951
|
Authenticating with gds_sso strategy
|
997
952
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
998
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
999
|
-
Started GET "/auth/gds/callback?code=
|
953
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-03-02 14:30:12 +0000
|
954
|
+
Started GET "/auth/gds/callback?code=a85d986c64bcd23d6ac88f6d6879f0d0c72396e7bc5372a406c9a9b72bc4fe25&state=5617262dffa6731048617294e6a233f068b014b1a35ce823" for 127.0.0.1 at 2020-03-02 14:30:13 +0000
|
1000
955
|
Processing by AuthenticationsController#callback as HTML
|
1001
|
-
Parameters: {"code"=>"
|
956
|
+
Parameters: {"code"=>"a85d986c64bcd23d6ac88f6d6879f0d0c72396e7bc5372a406c9a9b72bc4fe25", "state"=>"5617262dffa6731048617294e6a233f068b014b1a35ce823"}
|
1002
957
|
Authenticating with gds_sso strategy
|
1003
|
-
[1m[36mUser Load (0.
|
958
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
1004
959
|
[1m[35m (0.1ms)[0m begin transaction
|
1005
960
|
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1006
961
|
[1m[35m (0.0ms)[0m begin transaction
|
1007
962
|
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1008
963
|
Redirected to http://www.example-client.com/restricted
|
1009
964
|
Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
|
1010
|
-
Started GET "/restricted" for 127.0.0.1 at
|
965
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:13 +0000
|
1011
966
|
Processing by ExampleController#restricted as HTML
|
1012
967
|
[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"]]
|
1013
968
|
Rendered text template (0.0ms)
|
1014
969
|
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
1015
|
-
Started GET "/restricted" for 127.0.0.1 at
|
970
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-03-03 10:25:13 +0000
|
971
|
+
Processing by ExampleController#restricted as HTML
|
972
|
+
[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"]]
|
973
|
+
Rendered text template (0.0ms)
|
974
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
975
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:13 +0000
|
976
|
+
Processing by ExampleController#restricted as HTML
|
977
|
+
Authenticating with gds_sso strategy
|
978
|
+
Completed in 0ms (ActiveRecord: 0.0ms)
|
979
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-03-02 14:30:13 +0000
|
980
|
+
Started GET "/auth/gds/callback?code=cd337cef55f20dbb455571c6882f0182824a8193a3476077b64826d8abc1a2b3&state=74f60128482fb3095cf8075baf672f84ae42c7de839e3368" for 127.0.0.1 at 2020-03-02 14:30:13 +0000
|
981
|
+
Processing by AuthenticationsController#callback as HTML
|
982
|
+
Parameters: {"code"=>"cd337cef55f20dbb455571c6882f0182824a8193a3476077b64826d8abc1a2b3", "state"=>"74f60128482fb3095cf8075baf672f84ae42c7de839e3368"}
|
983
|
+
Authenticating with gds_sso strategy
|
984
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
985
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
989
|
+
Redirected to http://www.example-client.com/restricted
|
990
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
991
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:13 +0000
|
1016
992
|
Processing by ExampleController#restricted as HTML
|
1017
|
-
|
1018
|
-
|
1019
|
-
|
1020
|
-
Started GET "/restricted" for 127.0.0.1 at
|
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"]]
|
994
|
+
Rendered text template (0.0ms)
|
995
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
996
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-03-03 10:35:13 +0000
|
1021
997
|
Processing by ExampleController#restricted as HTML
|
1022
998
|
Authenticating with gds_sso strategy
|
1023
999
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1024
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1025
|
-
Started GET "/auth/gds/callback?code=
|
1000
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-03-03 10:35:13 +0000
|
1001
|
+
Started GET "/auth/gds/callback?code=768f547a0848cbf0440df0ed7630a4bb35c2bb4331ed4477365bebc9df96b844&state=547ea3f901138f73c5b206a53ec5e35e49a4b84800b06e53" for 127.0.0.1 at 2020-03-03 10:35:13 +0000
|
1026
1002
|
Processing by AuthenticationsController#callback as HTML
|
1027
|
-
Parameters: {"code"=>"
|
1003
|
+
Parameters: {"code"=>"768f547a0848cbf0440df0ed7630a4bb35c2bb4331ed4477365bebc9df96b844", "state"=>"547ea3f901138f73c5b206a53ec5e35e49a4b84800b06e53"}
|
1028
1004
|
Authenticating with gds_sso strategy
|
1029
|
-
[1m[
|
1030
|
-
[1m[
|
1031
|
-
[1m[
|
1032
|
-
[1m[
|
1033
|
-
[1m[
|
1005
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
1006
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1007
|
+
[1m[35m (0.1ms)[0m commit transaction
|
1008
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1009
|
+
[1m[35m (0.1ms)[0m commit transaction
|
1034
1010
|
Redirected to http://www.example-client.com/restricted
|
1035
|
-
Completed 302 Found in 4ms (ActiveRecord: 0.
|
1036
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1011
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.5ms)
|
1012
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-03-03 10:35:13 +0000
|
1037
1013
|
Processing by ExampleController#restricted as HTML
|
1038
|
-
[1m[
|
1014
|
+
[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"]]
|
1039
1015
|
Rendered text template (0.0ms)
|
1040
|
-
Completed 200 OK in 1ms (Views: 0.
|
1041
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1016
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
1017
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:13 +0000
|
1042
1018
|
Processing by ExampleController#restricted as HTML
|
1043
1019
|
Authenticating with gds_sso strategy
|
1044
1020
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1045
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1046
|
-
Started GET "/auth/gds/callback?code=
|
1021
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-03-02 14:30:13 +0000
|
1022
|
+
Started GET "/auth/gds/callback?code=15b9ba3e07690c6db51b357a084750c4f0d2bcb6687acb93d5a64074c38b7cf4&state=13016dbd3c76bd970b967c37c6e6db88e55df6e956f65e16" for 127.0.0.1 at 2020-03-02 14:30:13 +0000
|
1047
1023
|
Processing by AuthenticationsController#callback as HTML
|
1048
|
-
Parameters: {"code"=>"
|
1024
|
+
Parameters: {"code"=>"15b9ba3e07690c6db51b357a084750c4f0d2bcb6687acb93d5a64074c38b7cf4", "state"=>"13016dbd3c76bd970b967c37c6e6db88e55df6e956f65e16"}
|
1049
1025
|
Authenticating with gds_sso strategy
|
1050
|
-
[1m[
|
1051
|
-
[1m[
|
1052
|
-
[1m[
|
1053
|
-
[1m[
|
1054
|
-
[1m[
|
1026
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
1027
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1028
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1029
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1030
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1055
1031
|
Redirected to http://www.example-client.com/restricted
|
1056
1032
|
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
1057
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1033
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:13 +0000
|
1058
1034
|
Processing by ExampleController#restricted as HTML
|
1059
|
-
[1m[
|
1035
|
+
[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"]]
|
1060
1036
|
Rendered text template (0.0ms)
|
1061
1037
|
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
1062
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1038
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-03-03 10:35:13 +0000
|
1039
|
+
Processing by ExampleController#restricted as HTML
|
1040
|
+
Authenticating with gds_sso strategy
|
1041
|
+
Completed in 0ms (ActiveRecord: 0.0ms)
|
1042
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-03-03 10:35:13 +0000
|
1043
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:13 +0000
|
1063
1044
|
Processing by ExampleController#restricted as HTML
|
1064
1045
|
Authenticating with gds_sso strategy
|
1065
1046
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1066
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1067
|
-
Started GET "/auth/gds/callback?code=
|
1047
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-03-02 14:30:13 +0000
|
1048
|
+
Started GET "/auth/gds/callback?code=95669eeef70fddf935f37a9e082a21c4d4d29f30ff355011aee035459a209941&state=190ad76b731783db4fb8201905d65d645e815e20be639000" for 127.0.0.1 at 2020-03-02 14:30:13 +0000
|
1068
1049
|
Processing by AuthenticationsController#callback as HTML
|
1069
|
-
Parameters: {"code"=>"
|
1050
|
+
Parameters: {"code"=>"95669eeef70fddf935f37a9e082a21c4d4d29f30ff355011aee035459a209941", "state"=>"190ad76b731783db4fb8201905d65d645e815e20be639000"}
|
1070
1051
|
Authenticating with gds_sso strategy
|
1071
|
-
[1m[
|
1072
|
-
[1m[
|
1073
|
-
[1m[
|
1074
|
-
[1m[
|
1075
|
-
[1m[
|
1052
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
1053
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1054
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1055
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1056
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1076
1057
|
Redirected to http://www.example-client.com/restricted
|
1077
|
-
Completed 302 Found in 4ms (ActiveRecord: 0.
|
1078
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1058
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
|
1059
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:13 +0000
|
1079
1060
|
Processing by ExampleController#restricted as HTML
|
1080
|
-
[1m[
|
1061
|
+
[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"]]
|
1081
1062
|
Rendered text template (0.0ms)
|
1082
|
-
Completed 200 OK in 1ms (Views: 0.
|
1083
|
-
[1m[
|
1084
|
-
[1m[
|
1085
|
-
[1m[
|
1086
|
-
[1m[
|
1087
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1063
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
1064
|
+
[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"]]
|
1065
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1066
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 1]]
|
1067
|
+
[1m[36m (5.9ms)[0m [1mcommit transaction[0m
|
1068
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:13 +0000
|
1088
1069
|
Processing by ExampleController#restricted as HTML
|
1089
|
-
[1m[
|
1070
|
+
[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"]]
|
1090
1071
|
Authenticating with gds_sso strategy
|
1091
1072
|
Completed in 1ms (ActiveRecord: 0.1ms)
|
1092
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1093
|
-
Started GET "/auth/gds/callback?code=
|
1073
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-03-02 14:30:13 +0000
|
1074
|
+
Started GET "/auth/gds/callback?code=3a476b2813ed5ee3c0192a09318149e921a04fc20da35f0bee773ea5dd4260a7&state=98cd0ee42509e856d23aab42d6bb804f4094de674b7cf362" for 127.0.0.1 at 2020-03-02 14:30:13 +0000
|
1094
1075
|
Processing by AuthenticationsController#callback as HTML
|
1095
|
-
Parameters: {"code"=>"
|
1076
|
+
Parameters: {"code"=>"3a476b2813ed5ee3c0192a09318149e921a04fc20da35f0bee773ea5dd4260a7", "state"=>"98cd0ee42509e856d23aab42d6bb804f4094de674b7cf362"}
|
1096
1077
|
Authenticating with gds_sso strategy
|
1097
|
-
[1m[
|
1098
|
-
[1m[
|
1099
|
-
[1m[
|
1100
|
-
[1m[
|
1101
|
-
[1m[
|
1102
|
-
[1m[
|
1078
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
1079
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1080
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1081
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1082
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id", 1]]
|
1083
|
+
[1m[35m (18.8ms)[0m commit transaction
|
1103
1084
|
Redirected to http://www.example-client.com/restricted
|
1104
|
-
Completed 302 Found in
|
1105
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1085
|
+
Completed 302 Found in 23ms (ActiveRecord: 19.3ms)
|
1086
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:14 +0000
|
1106
1087
|
Processing by ExampleController#restricted as HTML
|
1107
|
-
[1m[
|
1088
|
+
[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"]]
|
1108
1089
|
Rendered text template (0.0ms)
|
1109
1090
|
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
1110
|
-
|
1111
|
-
|
1112
|
-
|
1113
|
-
|
1114
|
-
[1m[
|
1115
|
-
[1m[
|
1116
|
-
Processing by Api::UserController#update as HTML
|
1117
|
-
Parameters: {"uid"=>"a1s2d33715"}
|
1118
|
-
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
1119
|
-
Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.3ms)
|
1120
|
-
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
1121
|
-
Completed 403 Forbidden in 8ms (Views: 7.5ms | ActiveRecord: 0.0ms)
|
1122
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1123
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d3115"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
1124
|
-
[1m[36m (4.7ms)[0m [1mcommit transaction[0m
|
1125
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1126
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d38221"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1127
|
-
[1m[35m (3.4ms)[0m commit transaction
|
1128
|
-
Processing by Api::UserController#update as HTML
|
1129
|
-
Parameters: {"uid"=>"a1s2d3115"}
|
1130
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "a1s2d3115"]]
|
1091
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:14 +0000
|
1092
|
+
Processing by ExampleController#restricted as HTML
|
1093
|
+
Authenticating with gds_sso strategy
|
1094
|
+
Completed in 0ms (ActiveRecord: 0.0ms)
|
1095
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "asd"]]
|
1096
|
+
[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"]]
|
1131
1097
|
[1m[35m (0.0ms)[0m begin transaction
|
1132
|
-
[1m[36mSQL (0.2ms)[0m [
|
1098
|
+
[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]]
|
1133
1099
|
[1m[35m (3.7ms)[0m commit transaction
|
1134
|
-
|
1135
|
-
[1m[
|
1100
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "asd"]]
|
1101
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1102
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1103
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "dummyapiuser@domain.com"]]
|
1104
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1105
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email", "uid", "name", "permissions") VALUES (?, ?, ?, ?) [["email", "dummyapiuser@domain.com"], ["uid", "2118"], ["name", "Dummy API user created by gds-sso"], ["permissions", "---\n- signin\n"]]
|
1106
|
+
[1m[36m (3.9ms)[0m [1mcommit transaction[0m
|
1136
1107
|
[1m[35m (0.0ms)[0m begin transaction
|
1137
|
-
[1m[36mSQL (0.2ms)[0m [
|
1138
|
-
[1m[35m (3.
|
1108
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = ?[0m [["permissions", "---\n- signin\n- extra_permission\n"], ["id", 3]]
|
1109
|
+
[1m[35m (3.5ms)[0m commit transaction
|
1139
1110
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1140
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "
|
1141
|
-
[1m[36m (
|
1111
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d37628"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
1112
|
+
[1m[36m (3.7ms)[0m [1mcommit transaction[0m
|
1113
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1114
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d34291"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1115
|
+
[1m[35m (3.9ms)[0m commit transaction
|
1142
1116
|
Processing by Api::UserController#reauth as HTML
|
1143
|
-
Parameters: {"uid"=>"
|
1144
|
-
|
1145
|
-
|
1146
|
-
|
1147
|
-
|
1117
|
+
Parameters: {"uid"=>"a1s2d37628"}
|
1118
|
+
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
1119
|
+
Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.3ms)
|
1120
|
+
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
1121
|
+
Completed 403 Forbidden in 7ms (Views: 6.5ms | ActiveRecord: 0.0ms)
|
1122
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1123
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d35348"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
1148
1124
|
[1m[36m (3.7ms)[0m [1mcommit transaction[0m
|
1149
1125
|
[1m[35m (0.0ms)[0m begin transaction
|
1150
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "
|
1151
|
-
[1m[35m (
|
1126
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d35349"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1127
|
+
[1m[35m (4.0ms)[0m commit transaction
|
1152
1128
|
Processing by Api::UserController#reauth as HTML
|
1153
|
-
Parameters: {"uid"=>"
|
1154
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "
|
1155
|
-
|
1156
|
-
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "t"], ["id", 10]]
|
1157
|
-
[1m[35m (3.2ms)[0m commit transaction
|
1158
|
-
Completed 200 OK in 5ms (ActiveRecord: 3.5ms)
|
1159
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 10]]
|
1129
|
+
Parameters: {"uid"=>"nonexistent-user"}
|
1130
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "nonexistent-user"]]
|
1131
|
+
Completed 200 OK in 1ms (ActiveRecord: 0.1ms)
|
1160
1132
|
[1m[35m (0.0ms)[0m begin transaction
|
1161
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "
|
1162
|
-
[1m[35m (
|
1133
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d37757"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
1134
|
+
[1m[35m (5.4ms)[0m commit transaction
|
1163
1135
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1164
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "
|
1136
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d39708"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1165
1137
|
[1m[36m (3.9ms)[0m [1mcommit transaction[0m
|
1166
1138
|
Processing by Api::UserController#reauth as HTML
|
1167
|
-
Parameters: {"uid"=>"
|
1139
|
+
Parameters: {"uid"=>"a1s2d37757"}
|
1140
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "a1s2d37757"]]
|
1141
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1142
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 8]]
|
1143
|
+
[1m[36m (2.5ms)[0m [1mcommit transaction[0m
|
1144
|
+
Completed 200 OK in 4ms (ActiveRecord: 2.8ms)
|
1145
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 8]]
|
1146
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1147
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d36279"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
1148
|
+
[1m[36m (3.7ms)[0m [1mcommit transaction[0m
|
1149
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1150
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d3930"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1151
|
+
[1m[35m (3.4ms)[0m commit transaction
|
1152
|
+
Processing by Api::UserController#update as HTML
|
1153
|
+
Parameters: {"uid"=>"a1s2d36279"}
|
1168
1154
|
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
1169
|
-
Rendered /var/lib/jenkins/workspace/gds-sso_master
|
1155
|
+
Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
|
1170
1156
|
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
1171
|
-
Completed 403 Forbidden in 1ms (Views: 0.
|
1172
|
-
[1m[
|
1173
|
-
[1m[
|
1174
|
-
[1m[
|
1175
|
-
[1m[35m (
|
1157
|
+
Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
|
1158
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1159
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d33911"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
1160
|
+
[1m[36m (6.8ms)[0m [1mcommit transaction[0m
|
1161
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1162
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d32990"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1163
|
+
[1m[35m (4.8ms)[0m commit transaction
|
1164
|
+
Processing by Api::UserController#update as HTML
|
1165
|
+
Parameters: {"uid"=>"a1s2d33911"}
|
1166
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "a1s2d33911"]]
|
1167
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1168
|
+
[1m[36mSQL (0.3ms)[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", 12]]
|
1169
|
+
[1m[35m (6.5ms)[0m commit transaction
|
1170
|
+
Completed 200 OK in 10ms (ActiveRecord: 6.9ms)
|
1171
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 12]]
|
1172
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "users"[0m
|
1173
|
+
[1m[35m (1.2ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
1174
|
+
[1m[35m (3.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
|
1175
|
+
[1m[35m (4.5ms)[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
|
1176
1176
|
[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]]
|
1177
1177
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1178
|
-
[1m[36mActiveRecord::InternalMetadata Create (0.2ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "
|
1179
|
-
[1m[35m (
|
1180
|
-
[1m[35m (
|
1178
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.2ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2020-03-02 14:30:20.186663"], ["updated_at", "2020-03-02 14:30:20.186663"]]
|
1179
|
+
[1m[35m (3.2ms)[0m [1m[36mcommit transaction[0m
|
1180
|
+
[1m[35m (5.7ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
1181
1181
|
[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]]
|
1182
|
-
[1m[35m (0.
|
1183
|
-
[1m[35m (0.
|
1182
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1183
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1184
1184
|
[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]]
|
1185
1185
|
[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]]
|
1186
1186
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1187
1187
|
[1m[36mUser Create (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]]
|
1188
|
-
[1m[35m (3.
|
1188
|
+
[1m[35m (3.9ms)[0m [1m[36mcommit transaction[0m
|
1189
1189
|
[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]]
|
1190
1190
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1191
1191
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1192
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1192
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:20 +0000
|
1193
1193
|
Processing by ExampleController#restricted as HTML
|
1194
1194
|
Authenticating with gds_sso strategy
|
1195
1195
|
Completed in 5ms (ActiveRecord: 0.0ms)
|
1196
|
-
Started GET "/" for 127.0.0.1 at
|
1197
|
-
Processing by ExampleController#index as HTML
|
1198
|
-
Rendering text template
|
1199
|
-
Rendered text template (0.0ms)
|
1200
|
-
Completed 200 OK in 4ms (Views: 4.2ms | ActiveRecord: 0.0ms)
|
1201
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:37:16 +0000
|
1196
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:20 +0000
|
1202
1197
|
Processing by ExampleController#restricted as HTML
|
1203
1198
|
Authenticating with gds_sso strategy
|
1204
1199
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1205
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1206
|
-
Started GET "/auth/gds/callback?code=
|
1200
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-03-02 14:30:20 +0000
|
1201
|
+
Started GET "/auth/gds/callback?code=626790cbc5ceba33fa24e7224b17c82d37bc78f8df92274c1c794222f36f96ff&state=9bb03a8550932fe10fc993b13a886530d8e2467c3401a2c5" for 127.0.0.1 at 2020-03-02 14:30:20 +0000
|
1207
1202
|
Processing by AuthenticationsController#callback as HTML
|
1208
|
-
Parameters: {"code"=>"
|
1203
|
+
Parameters: {"code"=>"626790cbc5ceba33fa24e7224b17c82d37bc78f8df92274c1c794222f36f96ff", "state"=>"9bb03a8550932fe10fc993b13a886530d8e2467c3401a2c5"}
|
1209
1204
|
Authenticating with gds_sso strategy
|
1210
1205
|
[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]]
|
1211
1206
|
[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]]
|
1212
1207
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1213
1208
|
[1m[36mUser Create (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"]]
|
1214
|
-
[1m[35m (
|
1215
|
-
[1m[35m (0.
|
1209
|
+
[1m[35m (5.1ms)[0m [1m[36mcommit transaction[0m
|
1210
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1216
1211
|
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id", 2]]
|
1217
|
-
[1m[35m (
|
1212
|
+
[1m[35m (5.2ms)[0m [1m[36mcommit transaction[0m
|
1218
1213
|
Redirected to http://www.example-client.com/restricted
|
1219
|
-
Completed 302 Found in
|
1220
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1214
|
+
Completed 302 Found in 16ms (ActiveRecord: 11.3ms)
|
1215
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:21 +0000
|
1221
1216
|
Processing by ExampleController#restricted as HTML
|
1222
1217
|
[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]]
|
1223
1218
|
Rendering text template
|
1224
1219
|
Rendered text template (0.0ms)
|
1225
|
-
Completed 200 OK in
|
1226
|
-
Started GET "/
|
1220
|
+
Completed 200 OK in 4ms (Views: 2.6ms | ActiveRecord: 0.2ms)
|
1221
|
+
Started GET "/" for 127.0.0.1 at 2020-03-02 14:30:21 +0000
|
1222
|
+
Processing by ExampleController#index as HTML
|
1223
|
+
Rendering text template
|
1224
|
+
Rendered text template (0.0ms)
|
1225
|
+
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
1226
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:21 +0000
|
1227
1227
|
Processing by ExampleController#restricted as HTML
|
1228
1228
|
Authenticating with gds_sso strategy
|
1229
1229
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1230
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1231
|
-
Started GET "/auth/gds/callback?code=
|
1230
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-03-02 14:30:21 +0000
|
1231
|
+
Started GET "/auth/gds/callback?code=7a1ca26d7a6215c7696dbea073651aabf12a9476c14f3261329d857fcfe58530&state=7f9ab544e0b3ba84927f418032838afef62945a7eb4348da" for 127.0.0.1 at 2020-03-02 14:30:21 +0000
|
1232
1232
|
Processing by AuthenticationsController#callback as HTML
|
1233
|
-
Parameters: {"code"=>"
|
1233
|
+
Parameters: {"code"=>"7a1ca26d7a6215c7696dbea073651aabf12a9476c14f3261329d857fcfe58530", "state"=>"7f9ab544e0b3ba84927f418032838afef62945a7eb4348da"}
|
1234
1234
|
Authenticating with gds_sso strategy
|
1235
1235
|
[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]]
|
1236
1236
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1237
1237
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1238
|
-
[1m[35m (0.
|
1238
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1239
1239
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1240
1240
|
Redirected to http://www.example-client.com/restricted
|
1241
1241
|
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
1242
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1242
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:21 +0000
|
1243
1243
|
Processing by ExampleController#restricted as HTML
|
1244
1244
|
[1m[36mUser Load (0.1ms)[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]]
|
1245
1245
|
Rendering text template
|
1246
1246
|
Rendered text template (0.0ms)
|
1247
1247
|
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
1248
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1248
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:21 +0000
|
1249
1249
|
Processing by ExampleController#restricted as HTML
|
1250
1250
|
Authenticating with gds_sso strategy
|
1251
1251
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1252
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1253
|
-
Started GET "/auth/gds/callback?code=
|
1252
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-03-02 14:30:21 +0000
|
1253
|
+
Started GET "/auth/gds/callback?code=b16dcb8e40320f38403e25cd0c23c56e5a3480752a950a5fc212fc875daefde0&state=04a2f73151bfd8a64f2ff4241c137eb3e42328102142c300" for 127.0.0.1 at 2020-03-02 14:30:21 +0000
|
1254
1254
|
Processing by AuthenticationsController#callback as HTML
|
1255
|
-
Parameters: {"code"=>"
|
1255
|
+
Parameters: {"code"=>"b16dcb8e40320f38403e25cd0c23c56e5a3480752a950a5fc212fc875daefde0", "state"=>"04a2f73151bfd8a64f2ff4241c137eb3e42328102142c300"}
|
1256
1256
|
Authenticating with gds_sso strategy
|
1257
1257
|
[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]]
|
1258
1258
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
@@ -1261,20 +1261,20 @@ Authenticating with gds_sso strategy
|
|
1261
1261
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1262
1262
|
Redirected to http://www.example-client.com/restricted
|
1263
1263
|
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
1264
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1264
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:21 +0000
|
1265
1265
|
Processing by ExampleController#restricted as HTML
|
1266
1266
|
[1m[36mUser Load (0.1ms)[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]]
|
1267
1267
|
Rendering text template
|
1268
1268
|
Rendered text template (0.0ms)
|
1269
1269
|
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
1270
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at
|
1270
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-03-02 14:30:21 +0000
|
1271
1271
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
1272
1272
|
Authenticating with gds_sso strategy
|
1273
1273
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1274
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1275
|
-
Started GET "/auth/gds/callback?code=
|
1274
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-03-02 14:30:21 +0000
|
1275
|
+
Started GET "/auth/gds/callback?code=c5067ee091130c71216b3b8b91b03b96a72786634d88126fc1daac4dd7c73746&state=c279600a9c2ba5699334bfc8945825e5bde3472b484d0ee5" for 127.0.0.1 at 2020-03-02 14:30:21 +0000
|
1276
1276
|
Processing by AuthenticationsController#callback as HTML
|
1277
|
-
Parameters: {"code"=>"
|
1277
|
+
Parameters: {"code"=>"c5067ee091130c71216b3b8b91b03b96a72786634d88126fc1daac4dd7c73746", "state"=>"c279600a9c2ba5699334bfc8945825e5bde3472b484d0ee5"}
|
1278
1278
|
Authenticating with gds_sso strategy
|
1279
1279
|
[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]]
|
1280
1280
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
@@ -1282,43 +1282,43 @@ Authenticating with gds_sso strategy
|
|
1282
1282
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1283
1283
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1284
1284
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
1285
|
-
Completed 302 Found in
|
1286
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at
|
1285
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
|
1286
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-03-02 14:30:21 +0000
|
1287
1287
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
1288
1288
|
[1m[36mUser Load (0.1ms)[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]]
|
1289
1289
|
Rendering text template
|
1290
1290
|
Rendered text template (0.0ms)
|
1291
1291
|
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
1292
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at
|
1292
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-03-02 14:30:21 +0000
|
1293
1293
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
1294
1294
|
Authenticating with gds_sso strategy
|
1295
1295
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1296
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1297
|
-
Started GET "/auth/gds/callback?code=
|
1296
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-03-02 14:30:21 +0000
|
1297
|
+
Started GET "/auth/gds/callback?code=ce170146f1a9fc5c8b1ca145de07d59f0db643828a1f59af5081c5278e00de6d&state=bd1c94079d6f5db32407967b9c274ad8e62eb4f2db479bcd" for 127.0.0.1 at 2020-03-02 14:30:21 +0000
|
1298
1298
|
Processing by AuthenticationsController#callback as HTML
|
1299
|
-
Parameters: {"code"=>"
|
1299
|
+
Parameters: {"code"=>"ce170146f1a9fc5c8b1ca145de07d59f0db643828a1f59af5081c5278e00de6d", "state"=>"bd1c94079d6f5db32407967b9c274ad8e62eb4f2db479bcd"}
|
1300
1300
|
Authenticating with gds_sso strategy
|
1301
1301
|
[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]]
|
1302
1302
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1303
|
-
[1m[35m (0.
|
1303
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1304
1304
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1305
1305
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1306
1306
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
1307
|
-
Completed 302 Found in
|
1308
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at
|
1307
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
|
1308
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-03-02 14:30:21 +0000
|
1309
1309
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
1310
1310
|
[1m[36mUser Load (0.1ms)[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]]
|
1311
1311
|
Rendering text template
|
1312
1312
|
Rendered text template (0.0ms)
|
1313
1313
|
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
1314
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1314
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:21 +0000
|
1315
1315
|
Processing by ExampleController#restricted as HTML
|
1316
1316
|
Authenticating with gds_sso strategy
|
1317
1317
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1318
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1319
|
-
Started GET "/auth/gds/callback?code=
|
1318
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-03-02 14:30:21 +0000
|
1319
|
+
Started GET "/auth/gds/callback?code=8e00c01772841ff655c5d18d34825c00956262dacb5bc11c8964766111fa5207&state=ec05d99780afc9407694c9127cd060c0324cd7121b2a7b69" for 127.0.0.1 at 2020-03-02 14:30:21 +0000
|
1320
1320
|
Processing by AuthenticationsController#callback as HTML
|
1321
|
-
Parameters: {"code"=>"
|
1321
|
+
Parameters: {"code"=>"8e00c01772841ff655c5d18d34825c00956262dacb5bc11c8964766111fa5207", "state"=>"ec05d99780afc9407694c9127cd060c0324cd7121b2a7b69"}
|
1322
1322
|
Authenticating with gds_sso strategy
|
1323
1323
|
[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]]
|
1324
1324
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
@@ -1326,98 +1326,93 @@ Authenticating with gds_sso strategy
|
|
1326
1326
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1327
1327
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1328
1328
|
Redirected to http://www.example-client.com/restricted
|
1329
|
-
Completed 302 Found in 4ms (ActiveRecord: 0.
|
1330
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1329
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
|
1330
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:22 +0000
|
1331
1331
|
Processing by ExampleController#restricted as HTML
|
1332
1332
|
[1m[36mUser Load (0.1ms)[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]]
|
1333
1333
|
Rendering text template
|
1334
1334
|
Rendered text template (0.0ms)
|
1335
1335
|
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
1336
|
-
|
1336
|
+
[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]]
|
1337
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1338
|
+
[1m[36mUser Update (0.3ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "t"], ["id", 2]]
|
1339
|
+
[1m[35m (3.3ms)[0m [1m[36mcommit transaction[0m
|
1340
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:22 +0000
|
1337
1341
|
Processing by ExampleController#restricted as HTML
|
1342
|
+
[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]]
|
1338
1343
|
Authenticating with gds_sso strategy
|
1339
|
-
Completed in
|
1340
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1341
|
-
Started GET "/auth/gds/callback?code=
|
1344
|
+
Completed in 1ms (ActiveRecord: 0.2ms)
|
1345
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-03-02 14:30:22 +0000
|
1346
|
+
Started GET "/auth/gds/callback?code=a837e0cb98b649eced542dee4503af1d5d69c71f3b06e9f283b391c17045d839&state=b5cc52d039fed338ce80f9fd2a9e7af207922325a01ca0c4" for 127.0.0.1 at 2020-03-02 14:30:22 +0000
|
1342
1347
|
Processing by AuthenticationsController#callback as HTML
|
1343
|
-
Parameters: {"code"=>"
|
1348
|
+
Parameters: {"code"=>"a837e0cb98b649eced542dee4503af1d5d69c71f3b06e9f283b391c17045d839", "state"=>"b5cc52d039fed338ce80f9fd2a9e7af207922325a01ca0c4"}
|
1344
1349
|
Authenticating with gds_sso strategy
|
1345
1350
|
[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]]
|
1346
1351
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1347
|
-
[1m[35m (0.
|
1352
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1348
1353
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1349
|
-
[1m[
|
1354
|
+
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id", 2]]
|
1355
|
+
[1m[35m (7.3ms)[0m [1m[36mcommit transaction[0m
|
1350
1356
|
Redirected to http://www.example-client.com/restricted
|
1351
|
-
Completed 302 Found in
|
1352
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1357
|
+
Completed 302 Found in 11ms (ActiveRecord: 7.9ms)
|
1358
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:22 +0000
|
1353
1359
|
Processing by ExampleController#restricted as HTML
|
1354
1360
|
[1m[36mUser Load (0.1ms)[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]]
|
1355
1361
|
Rendering text template
|
1356
1362
|
Rendered text template (0.0ms)
|
1357
|
-
Completed 200 OK in
|
1358
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1363
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
1364
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:22 +0000
|
1359
1365
|
Processing by ExampleController#restricted as HTML
|
1360
1366
|
Authenticating with gds_sso strategy
|
1361
1367
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1362
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1363
|
-
Started GET "/auth/gds/callback?code=
|
1368
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-03-02 14:30:22 +0000
|
1369
|
+
Started GET "/auth/gds/callback?code=09bb090192a3fb641c49521957157840b3250ccda499b4ccdd5aaf3797b7cec5&state=8a26a0f2a5c76d7081c032c348e7563af4cb3d1bcc72190a" for 127.0.0.1 at 2020-03-02 14:30:22 +0000
|
1364
1370
|
Processing by AuthenticationsController#callback as HTML
|
1365
|
-
Parameters: {"code"=>"
|
1371
|
+
Parameters: {"code"=>"09bb090192a3fb641c49521957157840b3250ccda499b4ccdd5aaf3797b7cec5", "state"=>"8a26a0f2a5c76d7081c032c348e7563af4cb3d1bcc72190a"}
|
1366
1372
|
Authenticating with gds_sso strategy
|
1367
1373
|
[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]]
|
1368
1374
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1369
|
-
[1m[35m (0.
|
1375
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1370
1376
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1371
|
-
[1m[35m (0.
|
1377
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1372
1378
|
Redirected to http://www.example-client.com/restricted
|
1373
1379
|
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
1374
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1380
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:22 +0000
|
1375
1381
|
Processing by ExampleController#restricted as HTML
|
1376
1382
|
[1m[36mUser Load (0.1ms)[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]]
|
1377
1383
|
Rendering text template
|
1378
1384
|
Rendered text template (0.0ms)
|
1379
|
-
Completed 200 OK in
|
1380
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1385
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
1386
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-03-03 10:35:22 +0000
|
1381
1387
|
Processing by ExampleController#restricted as HTML
|
1382
1388
|
Authenticating with gds_sso strategy
|
1383
1389
|
Completed in 1ms (ActiveRecord: 0.0ms)
|
1384
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1385
|
-
Started GET "/
|
1386
|
-
Processing by ExampleController#restricted as HTML
|
1387
|
-
Authenticating with gds_sso strategy
|
1388
|
-
Completed in 0ms (ActiveRecord: 0.0ms)
|
1389
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2019-11-05 10:37:18 +0000
|
1390
|
-
Started GET "/auth/gds/callback?code=4980c916a888a66457c5c984268d7867a04bb14c635a06ec75075f73beb6a0ec&state=fd0776eb9d3c5dda9207e87e3878d7353df8534299dafd65" for 127.0.0.1 at 2019-11-05 10:37:18 +0000
|
1390
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-03-03 10:35:22 +0000
|
1391
|
+
Started GET "/auth/gds/callback?code=c9423215c28c868fccb983d4ca9d72d3a7d88e4f6ef854e1c558e9e1f8afc0a9&state=c93fe7a89ba326850f02ebac1ad95edca138e89cae6be8bc" for 127.0.0.1 at 2020-03-03 10:35:22 +0000
|
1391
1392
|
Processing by AuthenticationsController#callback as HTML
|
1392
|
-
Parameters: {"code"=>"
|
1393
|
+
Parameters: {"code"=>"c9423215c28c868fccb983d4ca9d72d3a7d88e4f6ef854e1c558e9e1f8afc0a9", "state"=>"c93fe7a89ba326850f02ebac1ad95edca138e89cae6be8bc"}
|
1393
1394
|
Authenticating with gds_sso strategy
|
1394
|
-
[1m[36mUser Load (0.
|
1395
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1395
1396
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1396
1397
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1397
1398
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1398
1399
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1399
1400
|
Redirected to http://www.example-client.com/restricted
|
1400
|
-
Completed 302 Found in
|
1401
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1401
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
|
1402
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-03-03 10:35:22 +0000
|
1402
1403
|
Processing by ExampleController#restricted as HTML
|
1403
1404
|
[1m[36mUser Load (0.1ms)[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]]
|
1404
1405
|
Rendering text template
|
1405
1406
|
Rendered text template (0.0ms)
|
1406
1407
|
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
1407
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1408
|
-
Processing by ExampleController#restricted as HTML
|
1409
|
-
[1m[36mUser Load (0.1ms)[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]]
|
1410
|
-
Rendering text template
|
1411
|
-
Rendered text template (0.0ms)
|
1412
|
-
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
1413
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:37:18 +0000
|
1408
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:22 +0000
|
1414
1409
|
Processing by ExampleController#restricted as HTML
|
1415
1410
|
Authenticating with gds_sso strategy
|
1416
1411
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1417
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1418
|
-
Started GET "/auth/gds/callback?code=
|
1412
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-03-02 14:30:22 +0000
|
1413
|
+
Started GET "/auth/gds/callback?code=fc42762943c3692c1bac1d077ce46106280af432c787a006968631eca7f18a8e&state=46ee961f49dee5ee19c62b5fc7ce19b947da04b571fdedfd" for 127.0.0.1 at 2020-03-02 14:30:22 +0000
|
1419
1414
|
Processing by AuthenticationsController#callback as HTML
|
1420
|
-
Parameters: {"code"=>"
|
1415
|
+
Parameters: {"code"=>"fc42762943c3692c1bac1d077ce46106280af432c787a006968631eca7f18a8e", "state"=>"46ee961f49dee5ee19c62b5fc7ce19b947da04b571fdedfd"}
|
1421
1416
|
Authenticating with gds_sso strategy
|
1422
1417
|
[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]]
|
1423
1418
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
@@ -1426,73 +1421,75 @@ Authenticating with gds_sso strategy
|
|
1426
1421
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1427
1422
|
Redirected to http://www.example-client.com/restricted
|
1428
1423
|
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
1429
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1424
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:22 +0000
|
1430
1425
|
Processing by ExampleController#restricted as HTML
|
1431
|
-
[1m[36mUser Load (0.
|
1426
|
+
[1m[36mUser Load (0.1ms)[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]]
|
1432
1427
|
Rendering text template
|
1433
1428
|
Rendered text template (0.0ms)
|
1434
|
-
Completed 200 OK in
|
1435
|
-
|
1436
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1437
|
-
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "t"], ["id", 2]]
|
1438
|
-
[1m[35m (4.5ms)[0m [1m[36mcommit transaction[0m
|
1439
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:37:18 +0000
|
1429
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
1430
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-03-03 10:35:22 +0000
|
1440
1431
|
Processing by ExampleController#restricted as HTML
|
1441
|
-
[1m[36mUser Load (0.1ms)[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]]
|
1442
1432
|
Authenticating with gds_sso strategy
|
1443
|
-
Completed in 1ms (ActiveRecord: 0.
|
1444
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1445
|
-
Started GET "/
|
1433
|
+
Completed in 1ms (ActiveRecord: 0.0ms)
|
1434
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-03-03 10:35:22 +0000
|
1435
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:22 +0000
|
1436
|
+
Processing by ExampleController#restricted as HTML
|
1437
|
+
Authenticating with gds_sso strategy
|
1438
|
+
Completed in 0ms (ActiveRecord: 0.0ms)
|
1439
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-03-02 14:30:22 +0000
|
1440
|
+
Started GET "/auth/gds/callback?code=10ac9f7faf9d82745efd4d8c9964a65a31fa5559dbf3945c94f91b8aa28eb737&state=19ef884d3d6f613b15aede46430ada937b86469378a5da77" for 127.0.0.1 at 2020-03-02 14:30:22 +0000
|
1446
1441
|
Processing by AuthenticationsController#callback as HTML
|
1447
|
-
Parameters: {"code"=>"
|
1442
|
+
Parameters: {"code"=>"10ac9f7faf9d82745efd4d8c9964a65a31fa5559dbf3945c94f91b8aa28eb737", "state"=>"19ef884d3d6f613b15aede46430ada937b86469378a5da77"}
|
1448
1443
|
Authenticating with gds_sso strategy
|
1449
1444
|
[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]]
|
1450
1445
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1451
1446
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1452
|
-
[1m[35m (0.
|
1453
|
-
[1m[
|
1454
|
-
[1m[35m (3.8ms)[0m [1m[36mcommit transaction[0m
|
1447
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1448
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1455
1449
|
Redirected to http://www.example-client.com/restricted
|
1456
|
-
Completed 302 Found in
|
1457
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1450
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
|
1451
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:22 +0000
|
1458
1452
|
Processing by ExampleController#restricted as HTML
|
1459
1453
|
[1m[36mUser Load (0.1ms)[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]]
|
1460
1454
|
Rendering text template
|
1461
1455
|
Rendered text template (0.0ms)
|
1462
|
-
Completed 200 OK in
|
1463
|
-
Started GET "/
|
1464
|
-
Processing by ExampleController#
|
1465
|
-
[1m[36mUser Load (0.
|
1466
|
-
|
1467
|
-
|
1468
|
-
|
1456
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
1457
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-03-03 10:25:22 +0000
|
1458
|
+
Processing by ExampleController#restricted as HTML
|
1459
|
+
[1m[36mUser Load (0.1ms)[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]]
|
1460
|
+
Rendering text template
|
1461
|
+
Rendered text template (0.0ms)
|
1462
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
1463
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:22 +0000
|
1464
|
+
Processing by ExampleController#restricted as JSON
|
1469
1465
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1470
|
-
[1m[35m (0.
|
1466
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1467
|
+
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "disabled" = ? WHERE "users"."id" = ?[0m [["disabled", nil], ["id", 2]]
|
1468
|
+
[1m[35m (7.4ms)[0m [1m[36mcommit transaction[0m
|
1469
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1470
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1471
1471
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1472
1472
|
[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]]
|
1473
|
-
[1m[35m (0.
|
1473
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1474
1474
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1475
1475
|
[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]]
|
1476
|
-
[1m[35m (0.
|
1477
|
-
[1m[35m (0.
|
1476
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1477
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1478
1478
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1479
1479
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1480
1480
|
Rendering text template
|
1481
1481
|
Rendered text template (0.0ms)
|
1482
|
-
Completed 200 OK in
|
1483
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1482
|
+
Completed 200 OK in 62ms (Views: 0.3ms | ActiveRecord: 8.3ms)
|
1483
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:22 +0000
|
1484
1484
|
Processing by ExampleController#restricted as JSON
|
1485
1485
|
Completed in 12ms (ActiveRecord: 0.0ms)
|
1486
|
-
Started GET "/
|
1487
|
-
Processing by ExampleController#
|
1488
|
-
Completed in 19ms (ActiveRecord: 0.0ms)
|
1489
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:37:18 +0000
|
1490
|
-
Processing by ExampleController#restricted as JSON
|
1486
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-03-02 14:30:23 +0000
|
1487
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
1491
1488
|
[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]]
|
1492
1489
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1493
|
-
[1m[35m (0.
|
1490
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1494
1491
|
[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]]
|
1495
|
-
[1m[35m (0.
|
1492
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1496
1493
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1497
1494
|
[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]]
|
1498
1495
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
@@ -1504,75 +1501,78 @@ Processing by ExampleController#restricted as JSON
|
|
1504
1501
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1505
1502
|
Rendering text template
|
1506
1503
|
Rendered text template (0.0ms)
|
1507
|
-
Completed 200 OK in
|
1508
|
-
|
1509
|
-
|
1510
|
-
|
1511
|
-
[1m[
|
1504
|
+
Completed 200 OK in 57ms (Views: 0.3ms | ActiveRecord: 0.6ms)
|
1505
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:23 +0000
|
1506
|
+
Processing by ExampleController#restricted as JSON
|
1507
|
+
Completed in 18ms (ActiveRecord: 0.0ms)
|
1508
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["email", "dummyapiuser@domain.com"], ["LIMIT", 1]]
|
1509
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1510
|
+
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Dummy API user created by gds-sso"], ["uid", "2217"], ["email", "dummyapiuser@domain.com"], ["permissions", "---\n- signin\n"]]
|
1511
|
+
[1m[35m (6.0ms)[0m [1m[36mcommit transaction[0m
|
1512
1512
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1513
1513
|
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = ?[0m [["permissions", "---\n- signin\n- extra_permission\n"], ["id", 3]]
|
1514
|
-
[1m[35m (
|
1514
|
+
[1m[35m (5.4ms)[0m [1m[36mcommit transaction[0m
|
1515
1515
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1516
|
-
[1m[36mUser Create (0.
|
1517
|
-
[1m[35m (
|
1516
|
+
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d33333"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1517
|
+
[1m[35m (11.3ms)[0m [1m[36mcommit transaction[0m
|
1518
1518
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1519
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "
|
1520
|
-
[1m[35m (
|
1519
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d34038"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1520
|
+
[1m[35m (5.7ms)[0m [1m[36mcommit transaction[0m
|
1521
1521
|
Processing by Api::UserController#update as HTML
|
1522
|
-
Parameters: {"uid"=>"
|
1523
|
-
Rendering /var/lib/jenkins/workspace/gds-sso_master
|
1522
|
+
Parameters: {"uid"=>"a1s2d33333"}
|
1523
|
+
Rendering /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
1524
1524
|
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
1525
|
-
Rendered /var/lib/jenkins/workspace/gds-sso_master
|
1525
|
+
Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
|
1526
1526
|
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
1527
|
-
Completed 403 Forbidden in
|
1527
|
+
Completed 403 Forbidden in 6ms (Views: 6.0ms | ActiveRecord: 0.0ms)
|
1528
1528
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1529
|
-
[1m[36mUser Create (0.
|
1530
|
-
[1m[35m (
|
1529
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d34776"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1530
|
+
[1m[35m (8.7ms)[0m [1m[36mcommit transaction[0m
|
1531
1531
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1532
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "
|
1533
|
-
[1m[35m (4.
|
1532
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d34840"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1533
|
+
[1m[35m (4.4ms)[0m [1m[36mcommit transaction[0m
|
1534
1534
|
Processing by Api::UserController#update as HTML
|
1535
|
-
Parameters: {"uid"=>"
|
1536
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "
|
1537
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1538
|
-
[1m[36mUser Update (0.3ms)[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", 6]]
|
1539
|
-
[1m[35m (3.4ms)[0m [1m[36mcommit transaction[0m
|
1540
|
-
Completed 200 OK in 6ms (ActiveRecord: 3.8ms)
|
1541
|
-
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 6], ["LIMIT", 1]]
|
1542
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1543
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d39422"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1544
|
-
[1m[35m (4.3ms)[0m [1m[36mcommit transaction[0m
|
1535
|
+
Parameters: {"uid"=>"a1s2d34776"}
|
1536
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d34776"], ["LIMIT", 1]]
|
1545
1537
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1546
|
-
[1m[36mUser
|
1538
|
+
[1m[36mUser Update (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", 6]]
|
1547
1539
|
[1m[35m (3.1ms)[0m [1m[36mcommit transaction[0m
|
1548
|
-
|
1549
|
-
|
1550
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d39422"], ["LIMIT", 1]]
|
1551
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1552
|
-
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "t"], ["id", 8]]
|
1553
|
-
[1m[35m (4.1ms)[0m [1m[36mcommit transaction[0m
|
1554
|
-
Completed 200 OK in 6ms (ActiveRecord: 4.5ms)
|
1555
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 8], ["LIMIT", 1]]
|
1540
|
+
Completed 200 OK in 6ms (ActiveRecord: 3.5ms)
|
1541
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 6], ["LIMIT", 1]]
|
1556
1542
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1557
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "
|
1558
|
-
[1m[35m (
|
1543
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d33605"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1544
|
+
[1m[35m (2.7ms)[0m [1m[36mcommit transaction[0m
|
1559
1545
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1560
|
-
[1m[36mUser Create (0.
|
1561
|
-
[1m[35m (
|
1546
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d37908"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1547
|
+
[1m[35m (5.1ms)[0m [1m[36mcommit transaction[0m
|
1562
1548
|
Processing by Api::UserController#reauth as HTML
|
1563
1549
|
Parameters: {"uid"=>"nonexistent-user"}
|
1564
1550
|
[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]]
|
1565
1551
|
Completed 200 OK in 1ms (ActiveRecord: 0.1ms)
|
1552
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1553
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d35409"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1554
|
+
[1m[35m (4.5ms)[0m [1m[36mcommit transaction[0m
|
1555
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1556
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d35522"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1557
|
+
[1m[35m (12.4ms)[0m [1m[36mcommit transaction[0m
|
1558
|
+
Processing by Api::UserController#reauth as HTML
|
1559
|
+
Parameters: {"uid"=>"a1s2d35409"}
|
1560
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d35409"], ["LIMIT", 1]]
|
1566
1561
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1567
|
-
[1m[36mUser
|
1568
|
-
[1m[35m (
|
1562
|
+
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "t"], ["id", 10]]
|
1563
|
+
[1m[35m (3.0ms)[0m [1m[36mcommit transaction[0m
|
1564
|
+
Completed 200 OK in 5ms (ActiveRecord: 3.4ms)
|
1565
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 10], ["LIMIT", 1]]
|
1569
1566
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1570
|
-
[1m[36mUser Create (0.
|
1571
|
-
[1m[35m (
|
1567
|
+
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d33382"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1568
|
+
[1m[35m (4.2ms)[0m [1m[36mcommit transaction[0m
|
1569
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1570
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d35766"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1571
|
+
[1m[35m (2.9ms)[0m [1m[36mcommit transaction[0m
|
1572
1572
|
Processing by Api::UserController#reauth as HTML
|
1573
|
-
Parameters: {"uid"=>"
|
1574
|
-
Rendering /var/lib/jenkins/workspace/gds-sso_master
|
1573
|
+
Parameters: {"uid"=>"a1s2d33382"}
|
1574
|
+
Rendering /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
1575
1575
|
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
1576
|
-
Rendered /var/lib/jenkins/workspace/gds-sso_master
|
1576
|
+
Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
|
1577
1577
|
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
1578
|
-
Completed 403 Forbidden in 1ms (Views: 0.
|
1578
|
+
Completed 403 Forbidden in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
|