gds-sso 14.1.1 → 14.2.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/bearer_token.rb +1 -1
- data/lib/gds-sso/config.rb +7 -0
- data/lib/gds-sso/version.rb +1 -1
- data/spec/internal/db/combustion_test.sqlite +0 -0
- data/spec/internal/log/test.log +891 -891
- 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: 95bf2de025de5c337a13c925d961c8c1f08bca52f77917b36d4e75e77d7345ef
|
4
|
+
data.tar.gz: 17c3bb01256c31341c9d0af13b3b3b67d0faaae52dcd46284e4d4bef277c3c0c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f668f90319293437de03aac1e89219f9cda8b835924d18afc9d6318a3c39f6241fe8988255cd3b8e61f322a54d5c1bdb23ee850f44b664114f35368857ca7960
|
7
|
+
data.tar.gz: ba086284e3ce65bc96270151f8013b90cada9ef1f2dbc4761c8a15ec91c4145cff8a57451ab279e7b485e980698ff8b21dfc0b8b6e10292b8364b0b34e61f50d
|
data/lib/gds-sso/bearer_token.rb
CHANGED
data/lib/gds-sso/config.rb
CHANGED
@@ -27,6 +27,13 @@ module GDS
|
|
27
27
|
|
28
28
|
mattr_accessor :additional_mock_permissions_required
|
29
29
|
|
30
|
+
mattr_accessor :connection_opts
|
31
|
+
@@connection_opts = {
|
32
|
+
:request => {
|
33
|
+
:open_timeout => 5,
|
34
|
+
}
|
35
|
+
}
|
36
|
+
|
30
37
|
def self.permissions_for_dummy_api_user
|
31
38
|
["signin"].push(*additional_mock_permissions_required)
|
32
39
|
end
|
data/lib/gds-sso/version.rb
CHANGED
Binary file
|
data/spec/internal/log/test.log
CHANGED
@@ -1,158 +1,166 @@
|
|
1
|
-
[1m[36m (
|
2
|
-
[1m[35m (
|
1
|
+
[1m[36m (4.6ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "uid" varchar NOT NULL, "email" varchar NOT NULL, "remotely_signed_out" boolean, "permissions" text, "organisation_slug" varchar, "organisation_content_id" varchar, "disabled" boolean DEFAULT 'f') [0m
|
2
|
+
[1m[35m (5.1ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
3
3
|
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
4
|
-
[1m[35m (
|
4
|
+
[1m[35m (6.6ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
5
5
|
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["email", "dummyapiuser@domain.com"]]
|
6
6
|
[1m[35m (0.1ms)[0m begin transaction
|
7
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "uid", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["email", "dummyapiuser@domain.com"], ["uid", "
|
8
|
-
[1m[35m (
|
7
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "uid", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["email", "dummyapiuser@domain.com"], ["uid", "7793"], ["name", "Dummy API user created by gds-sso"], ["permissions", "---\n- signin\n"]]
|
8
|
+
[1m[35m (8.0ms)[0m commit transaction
|
9
9
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
10
10
|
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = ? [["permissions", "---\n- signin\n- extra_permission\n"], ["id", 1]]
|
11
|
-
[1m[36m (
|
11
|
+
[1m[36m (6.1ms)[0m [1mcommit transaction[0m
|
12
|
+
[1m[35m (0.0ms)[0m begin transaction
|
13
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d39531"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
14
|
+
[1m[35m (3.8ms)[0m commit transaction
|
15
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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)
|
12
24
|
[1m[35m (0.1ms)[0m begin transaction
|
13
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "
|
14
|
-
[1m[35m (
|
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
|
15
27
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
16
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "
|
17
|
-
[1m[36m (
|
28
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d3998"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
29
|
+
[1m[36m (3.6ms)[0m [1mcommit transaction[0m
|
18
30
|
Processing by Api::UserController#reauth as HTML
|
19
|
-
Parameters: {"uid"=>"
|
20
|
-
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "
|
21
|
-
|
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"]]
|
33
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
34
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 4]]
|
35
|
+
[1m[36m (4.9ms)[0m [1mcommit transaction[0m
|
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]]
|
22
38
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
23
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "
|
24
|
-
[1m[36m (
|
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
|
25
41
|
[1m[35m (0.1ms)[0m begin transaction
|
26
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "
|
27
|
-
[1m[35m (4.4ms)[0m commit transaction
|
28
|
-
Processing by Api::UserController#reauth as HTML
|
29
|
-
Parameters: {"uid"=>"a1s2d38949"}
|
30
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "a1s2d38949"]]
|
31
|
-
[1m[35m (0.0ms)[0m begin transaction
|
32
|
-
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "t"], ["id", 4]]
|
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"]]
|
33
43
|
[1m[35m (4.2ms)[0m commit transaction
|
34
|
-
Completed 200 OK in 8ms (ActiveRecord: 4.5ms)
|
35
|
-
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 4]]
|
36
|
-
[1m[35m (0.1ms)[0m begin transaction
|
37
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d36058"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
38
|
-
[1m[35m (5.2ms)[0m commit transaction
|
39
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
40
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d39319"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
41
|
-
[1m[36m (3.9ms)[0m [1mcommit transaction[0m
|
42
44
|
Processing by Api::UserController#reauth as HTML
|
43
|
-
Parameters: {"uid"=>"
|
44
|
-
|
45
|
-
|
46
|
-
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
47
|
-
Completed 403 Forbidden in 14ms (Views: 14.0ms | ActiveRecord: 0.0ms)
|
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)
|
48
48
|
[1m[35m (0.1ms)[0m begin transaction
|
49
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "
|
50
|
-
[1m[35m (
|
49
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d35460"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
50
|
+
[1m[35m (4.3ms)[0m commit transaction
|
51
51
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
52
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "
|
53
|
-
[1m[36m (
|
52
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d33715"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
53
|
+
[1m[36m (6.7ms)[0m [1mcommit transaction[0m
|
54
54
|
Processing by Api::UserController#update as HTML
|
55
|
-
Parameters: {"uid"=>"
|
56
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "
|
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"]]
|
57
57
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
58
58
|
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "email" = ?, "name" = ?, "permissions" = ?, "organisation_slug" = ?, "organisation_content_id" = ? WHERE "users"."id" = ? [["email", "user@domain.com"], ["name", "Joshua Marshall"], ["permissions", "---\n- signin\n- new permission\n"], ["organisation_slug", "justice-league"], ["organisation_content_id", "aae1319e-5788-4677-998c-f1a53af528d0"], ["id", 8]]
|
59
|
-
[1m[36m (
|
60
|
-
Completed 200 OK in
|
59
|
+
[1m[36m (6.7ms)[0m [1mcommit transaction[0m
|
60
|
+
Completed 200 OK in 10ms (ActiveRecord: 7.1ms)
|
61
61
|
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 8]]
|
62
62
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
63
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "
|
64
|
-
[1m[36m (
|
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
65
|
[1m[35m (0.1ms)[0m begin transaction
|
66
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "
|
67
|
-
[1m[35m (
|
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
68
|
Processing by Api::UserController#update as HTML
|
69
|
-
Parameters: {"uid"=>"
|
69
|
+
Parameters: {"uid"=>"a1s2d38072"}
|
70
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/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
|
71
|
+
Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
|
72
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.
|
73
|
+
Completed 403 Forbidden in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
|
74
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
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
76
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
77
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 (
|
78
|
+
[1m[36m (5.4ms)[0m [1mcommit transaction[0m
|
79
79
|
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "asd"]]
|
80
80
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
81
81
|
[1m[35m (0.1ms)[0m commit transaction
|
82
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-
|
82
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:35:57 +0000
|
83
83
|
Processing by ExampleController#restricted as HTML
|
84
84
|
Authenticating with gds_sso strategy
|
85
85
|
Completed in 8ms (ActiveRecord: 0.0ms)
|
86
|
-
Started GET "/
|
87
|
-
|
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
|
88
92
|
Processing by AuthenticationsController#callback as HTML
|
89
|
-
Parameters: {"code"=>"
|
93
|
+
Parameters: {"code"=>"e26a2839aa4d8a1fd984f4e7ced9827f43adc37aeaba0e5d3b4402afaf0b85ed", "state"=>"fa3ddb76496c2dd3571dbc9400be9cafc43abd306736c38b"}
|
90
94
|
Authenticating with gds_sso strategy
|
91
|
-
[1m[36mUser Load (0.
|
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"]]
|
92
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"]]
|
93
97
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
94
98
|
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "integration-uid"], ["email", "test@example-client.com"], ["name", "Test User"], ["permissions", "---\n- signin\n"]]
|
95
|
-
[1m[36m (
|
99
|
+
[1m[36m (14.6ms)[0m [1mcommit transaction[0m
|
96
100
|
[1m[35m (0.0ms)[0m begin transaction
|
97
101
|
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id", 13]]
|
98
|
-
[1m[35m (
|
102
|
+
[1m[35m (4.7ms)[0m commit transaction
|
99
103
|
Redirected to http://www.example-client.com/restricted
|
100
|
-
Completed 302 Found in
|
101
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-
|
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
|
102
106
|
Processing by ExampleController#restricted as HTML
|
103
|
-
[1m[36mUser Load (0.
|
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"]]
|
104
108
|
Rendered text template (0.0ms)
|
105
|
-
Completed 200 OK in 5ms (Views: 3.
|
106
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-
|
109
|
+
Completed 200 OK in 5ms (Views: 3.6ms | ActiveRecord: 0.3ms)
|
110
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:36:44 +0000
|
107
111
|
Processing by ExampleController#restricted as HTML
|
108
112
|
Authenticating with gds_sso strategy
|
109
113
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
110
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2019-
|
111
|
-
Started GET "/auth/gds/callback?code=
|
114
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-11-05 10:36:44 +0000
|
115
|
+
Started GET "/auth/gds/callback?code=b00bb56f7da9c89c3b5527bd05f65b98165246e5fd3d680a06b9c03de35f69ba&state=76885491b2691cad0481abc11e894a8fb38d5add678688c6" for 127.0.0.1 at 2019-11-05 10:36:44 +0000
|
112
116
|
Processing by AuthenticationsController#callback as HTML
|
113
|
-
Parameters: {"code"=>"
|
117
|
+
Parameters: {"code"=>"b00bb56f7da9c89c3b5527bd05f65b98165246e5fd3d680a06b9c03de35f69ba", "state"=>"76885491b2691cad0481abc11e894a8fb38d5add678688c6"}
|
114
118
|
Authenticating with gds_sso strategy
|
115
|
-
[1m[35mUser Load (0.
|
119
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
116
120
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
117
|
-
[1m[35m (0.
|
121
|
+
[1m[35m (0.1ms)[0m commit transaction
|
118
122
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
119
123
|
[1m[35m (0.0ms)[0m commit transaction
|
120
124
|
Redirected to http://www.example-client.com/restricted
|
121
|
-
Completed 302 Found in 4ms (ActiveRecord: 0.
|
122
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-
|
125
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
126
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:36:44 +0000
|
123
127
|
Processing by ExampleController#restricted as HTML
|
124
|
-
[1m[36mUser Load (0.
|
128
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
125
129
|
Rendered text template (0.0ms)
|
126
|
-
Completed 200 OK in 1ms (Views: 0.
|
127
|
-
Started GET "/
|
128
|
-
Processing by ExampleController#
|
130
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
131
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:36:44 +0000
|
132
|
+
Processing by ExampleController#restricted as HTML
|
129
133
|
Authenticating with gds_sso strategy
|
130
134
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
131
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2019-
|
132
|
-
Started GET "/auth/gds/callback?code=
|
135
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-11-05 10:36:44 +0000
|
136
|
+
Started GET "/auth/gds/callback?code=96646ce0c89da1016212580c7c1578b05c1e60bf87517c7e2838020a4723a094&state=8f6876c00c44c5e0f1c8d189a6b0e931d05be98a10b3564e" for 127.0.0.1 at 2019-11-05 10:36:44 +0000
|
133
137
|
Processing by AuthenticationsController#callback as HTML
|
134
|
-
Parameters: {"code"=>"
|
138
|
+
Parameters: {"code"=>"96646ce0c89da1016212580c7c1578b05c1e60bf87517c7e2838020a4723a094", "state"=>"8f6876c00c44c5e0f1c8d189a6b0e931d05be98a10b3564e"}
|
135
139
|
Authenticating with gds_sso strategy
|
136
|
-
[1m[35mUser Load (0.
|
140
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
137
141
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
138
|
-
[1m[35m (0.
|
142
|
+
[1m[35m (0.0ms)[0m commit transaction
|
139
143
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
140
144
|
[1m[35m (0.0ms)[0m commit transaction
|
141
|
-
Redirected to http://www.example-client.com/
|
145
|
+
Redirected to http://www.example-client.com/restricted
|
142
146
|
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
143
|
-
Started GET "/
|
144
|
-
Processing by ExampleController#
|
147
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:36:44 +0000
|
148
|
+
Processing by ExampleController#restricted as HTML
|
145
149
|
[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"]]
|
146
150
|
Rendered text template (0.0ms)
|
147
|
-
Completed 200 OK in 1ms (Views: 0.
|
148
|
-
Started GET "/
|
151
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
152
|
+
Started GET "/" for 127.0.0.1 at 2019-11-05 10:36:44 +0000
|
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
|
149
157
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
150
158
|
Authenticating with gds_sso strategy
|
151
159
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
152
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2019-
|
153
|
-
Started GET "/auth/gds/callback?code=
|
160
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-11-05 10:36:44 +0000
|
161
|
+
Started GET "/auth/gds/callback?code=f0a4e0f5e3705292931e05573bf9798a6cc52df0518f7f6243c5eda88fe950de&state=daf77e0bf3c5c0eca9ab5fb5b0679be4401a7a5a8e906b40" for 127.0.0.1 at 2019-11-05 10:36:44 +0000
|
154
162
|
Processing by AuthenticationsController#callback as HTML
|
155
|
-
Parameters: {"code"=>"
|
163
|
+
Parameters: {"code"=>"f0a4e0f5e3705292931e05573bf9798a6cc52df0518f7f6243c5eda88fe950de", "state"=>"daf77e0bf3c5c0eca9ab5fb5b0679be4401a7a5a8e906b40"}
|
156
164
|
Authenticating with gds_sso strategy
|
157
165
|
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
158
166
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
@@ -160,255 +168,252 @@ Authenticating with gds_sso strategy
|
|
160
168
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
161
169
|
[1m[35m (0.0ms)[0m commit transaction
|
162
170
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
163
|
-
Completed 302 Found in
|
164
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-
|
171
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
|
172
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-11-05 10:36:44 +0000
|
165
173
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
166
174
|
[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"]]
|
167
175
|
Rendered text template (0.0ms)
|
168
|
-
Completed 200 OK in
|
169
|
-
Started GET "/
|
170
|
-
Processing by ExampleController#
|
176
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
177
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-11-05 10:36:44 +0000
|
178
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
171
179
|
Authenticating with gds_sso strategy
|
172
180
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
173
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2019-
|
174
|
-
Started GET "/auth/gds/callback?code=
|
181
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-11-05 10:36:44 +0000
|
182
|
+
Started GET "/auth/gds/callback?code=0ebf77356e6570617f8b270eced2aeab54a46a54eafa6c9ea48069b9eb89fc21&state=9c835892d4cfad360eee257d58b75aa2437de571dcda5243" for 127.0.0.1 at 2019-11-05 10:36:44 +0000
|
175
183
|
Processing by AuthenticationsController#callback as HTML
|
176
|
-
Parameters: {"code"=>"
|
184
|
+
Parameters: {"code"=>"0ebf77356e6570617f8b270eced2aeab54a46a54eafa6c9ea48069b9eb89fc21", "state"=>"9c835892d4cfad360eee257d58b75aa2437de571dcda5243"}
|
177
185
|
Authenticating with gds_sso strategy
|
178
|
-
[1m[35mUser Load (0.
|
186
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
179
187
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
180
188
|
[1m[35m (0.0ms)[0m commit transaction
|
181
189
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
182
190
|
[1m[35m (0.1ms)[0m commit transaction
|
183
|
-
Redirected to http://www.example-client.com/
|
191
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
184
192
|
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
185
|
-
Started GET "/
|
186
|
-
Processing by ExampleController#
|
193
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-11-05 10:36:44 +0000
|
194
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
187
195
|
[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"]]
|
188
|
-
Rendered text template (0.
|
196
|
+
Rendered text template (0.1ms)
|
189
197
|
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
190
|
-
Started GET "/" for 127.0.0.1 at 2019-
|
191
|
-
Processing by ExampleController#index as HTML
|
192
|
-
Rendered text template (0.0ms)
|
193
|
-
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
194
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:21 +0000
|
198
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:36:44 +0000
|
195
199
|
Processing by ExampleController#restricted as HTML
|
196
200
|
Authenticating with gds_sso strategy
|
197
201
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
198
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2019-
|
199
|
-
Started GET "/auth/gds/callback?code=
|
202
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-11-05 10:36:44 +0000
|
203
|
+
Started GET "/auth/gds/callback?code=28baebd9049cd335acb77fc39f25deb13d94858a7b355e11e0d14b2ecb6c0446&state=e3d8db893276610d212d98274bf5c14a710d19c1c6cfb6b3" for 127.0.0.1 at 2019-11-05 10:36:44 +0000
|
200
204
|
Processing by AuthenticationsController#callback as HTML
|
201
|
-
Parameters: {"code"=>"
|
205
|
+
Parameters: {"code"=>"28baebd9049cd335acb77fc39f25deb13d94858a7b355e11e0d14b2ecb6c0446", "state"=>"e3d8db893276610d212d98274bf5c14a710d19c1c6cfb6b3"}
|
202
206
|
Authenticating with gds_sso strategy
|
203
|
-
[1m[35mUser Load (0.
|
207
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
204
208
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
205
|
-
[1m[35m (0.
|
209
|
+
[1m[35m (0.0ms)[0m commit transaction
|
206
210
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
207
|
-
[1m[35m (0.
|
211
|
+
[1m[35m (0.0ms)[0m commit transaction
|
208
212
|
Redirected to http://www.example-client.com/restricted
|
209
213
|
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
210
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-
|
214
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:36:44 +0000
|
211
215
|
Processing by ExampleController#restricted as HTML
|
212
216
|
[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"]]
|
213
217
|
Rendered text template (0.0ms)
|
214
218
|
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
215
219
|
[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"]]
|
216
|
-
[1m[36m (0.
|
220
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
217
221
|
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 13]]
|
218
|
-
[1m[36m (
|
219
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-
|
222
|
+
[1m[36m (10.5ms)[0m [1mcommit transaction[0m
|
223
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:36:44 +0000
|
220
224
|
Processing by ExampleController#restricted as HTML
|
221
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"]]
|
222
226
|
Authenticating with gds_sso strategy
|
223
227
|
Completed in 1ms (ActiveRecord: 0.1ms)
|
224
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2019-
|
225
|
-
Started GET "/auth/gds/callback?code=
|
228
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-11-05 10:36:44 +0000
|
229
|
+
Started GET "/auth/gds/callback?code=9276365039e856285ad76e2c22865d35df5c497ba3cb0bf826efcd7b724c05ca&state=0d906fc158a582e83a4fc8dcdb2e5bb0624f98e45a2dc6fb" for 127.0.0.1 at 2019-11-05 10:36:45 +0000
|
226
230
|
Processing by AuthenticationsController#callback as HTML
|
227
|
-
Parameters: {"code"=>"
|
231
|
+
Parameters: {"code"=>"9276365039e856285ad76e2c22865d35df5c497ba3cb0bf826efcd7b724c05ca", "state"=>"0d906fc158a582e83a4fc8dcdb2e5bb0624f98e45a2dc6fb"}
|
228
232
|
Authenticating with gds_sso strategy
|
229
|
-
[1m[36mUser Load (0.
|
233
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
230
234
|
[1m[35m (0.1ms)[0m begin transaction
|
231
|
-
[1m[36m (0.
|
235
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
232
236
|
[1m[35m (0.0ms)[0m begin transaction
|
233
237
|
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id", 13]]
|
234
|
-
[1m[35m (
|
238
|
+
[1m[35m (100.1ms)[0m commit transaction
|
235
239
|
Redirected to http://www.example-client.com/restricted
|
236
|
-
Completed 302 Found in
|
237
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-
|
240
|
+
Completed 302 Found in 105ms (ActiveRecord: 100.6ms)
|
241
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:36:45 +0000
|
238
242
|
Processing by ExampleController#restricted as HTML
|
239
243
|
[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"]]
|
240
244
|
Rendered text template (0.0ms)
|
241
|
-
Completed 200 OK in 1ms (Views: 0.
|
242
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-
|
245
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
246
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:36:45 +0000
|
243
247
|
Processing by ExampleController#restricted as HTML
|
244
248
|
Authenticating with gds_sso strategy
|
245
249
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
246
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2019-
|
247
|
-
Started GET "/auth/gds/callback?code=
|
250
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-11-05 10:36:45 +0000
|
251
|
+
Started GET "/auth/gds/callback?code=07b5460a4dbb15ad451e7c0041d89a3650743bc25d2f934b4d2f15f4b8afb08c&state=86cd5b771ee6289f5c79bfbaf90b48317a3f5de08e683001" for 127.0.0.1 at 2019-11-05 10:36:45 +0000
|
248
252
|
Processing by AuthenticationsController#callback as HTML
|
249
|
-
Parameters: {"code"=>"
|
253
|
+
Parameters: {"code"=>"07b5460a4dbb15ad451e7c0041d89a3650743bc25d2f934b4d2f15f4b8afb08c", "state"=>"86cd5b771ee6289f5c79bfbaf90b48317a3f5de08e683001"}
|
250
254
|
Authenticating with gds_sso strategy
|
251
255
|
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
256
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
257
|
+
[1m[35m (0.0ms)[0m commit transaction
|
252
258
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
253
259
|
[1m[35m (0.0ms)[0m commit transaction
|
254
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
255
|
-
[1m[35m (0.1ms)[0m commit transaction
|
256
260
|
Redirected to http://www.example-client.com/restricted
|
257
261
|
Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
|
258
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-
|
262
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:36:45 +0000
|
259
263
|
Processing by ExampleController#restricted as HTML
|
260
264
|
[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"]]
|
261
265
|
Rendered text template (0.0ms)
|
262
|
-
Completed 200 OK in 1ms (Views: 0.
|
263
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-
|
266
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
267
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-11-06 06:41:45 +0000
|
264
268
|
Processing by ExampleController#restricted as HTML
|
265
269
|
Authenticating with gds_sso strategy
|
266
270
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
267
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2019-
|
268
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-
|
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
|
269
273
|
Processing by ExampleController#restricted as HTML
|
270
274
|
Authenticating with gds_sso strategy
|
271
275
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
272
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2019-
|
273
|
-
Started GET "/auth/gds/callback?code=
|
276
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-11-05 10:36:45 +0000
|
277
|
+
Started GET "/auth/gds/callback?code=f55be5cb7439c98de54393c012012a67df678a55a062095a08222dadaa36305f&state=5f8e3421c820ef5b7e016ede6b5c23b6c2f38b15452adfb0" for 127.0.0.1 at 2019-11-05 10:36:45 +0000
|
274
278
|
Processing by AuthenticationsController#callback as HTML
|
275
|
-
Parameters: {"code"=>"
|
279
|
+
Parameters: {"code"=>"f55be5cb7439c98de54393c012012a67df678a55a062095a08222dadaa36305f", "state"=>"5f8e3421c820ef5b7e016ede6b5c23b6c2f38b15452adfb0"}
|
276
280
|
Authenticating with gds_sso strategy
|
277
|
-
[1m[35mUser Load (0.
|
278
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
279
|
-
[1m[35m (0.1ms)[0m commit transaction
|
281
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
280
282
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
281
|
-
[1m[35m (0.
|
283
|
+
[1m[35m (0.0ms)[0m commit transaction
|
284
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
285
|
+
[1m[35m (0.0ms)[0m commit transaction
|
282
286
|
Redirected to http://www.example-client.com/restricted
|
283
|
-
Completed 302 Found in 4ms (ActiveRecord: 0.
|
284
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-
|
287
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
|
288
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:36:45 +0000
|
285
289
|
Processing by ExampleController#restricted as HTML
|
286
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"]]
|
287
291
|
Rendered text template (0.0ms)
|
288
292
|
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
289
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-
|
293
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-11-06 06:31:45 +0000
|
294
|
+
Processing by ExampleController#restricted as HTML
|
295
|
+
[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
|
+
Rendered text template (0.0ms)
|
297
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
298
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:36:45 +0000
|
290
299
|
Processing by ExampleController#restricted as HTML
|
291
300
|
Authenticating with gds_sso strategy
|
292
301
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
293
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2019-
|
294
|
-
Started GET "/auth/gds/callback?code=
|
302
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-11-05 10:36:45 +0000
|
303
|
+
Started GET "/auth/gds/callback?code=a10f54b3e687884a617a438a9de1dd30c59985e265ecd2ce774497587e725ab7&state=306c554964802cacf30180436cc4330bb517d504434ec88c" for 127.0.0.1 at 2019-11-05 10:36:45 +0000
|
295
304
|
Processing by AuthenticationsController#callback as HTML
|
296
|
-
Parameters: {"code"=>"
|
305
|
+
Parameters: {"code"=>"a10f54b3e687884a617a438a9de1dd30c59985e265ecd2ce774497587e725ab7", "state"=>"306c554964802cacf30180436cc4330bb517d504434ec88c"}
|
297
306
|
Authenticating with gds_sso strategy
|
298
|
-
[1m[
|
299
|
-
[1m[
|
300
|
-
[1m[
|
301
|
-
[1m[
|
302
|
-
[1m[
|
307
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
308
|
+
[1m[35m (0.1ms)[0m begin transaction
|
309
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
310
|
+
[1m[35m (0.0ms)[0m begin transaction
|
311
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
303
312
|
Redirected to http://www.example-client.com/restricted
|
304
313
|
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
305
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-
|
314
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:36:45 +0000
|
306
315
|
Processing by ExampleController#restricted as HTML
|
307
|
-
[1m[
|
316
|
+
[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"]]
|
308
317
|
Rendered text template (0.0ms)
|
309
|
-
Completed 200 OK in 1ms (Views: 0.
|
310
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-
|
318
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
319
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-11-06 06:41:45 +0000
|
311
320
|
Processing by ExampleController#restricted as HTML
|
312
321
|
Authenticating with gds_sso strategy
|
313
322
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
314
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2019-
|
315
|
-
Started GET "/auth/gds/callback?code=
|
323
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-11-06 06:41:45 +0000
|
324
|
+
Started GET "/auth/gds/callback?code=f61a3fae0e6f379c8a721a6a6073e51b97ec84cfdbfeb0c04b7eab90898ba450&state=40e7abcdeecdf94beb7addfdb8522e25b65f540380a5f3dc" for 127.0.0.1 at 2019-11-06 06:41:45 +0000
|
316
325
|
Processing by AuthenticationsController#callback as HTML
|
317
|
-
Parameters: {"code"=>"
|
326
|
+
Parameters: {"code"=>"f61a3fae0e6f379c8a721a6a6073e51b97ec84cfdbfeb0c04b7eab90898ba450", "state"=>"40e7abcdeecdf94beb7addfdb8522e25b65f540380a5f3dc"}
|
318
327
|
Authenticating with gds_sso strategy
|
319
|
-
[1m[
|
320
|
-
[1m[
|
321
|
-
[1m[
|
322
|
-
[1m[
|
323
|
-
[1m[
|
328
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
329
|
+
[1m[35m (0.1ms)[0m begin transaction
|
330
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
331
|
+
[1m[35m (0.1ms)[0m begin transaction
|
332
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
324
333
|
Redirected to http://www.example-client.com/restricted
|
325
334
|
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
326
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-
|
327
|
-
Processing by ExampleController#restricted as HTML
|
328
|
-
[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"]]
|
329
|
-
Rendered text template (0.0ms)
|
330
|
-
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
331
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-20 07:21:22 +0000
|
335
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-11-06 06:41:45 +0000
|
332
336
|
Processing by ExampleController#restricted as HTML
|
333
337
|
[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"]]
|
334
338
|
Rendered text template (0.0ms)
|
335
|
-
Completed 200 OK in
|
336
|
-
Started GET "/
|
337
|
-
Processing by ExampleController#
|
338
|
-
Authenticating with gds_sso strategy
|
339
|
-
Completed in 0ms (ActiveRecord: 0.0ms)
|
340
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:22 +0000
|
341
|
-
Processing by ExampleController#restricted as JSON
|
342
|
-
Completed in 20ms (ActiveRecord: 0.0ms)
|
343
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:22 +0000
|
344
|
-
Processing by ExampleController#restricted as JSON
|
345
|
-
Completed in 11ms (ActiveRecord: 0.0ms)
|
346
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:22 +0000
|
347
|
-
Processing by ExampleController#restricted as JSON
|
339
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
340
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-11-05 10:36:45 +0000
|
341
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
348
342
|
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
349
|
-
[1m[35m (0.
|
343
|
+
[1m[35m (0.1ms)[0m begin transaction
|
350
344
|
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "disabled" = ? WHERE "users"."id" = ?[0m [["disabled", nil], ["id", 13]]
|
351
|
-
[1m[35m (
|
345
|
+
[1m[35m (5.5ms)[0m commit transaction
|
352
346
|
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
353
347
|
[1m[35m (0.0ms)[0m begin transaction
|
354
|
-
[1m[36m (0.
|
348
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
355
349
|
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
356
350
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
357
351
|
[1m[35m (0.0ms)[0m commit transaction
|
358
352
|
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
359
|
-
[1m[35m (0.
|
353
|
+
[1m[35m (0.1ms)[0m begin transaction
|
360
354
|
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
361
355
|
[1m[35m (0.0ms)[0m begin transaction
|
362
356
|
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
363
357
|
Rendered text template (0.0ms)
|
364
|
-
Completed 200 OK in
|
365
|
-
Started GET "/
|
366
|
-
Processing by ExampleController#
|
358
|
+
Completed 200 OK in 59ms (Views: 0.3ms | ActiveRecord: 6.5ms)
|
359
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:36:46 +0000
|
360
|
+
Processing by ExampleController#restricted as JSON
|
367
361
|
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
368
362
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
369
|
-
[1m[35m (0.
|
363
|
+
[1m[35m (0.0ms)[0m commit transaction
|
370
364
|
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
371
365
|
[1m[35m (0.0ms)[0m begin transaction
|
372
|
-
[1m[36m (0.
|
366
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
373
367
|
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
374
368
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
375
369
|
[1m[35m (0.0ms)[0m commit transaction
|
376
370
|
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
377
|
-
[1m[35m (0.
|
378
|
-
[1m[36m (0.
|
371
|
+
[1m[35m (0.1ms)[0m begin transaction
|
372
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
379
373
|
[1m[35m (0.0ms)[0m begin transaction
|
380
374
|
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
381
375
|
Rendered text template (0.0ms)
|
382
|
-
Completed 200 OK in
|
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 (5.
|
386
|
-
[1m[35m (
|
384
|
+
[1m[35m (1.7ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
385
|
+
[1m[35m (5.4ms)[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 (6.1ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
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", "2019-
|
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", "2019-11-05 10:36:56.473576"], ["updated_at", "2019-11-05 10:36:56.473576"]]
|
390
|
+
[1m[35m (5.1ms)[0m [1m[36mcommit transaction[0m
|
391
|
+
[1m[35m (5.7ms)[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", "260"], ["email", "dummyapiuser@domain.com"], ["permissions", "---\n- signin\n"]]
|
398
|
+
[1m[35m (7.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 (4.
|
402
|
-
|
403
|
-
|
404
|
-
|
405
|
-
|
401
|
+
[1m[35m (4.9ms)[0m [1m[36mcommit transaction[0m
|
402
|
+
[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]]
|
403
|
+
[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]]
|
404
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
406
411
|
Processing by ExampleController#restricted as JSON
|
407
|
-
[1m[36mUser Load (0.
|
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]]
|
408
413
|
[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]]
|
409
|
-
[1m[35m (0.
|
410
|
-
[1m[36mUser Create (0.
|
411
|
-
[1m[35m (
|
414
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
415
|
+
[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 (5.4ms)[0m [1m[36mcommit transaction[0m
|
412
417
|
[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]]
|
413
418
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
414
419
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
@@ -418,16 +423,13 @@ Processing by ExampleController#restricted as JSON
|
|
418
423
|
[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]]
|
419
424
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
420
425
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
421
|
-
[1m[35m (0.
|
422
|
-
[1m[36mUser Update (0.
|
423
|
-
[1m[35m (
|
426
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
427
|
+
[1m[36mUser Update (0.5ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id", 3]]
|
428
|
+
[1m[35m (3.9ms)[0m [1m[36mcommit transaction[0m
|
424
429
|
Rendering text template
|
425
430
|
Rendered text template (0.0ms)
|
426
|
-
Completed 200 OK in
|
427
|
-
Started GET "/
|
428
|
-
Processing by ExampleController#restricted as JSON
|
429
|
-
Completed in 11ms (ActiveRecord: 0.0ms)
|
430
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-07-19 11:26:36 +0000
|
431
|
+
Completed 200 OK in 81ms (Views: 5.1ms | ActiveRecord: 10.9ms)
|
432
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-11-05 10:36:57 +0000
|
431
433
|
Processing by ExampleController#this_requires_signin_permission as JSON
|
432
434
|
[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]]
|
433
435
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
@@ -445,131 +447,141 @@ Processing by ExampleController#this_requires_signin_permission as JSON
|
|
445
447
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
446
448
|
Rendering text template
|
447
449
|
Rendered text template (0.0ms)
|
448
|
-
Completed 200 OK in
|
449
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-
|
450
|
+
Completed 200 OK in 51ms (Views: 0.3ms | ActiveRecord: 0.7ms)
|
451
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:36:57 +0000
|
452
|
+
Processing by ExampleController#restricted as JSON
|
453
|
+
Completed in 18ms (ActiveRecord: 0.0ms)
|
454
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:36:57 +0000
|
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
|
450
458
|
Processing by ExampleController#restricted as HTML
|
451
459
|
Authenticating with gds_sso strategy
|
452
460
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
453
|
-
Started GET "/
|
454
|
-
|
461
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:36:57 +0000
|
462
|
+
Processing by ExampleController#restricted as HTML
|
463
|
+
Authenticating with gds_sso strategy
|
464
|
+
Completed in 0ms (ActiveRecord: 0.0ms)
|
465
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-11-05 10:36:57 +0000
|
466
|
+
Started GET "/auth/gds/callback?code=8417d3a8c5404071439ca0dfa70646880af054cdb1fcad3526895b259a868828&state=aaf589514a62bc8fdaca8760c2bfd215ba43e7d598323085" for 127.0.0.1 at 2019-11-05 10:36:57 +0000
|
455
467
|
Processing by AuthenticationsController#callback as HTML
|
456
|
-
Parameters: {"code"=>"
|
468
|
+
Parameters: {"code"=>"8417d3a8c5404071439ca0dfa70646880af054cdb1fcad3526895b259a868828", "state"=>"aaf589514a62bc8fdaca8760c2bfd215ba43e7d598323085"}
|
457
469
|
Authenticating with gds_sso strategy
|
458
470
|
[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]]
|
459
471
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
460
|
-
[1m[36mUser Update (0.
|
461
|
-
[1m[35m (4.
|
472
|
+
[1m[36mUser Update (0.3ms)[0m [1m[33mUPDATE "users" SET "disabled" = ? WHERE "users"."id" = ?[0m [["disabled", "f"], ["id", 3]]
|
473
|
+
[1m[35m (4.5ms)[0m [1m[36mcommit transaction[0m
|
462
474
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
463
475
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
464
476
|
Redirected to http://www.example-client.com/restricted
|
465
|
-
Completed 302 Found in
|
466
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-
|
477
|
+
Completed 302 Found in 9ms (ActiveRecord: 5.1ms)
|
478
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:36:57 +0000
|
467
479
|
Processing by ExampleController#restricted as HTML
|
468
480
|
[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]]
|
469
481
|
Rendering text template
|
470
482
|
Rendered text template (0.0ms)
|
471
483
|
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
472
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-
|
484
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-11-05 10:36:57 +0000
|
473
485
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
474
486
|
Authenticating with gds_sso strategy
|
475
487
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
476
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2019-
|
477
|
-
Started GET "/auth/gds/callback?code=
|
488
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-11-05 10:36:57 +0000
|
489
|
+
Started GET "/auth/gds/callback?code=231c4ad97849c253b552a504f10c24e3b60f0f36e1733bf4e46a85843af6c0f1&state=56783c285b1890579b0f11933e4511586c825d2e645c837e" for 127.0.0.1 at 2019-11-05 10:36:57 +0000
|
478
490
|
Processing by AuthenticationsController#callback as HTML
|
479
|
-
Parameters: {"code"=>"
|
491
|
+
Parameters: {"code"=>"231c4ad97849c253b552a504f10c24e3b60f0f36e1733bf4e46a85843af6c0f1", "state"=>"56783c285b1890579b0f11933e4511586c825d2e645c837e"}
|
480
492
|
Authenticating with gds_sso strategy
|
481
|
-
[1m[36mUser Load (0.
|
493
|
+
[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]]
|
482
494
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
483
|
-
[1m[35m (0.
|
484
|
-
[1m[35m (0.
|
485
|
-
[1m[35m (0.
|
495
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
496
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
497
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
486
498
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
487
|
-
Completed 302 Found in
|
488
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-
|
499
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.5ms)
|
500
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-11-05 10:36:57 +0000
|
489
501
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
490
502
|
[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]]
|
491
503
|
Rendering text template
|
492
504
|
Rendered text template (0.0ms)
|
493
|
-
Completed 200 OK in
|
494
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-
|
505
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
506
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-11-05 10:36:57 +0000
|
495
507
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
496
508
|
Authenticating with gds_sso strategy
|
497
509
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
498
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2019-
|
499
|
-
Started GET "/auth/gds/callback?code=
|
510
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-11-05 10:36:57 +0000
|
511
|
+
Started GET "/auth/gds/callback?code=fc50dbdd0434d4ca4e586edaee5d514225bb07afff3c04c35158f09f036a8e07&state=4e27d65b3904d6dc4b89dc74e472451d0fa4d1fae198b5e3" for 127.0.0.1 at 2019-11-05 10:36:57 +0000
|
500
512
|
Processing by AuthenticationsController#callback as HTML
|
501
|
-
Parameters: {"code"=>"
|
513
|
+
Parameters: {"code"=>"fc50dbdd0434d4ca4e586edaee5d514225bb07afff3c04c35158f09f036a8e07", "state"=>"4e27d65b3904d6dc4b89dc74e472451d0fa4d1fae198b5e3"}
|
502
514
|
Authenticating with gds_sso strategy
|
503
|
-
[1m[36mUser Load (0.
|
504
|
-
[1m[35m (0.
|
505
|
-
[1m[35m (0.
|
515
|
+
[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
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
517
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
506
518
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
507
|
-
[1m[35m (0.
|
519
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
508
520
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
509
|
-
Completed 302 Found in
|
510
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-
|
521
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
522
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-11-05 10:36:57 +0000
|
511
523
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
512
524
|
[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]]
|
513
525
|
Rendering text template
|
514
526
|
Rendered text template (0.0ms)
|
515
527
|
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
516
|
-
Started GET "/
|
528
|
+
Started GET "/" for 127.0.0.1 at 2019-11-05 10:36:57 +0000
|
529
|
+
Processing by ExampleController#index as HTML
|
530
|
+
Rendering text template
|
531
|
+
Rendered text template (0.0ms)
|
532
|
+
Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
533
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:36:57 +0000
|
517
534
|
Processing by ExampleController#restricted as HTML
|
518
535
|
Authenticating with gds_sso strategy
|
519
536
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
520
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2019-
|
521
|
-
Started GET "/auth/gds/callback?code=
|
537
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-11-05 10:36:57 +0000
|
538
|
+
Started GET "/auth/gds/callback?code=761ba4a299ad51ea8e79ea2f80d72c507c5806a3dee6237c1134e543db472a98&state=0b19863e49a7660e41acdf3ccb06bda32f3565cbc71577df" for 127.0.0.1 at 2019-11-05 10:36:58 +0000
|
522
539
|
Processing by AuthenticationsController#callback as HTML
|
523
|
-
Parameters: {"code"=>"
|
540
|
+
Parameters: {"code"=>"761ba4a299ad51ea8e79ea2f80d72c507c5806a3dee6237c1134e543db472a98", "state"=>"0b19863e49a7660e41acdf3ccb06bda32f3565cbc71577df"}
|
524
541
|
Authenticating with gds_sso strategy
|
525
542
|
[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]]
|
526
|
-
[1m[35m (0.
|
527
|
-
[1m[35m (0.
|
543
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
544
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
528
545
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
529
546
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
530
547
|
Redirected to http://www.example-client.com/restricted
|
531
|
-
Completed 302 Found in
|
532
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-
|
548
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.4ms)
|
549
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:36:58 +0000
|
533
550
|
Processing by ExampleController#restricted as HTML
|
534
551
|
[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]]
|
535
552
|
Rendering text template
|
536
553
|
Rendered text template (0.0ms)
|
537
|
-
Completed 200 OK in
|
538
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-
|
554
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
555
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:36:58 +0000
|
539
556
|
Processing by ExampleController#restricted as HTML
|
540
557
|
Authenticating with gds_sso strategy
|
541
558
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
542
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2019-
|
543
|
-
Started GET "/auth/gds/callback?code=
|
559
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-11-05 10:36:58 +0000
|
560
|
+
Started GET "/auth/gds/callback?code=d3730010dcd39bcda60bf0b40c9ba09485513cfae055dc991909e65b3114aaa0&state=8e07618c105f20a16502a24dc4b7b812c92b7bd37570f1e5" for 127.0.0.1 at 2019-11-05 10:36:58 +0000
|
544
561
|
Processing by AuthenticationsController#callback as HTML
|
545
|
-
Parameters: {"code"=>"
|
562
|
+
Parameters: {"code"=>"d3730010dcd39bcda60bf0b40c9ba09485513cfae055dc991909e65b3114aaa0", "state"=>"8e07618c105f20a16502a24dc4b7b812c92b7bd37570f1e5"}
|
546
563
|
Authenticating with gds_sso strategy
|
547
564
|
[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]]
|
548
565
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
549
|
-
[1m[35m (0.
|
550
|
-
[1m[35m (0.
|
551
|
-
[1m[35m (0.
|
566
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
567
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
568
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
552
569
|
Redirected to http://www.example-client.com/restricted
|
553
570
|
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
554
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-
|
571
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:36:58 +0000
|
555
572
|
Processing by ExampleController#restricted as HTML
|
556
573
|
[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]]
|
557
574
|
Rendering text template
|
558
575
|
Rendered text template (0.0ms)
|
559
576
|
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
560
|
-
Started GET "/" for 127.0.0.1 at 2019-
|
561
|
-
Processing by ExampleController#index as HTML
|
562
|
-
Rendering text template
|
563
|
-
Rendered text template (0.0ms)
|
564
|
-
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
565
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:37 +0000
|
577
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:36:58 +0000
|
566
578
|
Processing by ExampleController#restricted as HTML
|
567
579
|
Authenticating with gds_sso strategy
|
568
580
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
569
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2019-
|
570
|
-
Started GET "/auth/gds/callback?code=
|
581
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-11-05 10:36:58 +0000
|
582
|
+
Started GET "/auth/gds/callback?code=6e50a16cceabac45045094f24a4cf08b7a3ddfbf130144681e1ef26dec0b8b12&state=75f5d7023cbc6890898875d493f2d9c2961e7c762bf28b3b" for 127.0.0.1 at 2019-11-05 10:36:58 +0000
|
571
583
|
Processing by AuthenticationsController#callback as HTML
|
572
|
-
Parameters: {"code"=>"
|
584
|
+
Parameters: {"code"=>"6e50a16cceabac45045094f24a4cf08b7a3ddfbf130144681e1ef26dec0b8b12", "state"=>"75f5d7023cbc6890898875d493f2d9c2961e7c762bf28b3b"}
|
573
585
|
Authenticating with gds_sso strategy
|
574
586
|
[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]]
|
575
587
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
@@ -577,76 +589,77 @@ Authenticating with gds_sso strategy
|
|
577
589
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
578
590
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
579
591
|
Redirected to http://www.example-client.com/restricted
|
580
|
-
Completed 302 Found in 4ms (ActiveRecord: 0.
|
581
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-
|
592
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
593
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:36:58 +0000
|
582
594
|
Processing by ExampleController#restricted as HTML
|
583
|
-
[1m[36mUser Load (0.
|
595
|
+
[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]]
|
584
596
|
Rendering text template
|
585
597
|
Rendered text template (0.0ms)
|
586
|
-
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.
|
587
|
-
[1m[36mUser Load (0.
|
598
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
599
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["email", "test@example-client.com"], ["LIMIT", 1]]
|
588
600
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
589
|
-
[1m[36mUser Update (0.
|
590
|
-
[1m[35m (5.
|
591
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-
|
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
|
592
604
|
Processing by ExampleController#restricted as HTML
|
593
605
|
[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]]
|
594
606
|
Authenticating with gds_sso strategy
|
595
607
|
Completed in 1ms (ActiveRecord: 0.1ms)
|
596
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2019-
|
597
|
-
Started GET "/auth/gds/callback?code=
|
608
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-11-05 10:36:58 +0000
|
609
|
+
Started GET "/auth/gds/callback?code=8893a521f415ed2d2f7ea78551e01ca7b57d992199582ce31bbc0eaa73c16b37&state=e4a3b135a1da78755d07dc4913fe45070cf96fe33083f966" for 127.0.0.1 at 2019-11-05 10:36:58 +0000
|
598
610
|
Processing by AuthenticationsController#callback as HTML
|
599
|
-
Parameters: {"code"=>"
|
611
|
+
Parameters: {"code"=>"8893a521f415ed2d2f7ea78551e01ca7b57d992199582ce31bbc0eaa73c16b37", "state"=>"e4a3b135a1da78755d07dc4913fe45070cf96fe33083f966"}
|
600
612
|
Authenticating with gds_sso strategy
|
601
613
|
[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]]
|
602
614
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
603
615
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
604
616
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
605
|
-
[1m[36mUser Update (0.
|
606
|
-
[1m[35m (
|
617
|
+
[1m[36mUser Update (0.3ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id", 3]]
|
618
|
+
[1m[35m (5.6ms)[0m [1m[36mcommit transaction[0m
|
607
619
|
Redirected to http://www.example-client.com/restricted
|
608
|
-
Completed 302 Found in
|
609
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-
|
620
|
+
Completed 302 Found in 10ms (ActiveRecord: 6.2ms)
|
621
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:36:58 +0000
|
610
622
|
Processing by ExampleController#restricted as HTML
|
611
623
|
[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]]
|
612
624
|
Rendering text template
|
613
625
|
Rendered text template (0.0ms)
|
614
626
|
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
615
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-
|
627
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:36:58 +0000
|
616
628
|
Processing by ExampleController#restricted as HTML
|
617
629
|
Authenticating with gds_sso strategy
|
618
630
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
619
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2019-
|
620
|
-
Started GET "/auth/gds/callback?code=
|
631
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-11-05 10:36:58 +0000
|
632
|
+
Started GET "/auth/gds/callback?code=f2e8ceb458c0d48a53ef450758922020273685229a1dd704af443eaac8ca868a&state=4a3c78d4f13f3bfdeb34caa8e7a9cc34ff51e7250a1aa114" for 127.0.0.1 at 2019-11-05 10:36:58 +0000
|
621
633
|
Processing by AuthenticationsController#callback as HTML
|
622
|
-
Parameters: {"code"=>"
|
634
|
+
Parameters: {"code"=>"f2e8ceb458c0d48a53ef450758922020273685229a1dd704af443eaac8ca868a", "state"=>"4a3c78d4f13f3bfdeb34caa8e7a9cc34ff51e7250a1aa114"}
|
623
635
|
Authenticating with gds_sso strategy
|
624
636
|
[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]]
|
625
637
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
626
|
-
[1m[35m (0.
|
638
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
627
639
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
628
|
-
[1m[35m (0.
|
640
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
629
641
|
Redirected to http://www.example-client.com/restricted
|
630
642
|
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
631
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-
|
643
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:36:58 +0000
|
632
644
|
Processing by ExampleController#restricted as HTML
|
633
645
|
[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]]
|
634
646
|
Rendering text template
|
635
647
|
Rendered text template (0.0ms)
|
636
|
-
Completed 200 OK in
|
637
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-
|
648
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
649
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-11-06 06:31:58 +0000
|
638
650
|
Processing by ExampleController#restricted as HTML
|
639
|
-
|
640
|
-
|
641
|
-
|
642
|
-
|
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
|
643
656
|
Processing by ExampleController#restricted as HTML
|
644
657
|
Authenticating with gds_sso strategy
|
645
658
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
646
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2019-
|
647
|
-
Started GET "/auth/gds/callback?code=
|
659
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-11-05 10:36:58 +0000
|
660
|
+
Started GET "/auth/gds/callback?code=0c34b659cb41fca2cc7afd0e1152a681880300a1c0a9b4ced3aeb4c4c8c91d10&state=6055cd0ea4a4e1f6b5709a4b8e104a542f5eb986f54527cd" for 127.0.0.1 at 2019-11-05 10:36:59 +0000
|
648
661
|
Processing by AuthenticationsController#callback as HTML
|
649
|
-
Parameters: {"code"=>"
|
662
|
+
Parameters: {"code"=>"0c34b659cb41fca2cc7afd0e1152a681880300a1c0a9b4ced3aeb4c4c8c91d10", "state"=>"6055cd0ea4a4e1f6b5709a4b8e104a542f5eb986f54527cd"}
|
650
663
|
Authenticating with gds_sso strategy
|
651
664
|
[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]]
|
652
665
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
@@ -655,924 +668,911 @@ Authenticating with gds_sso strategy
|
|
655
668
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
656
669
|
Redirected to http://www.example-client.com/restricted
|
657
670
|
Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
|
658
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-
|
671
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:36:59 +0000
|
659
672
|
Processing by ExampleController#restricted as HTML
|
660
|
-
[1m[36mUser Load (0.
|
673
|
+
[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]]
|
661
674
|
Rendering text template
|
662
675
|
Rendered text template (0.0ms)
|
663
|
-
Completed 200 OK in
|
664
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-
|
676
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
677
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-11-06 06:41:59 +0000
|
665
678
|
Processing by ExampleController#restricted as HTML
|
666
679
|
Authenticating with gds_sso strategy
|
667
680
|
Completed in 1ms (ActiveRecord: 0.0ms)
|
668
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2019-
|
669
|
-
Started GET "/auth/gds/callback?code=
|
681
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-11-06 06:41:59 +0000
|
682
|
+
Started GET "/auth/gds/callback?code=3ce04ed5a5e9bd2ef870a951ce55476f4e9b2cc650f7f9ce93522a700438cdcd&state=15a787623a75992d694d65584705620f9565b074ed59b0bc" for 127.0.0.1 at 2019-11-06 06:41:59 +0000
|
670
683
|
Processing by AuthenticationsController#callback as HTML
|
671
|
-
Parameters: {"code"=>"
|
684
|
+
Parameters: {"code"=>"3ce04ed5a5e9bd2ef870a951ce55476f4e9b2cc650f7f9ce93522a700438cdcd", "state"=>"15a787623a75992d694d65584705620f9565b074ed59b0bc"}
|
672
685
|
Authenticating with gds_sso strategy
|
673
|
-
[1m[36mUser Load (0.
|
686
|
+
[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]]
|
674
687
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
675
688
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
676
689
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
677
690
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
678
691
|
Redirected to http://www.example-client.com/restricted
|
679
|
-
Completed 302 Found in
|
680
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-
|
692
|
+
Completed 302 Found in 6ms (ActiveRecord: 0.4ms)
|
693
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-11-06 06:41:59 +0000
|
681
694
|
Processing by ExampleController#restricted as HTML
|
682
695
|
[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]]
|
683
696
|
Rendering text template
|
684
697
|
Rendered text template (0.0ms)
|
685
|
-
Completed 200 OK in
|
686
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-
|
698
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
699
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:36:59 +0000
|
687
700
|
Processing by ExampleController#restricted as HTML
|
688
701
|
Authenticating with gds_sso strategy
|
689
702
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
690
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2019-
|
691
|
-
Started GET "/auth/gds/callback?code=
|
703
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-11-05 10:36:59 +0000
|
704
|
+
Started GET "/auth/gds/callback?code=a60f183429d93f0ff6b6093a6fe5076af39d01b0961bb8b88f816a68dde35b61&state=ab326e7608a6ab3763ae84c74ca0ef56b635ca845dae6d8a" for 127.0.0.1 at 2019-11-05 10:36:59 +0000
|
692
705
|
Processing by AuthenticationsController#callback as HTML
|
693
|
-
Parameters: {"code"=>"
|
706
|
+
Parameters: {"code"=>"a60f183429d93f0ff6b6093a6fe5076af39d01b0961bb8b88f816a68dde35b61", "state"=>"ab326e7608a6ab3763ae84c74ca0ef56b635ca845dae6d8a"}
|
694
707
|
Authenticating with gds_sso strategy
|
695
708
|
[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]]
|
696
709
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
697
710
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
698
|
-
[1m[35m (0.
|
711
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
699
712
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
700
713
|
Redirected to http://www.example-client.com/restricted
|
701
|
-
Completed 302 Found in
|
702
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-
|
703
|
-
Processing by ExampleController#restricted as HTML
|
704
|
-
[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]]
|
705
|
-
Rendering text template
|
706
|
-
Rendered text template (0.0ms)
|
707
|
-
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
708
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-20 07:21:38 +0000
|
714
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.4ms)
|
715
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:36:59 +0000
|
709
716
|
Processing by ExampleController#restricted as HTML
|
710
717
|
[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]]
|
711
718
|
Rendering text template
|
712
719
|
Rendered text template (0.0ms)
|
713
|
-
Completed 200 OK in
|
714
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-
|
720
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
721
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-11-06 06:41:59 +0000
|
715
722
|
Processing by ExampleController#restricted as HTML
|
716
723
|
Authenticating with gds_sso strategy
|
717
724
|
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
|
+
[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", "a1s2d38035"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
728
|
+
[1m[35m (5.7ms)[0m [1m[36mcommit transaction[0m
|
718
729
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
719
|
-
[1m[36mUser Create (0.
|
720
|
-
[1m[35m (4.
|
721
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
722
|
-
[1m[36mUser Create (0.5ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d33316"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
723
|
-
[1m[35m (3.3ms)[0m [1m[36mcommit transaction[0m
|
724
|
-
Processing by Api::UserController#update as HTML
|
725
|
-
Parameters: {"uid"=>"a1s2d34228"}
|
726
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d34228"], ["LIMIT", 1]]
|
727
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
728
|
-
[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", 3]]
|
729
|
-
[1m[35m (4.1ms)[0m [1m[36mcommit transaction[0m
|
730
|
-
Completed 200 OK in 7ms (ActiveRecord: 4.5ms)
|
731
|
-
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 3], ["LIMIT", 1]]
|
732
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
733
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d32448"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
734
|
-
[1m[35m (4.2ms)[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", "a1s2d35385"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
737
|
-
[1m[35m (2.9ms)[0m [1m[36mcommit 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"]]
|
731
|
+
[1m[35m (4.6ms)[0m [1m[36mcommit transaction[0m
|
738
732
|
Processing by Api::UserController#update as HTML
|
739
|
-
Parameters: {"uid"=>"
|
740
|
-
Rendering /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
733
|
+
Parameters: {"uid"=>"a1s2d38035"}
|
734
|
+
Rendering /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
741
735
|
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.
|
736
|
+
Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.3ms)
|
743
737
|
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
744
|
-
Completed 403 Forbidden in
|
738
|
+
Completed 403 Forbidden in 8ms (Views: 7.0ms | ActiveRecord: 0.0ms)
|
745
739
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
746
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "
|
747
|
-
[1m[35m (
|
748
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
749
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d3676"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
750
|
-
[1m[35m (3.0ms)[0m [1m[36mcommit transaction[0m
|
751
|
-
Processing by Api::UserController#reauth as HTML
|
752
|
-
Parameters: {"uid"=>"a1s2d36336"}
|
753
|
-
Rendering /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
754
|
-
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
755
|
-
Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
|
756
|
-
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
757
|
-
Completed 403 Forbidden in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
|
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
|
758
742
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
759
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "
|
760
|
-
[1m[35m (
|
743
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d31596"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
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]]
|
750
|
+
[1m[35m (4.1ms)[0m [1m[36mcommit transaction[0m
|
751
|
+
Completed 200 OK in 7ms (ActiveRecord: 4.5ms)
|
752
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 6], ["LIMIT", 1]]
|
753
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
754
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d3221"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
755
|
+
[1m[35m (3.7ms)[0m [1m[36mcommit transaction[0m
|
761
756
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
762
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "
|
763
|
-
[1m[35m (
|
757
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d31690"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
758
|
+
[1m[35m (4.8ms)[0m [1m[36mcommit transaction[0m
|
764
759
|
Processing by Api::UserController#reauth as HTML
|
765
760
|
Parameters: {"uid"=>"nonexistent-user"}
|
766
761
|
[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]]
|
767
762
|
Completed 200 OK in 1ms (ActiveRecord: 0.1ms)
|
768
763
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
769
|
-
[1m[36mUser Create (0.
|
770
|
-
[1m[35m (
|
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
|
771
766
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
772
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "
|
773
|
-
[1m[35m (3.
|
767
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d36395"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
768
|
+
[1m[35m (3.2ms)[0m [1m[36mcommit transaction[0m
|
774
769
|
Processing by Api::UserController#reauth as HTML
|
775
|
-
Parameters: {"uid"=>"
|
776
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "
|
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]]
|
777
772
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
778
|
-
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "t"], ["id",
|
779
|
-
[1m[35m (
|
780
|
-
Completed 200 OK in 6ms (ActiveRecord: 4.
|
781
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id",
|
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 (4.3ms)[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]]
|
773
|
+
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "t"], ["id", 10]]
|
774
|
+
[1m[35m (4.1ms)[0m [1m[36mcommit transaction[0m
|
775
|
+
Completed 200 OK in 6ms (ActiveRecord: 4.5ms)
|
776
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 10], ["LIMIT", 1]]
|
788
777
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
789
|
-
[1m[
|
778
|
+
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d35714"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
779
|
+
[1m[35m (4.7ms)[0m [1m[36mcommit transaction[0m
|
780
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
781
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d35711"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
782
|
+
[1m[35m (4.1ms)[0m [1m[36mcommit transaction[0m
|
783
|
+
Processing by Api::UserController#reauth as HTML
|
784
|
+
Parameters: {"uid"=>"a1s2d35714"}
|
785
|
+
Rendering /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
786
|
+
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-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
|
788
|
+
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.8ms | ActiveRecord: 0.0ms)
|
790
790
|
[1m[36m (4.8ms)[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 (
|
791
|
+
[1m[35m (5.1ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
792
792
|
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
793
|
-
[1m[35m (
|
794
|
-
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."
|
795
|
-
[1m[
|
793
|
+
[1m[35m (5.0ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
794
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["email", "dummyapiuser@domain.com"]]
|
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
|
796
798
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
797
|
-
[1m[35mSQL (0.2ms)[0m
|
798
|
-
[1m[36m (
|
799
|
-
[1m[35mUser Load (0.
|
800
|
-
[1m[
|
801
|
-
[1m[35m (0.1ms)[0m
|
802
|
-
|
803
|
-
|
804
|
-
|
805
|
-
|
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
|
806
810
|
Processing by ExampleController#this_requires_signin_permission as JSON
|
807
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
808
|
-
[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"]]
|
809
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
810
|
-
[1m[35mSQL (0.2ms)[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]]
|
811
|
-
[1m[36m (5.1ms)[0m [1mcommit transaction[0m
|
812
811
|
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
813
|
-
[1m[
|
814
|
-
[1m[35m (0.0ms)[0m commit transaction
|
815
|
-
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
812
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["email", "test@example-client.com"]]
|
816
813
|
[1m[35m (0.1ms)[0m begin transaction
|
817
|
-
[1m[
|
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
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
818
819
|
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
819
820
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
820
821
|
[1m[35m (0.1ms)[0m commit transaction
|
821
|
-
[1m[
|
822
|
-
[1m[
|
823
|
-
[1m[36m (
|
822
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
823
|
+
[1m[35m (0.1ms)[0m begin transaction
|
824
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
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
|
824
828
|
Rendered text template (0.0ms)
|
825
|
-
Completed 200 OK in
|
826
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-
|
829
|
+
Completed 200 OK in 113ms (Views: 12.6ms | ActiveRecord: 13.4ms)
|
830
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:37:07 +0000
|
827
831
|
Processing by ExampleController#restricted as JSON
|
828
|
-
Completed in
|
829
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-
|
832
|
+
Completed in 13ms (ActiveRecord: 0.0ms)
|
833
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:37:07 +0000
|
830
834
|
Processing by ExampleController#restricted as JSON
|
831
|
-
[1m[
|
832
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
833
|
-
[1m[35m (0.0ms)[0m commit transaction
|
834
|
-
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
835
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
835
836
|
[1m[35m (0.1ms)[0m begin transaction
|
836
837
|
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
837
838
|
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
838
|
-
[1m[36m (0.
|
839
|
-
[1m[35m (0.
|
839
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
840
|
+
[1m[35m (0.1ms)[0m commit transaction
|
840
841
|
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
841
842
|
[1m[35m (0.1ms)[0m begin transaction
|
842
|
-
[1m[36m (0.
|
843
|
-
[1m[
|
844
|
-
[1m[36m (0.
|
843
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
844
|
+
[1m[35mCACHE (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
845
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[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
|
845
849
|
Rendered text template (0.0ms)
|
846
|
-
Completed 200 OK in
|
847
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-
|
850
|
+
Completed 200 OK in 53ms (Views: 0.3ms | ActiveRecord: 0.8ms)
|
851
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:37:07 +0000
|
852
|
+
Processing by ExampleController#restricted as JSON
|
853
|
+
Completed in 18ms (ActiveRecord: 0.0ms)
|
854
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:37:07 +0000
|
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
|
848
859
|
Processing by ExampleController#restricted as HTML
|
849
860
|
Authenticating with gds_sso strategy
|
850
861
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
851
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2019-
|
852
|
-
Started GET "/auth/gds/callback?code=
|
862
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-11-05 10:37:07 +0000
|
863
|
+
Started GET "/auth/gds/callback?code=65f0532d51b84821696b65646d3488c2b65db8be6d7a56090a5acc58996c0d6a&state=542207dc7276283bc1eff1b9ea6a354be2fccfd4856166ab" for 127.0.0.1 at 2019-11-05 10:37:07 +0000
|
853
864
|
Processing by AuthenticationsController#callback as HTML
|
854
|
-
Parameters: {"code"=>"
|
865
|
+
Parameters: {"code"=>"65f0532d51b84821696b65646d3488c2b65db8be6d7a56090a5acc58996c0d6a", "state"=>"542207dc7276283bc1eff1b9ea6a354be2fccfd4856166ab"}
|
855
866
|
Authenticating with gds_sso strategy
|
856
|
-
[1m[
|
867
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
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
|
857
871
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
858
|
-
[1m[
|
859
|
-
[1m[36m (3.5ms)[0m [1mcommit transaction[0m
|
860
|
-
[1m[35m (0.0ms)[0m begin transaction
|
861
|
-
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
872
|
+
[1m[35m (0.1ms)[0m commit transaction
|
862
873
|
Redirected to http://www.example-client.com/restricted
|
863
|
-
Completed 302 Found in
|
864
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-
|
874
|
+
Completed 302 Found in 11ms (ActiveRecord: 6.6ms)
|
875
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:37:07 +0000
|
865
876
|
Processing by ExampleController#restricted as HTML
|
866
|
-
[1m[
|
877
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
867
878
|
Rendered text template (0.0ms)
|
868
|
-
Completed 200 OK in 2ms (Views: 0.
|
869
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-
|
879
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
880
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:37:07 +0000
|
870
881
|
Processing by ExampleController#restricted as HTML
|
871
882
|
Authenticating with gds_sso strategy
|
872
|
-
Completed in
|
873
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2019-
|
874
|
-
Started GET "/auth/gds/callback?code=
|
883
|
+
Completed in 0ms (ActiveRecord: 0.0ms)
|
884
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-11-05 10:37:07 +0000
|
885
|
+
Started GET "/auth/gds/callback?code=47970ddb0e24fe2b0a216f0ef7d8585257bfba4dc8a88713af3cb010a14d24dd&state=875701d7f824e509016238c4e374d89fa633e28ba8a1bda5" for 127.0.0.1 at 2019-11-05 10:37:07 +0000
|
875
886
|
Processing by AuthenticationsController#callback as HTML
|
876
|
-
Parameters: {"code"=>"
|
887
|
+
Parameters: {"code"=>"47970ddb0e24fe2b0a216f0ef7d8585257bfba4dc8a88713af3cb010a14d24dd", "state"=>"875701d7f824e509016238c4e374d89fa633e28ba8a1bda5"}
|
877
888
|
Authenticating with gds_sso strategy
|
878
|
-
[1m[
|
879
|
-
[1m[
|
880
|
-
[1m[
|
881
|
-
[1m[
|
882
|
-
[1m[
|
889
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
890
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
891
|
+
[1m[35m (0.1ms)[0m commit transaction
|
892
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
893
|
+
[1m[35m (0.1ms)[0m commit transaction
|
883
894
|
Redirected to http://www.example-client.com/restricted
|
884
|
-
Completed 302 Found in
|
885
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-
|
895
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
896
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:37:07 +0000
|
886
897
|
Processing by ExampleController#restricted as HTML
|
887
|
-
[1m[
|
888
|
-
Rendered text template (0.0ms)
|
889
|
-
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
890
|
-
Started GET "/" for 127.0.0.1 at 2019-07-19 11:26:46 +0000
|
891
|
-
Processing by ExampleController#index as HTML
|
898
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
892
899
|
Rendered text template (0.0ms)
|
893
|
-
Completed 200 OK in
|
894
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-
|
900
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
|
901
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-11-05 10:37:07 +0000
|
895
902
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
896
903
|
Authenticating with gds_sso strategy
|
897
904
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
898
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2019-
|
899
|
-
Started GET "/auth/gds/callback?code=
|
905
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-11-05 10:37:07 +0000
|
906
|
+
Started GET "/auth/gds/callback?code=26847ed8dbe9621e9a46675fd9bbc4b18fbe56221a332926f27cc9afb14fdd39&state=c395c444a6019e0f8f7406be93f4f957dbfe0c443f93f8fc" for 127.0.0.1 at 2019-11-05 10:37:08 +0000
|
900
907
|
Processing by AuthenticationsController#callback as HTML
|
901
|
-
Parameters: {"code"=>"
|
908
|
+
Parameters: {"code"=>"26847ed8dbe9621e9a46675fd9bbc4b18fbe56221a332926f27cc9afb14fdd39", "state"=>"c395c444a6019e0f8f7406be93f4f957dbfe0c443f93f8fc"}
|
902
909
|
Authenticating with gds_sso strategy
|
903
|
-
[1m[
|
904
|
-
[1m[
|
905
|
-
[1m[
|
906
|
-
[1m[
|
907
|
-
[1m[
|
910
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
911
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
912
|
+
[1m[35m (0.0ms)[0m commit transaction
|
913
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
914
|
+
[1m[35m (0.1ms)[0m commit transaction
|
908
915
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
909
|
-
Completed 302 Found in 4ms (ActiveRecord: 0.
|
910
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-
|
916
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
917
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-11-05 10:37:08 +0000
|
911
918
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
912
|
-
[1m[
|
919
|
+
[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"]]
|
913
920
|
Rendered text template (0.0ms)
|
914
|
-
Completed 200 OK in 1ms (Views: 0.
|
915
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-
|
921
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
922
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-11-05 10:37:08 +0000
|
916
923
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
917
924
|
Authenticating with gds_sso strategy
|
918
925
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
919
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2019-
|
920
|
-
Started GET "/auth/gds/callback?code=
|
926
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-11-05 10:37:08 +0000
|
927
|
+
Started GET "/auth/gds/callback?code=0c38c6a2b81cf239e53e051d8445d4904faa7c6e7f7094a8ab1a122046f4e04e&state=878a64c2b1a2569a27d5d597bcfcf2af9d9b950541d07fa8" for 127.0.0.1 at 2019-11-05 10:37:08 +0000
|
921
928
|
Processing by AuthenticationsController#callback as HTML
|
922
|
-
Parameters: {"code"=>"
|
929
|
+
Parameters: {"code"=>"0c38c6a2b81cf239e53e051d8445d4904faa7c6e7f7094a8ab1a122046f4e04e", "state"=>"878a64c2b1a2569a27d5d597bcfcf2af9d9b950541d07fa8"}
|
923
930
|
Authenticating with gds_sso strategy
|
924
|
-
[1m[
|
925
|
-
[1m[
|
926
|
-
[1m[
|
927
|
-
[1m[
|
928
|
-
[1m[
|
931
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
932
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
933
|
+
[1m[35m (0.1ms)[0m commit transaction
|
934
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
935
|
+
[1m[35m (0.1ms)[0m commit transaction
|
929
936
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
930
|
-
Completed 302 Found in
|
931
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-
|
937
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
938
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-11-05 10:37:08 +0000
|
932
939
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
933
|
-
[1m[
|
940
|
+
[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"]]
|
934
941
|
Rendered text template (0.0ms)
|
935
942
|
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
936
|
-
Started GET "/
|
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
|
937
948
|
Processing by ExampleController#restricted as HTML
|
938
949
|
Authenticating with gds_sso strategy
|
939
950
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
940
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2019-
|
941
|
-
Started GET "/auth/gds/callback?code=
|
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
|
942
953
|
Processing by AuthenticationsController#callback as HTML
|
943
|
-
Parameters: {"code"=>"
|
954
|
+
Parameters: {"code"=>"70f890c37306f6a5847e7fc45efd74c818ac579937c406189bf2725e0976ba7e", "state"=>"3810aa6604f0446ea31f28ed3ae675050cf45142413ced60"}
|
944
955
|
Authenticating with gds_sso strategy
|
945
|
-
[1m[
|
946
|
-
[1m[
|
947
|
-
[1m[
|
948
|
-
[1m[
|
949
|
-
[1m[
|
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"]]
|
966
|
+
Rendered text template (0.0ms)
|
967
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
968
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:37:08 +0000
|
969
|
+
Processing by ExampleController#restricted as HTML
|
970
|
+
Authenticating with gds_sso strategy
|
971
|
+
Completed in 0ms (ActiveRecord: 0.0ms)
|
972
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-11-05 10:37:08 +0000
|
973
|
+
Started GET "/auth/gds/callback?code=8363cb484649d75ddc86f9176a100ece790303ee103be7b0ff73988c29d8bbd7&state=20782fda4f3d4c602ef93c9ee09841f445d62fbdaefad370" for 127.0.0.1 at 2019-11-05 10:37:08 +0000
|
974
|
+
Processing by AuthenticationsController#callback as HTML
|
975
|
+
Parameters: {"code"=>"8363cb484649d75ddc86f9176a100ece790303ee103be7b0ff73988c29d8bbd7", "state"=>"20782fda4f3d4c602ef93c9ee09841f445d62fbdaefad370"}
|
976
|
+
Authenticating with gds_sso strategy
|
977
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
978
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
979
|
+
[1m[35m (0.1ms)[0m commit transaction
|
980
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
981
|
+
[1m[35m (0.1ms)[0m commit transaction
|
950
982
|
Redirected to http://www.example-client.com/restricted
|
951
|
-
Completed 302 Found in
|
952
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-
|
983
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
984
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:37:08 +0000
|
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
|
953
990
|
Processing by ExampleController#restricted as HTML
|
954
991
|
[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"]]
|
955
992
|
Rendered text template (0.0ms)
|
956
993
|
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
957
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-
|
994
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:37:08 +0000
|
958
995
|
Processing by ExampleController#restricted as HTML
|
959
996
|
Authenticating with gds_sso strategy
|
960
997
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
961
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2019-
|
962
|
-
Started GET "/auth/gds/callback?code=
|
998
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-11-05 10:37:08 +0000
|
999
|
+
Started GET "/auth/gds/callback?code=754071cdf58d47b324fe03ccc52d23a31c4ff6ebae4048d48ba9c4d77652ebe6&state=77285998fb01c1418d985d3781fdfb01bf8eac9c657b1215" for 127.0.0.1 at 2019-11-05 10:37:08 +0000
|
963
1000
|
Processing by AuthenticationsController#callback as HTML
|
964
|
-
Parameters: {"code"=>"
|
1001
|
+
Parameters: {"code"=>"754071cdf58d47b324fe03ccc52d23a31c4ff6ebae4048d48ba9c4d77652ebe6", "state"=>"77285998fb01c1418d985d3781fdfb01bf8eac9c657b1215"}
|
965
1002
|
Authenticating with gds_sso strategy
|
966
|
-
[1m[36mUser Load (0.
|
1003
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
967
1004
|
[1m[35m (0.1ms)[0m begin transaction
|
968
|
-
[1m[36m (0.
|
1005
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
969
1006
|
[1m[35m (0.0ms)[0m begin transaction
|
970
|
-
[1m[36m (0.
|
1007
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
971
1008
|
Redirected to http://www.example-client.com/restricted
|
972
|
-
Completed 302 Found in 4ms (ActiveRecord: 0.
|
973
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-
|
1009
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
|
1010
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:37:08 +0000
|
974
1011
|
Processing by ExampleController#restricted as HTML
|
975
1012
|
[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"]]
|
976
1013
|
Rendered text template (0.0ms)
|
977
1014
|
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
978
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-
|
1015
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-11-06 06:42:08 +0000
|
1016
|
+
Processing by ExampleController#restricted as HTML
|
1017
|
+
Authenticating with gds_sso strategy
|
1018
|
+
Completed in 0ms (ActiveRecord: 0.0ms)
|
1019
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-11-06 06:42:08 +0000
|
1020
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:37:08 +0000
|
979
1021
|
Processing by ExampleController#restricted as HTML
|
980
1022
|
Authenticating with gds_sso strategy
|
981
1023
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
982
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2019-
|
983
|
-
Started GET "/auth/gds/callback?code=
|
1024
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-11-05 10:37:08 +0000
|
1025
|
+
Started GET "/auth/gds/callback?code=791d52d3c37c24bd5cc03d4695b7fd0a52277c378c2542af00dffeaeeba9b28f&state=32208253b8e8dbcc2b0397cf8b0adf8dadf08fdf85e07201" for 127.0.0.1 at 2019-11-05 10:37:08 +0000
|
984
1026
|
Processing by AuthenticationsController#callback as HTML
|
985
|
-
Parameters: {"code"=>"
|
1027
|
+
Parameters: {"code"=>"791d52d3c37c24bd5cc03d4695b7fd0a52277c378c2542af00dffeaeeba9b28f", "state"=>"32208253b8e8dbcc2b0397cf8b0adf8dadf08fdf85e07201"}
|
986
1028
|
Authenticating with gds_sso strategy
|
987
|
-
[1m[36mUser Load (0.
|
1029
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
988
1030
|
[1m[35m (0.1ms)[0m begin transaction
|
989
|
-
[1m[36m (0.
|
1031
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
990
1032
|
[1m[35m (0.1ms)[0m begin transaction
|
991
|
-
[1m[36m (0.
|
1033
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
992
1034
|
Redirected to http://www.example-client.com/restricted
|
993
|
-
Completed 302 Found in
|
994
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-
|
1035
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
1036
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:37:09 +0000
|
995
1037
|
Processing by ExampleController#restricted as HTML
|
996
1038
|
[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"]]
|
997
1039
|
Rendered text template (0.0ms)
|
998
1040
|
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
999
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-
|
1041
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-11-06 06:42:09 +0000
|
1000
1042
|
Processing by ExampleController#restricted as HTML
|
1001
1043
|
Authenticating with gds_sso strategy
|
1002
1044
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1003
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2019-
|
1004
|
-
Started GET "/auth/gds/callback?code=
|
1045
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-11-06 06:42:09 +0000
|
1046
|
+
Started GET "/auth/gds/callback?code=d276d5d03cc7ba7a594ee4ee7044b4efe034434d589aa54c835d8301a312e3f0&state=8b0ee869793cea797d0a4f1d57c32371aee69282bfc7a061" for 127.0.0.1 at 2019-11-06 06:42:09 +0000
|
1005
1047
|
Processing by AuthenticationsController#callback as HTML
|
1006
|
-
Parameters: {"code"=>"
|
1048
|
+
Parameters: {"code"=>"d276d5d03cc7ba7a594ee4ee7044b4efe034434d589aa54c835d8301a312e3f0", "state"=>"8b0ee869793cea797d0a4f1d57c32371aee69282bfc7a061"}
|
1007
1049
|
Authenticating with gds_sso strategy
|
1008
1050
|
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
1009
|
-
[1m[35m (0.
|
1051
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1010
1052
|
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
1011
1053
|
[1m[35m (0.1ms)[0m begin transaction
|
1012
1054
|
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
1013
1055
|
Redirected to http://www.example-client.com/restricted
|
1014
|
-
Completed 302 Found in
|
1015
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-
|
1056
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
1057
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-11-06 06:42:09 +0000
|
1016
1058
|
Processing by ExampleController#restricted as HTML
|
1017
1059
|
[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"]]
|
1018
1060
|
Rendered text template (0.0ms)
|
1019
|
-
Completed 200 OK in 1ms (Views: 0.
|
1020
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-
|
1021
|
-
Processing by ExampleController#restricted as HTML
|
1022
|
-
[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"]]
|
1023
|
-
Rendered text template (0.0ms)
|
1024
|
-
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
1025
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:47 +0000
|
1061
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
1062
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:37:09 +0000
|
1026
1063
|
Processing by ExampleController#restricted as HTML
|
1027
1064
|
Authenticating with gds_sso strategy
|
1028
1065
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1029
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2019-
|
1030
|
-
Started GET "/auth/gds/callback?code=
|
1066
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-11-05 10:37:09 +0000
|
1067
|
+
Started GET "/auth/gds/callback?code=1b3fd05a055e9c704be76891b72bf1ac9bf62c8a8483d8c6349a1087618af5e6&state=484476ed341b3343fa78a4aeef1091a32aa34782fefd867c" for 127.0.0.1 at 2019-11-05 10:37:09 +0000
|
1031
1068
|
Processing by AuthenticationsController#callback as HTML
|
1032
|
-
Parameters: {"code"=>"
|
1069
|
+
Parameters: {"code"=>"1b3fd05a055e9c704be76891b72bf1ac9bf62c8a8483d8c6349a1087618af5e6", "state"=>"484476ed341b3343fa78a4aeef1091a32aa34782fefd867c"}
|
1033
1070
|
Authenticating with gds_sso strategy
|
1034
|
-
[1m[
|
1035
|
-
[1m[
|
1036
|
-
[1m[
|
1037
|
-
[1m[
|
1038
|
-
[1m[
|
1071
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
1072
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1073
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1074
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1075
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1039
1076
|
Redirected to http://www.example-client.com/restricted
|
1040
|
-
Completed 302 Found in
|
1041
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-
|
1077
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
1078
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:37:09 +0000
|
1042
1079
|
Processing by ExampleController#restricted as HTML
|
1043
|
-
[1m[
|
1080
|
+
[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"]]
|
1044
1081
|
Rendered text template (0.0ms)
|
1045
1082
|
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
1046
|
-
|
1047
|
-
|
1048
|
-
|
1049
|
-
|
1050
|
-
Started GET "/
|
1051
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:47 +0000
|
1083
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["email", "test@example-client.com"]]
|
1084
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1085
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "t"], ["id", 3]]
|
1086
|
+
[1m[35m (5.7ms)[0m commit transaction
|
1087
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:37:09 +0000
|
1052
1088
|
Processing by ExampleController#restricted as HTML
|
1089
|
+
[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"]]
|
1053
1090
|
Authenticating with gds_sso strategy
|
1054
|
-
Completed in
|
1055
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2019-
|
1056
|
-
Started GET "/auth/gds/callback?code=
|
1091
|
+
Completed in 1ms (ActiveRecord: 0.1ms)
|
1092
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-11-05 10:37:09 +0000
|
1093
|
+
Started GET "/auth/gds/callback?code=774988f3c64378d72974ef2cf91381de0f7128f10c1da845bb742da0778d9500&state=48999f245a06b1b4c4841b7aeaf4a55471f5a3195e74eff8" for 127.0.0.1 at 2019-11-05 10:37:09 +0000
|
1057
1094
|
Processing by AuthenticationsController#callback as HTML
|
1058
|
-
Parameters: {"code"=>"
|
1095
|
+
Parameters: {"code"=>"774988f3c64378d72974ef2cf91381de0f7128f10c1da845bb742da0778d9500", "state"=>"48999f245a06b1b4c4841b7aeaf4a55471f5a3195e74eff8"}
|
1059
1096
|
Authenticating with gds_sso strategy
|
1060
|
-
[1m[35mUser Load (0.
|
1097
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
1061
1098
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1062
1099
|
[1m[35m (0.0ms)[0m commit transaction
|
1063
1100
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1064
|
-
[1m[
|
1101
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "f"], ["id", 3]]
|
1102
|
+
[1m[36m (4.7ms)[0m [1mcommit transaction[0m
|
1065
1103
|
Redirected to http://www.example-client.com/restricted
|
1066
|
-
Completed 302 Found in
|
1067
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-
|
1068
|
-
Processing by ExampleController#restricted as HTML
|
1069
|
-
[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"]]
|
1070
|
-
Rendered text template (0.0ms)
|
1071
|
-
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
1072
|
-
[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"]]
|
1073
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1074
|
-
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 2]]
|
1075
|
-
[1m[36m (4.6ms)[0m [1mcommit transaction[0m
|
1076
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:47 +0000
|
1104
|
+
Completed 302 Found in 9ms (ActiveRecord: 5.2ms)
|
1105
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:37:09 +0000
|
1077
1106
|
Processing by ExampleController#restricted as HTML
|
1078
1107
|
[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"]]
|
1079
|
-
Authenticating with gds_sso strategy
|
1080
|
-
Completed in 1ms (ActiveRecord: 0.1ms)
|
1081
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-19 11:26:47 +0000
|
1082
|
-
Started GET "/auth/gds/callback?code=bb9e4a1274526f706447b6fa318b3560a622f09c28290d9c47c7f5173c002925&state=cc568eb11fc265c2c4a6eb6a5bca4b08923b83dca0c7fb66" for 127.0.0.1 at 2019-07-19 11:26:47 +0000
|
1083
|
-
Processing by AuthenticationsController#callback as HTML
|
1084
|
-
Parameters: {"code"=>"bb9e4a1274526f706447b6fa318b3560a622f09c28290d9c47c7f5173c002925", "state"=>"cc568eb11fc265c2c4a6eb6a5bca4b08923b83dca0c7fb66"}
|
1085
|
-
Authenticating with gds_sso strategy
|
1086
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
1087
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1088
|
-
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1089
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1090
|
-
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id", 2]]
|
1091
|
-
[1m[35m (4.5ms)[0m commit transaction
|
1092
|
-
Redirected to http://www.example-client.com/restricted
|
1093
|
-
Completed 302 Found in 8ms (ActiveRecord: 4.9ms)
|
1094
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:47 +0000
|
1095
|
-
Processing by ExampleController#restricted as HTML
|
1096
|
-
[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"]]
|
1097
1108
|
Rendered text template (0.0ms)
|
1098
1109
|
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
1099
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:47 +0000
|
1100
|
-
Processing by ExampleController#restricted as HTML
|
1101
|
-
Authenticating with gds_sso strategy
|
1102
|
-
Completed in 0ms (ActiveRecord: 0.0ms)
|
1103
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1104
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d35190"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
1105
|
-
[1m[35m (5.4ms)[0m commit transaction
|
1106
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1107
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d36517"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1108
|
-
[1m[36m (7.9ms)[0m [1mcommit transaction[0m
|
1109
|
-
Processing by Api::UserController#reauth as HTML
|
1110
|
-
Parameters: {"uid"=>"a1s2d35190"}
|
1111
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "a1s2d35190"]]
|
1112
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1113
|
-
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 3]]
|
1114
|
-
[1m[36m (4.1ms)[0m [1mcommit transaction[0m
|
1115
|
-
Completed 200 OK in 6ms (ActiveRecord: 4.4ms)
|
1116
|
-
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
|
1117
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1118
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d39409"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
1119
|
-
[1m[36m (4.0ms)[0m [1mcommit transaction[0m
|
1120
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1121
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d37934"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1122
|
-
[1m[35m (3.6ms)[0m commit transaction
|
1123
|
-
Processing by Api::UserController#reauth as HTML
|
1124
|
-
Parameters: {"uid"=>"a1s2d39409"}
|
1125
|
-
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
1126
|
-
Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
|
1127
|
-
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
1128
|
-
Completed 403 Forbidden in 6ms (Views: 6.0ms | ActiveRecord: 0.0ms)
|
1129
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1130
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d34378"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
1131
|
-
[1m[36m (3.5ms)[0m [1mcommit transaction[0m
|
1132
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1133
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d34681"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1134
|
-
[1m[35m (4.2ms)[0m commit transaction
|
1135
|
-
Processing by Api::UserController#reauth as HTML
|
1136
|
-
Parameters: {"uid"=>"nonexistent-user"}
|
1137
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "nonexistent-user"]]
|
1138
|
-
Completed 200 OK in 1ms (ActiveRecord: 0.1ms)
|
1139
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1140
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d38945"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
1141
|
-
[1m[35m (4.5ms)[0m commit transaction
|
1142
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1143
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d31389"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1144
|
-
[1m[36m (3.4ms)[0m [1mcommit transaction[0m
|
1145
|
-
Processing by Api::UserController#update as HTML
|
1146
|
-
Parameters: {"uid"=>"a1s2d38945"}
|
1147
|
-
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
1148
|
-
Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
|
1149
|
-
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
1150
|
-
Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
|
1151
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1152
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d31593"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
1153
|
-
[1m[35m (3.6ms)[0m commit transaction
|
1154
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1155
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d35797"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1156
|
-
[1m[36m (4.1ms)[0m [1mcommit transaction[0m
|
1157
|
-
Processing by Api::UserController#update as HTML
|
1158
|
-
Parameters: {"uid"=>"a1s2d31593"}
|
1159
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "a1s2d31593"]]
|
1160
1110
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1161
|
-
[1m[35mSQL (0.2ms)[0m
|
1162
|
-
[1m[36m (
|
1163
|
-
|
1164
|
-
[1m[
|
1165
|
-
[1m[
|
1166
|
-
[1m[35m (0.3ms)[0m begin transaction
|
1167
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "uid", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["email", "dummyapiuser@domain.com"], ["uid", "3224"], ["name", "Dummy API user created by gds-sso"], ["permissions", "---\n- signin\n"]]
|
1168
|
-
[1m[35m (3.9ms)[0m commit transaction
|
1169
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1170
|
-
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = ? [["permissions", "---\n- signin\n- extra_permission\n"], ["id", 13]]
|
1171
|
-
[1m[36m (4.5ms)[0m [1mcommit transaction[0m
|
1172
|
-
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "users"[0m
|
1173
|
-
[1m[35m (1.6ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
1174
|
-
[1m[35m (5.3ms)[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 (5.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
|
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
|
-
[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", "2019-07-19 11:26:54.144424"], ["updated_at", "2019-07-19 11:26:54.144424"]]
|
1179
|
-
[1m[35m (4.8ms)[0m [1m[36mcommit transaction[0m
|
1180
|
-
[1m[35m (5.9ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
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.0ms)[0m [1m[36mbegin transaction[0m
|
1183
|
-
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1184
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1185
|
-
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d37605"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1186
|
-
[1m[35m (5.2ms)[0m [1m[36mcommit transaction[0m
|
1187
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1188
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d31300"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1189
|
-
[1m[35m (3.3ms)[0m [1m[36mcommit transaction[0m
|
1190
|
-
Processing by Api::UserController#update as HTML
|
1191
|
-
Parameters: {"uid"=>"a1s2d37605"}
|
1192
|
-
Rendering /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
1193
|
-
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
1194
|
-
Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
|
1195
|
-
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
1196
|
-
Completed 403 Forbidden in 9ms (Views: 8.6ms | ActiveRecord: 0.0ms)
|
1197
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1198
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d39703"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1199
|
-
[1m[35m (3.8ms)[0m [1m[36mcommit transaction[0m
|
1200
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1201
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d33001"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1202
|
-
[1m[35m (3.4ms)[0m [1m[36mcommit transaction[0m
|
1111
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d33715"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
1112
|
+
[1m[36m (4.0ms)[0m [1mcommit transaction[0m
|
1113
|
+
[1m[35m (0.3ms)[0m begin transaction
|
1114
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d31363"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1115
|
+
[1m[35m (4.7ms)[0m commit transaction
|
1203
1116
|
Processing by Api::UserController#update as HTML
|
1204
|
-
Parameters: {"uid"=>"
|
1205
|
-
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d39703"], ["LIMIT", 1]]
|
1206
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1207
|
-
[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", 3]]
|
1208
|
-
[1m[35m (4.7ms)[0m [1m[36mcommit transaction[0m
|
1209
|
-
Completed 200 OK in 8ms (ActiveRecord: 5.2ms)
|
1210
|
-
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 3], ["LIMIT", 1]]
|
1211
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1212
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d37686"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1213
|
-
[1m[35m (4.6ms)[0m [1m[36mcommit transaction[0m
|
1214
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1215
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d34277"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1216
|
-
[1m[35m (3.5ms)[0m [1m[36mcommit transaction[0m
|
1217
|
-
Processing by Api::UserController#reauth as HTML
|
1218
|
-
Parameters: {"uid"=>"a1s2d37686"}
|
1219
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d37686"], ["LIMIT", 1]]
|
1220
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1221
|
-
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "t"], ["id", 5]]
|
1222
|
-
[1m[35m (4.7ms)[0m [1m[36mcommit transaction[0m
|
1223
|
-
Completed 200 OK in 7ms (ActiveRecord: 5.1ms)
|
1224
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 5], ["LIMIT", 1]]
|
1225
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1226
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d37925"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1227
|
-
[1m[35m (4.7ms)[0m [1m[36mcommit transaction[0m
|
1228
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1229
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d34651"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1230
|
-
[1m[35m (3.7ms)[0m [1m[36mcommit transaction[0m
|
1231
|
-
Processing by Api::UserController#reauth as HTML
|
1232
|
-
Parameters: {"uid"=>"a1s2d37925"}
|
1233
|
-
Rendering /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
1117
|
+
Parameters: {"uid"=>"a1s2d33715"}
|
1234
1118
|
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
1235
|
-
Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.
|
1119
|
+
Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.3ms)
|
1236
1120
|
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
1237
|
-
Completed 403 Forbidden in
|
1238
|
-
[1m[
|
1239
|
-
[1m[
|
1240
|
-
[1m[
|
1241
|
-
[1m[35m (0.0ms)[0m
|
1242
|
-
[1m[
|
1243
|
-
[1m[35m (3.
|
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"]]
|
1131
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1132
|
+
[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", 6]]
|
1133
|
+
[1m[35m (3.7ms)[0m commit transaction
|
1134
|
+
Completed 200 OK in 7ms (ActiveRecord: 4.1ms)
|
1135
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 6]]
|
1136
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1137
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d34531"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
1138
|
+
[1m[35m (3.8ms)[0m commit transaction
|
1139
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1140
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d31528"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1141
|
+
[1m[36m (5.4ms)[0m [1mcommit transaction[0m
|
1244
1142
|
Processing by Api::UserController#reauth as HTML
|
1245
1143
|
Parameters: {"uid"=>"nonexistent-user"}
|
1246
|
-
[1m[
|
1144
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "nonexistent-user"]]
|
1247
1145
|
Completed 200 OK in 1ms (ActiveRecord: 0.1ms)
|
1248
|
-
[1m[
|
1146
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1147
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d3743"], ["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", "a1s2d37037"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1151
|
+
[1m[35m (3.5ms)[0m commit transaction
|
1152
|
+
Processing by Api::UserController#reauth as HTML
|
1153
|
+
Parameters: {"uid"=>"a1s2d3743"}
|
1154
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "a1s2d3743"]]
|
1155
|
+
[1m[35m (0.1ms)[0m begin transaction
|
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]]
|
1160
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1161
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d3892"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
1162
|
+
[1m[35m (4.9ms)[0m commit transaction
|
1163
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1164
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d35421"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1165
|
+
[1m[36m (3.9ms)[0m [1mcommit transaction[0m
|
1166
|
+
Processing by Api::UserController#reauth as HTML
|
1167
|
+
Parameters: {"uid"=>"a1s2d3892"}
|
1168
|
+
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-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.3ms)
|
1170
|
+
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.8ms | ActiveRecord: 0.0ms)
|
1172
|
+
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "users"[0m
|
1173
|
+
[1m[35m (1.7ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
1174
|
+
[1m[35m (3.9ms)[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 (5.0ms)[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
|
+
[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]]
|
1249
1177
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1250
|
-
[1m[
|
1251
|
-
[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", "2019-11-05 10:37:16.110864"], ["updated_at", "2019-11-05 10:37:16.110864"]]
|
1179
|
+
[1m[35m (4.2ms)[0m [1m[36mcommit transaction[0m
|
1180
|
+
[1m[35m (4.6ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
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]]
|
1252
1182
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1253
|
-
[1m[
|
1254
|
-
[1m[
|
1255
|
-
[1m[36mUser Load (0.
|
1256
|
-
[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]]
|
1183
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
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
|
+
[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]]
|
1257
1186
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1258
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]]
|
1259
|
-
[1m[35m (
|
1260
|
-
[1m[36mUser Load (0.
|
1261
|
-
[1m[35m (0.
|
1188
|
+
[1m[35m (3.8ms)[0m [1m[36mcommit transaction[0m
|
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
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1262
1191
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1263
|
-
Started GET "/" for 127.0.0.1 at 2019-
|
1192
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:37:16 +0000
|
1193
|
+
Processing by ExampleController#restricted as HTML
|
1194
|
+
Authenticating with gds_sso strategy
|
1195
|
+
Completed in 5ms (ActiveRecord: 0.0ms)
|
1196
|
+
Started GET "/" for 127.0.0.1 at 2019-11-05 10:37:16 +0000
|
1264
1197
|
Processing by ExampleController#index as HTML
|
1265
1198
|
Rendering text template
|
1266
1199
|
Rendered text template (0.0ms)
|
1267
|
-
Completed 200 OK in
|
1268
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-
|
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
|
1269
1202
|
Processing by ExampleController#restricted as HTML
|
1270
1203
|
Authenticating with gds_sso strategy
|
1271
|
-
Completed in
|
1272
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2019-
|
1273
|
-
Started GET "/auth/gds/callback?code=
|
1204
|
+
Completed in 0ms (ActiveRecord: 0.0ms)
|
1205
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-11-05 10:37:16 +0000
|
1206
|
+
Started GET "/auth/gds/callback?code=b2e081a01c55852ec968628695b40215d03080d7531026c03f97d2ac5c871013&state=249ab4ad21fe2e9024498cdd741f8717458f8aa3f3deaa0a" for 127.0.0.1 at 2019-11-05 10:37:16 +0000
|
1274
1207
|
Processing by AuthenticationsController#callback as HTML
|
1275
|
-
Parameters: {"code"=>"
|
1208
|
+
Parameters: {"code"=>"b2e081a01c55852ec968628695b40215d03080d7531026c03f97d2ac5c871013", "state"=>"249ab4ad21fe2e9024498cdd741f8717458f8aa3f3deaa0a"}
|
1276
1209
|
Authenticating with gds_sso strategy
|
1277
1210
|
[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]]
|
1278
1211
|
[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]]
|
1279
1212
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1280
1213
|
[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"]]
|
1281
|
-
[1m[35m (
|
1214
|
+
[1m[35m (3.9ms)[0m [1m[36mcommit transaction[0m
|
1282
1215
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1283
|
-
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id",
|
1284
|
-
[1m[35m (
|
1216
|
+
[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 (4.1ms)[0m [1m[36mcommit transaction[0m
|
1285
1218
|
Redirected to http://www.example-client.com/restricted
|
1286
|
-
Completed 302 Found in
|
1287
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-
|
1219
|
+
Completed 302 Found in 13ms (ActiveRecord: 8.9ms)
|
1220
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:37:16 +0000
|
1288
1221
|
Processing by ExampleController#restricted as HTML
|
1289
|
-
[1m[36mUser Load (0.
|
1222
|
+
[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]]
|
1290
1223
|
Rendering text template
|
1291
1224
|
Rendered text template (0.0ms)
|
1292
|
-
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.
|
1293
|
-
Started GET "/
|
1294
|
-
Processing by ExampleController#
|
1225
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
1226
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:37:16 +0000
|
1227
|
+
Processing by ExampleController#restricted as HTML
|
1295
1228
|
Authenticating with gds_sso strategy
|
1296
1229
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1297
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2019-
|
1298
|
-
Started GET "/auth/gds/callback?code=
|
1230
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-11-05 10:37:16 +0000
|
1231
|
+
Started GET "/auth/gds/callback?code=7df0dd3451444a31de346f5b20a14c71527ed8b036a039e0cac40beec027eca4&state=291ed638f67556685ff7799b4fa5fa0f6d521bf97f0ac862" for 127.0.0.1 at 2019-11-05 10:37:17 +0000
|
1299
1232
|
Processing by AuthenticationsController#callback as HTML
|
1300
|
-
Parameters: {"code"=>"
|
1233
|
+
Parameters: {"code"=>"7df0dd3451444a31de346f5b20a14c71527ed8b036a039e0cac40beec027eca4", "state"=>"291ed638f67556685ff7799b4fa5fa0f6d521bf97f0ac862"}
|
1301
1234
|
Authenticating with gds_sso strategy
|
1302
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]]
|
1303
1236
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1304
|
-
[1m[35m (0.
|
1237
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1305
1238
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1306
|
-
[1m[35m (0.
|
1307
|
-
Redirected to http://www.example-client.com/
|
1308
|
-
Completed 302 Found in
|
1309
|
-
Started GET "/
|
1310
|
-
Processing by ExampleController#
|
1239
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1240
|
+
Redirected to http://www.example-client.com/restricted
|
1241
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
1242
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:37:17 +0000
|
1243
|
+
Processing by ExampleController#restricted as HTML
|
1311
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]]
|
1312
1245
|
Rendering text template
|
1313
1246
|
Rendered text template (0.0ms)
|
1314
|
-
Completed 200 OK in
|
1315
|
-
Started GET "/
|
1316
|
-
Processing by ExampleController#
|
1247
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
1248
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:37:17 +0000
|
1249
|
+
Processing by ExampleController#restricted as HTML
|
1317
1250
|
Authenticating with gds_sso strategy
|
1318
1251
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1319
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2019-
|
1320
|
-
Started GET "/auth/gds/callback?code=
|
1252
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-11-05 10:37:17 +0000
|
1253
|
+
Started GET "/auth/gds/callback?code=4de88ba0ebc5c15a6099eabf2a2fafabcd21b5f5e7d75ae37ec2cd2d9b78eac0&state=51f49ecc9afa91d10d125c173901b82c833fabe9502c8bb7" for 127.0.0.1 at 2019-11-05 10:37:17 +0000
|
1321
1254
|
Processing by AuthenticationsController#callback as HTML
|
1322
|
-
Parameters: {"code"=>"
|
1255
|
+
Parameters: {"code"=>"4de88ba0ebc5c15a6099eabf2a2fafabcd21b5f5e7d75ae37ec2cd2d9b78eac0", "state"=>"51f49ecc9afa91d10d125c173901b82c833fabe9502c8bb7"}
|
1323
1256
|
Authenticating with gds_sso strategy
|
1324
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]]
|
1325
1258
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1326
|
-
[1m[35m (0.
|
1259
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1327
1260
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1328
|
-
[1m[35m (0.
|
1329
|
-
Redirected to http://www.example-client.com/
|
1330
|
-
Completed 302 Found in 4ms (ActiveRecord: 0.
|
1331
|
-
Started GET "/
|
1332
|
-
Processing by ExampleController#
|
1261
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1262
|
+
Redirected to http://www.example-client.com/restricted
|
1263
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
1264
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:37:17 +0000
|
1265
|
+
Processing by ExampleController#restricted as HTML
|
1333
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]]
|
1334
1267
|
Rendering text template
|
1335
1268
|
Rendered text template (0.0ms)
|
1336
1269
|
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
1337
|
-
Started GET "/
|
1338
|
-
Processing by ExampleController#
|
1270
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-11-05 10:37:17 +0000
|
1271
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
1339
1272
|
Authenticating with gds_sso strategy
|
1340
1273
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1341
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2019-
|
1342
|
-
Started GET "/auth/gds/callback?code=
|
1274
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-11-05 10:37:17 +0000
|
1275
|
+
Started GET "/auth/gds/callback?code=20f4fe844a3dc8b6dcdb1e7eb96c9e91cbd7c897cf3360d3232733b83ee63934&state=eb5558636d7cb4b0d399be8c0b48d6fd186e01667f9f1170" for 127.0.0.1 at 2019-11-05 10:37:17 +0000
|
1343
1276
|
Processing by AuthenticationsController#callback as HTML
|
1344
|
-
Parameters: {"code"=>"
|
1277
|
+
Parameters: {"code"=>"20f4fe844a3dc8b6dcdb1e7eb96c9e91cbd7c897cf3360d3232733b83ee63934", "state"=>"eb5558636d7cb4b0d399be8c0b48d6fd186e01667f9f1170"}
|
1345
1278
|
Authenticating with gds_sso strategy
|
1346
|
-
[1m[36mUser Load (0.
|
1347
|
-
[1m[35m (0.
|
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
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1348
1281
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1349
1282
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1350
|
-
[1m[35m (0.
|
1351
|
-
Redirected to http://www.example-client.com/
|
1352
|
-
Completed 302 Found in 3ms (ActiveRecord: 0.
|
1353
|
-
Started GET "/
|
1354
|
-
Processing by ExampleController#
|
1283
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1284
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
1285
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
|
1286
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-11-05 10:37:17 +0000
|
1287
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
1355
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]]
|
1356
1289
|
Rendering text template
|
1357
1290
|
Rendered text template (0.0ms)
|
1358
1291
|
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
1359
|
-
Started GET "/
|
1360
|
-
Processing by ExampleController#
|
1292
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-11-05 10:37:17 +0000
|
1293
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
1361
1294
|
Authenticating with gds_sso strategy
|
1362
1295
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1363
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2019-
|
1364
|
-
Started GET "/auth/gds/callback?code=
|
1296
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-11-05 10:37:17 +0000
|
1297
|
+
Started GET "/auth/gds/callback?code=0ae763a239c7b43caf93cfaee132480e286f5dc230ae5bb32e03c66dfe41b683&state=0b60eb44ef52a74ac1ebb901c641ca79cb6a8feddccd58bd" for 127.0.0.1 at 2019-11-05 10:37:17 +0000
|
1365
1298
|
Processing by AuthenticationsController#callback as HTML
|
1366
|
-
Parameters: {"code"=>"
|
1299
|
+
Parameters: {"code"=>"0ae763a239c7b43caf93cfaee132480e286f5dc230ae5bb32e03c66dfe41b683", "state"=>"0b60eb44ef52a74ac1ebb901c641ca79cb6a8feddccd58bd"}
|
1367
1300
|
Authenticating with gds_sso strategy
|
1368
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]]
|
1369
1302
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1370
1303
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1371
|
-
[1m[35m (0.
|
1372
|
-
[1m[35m (0.
|
1373
|
-
Redirected to http://www.example-client.com/
|
1374
|
-
Completed 302 Found in
|
1375
|
-
Started GET "/
|
1376
|
-
Processing by ExampleController#
|
1304
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1305
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1306
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
1307
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
1308
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-11-05 10:37:17 +0000
|
1309
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
1377
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]]
|
1378
1311
|
Rendering text template
|
1379
1312
|
Rendered text template (0.0ms)
|
1380
1313
|
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
1381
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-
|
1314
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:37:17 +0000
|
1382
1315
|
Processing by ExampleController#restricted as HTML
|
1383
1316
|
Authenticating with gds_sso strategy
|
1384
1317
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1385
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2019-
|
1386
|
-
Started GET "/auth/gds/callback?code=
|
1318
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-11-05 10:37:17 +0000
|
1319
|
+
Started GET "/auth/gds/callback?code=78691f45bb1ed98b1a2fed82c0baad5fde2ede137e6e65e6b527042415effc36&state=18ff591da4849b7c6838d2060d95b8791c30931d92884246" for 127.0.0.1 at 2019-11-05 10:37:17 +0000
|
1387
1320
|
Processing by AuthenticationsController#callback as HTML
|
1388
|
-
Parameters: {"code"=>"
|
1321
|
+
Parameters: {"code"=>"78691f45bb1ed98b1a2fed82c0baad5fde2ede137e6e65e6b527042415effc36", "state"=>"18ff591da4849b7c6838d2060d95b8791c30931d92884246"}
|
1389
1322
|
Authenticating with gds_sso strategy
|
1390
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]]
|
1391
1324
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1392
|
-
[1m[35m (0.
|
1393
|
-
[1m[35m (0.
|
1325
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1326
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1394
1327
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1395
1328
|
Redirected to http://www.example-client.com/restricted
|
1396
|
-
Completed 302 Found in 4ms (ActiveRecord: 0.
|
1397
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-
|
1329
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
1330
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:37:17 +0000
|
1398
1331
|
Processing by ExampleController#restricted as HTML
|
1399
|
-
[1m[36mUser Load (0.
|
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]]
|
1400
1333
|
Rendering text template
|
1401
1334
|
Rendered text template (0.0ms)
|
1402
|
-
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.
|
1403
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-
|
1335
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
1336
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-11-06 06:42:17 +0000
|
1404
1337
|
Processing by ExampleController#restricted as HTML
|
1405
1338
|
Authenticating with gds_sso strategy
|
1406
|
-
Completed in
|
1407
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2019-
|
1408
|
-
Started GET "/auth/gds/callback?code=
|
1339
|
+
Completed in 0ms (ActiveRecord: 0.0ms)
|
1340
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-11-06 06:42:17 +0000
|
1341
|
+
Started GET "/auth/gds/callback?code=7dc0f6a4d4f88dcad43ea690887235dc7b8cf82f811c502f7609a95180869731&state=1636d454b8dfd92f7ef19ef7b79cf57f6e60036baa1bc9a5" for 127.0.0.1 at 2019-11-06 06:42:17 +0000
|
1409
1342
|
Processing by AuthenticationsController#callback as HTML
|
1410
|
-
Parameters: {"code"=>"
|
1343
|
+
Parameters: {"code"=>"7dc0f6a4d4f88dcad43ea690887235dc7b8cf82f811c502f7609a95180869731", "state"=>"1636d454b8dfd92f7ef19ef7b79cf57f6e60036baa1bc9a5"}
|
1411
1344
|
Authenticating with gds_sso strategy
|
1412
|
-
[1m[36mUser Load (0.
|
1413
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1414
|
-
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1345
|
+
[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]]
|
1415
1346
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1416
1347
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1348
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1349
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1417
1350
|
Redirected to http://www.example-client.com/restricted
|
1418
|
-
Completed 302 Found in
|
1419
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-
|
1351
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
|
1352
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-11-06 06:42:17 +0000
|
1420
1353
|
Processing by ExampleController#restricted as HTML
|
1421
1354
|
[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]]
|
1422
1355
|
Rendering text template
|
1423
1356
|
Rendered text template (0.0ms)
|
1424
|
-
Completed 200 OK in
|
1425
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-
|
1357
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
1358
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:37:17 +0000
|
1426
1359
|
Processing by ExampleController#restricted as HTML
|
1427
1360
|
Authenticating with gds_sso strategy
|
1428
1361
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1429
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2019-
|
1430
|
-
Started GET "/auth/gds/callback?code=
|
1362
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-11-05 10:37:17 +0000
|
1363
|
+
Started GET "/auth/gds/callback?code=496d67acf30546bde6deb88e4c61a94ddb0d2a704879ccde618123523c9d0e77&state=0356c4f71f5602aeb4d69ae588a39ebb795907cb50f770a8" for 127.0.0.1 at 2019-11-05 10:37:18 +0000
|
1431
1364
|
Processing by AuthenticationsController#callback as HTML
|
1432
|
-
Parameters: {"code"=>"
|
1365
|
+
Parameters: {"code"=>"496d67acf30546bde6deb88e4c61a94ddb0d2a704879ccde618123523c9d0e77", "state"=>"0356c4f71f5602aeb4d69ae588a39ebb795907cb50f770a8"}
|
1433
1366
|
Authenticating with gds_sso strategy
|
1434
|
-
[1m[36mUser Load (0.
|
1435
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1436
|
-
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1367
|
+
[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]]
|
1437
1368
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1438
1369
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1370
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1371
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1439
1372
|
Redirected to http://www.example-client.com/restricted
|
1440
|
-
Completed 302 Found in
|
1441
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-
|
1373
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
1374
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:37:18 +0000
|
1442
1375
|
Processing by ExampleController#restricted as HTML
|
1443
|
-
[1m[36mUser Load (0.
|
1376
|
+
[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]]
|
1444
1377
|
Rendering text template
|
1445
1378
|
Rendered text template (0.0ms)
|
1446
|
-
Completed 200 OK in 1ms (Views: 0.
|
1447
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-
|
1379
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
1380
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-11-06 06:42:18 +0000
|
1448
1381
|
Processing by ExampleController#restricted as HTML
|
1449
1382
|
Authenticating with gds_sso strategy
|
1450
|
-
Completed in
|
1451
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2019-
|
1452
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-
|
1383
|
+
Completed in 1ms (ActiveRecord: 0.0ms)
|
1384
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-11-06 06:42:18 +0000
|
1385
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:37:18 +0000
|
1453
1386
|
Processing by ExampleController#restricted as HTML
|
1454
1387
|
Authenticating with gds_sso strategy
|
1455
1388
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1456
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2019-
|
1457
|
-
Started GET "/auth/gds/callback?code=
|
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
|
1458
1391
|
Processing by AuthenticationsController#callback as HTML
|
1459
|
-
Parameters: {"code"=>"
|
1392
|
+
Parameters: {"code"=>"4980c916a888a66457c5c984268d7867a04bb14c635a06ec75075f73beb6a0ec", "state"=>"fd0776eb9d3c5dda9207e87e3878d7353df8534299dafd65"}
|
1460
1393
|
Authenticating with gds_sso strategy
|
1461
1394
|
[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]]
|
1395
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1396
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1462
1397
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1463
|
-
[1m[35m (0.
|
1464
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1465
|
-
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1398
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1466
1399
|
Redirected to http://www.example-client.com/restricted
|
1467
1400
|
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
1468
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-
|
1401
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:37:18 +0000
|
1469
1402
|
Processing by ExampleController#restricted as HTML
|
1470
|
-
[1m[36mUser Load (0.
|
1403
|
+
[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]]
|
1471
1404
|
Rendering text template
|
1472
1405
|
Rendered text template (0.0ms)
|
1473
|
-
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.
|
1474
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-
|
1406
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
1407
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-11-06 06:32:18 +0000
|
1475
1408
|
Processing by ExampleController#restricted as HTML
|
1476
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]]
|
1477
1410
|
Rendering text template
|
1478
1411
|
Rendered text template (0.0ms)
|
1479
|
-
Completed 200 OK in 1ms (Views: 0.
|
1480
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-
|
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
|
1481
1414
|
Processing by ExampleController#restricted as HTML
|
1482
1415
|
Authenticating with gds_sso strategy
|
1483
1416
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1484
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2019-
|
1485
|
-
Started GET "/auth/gds/callback?code=
|
1417
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-11-05 10:37:18 +0000
|
1418
|
+
Started GET "/auth/gds/callback?code=b194100bb695bc4201debbe43d10fefca7155102e2c51d312e96687375df6a38&state=9b50e61bdf56172092baac1246ea661e96f88d0bf6789b6b" for 127.0.0.1 at 2019-11-05 10:37:18 +0000
|
1486
1419
|
Processing by AuthenticationsController#callback as HTML
|
1487
|
-
Parameters: {"code"=>"
|
1420
|
+
Parameters: {"code"=>"b194100bb695bc4201debbe43d10fefca7155102e2c51d312e96687375df6a38", "state"=>"9b50e61bdf56172092baac1246ea661e96f88d0bf6789b6b"}
|
1488
1421
|
Authenticating with gds_sso strategy
|
1489
|
-
[1m[36mUser Load (0.
|
1490
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1491
|
-
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1422
|
+
[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
1423
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1493
|
-
[1m[35m (0.
|
1424
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1425
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1426
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1494
1427
|
Redirected to http://www.example-client.com/restricted
|
1495
|
-
Completed 302 Found in
|
1496
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-
|
1428
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
1429
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:37:18 +0000
|
1497
1430
|
Processing by ExampleController#restricted as HTML
|
1498
|
-
[1m[36mUser Load (0.
|
1431
|
+
[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]]
|
1499
1432
|
Rendering text template
|
1500
1433
|
Rendered text template (0.0ms)
|
1501
|
-
Completed 200 OK in
|
1434
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
1502
1435
|
[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]]
|
1503
|
-
[1m[35m (0.
|
1504
|
-
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "t"], ["id",
|
1505
|
-
[1m[35m (4.
|
1506
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-
|
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
|
1507
1440
|
Processing by ExampleController#restricted as HTML
|
1508
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]]
|
1509
1442
|
Authenticating with gds_sso strategy
|
1510
1443
|
Completed in 1ms (ActiveRecord: 0.1ms)
|
1511
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2019-
|
1512
|
-
Started GET "/auth/gds/callback?code=
|
1444
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-11-05 10:37:18 +0000
|
1445
|
+
Started GET "/auth/gds/callback?code=41604fc965529d3edf884d099dceea04f3426d635fd37c51a3ff8ae6229e497a&state=18d1c74926dbea628bd8ccd9b2b584931ba5bef91bc83b43" for 127.0.0.1 at 2019-11-05 10:37:18 +0000
|
1513
1446
|
Processing by AuthenticationsController#callback as HTML
|
1514
|
-
Parameters: {"code"=>"
|
1447
|
+
Parameters: {"code"=>"41604fc965529d3edf884d099dceea04f3426d635fd37c51a3ff8ae6229e497a", "state"=>"18d1c74926dbea628bd8ccd9b2b584931ba5bef91bc83b43"}
|
1515
1448
|
Authenticating with gds_sso strategy
|
1516
|
-
[1m[36mUser Load (0.
|
1449
|
+
[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]]
|
1517
1450
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1518
1451
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1519
1452
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1520
|
-
[1m[36mUser Update (0.
|
1521
|
-
[1m[35m (
|
1453
|
+
[1m[36mUser Update (0.3ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id", 2]]
|
1454
|
+
[1m[35m (3.8ms)[0m [1m[36mcommit transaction[0m
|
1522
1455
|
Redirected to http://www.example-client.com/restricted
|
1523
|
-
Completed 302 Found in
|
1524
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-
|
1456
|
+
Completed 302 Found in 8ms (ActiveRecord: 4.5ms)
|
1457
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:37:18 +0000
|
1525
1458
|
Processing by ExampleController#restricted as HTML
|
1526
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]]
|
1527
1460
|
Rendering text template
|
1528
1461
|
Rendered text template (0.0ms)
|
1529
|
-
Completed 200 OK in
|
1530
|
-
Started GET "/
|
1531
|
-
Processing by ExampleController#
|
1532
|
-
Authenticating with gds_sso strategy
|
1533
|
-
Completed in 0ms (ActiveRecord: 0.0ms)
|
1534
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:56 +0000
|
1535
|
-
Processing by ExampleController#restricted as JSON
|
1536
|
-
Completed in 22ms (ActiveRecord: 0.0ms)
|
1537
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:56 +0000
|
1538
|
-
Processing by ExampleController#restricted as JSON
|
1539
|
-
Completed in 12ms (ActiveRecord: 0.0ms)
|
1540
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:56 +0000
|
1541
|
-
Processing by ExampleController#restricted as JSON
|
1462
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
1463
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-11-05 10:37:18 +0000
|
1464
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
1542
1465
|
[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]]
|
1543
1466
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1544
|
-
[1m[36mUser Update (0.
|
1545
|
-
[1m[35m (
|
1467
|
+
[1m[36mUser Update (0.3ms)[0m [1m[33mUPDATE "users" SET "disabled" = ? WHERE "users"."id" = ?[0m [["disabled", nil], ["id", 2]]
|
1468
|
+
[1m[35m (5.0ms)[0m [1m[36mcommit transaction[0m
|
1546
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]]
|
1547
|
-
[1m[35m (0.
|
1470
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1548
1471
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1549
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]]
|
1550
1473
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1551
1474
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1552
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]]
|
1553
|
-
[1m[35m (0.
|
1554
|
-
[1m[35m (0.
|
1476
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1477
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1555
1478
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1556
1479
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1557
1480
|
Rendering text template
|
1558
1481
|
Rendered text template (0.0ms)
|
1559
|
-
Completed 200 OK in
|
1560
|
-
Started GET "/
|
1561
|
-
Processing by ExampleController#
|
1562
|
-
|
1563
|
-
|
1564
|
-
|
1565
|
-
|
1566
|
-
|
1482
|
+
Completed 200 OK in 66ms (Views: 0.3ms | ActiveRecord: 6.1ms)
|
1483
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:37:18 +0000
|
1484
|
+
Processing by ExampleController#restricted as JSON
|
1485
|
+
Completed in 12ms (ActiveRecord: 0.0ms)
|
1486
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-11-05 10:37:18 +0000
|
1487
|
+
Processing by ExampleController#restricted as JSON
|
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
|
1491
|
+
[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
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1567
1493
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1568
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]]
|
1495
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1496
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1497
|
+
[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]]
|
1569
1498
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1570
1499
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1571
1500
|
[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]]
|
1572
|
-
[1m[35m (0.
|
1501
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1573
1502
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1574
1503
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1575
1504
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1576
1505
|
Rendering text template
|
1577
1506
|
Rendered text template (0.0ms)
|
1578
|
-
Completed 200 OK in
|
1507
|
+
Completed 200 OK in 51ms (Views: 0.3ms | ActiveRecord: 0.7ms)
|
1508
|
+
[1m[36mUser Load (0.1ms)[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.1ms)[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", "1607"], ["email", "dummyapiuser@domain.com"], ["permissions", "---\n- signin\n"]]
|
1511
|
+
[1m[35m (3.9ms)[0m [1m[36mcommit transaction[0m
|
1512
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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 (4.9ms)[0m [1m[36mcommit transaction[0m
|
1515
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1516
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d31530"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1517
|
+
[1m[35m (3.8ms)[0m [1m[36mcommit transaction[0m
|
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", "a1s2d37459"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1520
|
+
[1m[35m (3.3ms)[0m [1m[36mcommit transaction[0m
|
1521
|
+
Processing by Api::UserController#update as HTML
|
1522
|
+
Parameters: {"uid"=>"a1s2d31530"}
|
1523
|
+
Rendering /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
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-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
|
1526
|
+
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
1527
|
+
Completed 403 Forbidden in 7ms (Views: 6.9ms | ActiveRecord: 0.0ms)
|
1528
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1529
|
+
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d36308"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1530
|
+
[1m[35m (4.9ms)[0m [1m[36mcommit transaction[0m
|
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", "a1s2d37479"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1533
|
+
[1m[35m (4.5ms)[0m [1m[36mcommit transaction[0m
|
1534
|
+
Processing by Api::UserController#update as HTML
|
1535
|
+
Parameters: {"uid"=>"a1s2d36308"}
|
1536
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d36308"], ["LIMIT", 1]]
|
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
|
1545
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1546
|
+
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d34116"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1547
|
+
[1m[35m (3.1ms)[0m [1m[36mcommit transaction[0m
|
1548
|
+
Processing by Api::UserController#reauth as HTML
|
1549
|
+
Parameters: {"uid"=>"a1s2d39422"}
|
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]]
|
1556
|
+
[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", "a1s2d32983"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1558
|
+
[1m[35m (3.3ms)[0m [1m[36mcommit transaction[0m
|
1559
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1560
|
+
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d34457"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1561
|
+
[1m[35m (3.9ms)[0m [1m[36mcommit transaction[0m
|
1562
|
+
Processing by Api::UserController#reauth as HTML
|
1563
|
+
Parameters: {"uid"=>"nonexistent-user"}
|
1564
|
+
[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
|
+
Completed 200 OK in 1ms (ActiveRecord: 0.1ms)
|
1566
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1567
|
+
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d36303"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1568
|
+
[1m[35m (4.7ms)[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", "a1s2d37837"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1571
|
+
[1m[35m (3.7ms)[0m [1m[36mcommit transaction[0m
|
1572
|
+
Processing by Api::UserController#reauth as HTML
|
1573
|
+
Parameters: {"uid"=>"a1s2d36303"}
|
1574
|
+
Rendering /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
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-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
|
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.7ms | ActiveRecord: 0.0ms)
|