gds-sso 16.0.1 → 16.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/gds-sso.rb +2 -0
- data/lib/gds-sso/version.rb +1 -1
- data/spec/internal/db/combustion_test.sqlite +0 -0
- data/spec/internal/log/test.log +738 -738
- metadata +34 -28
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4104bc40db9904a03de0b700f1136b49282191e69bee00222844cb7cb2063bef
|
4
|
+
data.tar.gz: 7dc476f342219a188e0441ec8afacac71d7a80fa6797d09831d21538489a3bb9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 05b3c93e8a78e7d485ca1bb1464d22dc0c9e16a74b770c5b1b4f8f7abf656f5782edbaa8e63e3c92143df6c00bc14a26bf5b24fa56289e8f84fc1d5b25103132
|
7
|
+
data.tar.gz: 6d74861d444d1ee8021b7bb1cb4b8ec135fdba5c315b81c609438d593b5f6bf17f4756c0d1acb41a0338d0aedf624cdc07e07640bebceda9bab22002594d937f
|
data/lib/gds-sso.rb
CHANGED
@@ -27,6 +27,8 @@ module GDS
|
|
27
27
|
# TODO - check this one - Stolen from Devise because it looked sensible...
|
28
28
|
config.before_eager_load(&:reload_routes!)
|
29
29
|
|
30
|
+
OmniAuth.config.allowed_request_methods = %i[post get]
|
31
|
+
|
30
32
|
config.app_middleware.use ::OmniAuth::Builder do
|
31
33
|
next if GDS::SSO::Config.api_only
|
32
34
|
|
data/lib/gds-sso/version.rb
CHANGED
Binary file
|
data/spec/internal/log/test.log
CHANGED
@@ -1,191 +1,190 @@
|
|
1
1
|
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "users"[0m
|
2
2
|
[1m[35m (0.9ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
3
|
-
[1m[35m (
|
4
|
-
[1m[35m (
|
5
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.
|
3
|
+
[1m[35m (6.2ms)[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
|
4
|
+
[1m[35m (3.8ms)[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
|
5
|
+
[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]]
|
6
6
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
7
|
-
[1m[36mActiveRecord::InternalMetadata Create (0.
|
8
|
-
[1m[35m (
|
9
|
-
[1m[35m (
|
7
|
+
[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", "2021-06-24 15:07:07.417855"], ["updated_at", "2021-06-24 15:07:07.417855"]]
|
8
|
+
[1m[35m (13.6ms)[0m [1m[36mcommit transaction[0m
|
9
|
+
[1m[35m (14.2ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
10
10
|
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
11
11
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
12
12
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
13
13
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
14
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "
|
15
|
-
[1m[35m (
|
14
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d34140"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
15
|
+
[1m[35m (7.7ms)[0m [1m[36mcommit transaction[0m
|
16
16
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
17
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "
|
18
|
-
[1m[35m (
|
17
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d33438"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
18
|
+
[1m[35m (4.9ms)[0m [1m[36mcommit transaction[0m
|
19
19
|
Processing by Api::UserController#update as HTML
|
20
|
-
Parameters: {"uid"=>"
|
21
|
-
[1m[36mUser Load (0.
|
20
|
+
Parameters: {"uid"=>"a1s2d34140"}
|
21
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d34140"], ["LIMIT", 1]]
|
22
22
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
23
23
|
[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", 1]]
|
24
|
-
[1m[35m (
|
25
|
-
Completed 200 OK in
|
24
|
+
[1m[35m (5.4ms)[0m [1m[36mcommit transaction[0m
|
25
|
+
Completed 200 OK in 8ms (ActiveRecord: 5.7ms)
|
26
26
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
27
27
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
28
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "
|
29
|
-
[1m[35m (
|
28
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d35903"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
29
|
+
[1m[35m (4.6ms)[0m [1m[36mcommit transaction[0m
|
30
30
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
31
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "
|
32
|
-
[1m[35m (
|
31
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d37660"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
32
|
+
[1m[35m (3.8ms)[0m [1m[36mcommit transaction[0m
|
33
33
|
Processing by Api::UserController#update as HTML
|
34
|
-
Parameters: {"uid"=>"
|
34
|
+
Parameters: {"uid"=>"a1s2d35903"}
|
35
35
|
Rendering /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
36
36
|
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
37
37
|
Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.1ms)
|
38
38
|
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
39
|
-
Completed 403 Forbidden in
|
39
|
+
Completed 403 Forbidden in 4ms (Views: 4.2ms | ActiveRecord: 0.0ms)
|
40
40
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
41
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "
|
42
|
-
[1m[35m (
|
41
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d32580"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
42
|
+
[1m[35m (3.9ms)[0m [1m[36mcommit transaction[0m
|
43
43
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
44
|
-
[1m[36mUser Create (0.
|
45
|
-
[1m[35m (
|
44
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d3720"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
45
|
+
[1m[35m (5.3ms)[0m [1m[36mcommit transaction[0m
|
46
46
|
Processing by Api::UserController#reauth as HTML
|
47
|
-
Parameters: {"uid"=>"
|
47
|
+
Parameters: {"uid"=>"a1s2d32580"}
|
48
48
|
Rendering /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
49
49
|
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
50
50
|
Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.1ms)
|
51
51
|
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
52
52
|
Completed 403 Forbidden in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
|
53
53
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
54
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "
|
55
|
-
[1m[35m (4.
|
54
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d36052"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
55
|
+
[1m[35m (4.0ms)[0m [1m[36mcommit transaction[0m
|
56
56
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
57
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "
|
58
|
-
[1m[35m (
|
57
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d38969"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
58
|
+
[1m[35m (3.8ms)[0m [1m[36mcommit transaction[0m
|
59
59
|
Processing by Api::UserController#reauth as HTML
|
60
|
-
Parameters: {"uid"=>"
|
61
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "
|
60
|
+
Parameters: {"uid"=>"a1s2d36052"}
|
61
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d36052"], ["LIMIT", 1]]
|
62
62
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
63
63
|
[1m[36mUser Update (0.1ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "t"], ["id", 7]]
|
64
|
-
[1m[35m (
|
65
|
-
Completed 200 OK in
|
64
|
+
[1m[35m (5.6ms)[0m [1m[36mcommit transaction[0m
|
65
|
+
Completed 200 OK in 7ms (ActiveRecord: 5.8ms)
|
66
66
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 7], ["LIMIT", 1]]
|
67
67
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
68
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "
|
69
|
-
[1m[35m (
|
68
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d31908"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
69
|
+
[1m[35m (5.3ms)[0m [1m[36mcommit transaction[0m
|
70
70
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
71
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "
|
72
|
-
[1m[35m (
|
71
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d33257"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
72
|
+
[1m[35m (3.8ms)[0m [1m[36mcommit transaction[0m
|
73
73
|
Processing by Api::UserController#reauth as HTML
|
74
74
|
Parameters: {"uid"=>"nonexistent-user"}
|
75
75
|
[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]]
|
76
76
|
Completed 200 OK in 1ms (ActiveRecord: 0.1ms)
|
77
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."
|
78
|
-
[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]]
|
77
|
+
[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]]
|
79
78
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
80
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions"
|
81
|
-
[1m[35m (
|
82
|
-
[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]]
|
79
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Dummy API user created by gds-sso"], ["uid", "9871"], ["email", "dummyapiuser@domain.com"], ["permissions", "---\n- signin\n"]]
|
80
|
+
[1m[35m (4.0ms)[0m [1m[36mcommit transaction[0m
|
83
81
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
84
|
-
[1m[
|
85
|
-
|
82
|
+
[1m[36mUser Update (0.1ms)[0m [1m[33mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = ?[0m [["permissions", "---\n- signin\n- extra_permission\n"], ["id", 11]]
|
83
|
+
[1m[35m (5.1ms)[0m [1m[36mcommit transaction[0m
|
84
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:08 +0000
|
86
85
|
Processing by ExampleController#restricted as HTML
|
87
86
|
Authenticating with gds_sso strategy
|
88
87
|
Completed in 4ms (ActiveRecord: 0.0ms)
|
89
|
-
Started GET "/
|
90
|
-
|
88
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-24 15:07:08 +0000
|
89
|
+
Started GET "/auth/gds/callback?code=hS54I-syiSt6cTUJlW_JPmtwB3CHImteLUO8RpWSyLg&state=33bd83f95c9e0413080a3a48934234773209ea349da1dab0" for 127.0.0.1 at 2021-06-24 15:07:08 +0000
|
90
|
+
Processing by AuthenticationsController#callback as HTML
|
91
|
+
Parameters: {"code"=>"hS54I-syiSt6cTUJlW_JPmtwB3CHImteLUO8RpWSyLg", "state"=>"33bd83f95c9e0413080a3a48934234773209ea349da1dab0"}
|
92
|
+
Authenticating with gds_sso strategy
|
91
93
|
[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]]
|
92
94
|
[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]]
|
93
95
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
94
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions"
|
95
|
-
[1m[35m (
|
96
|
-
[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]]
|
97
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
98
|
-
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
99
|
-
[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]]
|
100
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
101
|
-
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
102
|
-
[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]]
|
103
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
104
|
-
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
96
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Test User"], ["uid", "integration-uid"], ["email", "test@example-client.com"], ["permissions", "---\n- signin\n"]]
|
97
|
+
[1m[35m (8.8ms)[0m [1m[36mcommit transaction[0m
|
105
98
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
106
99
|
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id", 12]]
|
107
|
-
[1m[35m (6.
|
100
|
+
[1m[35m (6.4ms)[0m [1m[36mcommit transaction[0m
|
101
|
+
Redirected to http://www.example-client.com/restricted
|
102
|
+
Completed 302 Found in 19ms (ActiveRecord: 15.9ms)
|
103
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:08 +0000
|
104
|
+
Processing by ExampleController#restricted as HTML
|
105
|
+
[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]]
|
108
106
|
Rendering text template
|
109
107
|
Rendered text template (0.0ms)
|
110
|
-
Completed 200 OK in
|
111
|
-
Started GET "/restricted" for 127.0.0.1 at 2021-06-
|
112
|
-
Processing by ExampleController#restricted as
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
108
|
+
Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.2ms)
|
109
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:08 +0000
|
110
|
+
Processing by ExampleController#restricted as HTML
|
111
|
+
Authenticating with gds_sso strategy
|
112
|
+
Completed in 0ms (ActiveRecord: 0.0ms)
|
113
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-24 15:07:08 +0000
|
114
|
+
Started GET "/auth/gds/callback?code=iI9yA-NJQE8Jeix0k9L51l1OUnBdo8ppBZxs2WuPoxI&state=374306e1b514a61e5d1b460852b53437b7290d8f83a0f560" for 127.0.0.1 at 2021-06-24 15:07:08 +0000
|
115
|
+
Processing by AuthenticationsController#callback as HTML
|
116
|
+
Parameters: {"code"=>"iI9yA-NJQE8Jeix0k9L51l1OUnBdo8ppBZxs2WuPoxI", "state"=>"374306e1b514a61e5d1b460852b53437b7290d8f83a0f560"}
|
117
|
+
Authenticating with gds_sso strategy
|
119
118
|
[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]]
|
120
119
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
121
120
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
122
|
-
[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]]
|
123
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
124
|
-
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
125
|
-
[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]]
|
126
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
127
|
-
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
128
|
-
[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]]
|
129
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
130
|
-
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
131
121
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
132
122
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
123
|
+
Redirected to http://www.example-client.com/restricted
|
124
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
|
125
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:08 +0000
|
126
|
+
Processing by ExampleController#restricted as HTML
|
127
|
+
[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]]
|
133
128
|
Rendering text template
|
134
129
|
Rendered text template (0.0ms)
|
135
|
-
Completed 200 OK in
|
136
|
-
Started GET "/restricted" for 127.0.0.1 at 2021-06-
|
130
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
131
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:08 +0000
|
137
132
|
Processing by ExampleController#restricted as HTML
|
138
133
|
Authenticating with gds_sso strategy
|
139
134
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
140
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-
|
141
|
-
Started GET "/auth/gds/callback?code=
|
135
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-24 15:07:08 +0000
|
136
|
+
Started GET "/auth/gds/callback?code=t3mrKoVAMS2rD6Ez3fjF2mfiY3f4sz9d3mGpR4g6pK8&state=84ffe1ce4530b34ac6db32e33d0f444f482424de90ed5d71" for 127.0.0.1 at 2021-06-24 15:07:08 +0000
|
142
137
|
Processing by AuthenticationsController#callback as HTML
|
143
|
-
Parameters: {"code"=>"
|
138
|
+
Parameters: {"code"=>"t3mrKoVAMS2rD6Ez3fjF2mfiY3f4sz9d3mGpR4g6pK8", "state"=>"84ffe1ce4530b34ac6db32e33d0f444f482424de90ed5d71"}
|
144
139
|
Authenticating with gds_sso strategy
|
145
140
|
[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]]
|
146
141
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
147
|
-
[1m[
|
148
|
-
[1m[35m (
|
149
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
142
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
143
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
150
144
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
151
145
|
Redirected to http://www.example-client.com/restricted
|
152
|
-
Completed 302 Found in
|
153
|
-
Started GET "/restricted" for 127.0.0.1 at 2021-06-
|
146
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
|
147
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:08 +0000
|
154
148
|
Processing by ExampleController#restricted as HTML
|
155
|
-
[1m[36mUser Load (0.
|
149
|
+
[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]]
|
150
|
+
Rendering text template
|
151
|
+
Rendered text template (0.0ms)
|
152
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
153
|
+
Started GET "/" for 127.0.0.1 at 2021-06-24 15:07:08 +0000
|
154
|
+
Processing by ExampleController#index as HTML
|
156
155
|
Rendering text template
|
157
156
|
Rendered text template (0.0ms)
|
158
|
-
Completed 200 OK in
|
159
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2021-06-
|
157
|
+
Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
158
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2021-06-24 15:07:08 +0000
|
160
159
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
161
160
|
Authenticating with gds_sso strategy
|
162
161
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
163
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-
|
164
|
-
Started GET "/auth/gds/callback?code=
|
162
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-24 15:07:08 +0000
|
163
|
+
Started GET "/auth/gds/callback?code=GNWIz8UTM5Wo6E9H23HUX9wBoj7UAe0Qd2KEMhe-a98&state=e0c053a82f5f90b4f08ae9ae008e599bcd852d6fbf2e4859" for 127.0.0.1 at 2021-06-24 15:07:08 +0000
|
165
164
|
Processing by AuthenticationsController#callback as HTML
|
166
|
-
Parameters: {"code"=>"
|
165
|
+
Parameters: {"code"=>"GNWIz8UTM5Wo6E9H23HUX9wBoj7UAe0Qd2KEMhe-a98", "state"=>"e0c053a82f5f90b4f08ae9ae008e599bcd852d6fbf2e4859"}
|
167
166
|
Authenticating with gds_sso strategy
|
168
|
-
[1m[36mUser Load (0.
|
169
|
-
[1m[35m (0.
|
170
|
-
[1m[35m (0.
|
167
|
+
[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]]
|
168
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
169
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
171
170
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
172
171
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
173
172
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
174
|
-
Completed 302 Found in
|
175
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2021-06-
|
173
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
|
174
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2021-06-24 15:07:08 +0000
|
176
175
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
177
176
|
[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]]
|
178
177
|
Rendering text template
|
179
178
|
Rendered text template (0.0ms)
|
180
|
-
Completed 200 OK in
|
181
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2021-06-
|
179
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
180
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2021-06-24 15:07:08 +0000
|
182
181
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
183
182
|
Authenticating with gds_sso strategy
|
184
183
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
185
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-
|
186
|
-
Started GET "/auth/gds/callback?code=
|
184
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-24 15:07:08 +0000
|
185
|
+
Started GET "/auth/gds/callback?code=r_-Abr5jDEQw134XvX4IP-eug0Ok3rDC4GOstivRfEI&state=5c6b6c6a4b470b38c4366bb9272e03b72c5355ff56e541d8" for 127.0.0.1 at 2021-06-24 15:07:08 +0000
|
187
186
|
Processing by AuthenticationsController#callback as HTML
|
188
|
-
Parameters: {"code"=>"
|
187
|
+
Parameters: {"code"=>"r_-Abr5jDEQw134XvX4IP-eug0Ok3rDC4GOstivRfEI", "state"=>"5c6b6c6a4b470b38c4366bb9272e03b72c5355ff56e541d8"}
|
189
188
|
Authenticating with gds_sso strategy
|
190
189
|
[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]]
|
191
190
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
@@ -194,25 +193,20 @@ Authenticating with gds_sso strategy
|
|
194
193
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
195
194
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
196
195
|
Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
|
197
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2021-06-
|
196
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2021-06-24 15:07:08 +0000
|
198
197
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
199
198
|
[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]]
|
200
199
|
Rendering text template
|
201
200
|
Rendered text template (0.0ms)
|
202
201
|
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
203
|
-
Started GET "/" for 127.0.0.1 at 2021-06-
|
204
|
-
Processing by ExampleController#index as HTML
|
205
|
-
Rendering text template
|
206
|
-
Rendered text template (0.0ms)
|
207
|
-
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
208
|
-
Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:28 +0000
|
202
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:08 +0000
|
209
203
|
Processing by ExampleController#restricted as HTML
|
210
204
|
Authenticating with gds_sso strategy
|
211
205
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
212
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-
|
213
|
-
Started GET "/auth/gds/callback?code=
|
206
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-24 15:07:08 +0000
|
207
|
+
Started GET "/auth/gds/callback?code=tlRtnbAQaNdUZKWz6OG5VD6z9maEtek2GTclYpGuMmA&state=764d2347a8f8844675c442c308185ab4ce9823c74aa4ff32" for 127.0.0.1 at 2021-06-24 15:07:08 +0000
|
214
208
|
Processing by AuthenticationsController#callback as HTML
|
215
|
-
Parameters: {"code"=>"
|
209
|
+
Parameters: {"code"=>"tlRtnbAQaNdUZKWz6OG5VD6z9maEtek2GTclYpGuMmA", "state"=>"764d2347a8f8844675c442c308185ab4ce9823c74aa4ff32"}
|
216
210
|
Authenticating with gds_sso strategy
|
217
211
|
[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]]
|
218
212
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
@@ -220,43 +214,43 @@ Authenticating with gds_sso strategy
|
|
220
214
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
221
215
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
222
216
|
Redirected to http://www.example-client.com/restricted
|
223
|
-
Completed 302 Found in 2ms (ActiveRecord: 0.
|
224
|
-
Started GET "/restricted" for 127.0.0.1 at 2021-06-
|
217
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
|
218
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:08 +0000
|
225
219
|
Processing by ExampleController#restricted as HTML
|
226
220
|
[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]]
|
227
221
|
Rendering text template
|
228
222
|
Rendered text template (0.0ms)
|
229
223
|
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
230
|
-
Started GET "/restricted" for 127.0.0.1 at 2021-06-
|
224
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-25 11:12:08 +0000
|
231
225
|
Processing by ExampleController#restricted as HTML
|
232
226
|
Authenticating with gds_sso strategy
|
233
227
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
234
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-
|
235
|
-
Started GET "/auth/gds/callback?code=
|
228
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-25 11:12:08 +0000
|
229
|
+
Started GET "/auth/gds/callback?code=TX-Dit4R5ro4yCmL0bUfsLk616jpnnnUNsTdcabklwY&state=a1cb8699b7eb0d6de93b0caaba7f2ded57059c7abd1754d7" for 127.0.0.1 at 2021-06-25 11:12:08 +0000
|
236
230
|
Processing by AuthenticationsController#callback as HTML
|
237
|
-
Parameters: {"code"=>"
|
231
|
+
Parameters: {"code"=>"TX-Dit4R5ro4yCmL0bUfsLk616jpnnnUNsTdcabklwY", "state"=>"a1cb8699b7eb0d6de93b0caaba7f2ded57059c7abd1754d7"}
|
238
232
|
Authenticating with gds_sso strategy
|
239
|
-
[1m[36mUser Load (0.
|
233
|
+
[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]]
|
240
234
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
241
|
-
[1m[35m (0.
|
235
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
242
236
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
243
237
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
244
238
|
Redirected to http://www.example-client.com/restricted
|
245
|
-
Completed 302 Found in
|
246
|
-
Started GET "/restricted" for 127.0.0.1 at 2021-06-
|
239
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
|
240
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-25 11:12:08 +0000
|
247
241
|
Processing by ExampleController#restricted as HTML
|
248
242
|
[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]]
|
249
243
|
Rendering text template
|
250
244
|
Rendered text template (0.0ms)
|
251
|
-
Completed 200 OK in
|
252
|
-
Started GET "/restricted" for 127.0.0.1 at 2021-06-
|
245
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
246
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:08 +0000
|
253
247
|
Processing by ExampleController#restricted as HTML
|
254
248
|
Authenticating with gds_sso strategy
|
255
249
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
256
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-
|
257
|
-
Started GET "/auth/gds/callback?code=
|
250
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-24 15:07:08 +0000
|
251
|
+
Started GET "/auth/gds/callback?code=Gqyv0uClLzMapeInmPjLluoM_UT6zW41Ya_KhtIDYic&state=5ff2ff6ae1a3056f5bec86e1a0c4ee8222fafd644f3c8563" for 127.0.0.1 at 2021-06-24 15:07:08 +0000
|
258
252
|
Processing by AuthenticationsController#callback as HTML
|
259
|
-
Parameters: {"code"=>"
|
253
|
+
Parameters: {"code"=>"Gqyv0uClLzMapeInmPjLluoM_UT6zW41Ya_KhtIDYic", "state"=>"5ff2ff6ae1a3056f5bec86e1a0c4ee8222fafd644f3c8563"}
|
260
254
|
Authenticating with gds_sso strategy
|
261
255
|
[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]]
|
262
256
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
@@ -265,25 +259,25 @@ Authenticating with gds_sso strategy
|
|
265
259
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
266
260
|
Redirected to http://www.example-client.com/restricted
|
267
261
|
Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
|
268
|
-
Started GET "/restricted" for 127.0.0.1 at 2021-06-
|
262
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:09 +0000
|
269
263
|
Processing by ExampleController#restricted as HTML
|
270
264
|
[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]]
|
271
265
|
Rendering text template
|
272
266
|
Rendered text template (0.0ms)
|
273
267
|
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
274
|
-
Started GET "/restricted" for 127.0.0.1 at 2021-06-11
|
268
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-25 11:12:09 +0000
|
275
269
|
Processing by ExampleController#restricted as HTML
|
276
270
|
Authenticating with gds_sso strategy
|
277
271
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
278
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-11
|
279
|
-
Started GET "/restricted" for 127.0.0.1 at 2021-06-
|
272
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-25 11:12:09 +0000
|
273
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:09 +0000
|
280
274
|
Processing by ExampleController#restricted as HTML
|
281
275
|
Authenticating with gds_sso strategy
|
282
276
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
283
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-
|
284
|
-
Started GET "/auth/gds/callback?code=
|
277
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-24 15:07:09 +0000
|
278
|
+
Started GET "/auth/gds/callback?code=yJtbB5CRnuDKnwe9XSLZaBCccckpGxEwQCM6OWw-eLk&state=815a41e2c550c84cfb667c409418f6eedfd0eb3690f93df1" for 127.0.0.1 at 2021-06-24 15:07:09 +0000
|
285
279
|
Processing by AuthenticationsController#callback as HTML
|
286
|
-
Parameters: {"code"=>"
|
280
|
+
Parameters: {"code"=>"yJtbB5CRnuDKnwe9XSLZaBCccckpGxEwQCM6OWw-eLk", "state"=>"815a41e2c550c84cfb667c409418f6eedfd0eb3690f93df1"}
|
287
281
|
Authenticating with gds_sso strategy
|
288
282
|
[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]]
|
289
283
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
@@ -292,390 +286,400 @@ Authenticating with gds_sso strategy
|
|
292
286
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
293
287
|
Redirected to http://www.example-client.com/restricted
|
294
288
|
Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
|
295
|
-
Started GET "/restricted" for 127.0.0.1 at 2021-06-
|
289
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:09 +0000
|
296
290
|
Processing by ExampleController#restricted as HTML
|
297
291
|
[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]]
|
298
292
|
Rendering text template
|
299
293
|
Rendered text template (0.0ms)
|
300
294
|
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
301
|
-
Started GET "/restricted" for 127.0.0.1 at 2021-06-11
|
295
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-25 11:02:09 +0000
|
302
296
|
Processing by ExampleController#restricted as HTML
|
303
297
|
[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]]
|
304
298
|
Rendering text template
|
305
299
|
Rendered text template (0.0ms)
|
306
300
|
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
307
|
-
Started GET "/restricted" for 127.0.0.1 at 2021-06-
|
301
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:09 +0000
|
308
302
|
Processing by ExampleController#restricted as HTML
|
309
303
|
Authenticating with gds_sso strategy
|
310
304
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
311
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-
|
312
|
-
Started GET "/auth/gds/callback?code=
|
305
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-24 15:07:09 +0000
|
306
|
+
Started GET "/auth/gds/callback?code=fKA2Ed_HU0kWKA324oPPtDfr3Sh8AII2cxTTaxm_3Ok&state=cd50d65c7480e61ab422172c435cdce1372489ce8e46cb23" for 127.0.0.1 at 2021-06-24 15:07:09 +0000
|
313
307
|
Processing by AuthenticationsController#callback as HTML
|
314
|
-
Parameters: {"code"=>"
|
308
|
+
Parameters: {"code"=>"fKA2Ed_HU0kWKA324oPPtDfr3Sh8AII2cxTTaxm_3Ok", "state"=>"cd50d65c7480e61ab422172c435cdce1372489ce8e46cb23"}
|
315
309
|
Authenticating with gds_sso strategy
|
316
310
|
[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]]
|
317
311
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
318
|
-
[1m[35m (0.
|
312
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
319
313
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
320
314
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
321
315
|
Redirected to http://www.example-client.com/restricted
|
322
|
-
Completed 302 Found in 2ms (ActiveRecord: 0.
|
323
|
-
Started GET "/restricted" for 127.0.0.1 at 2021-06-
|
316
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
|
317
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:09 +0000
|
324
318
|
Processing by ExampleController#restricted as HTML
|
325
319
|
[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]]
|
326
320
|
Rendering text template
|
327
321
|
Rendered text template (0.0ms)
|
328
322
|
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
329
|
-
|
323
|
+
[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]]
|
324
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
325
|
+
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "t"], ["id", 12]]
|
326
|
+
[1m[35m (5.7ms)[0m [1m[36mcommit transaction[0m
|
327
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:09 +0000
|
330
328
|
Processing by ExampleController#restricted as HTML
|
329
|
+
[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]]
|
331
330
|
Authenticating with gds_sso strategy
|
332
|
-
Completed in
|
333
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-
|
334
|
-
Started GET "/auth/gds/callback?code=
|
331
|
+
Completed in 1ms (ActiveRecord: 0.1ms)
|
332
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-24 15:07:09 +0000
|
333
|
+
Started GET "/auth/gds/callback?code=NtUq4fRr1tLEey7AbWdRAZaxmWKwtrZBqo_o7_6d6m0&state=b099bae0a24fb8a0b53f057ab12b3c7c3828651b0b632c87" for 127.0.0.1 at 2021-06-24 15:07:09 +0000
|
335
334
|
Processing by AuthenticationsController#callback as HTML
|
336
|
-
Parameters: {"code"=>"
|
335
|
+
Parameters: {"code"=>"NtUq4fRr1tLEey7AbWdRAZaxmWKwtrZBqo_o7_6d6m0", "state"=>"b099bae0a24fb8a0b53f057ab12b3c7c3828651b0b632c87"}
|
337
336
|
Authenticating with gds_sso strategy
|
338
337
|
[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]]
|
339
338
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
340
339
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
341
340
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
342
|
-
[1m[
|
341
|
+
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id", 12]]
|
342
|
+
[1m[35m (5.2ms)[0m [1m[36mcommit transaction[0m
|
343
343
|
Redirected to http://www.example-client.com/restricted
|
344
|
-
Completed 302 Found in
|
345
|
-
Started GET "/restricted" for 127.0.0.1 at 2021-06-
|
344
|
+
Completed 302 Found in 7ms (ActiveRecord: 5.6ms)
|
345
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:09 +0000
|
346
346
|
Processing by ExampleController#restricted as HTML
|
347
347
|
[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]]
|
348
348
|
Rendering text template
|
349
349
|
Rendered text template (0.0ms)
|
350
350
|
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
351
|
-
Started GET "/restricted" for 127.0.0.1 at 2021-06-
|
351
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:09 +0000
|
352
352
|
Processing by ExampleController#restricted as HTML
|
353
353
|
Authenticating with gds_sso strategy
|
354
354
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
355
|
-
Started GET "/
|
356
|
-
|
357
|
-
|
358
|
-
|
359
|
-
|
355
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2021-06-24 15:07:09 +0000
|
356
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
357
|
+
[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]]
|
358
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
359
|
+
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "disabled" = ? WHERE "users"."id" = ?[0m [["disabled", nil], ["id", 12]]
|
360
|
+
[1m[35m (11.9ms)[0m [1m[36mcommit transaction[0m
|
360
361
|
[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]]
|
361
362
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
362
363
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
364
|
+
[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]]
|
365
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
366
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
367
|
+
[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]]
|
368
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
369
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
363
370
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
364
371
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
365
|
-
Redirected to http://www.example-client.com/restricted
|
366
|
-
Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
|
367
|
-
Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:28 +0000
|
368
|
-
Processing by ExampleController#restricted as HTML
|
369
|
-
[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]]
|
370
372
|
Rendering text template
|
371
373
|
Rendered text template (0.0ms)
|
372
|
-
Completed 200 OK in
|
373
|
-
|
374
|
+
Completed 200 OK in 26ms (Views: 0.2ms | ActiveRecord: 12.5ms)
|
375
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:09 +0000
|
376
|
+
Processing by ExampleController#restricted as JSON
|
377
|
+
Completed in 7ms (ActiveRecord: 0.0ms)
|
378
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:09 +0000
|
379
|
+
Processing by ExampleController#restricted as JSON
|
380
|
+
[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]]
|
374
381
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
375
|
-
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "t"], ["id", 12]]
|
376
|
-
[1m[35m (7.2ms)[0m [1m[36mcommit transaction[0m
|
377
|
-
Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:28 +0000
|
378
|
-
Processing by ExampleController#restricted as HTML
|
379
|
-
[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]]
|
380
|
-
Authenticating with gds_sso strategy
|
381
|
-
Completed in 1ms (ActiveRecord: 0.1ms)
|
382
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-10 10:30:28 +0000
|
383
|
-
Started GET "/auth/gds/callback?code=TmrgzvTZZPAjsCbcL5jsAObXc8KImNbvz9KHQUb6Yd0&state=998904e72a6470aa7952433aa79a7787971e50f69a08325e" for 127.0.0.1 at 2021-06-10 10:30:28 +0000
|
384
|
-
Processing by AuthenticationsController#callback as HTML
|
385
|
-
Parameters: {"code"=>"TmrgzvTZZPAjsCbcL5jsAObXc8KImNbvz9KHQUb6Yd0", "state"=>"998904e72a6470aa7952433aa79a7787971e50f69a08325e"}
|
386
|
-
Authenticating with gds_sso strategy
|
387
|
-
[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]]
|
388
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
389
382
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
383
|
+
[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]]
|
390
384
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
391
|
-
[1m[
|
392
|
-
[1m[
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
|
397
|
-
[1m[
|
385
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
386
|
+
[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]]
|
387
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
388
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
389
|
+
[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]]
|
390
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
391
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
392
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
393
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
398
394
|
Rendering text template
|
399
395
|
Rendered text template (0.0ms)
|
400
|
-
Completed 200 OK in
|
401
|
-
|
396
|
+
Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.4ms)
|
397
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:09 +0000
|
398
|
+
Processing by ExampleController#restricted as JSON
|
399
|
+
Completed in 11ms (ActiveRecord: 0.0ms)
|
400
|
+
[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]]
|
401
|
+
[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]]
|
402
402
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
403
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "
|
404
|
-
[1m[35m (
|
403
|
+
[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]]
|
404
|
+
[1m[35m (4.2ms)[0m [1m[36mcommit transaction[0m
|
405
|
+
[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]]
|
405
406
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
406
|
-
[1m[
|
407
|
-
[1m[35m (
|
408
|
-
[1m[35m (1.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
407
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
408
|
+
[1m[35m (1.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
409
409
|
[1m[35m (0.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
410
410
|
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "users"[0m
|
411
|
-
[1m[35m (
|
412
|
-
[1m[35m (
|
411
|
+
[1m[35m (21.5ms)[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 0)[0m
|
412
|
+
[1m[35m (9.5ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)[0m
|
413
413
|
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
414
414
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
415
|
-
[1m[36mActiveRecord::InternalMetadata Create (0.
|
416
|
-
[1m[36mTRANSACTION (
|
417
|
-
[1m[35m (
|
415
|
+
[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", "2021-06-24 15:07:17.817637"], ["updated_at", "2021-06-24 15:07:17.817637"]]
|
416
|
+
[1m[36mTRANSACTION (4.0ms)[0m [1m[36mcommit transaction[0m
|
417
|
+
[1m[35m (3.9ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
418
418
|
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
419
419
|
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
420
420
|
[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]]
|
421
421
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
422
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Dummy API user created by gds-sso"], ["uid", "
|
423
|
-
[1m[36mTRANSACTION (
|
422
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Dummy API user created by gds-sso"], ["uid", "8757"], ["email", "dummyapiuser@domain.com"], ["permissions", "---\n- signin\n"]]
|
423
|
+
[1m[36mTRANSACTION (5.8ms)[0m [1m[36mcommit transaction[0m
|
424
424
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
425
|
-
[1m[36mUser Update (0.
|
426
|
-
[1m[36mTRANSACTION (
|
427
|
-
[1m[36mUser Load (0.
|
425
|
+
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = ?[0m [["permissions", "---\n- signin\n- extra_permission\n"], ["id", 1]]
|
426
|
+
[1m[36mTRANSACTION (4.6ms)[0m [1m[36mcommit transaction[0m
|
427
|
+
[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]]
|
428
428
|
[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]]
|
429
429
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
430
430
|
[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]]
|
431
|
-
[1m[36mTRANSACTION (
|
431
|
+
[1m[36mTRANSACTION (3.8ms)[0m [1m[36mcommit transaction[0m
|
432
432
|
[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]]
|
433
|
-
Started GET "/
|
434
|
-
Processing by ExampleController#
|
433
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:18 +0000
|
434
|
+
Processing by ExampleController#restricted as HTML
|
435
435
|
Authenticating with gds_sso strategy
|
436
436
|
Completed in 11ms (ActiveRecord: 0.0ms | Allocations: 1328)
|
437
|
-
Started GET "/
|
438
|
-
|
437
|
+
Started GET "/" for 127.0.0.1 at 2021-06-24 15:07:18 +0000
|
438
|
+
Processing by ExampleController#index as HTML
|
439
|
+
Rendering text template
|
440
|
+
Rendered text template (Duration: 0.0ms | Allocations: 3)
|
441
|
+
Completed 200 OK in 2ms (Views: 2.2ms | ActiveRecord: 0.0ms | Allocations: 1295)
|
442
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:18 +0000
|
443
|
+
Processing by ExampleController#restricted as HTML
|
444
|
+
Authenticating with gds_sso strategy
|
445
|
+
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 140)
|
446
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-24 15:07:18 +0000
|
447
|
+
Started GET "/auth/gds/callback?code=39AdRZzCXy86wvQ2csEN2uJvpEPwXEdV3tB6xITV6X8&state=7c4adf039ec5430052b3b96f70921e4524699771d44aa135" for 127.0.0.1 at 2021-06-24 15:07:18 +0000
|
439
448
|
Processing by AuthenticationsController#callback as HTML
|
440
|
-
Parameters: {"code"=>"
|
449
|
+
Parameters: {"code"=>"39AdRZzCXy86wvQ2csEN2uJvpEPwXEdV3tB6xITV6X8", "state"=>"7c4adf039ec5430052b3b96f70921e4524699771d44aa135"}
|
441
450
|
Authenticating with gds_sso strategy
|
442
451
|
[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]]
|
443
452
|
[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]]
|
444
|
-
[1m[36mTRANSACTION (0.
|
453
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
445
454
|
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Test User"], ["uid", "integration-uid"], ["email", "test@example-client.com"], ["permissions", "---\n- signin\n"]]
|
446
|
-
[1m[36mTRANSACTION (
|
455
|
+
[1m[36mTRANSACTION (4.5ms)[0m [1m[36mcommit transaction[0m
|
447
456
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
448
|
-
[1m[36mUser Update (0.
|
449
|
-
[1m[36mTRANSACTION (5.
|
450
|
-
Redirected to http://www.example-client.com/
|
451
|
-
Completed 302 Found in
|
452
|
-
Started GET "/
|
453
|
-
Processing by ExampleController#
|
454
|
-
[1m[36mUser Load (0.
|
457
|
+
[1m[36mUser Update (0.1ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", 0], ["id", 3]]
|
458
|
+
[1m[36mTRANSACTION (5.2ms)[0m [1m[36mcommit transaction[0m
|
459
|
+
Redirected to http://www.example-client.com/restricted
|
460
|
+
Completed 302 Found in 13ms (ActiveRecord: 10.3ms | Allocations: 1505)
|
461
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:18 +0000
|
462
|
+
Processing by ExampleController#restricted as HTML
|
463
|
+
[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", 0], ["LIMIT", 1]]
|
455
464
|
Rendering text template
|
456
|
-
Rendered text template (Duration: 0.0ms | Allocations:
|
457
|
-
Completed 200 OK in
|
458
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2021-06-
|
465
|
+
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
466
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms | Allocations: 742)
|
467
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2021-06-24 15:07:18 +0000
|
459
468
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
460
469
|
Authenticating with gds_sso strategy
|
461
470
|
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 138)
|
462
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-
|
463
|
-
Started GET "/auth/gds/callback?code=
|
471
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-24 15:07:18 +0000
|
472
|
+
Started GET "/auth/gds/callback?code=pNzHNSC1T5XozVikGQWhSATH5Pb1Kc8WpjEiIWxpANw&state=46e8ef44600a67a54dc7b346013613b0f1b3a57f50f9aec6" for 127.0.0.1 at 2021-06-24 15:07:18 +0000
|
464
473
|
Processing by AuthenticationsController#callback as HTML
|
465
|
-
Parameters: {"code"=>"
|
474
|
+
Parameters: {"code"=>"pNzHNSC1T5XozVikGQWhSATH5Pb1Kc8WpjEiIWxpANw", "state"=>"46e8ef44600a67a54dc7b346013613b0f1b3a57f50f9aec6"}
|
466
475
|
Authenticating with gds_sso strategy
|
467
476
|
[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]]
|
468
477
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
469
478
|
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 954)
|
470
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2021-06-
|
479
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2021-06-24 15:07:18 +0000
|
471
480
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
472
481
|
[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", 0], ["LIMIT", 1]]
|
473
482
|
Rendering text template
|
474
483
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
475
|
-
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations:
|
476
|
-
Started GET "/
|
477
|
-
Processing by ExampleController#
|
484
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 708)
|
485
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2021-06-24 15:07:18 +0000
|
486
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
478
487
|
Authenticating with gds_sso strategy
|
479
488
|
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 138)
|
480
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-
|
481
|
-
Started GET "/auth/gds/callback?code=
|
489
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-24 15:07:18 +0000
|
490
|
+
Started GET "/auth/gds/callback?code=_HKrxwsuFfoFI-EFGPOoR-YluJPGHk5JAFUB3VJVF-k&state=409daeb35905cbe0a219109a8bc52eb5ceffdea03d5ef8dd" for 127.0.0.1 at 2021-06-24 15:07:18 +0000
|
482
491
|
Processing by AuthenticationsController#callback as HTML
|
483
|
-
Parameters: {"code"=>"
|
492
|
+
Parameters: {"code"=>"_HKrxwsuFfoFI-EFGPOoR-YluJPGHk5JAFUB3VJVF-k", "state"=>"409daeb35905cbe0a219109a8bc52eb5ceffdea03d5ef8dd"}
|
484
493
|
Authenticating with gds_sso strategy
|
485
494
|
[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]]
|
486
|
-
Redirected to http://www.example-client.com/
|
487
|
-
Completed 302 Found in
|
488
|
-
Started GET "/
|
489
|
-
Processing by ExampleController#
|
495
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
496
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 956)
|
497
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2021-06-24 15:07:18 +0000
|
498
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
490
499
|
[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", 0], ["LIMIT", 1]]
|
491
500
|
Rendering text template
|
492
501
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
493
|
-
Completed 200 OK in
|
494
|
-
Started GET "/restricted" for 127.0.0.1 at 2021-06-
|
502
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 711)
|
503
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:18 +0000
|
495
504
|
Processing by ExampleController#restricted as HTML
|
496
505
|
Authenticating with gds_sso strategy
|
497
506
|
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 138)
|
498
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-
|
499
|
-
Started GET "/auth/gds/callback?code=
|
507
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-24 15:07:18 +0000
|
508
|
+
Started GET "/auth/gds/callback?code=mHs-lXzKmDFHB1SXCSJuXn7W9OVNcOsYIx_k2v3fot4&state=1fceb89873dc52d3ee983aa065b8015d1ec5427ca4f1b534" for 127.0.0.1 at 2021-06-24 15:07:18 +0000
|
500
509
|
Processing by AuthenticationsController#callback as HTML
|
501
|
-
Parameters: {"code"=>"
|
510
|
+
Parameters: {"code"=>"mHs-lXzKmDFHB1SXCSJuXn7W9OVNcOsYIx_k2v3fot4", "state"=>"1fceb89873dc52d3ee983aa065b8015d1ec5427ca4f1b534"}
|
502
511
|
Authenticating with gds_sso strategy
|
503
512
|
[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]]
|
504
513
|
Redirected to http://www.example-client.com/restricted
|
505
|
-
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations:
|
506
|
-
Started GET "/restricted" for 127.0.0.1 at 2021-06-
|
514
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 954)
|
515
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:18 +0000
|
507
516
|
Processing by ExampleController#restricted as HTML
|
508
517
|
[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", 0], ["LIMIT", 1]]
|
509
518
|
Rendering text template
|
510
519
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
511
|
-
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations:
|
512
|
-
Started GET "/" for 127.0.0.1 at 2021-06-
|
513
|
-
Processing by ExampleController#index as HTML
|
514
|
-
Rendering text template
|
515
|
-
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
516
|
-
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms | Allocations: 152)
|
517
|
-
Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:37 +0000
|
520
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 712)
|
521
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:18 +0000
|
518
522
|
Processing by ExampleController#restricted as HTML
|
519
523
|
Authenticating with gds_sso strategy
|
520
524
|
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 138)
|
521
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-
|
522
|
-
Started GET "/auth/gds/callback?code=
|
525
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-24 15:07:18 +0000
|
526
|
+
Started GET "/auth/gds/callback?code=qGB_SkFJJy4j6W9IgVMlC1mUE77LKceIgTi380YIVL4&state=8d35f367cd0356ae3ccef692df23e1ca21b955512c64ede6" for 127.0.0.1 at 2021-06-24 15:07:18 +0000
|
523
527
|
Processing by AuthenticationsController#callback as HTML
|
524
|
-
Parameters: {"code"=>"
|
528
|
+
Parameters: {"code"=>"qGB_SkFJJy4j6W9IgVMlC1mUE77LKceIgTi380YIVL4", "state"=>"8d35f367cd0356ae3ccef692df23e1ca21b955512c64ede6"}
|
525
529
|
Authenticating with gds_sso strategy
|
526
530
|
[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]]
|
527
531
|
Redirected to http://www.example-client.com/restricted
|
528
532
|
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 954)
|
529
|
-
Started GET "/restricted" for 127.0.0.1 at 2021-06-
|
533
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:18 +0000
|
530
534
|
Processing by ExampleController#restricted as HTML
|
531
535
|
[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", 0], ["LIMIT", 1]]
|
532
536
|
Rendering text template
|
533
537
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
534
|
-
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations:
|
535
|
-
Started GET "/restricted" for 127.0.0.1 at 2021-06-
|
538
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 712)
|
539
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:18 +0000
|
536
540
|
Processing by ExampleController#restricted as HTML
|
537
541
|
Authenticating with gds_sso strategy
|
538
542
|
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 138)
|
539
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-
|
540
|
-
Started GET "/auth/gds/callback?code=
|
543
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-24 15:07:18 +0000
|
544
|
+
Started GET "/auth/gds/callback?code=l46JFUPUTn9KVOA0npfn8WGyqd98OtcoJa45dGcsyco&state=e415c039785d1bb4e4d30ff012814293de4b1263c6179356" for 127.0.0.1 at 2021-06-24 15:07:18 +0000
|
541
545
|
Processing by AuthenticationsController#callback as HTML
|
542
|
-
Parameters: {"code"=>"
|
546
|
+
Parameters: {"code"=>"l46JFUPUTn9KVOA0npfn8WGyqd98OtcoJa45dGcsyco", "state"=>"e415c039785d1bb4e4d30ff012814293de4b1263c6179356"}
|
543
547
|
Authenticating with gds_sso strategy
|
544
548
|
[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]]
|
545
549
|
Redirected to http://www.example-client.com/restricted
|
546
|
-
Completed 302 Found in
|
547
|
-
Started GET "/restricted" for 127.0.0.1 at 2021-06-
|
550
|
+
Completed 302 Found in 12ms (ActiveRecord: 0.1ms | Allocations: 954)
|
551
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:18 +0000
|
548
552
|
Processing by ExampleController#restricted as HTML
|
549
553
|
[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", 0], ["LIMIT", 1]]
|
550
554
|
Rendering text template
|
551
555
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
552
|
-
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations:
|
553
|
-
Started GET "/restricted" for 127.0.0.1 at 2021-06-11
|
554
|
-
Processing by ExampleController#restricted as HTML
|
555
|
-
Authenticating with gds_sso strategy
|
556
|
-
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 518)
|
557
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-11 06:35:37 +0000
|
558
|
-
Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:37 +0000
|
556
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 715)
|
557
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-25 11:12:18 +0000
|
559
558
|
Processing by ExampleController#restricted as HTML
|
560
559
|
Authenticating with gds_sso strategy
|
561
|
-
Completed in 0ms (ActiveRecord: 0.0ms | Allocations:
|
562
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-
|
563
|
-
Started GET "/auth/gds/callback?code=
|
560
|
+
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 524)
|
561
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-25 11:12:18 +0000
|
562
|
+
Started GET "/auth/gds/callback?code=SxZ-tTP80KGWJkoBBt1_xI42jpfkq_Tp0UU-ruzJPiU&state=a1c8b4d7a2a25e7563d7a2fbbd3f8688a6d271a15ff7898c" for 127.0.0.1 at 2021-06-25 11:12:18 +0000
|
564
563
|
Processing by AuthenticationsController#callback as HTML
|
565
|
-
Parameters: {"code"=>"
|
564
|
+
Parameters: {"code"=>"SxZ-tTP80KGWJkoBBt1_xI42jpfkq_Tp0UU-ruzJPiU", "state"=>"a1c8b4d7a2a25e7563d7a2fbbd3f8688a6d271a15ff7898c"}
|
566
565
|
Authenticating with gds_sso strategy
|
567
566
|
[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]]
|
568
567
|
Redirected to http://www.example-client.com/restricted
|
569
|
-
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations:
|
570
|
-
Started GET "/restricted" for 127.0.0.1 at 2021-06-
|
568
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 1166)
|
569
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-25 11:12:18 +0000
|
571
570
|
Processing by ExampleController#restricted as HTML
|
572
571
|
[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", 0], ["LIMIT", 1]]
|
573
572
|
Rendering text template
|
574
573
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
575
|
-
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations:
|
576
|
-
Started GET "/restricted" for 127.0.0.1 at 2021-06-
|
574
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 947)
|
575
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:18 +0000
|
577
576
|
Processing by ExampleController#restricted as HTML
|
578
577
|
Authenticating with gds_sso strategy
|
579
|
-
Completed in 0ms (ActiveRecord: 0.0ms | Allocations:
|
580
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-
|
581
|
-
Started GET "/auth/gds/callback?code=
|
578
|
+
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 138)
|
579
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-24 15:07:18 +0000
|
580
|
+
Started GET "/auth/gds/callback?code=9tZhB8q-sHj4s08XFIn3q-ZACshjd_9GnxL-H52KS6E&state=15434d9a957c9d030fdc5917d2446f85e9f189bea4b0fd00" for 127.0.0.1 at 2021-06-24 15:07:18 +0000
|
582
581
|
Processing by AuthenticationsController#callback as HTML
|
583
|
-
Parameters: {"code"=>"
|
582
|
+
Parameters: {"code"=>"9tZhB8q-sHj4s08XFIn3q-ZACshjd_9GnxL-H52KS6E", "state"=>"15434d9a957c9d030fdc5917d2446f85e9f189bea4b0fd00"}
|
584
583
|
Authenticating with gds_sso strategy
|
585
584
|
[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]]
|
586
585
|
Redirected to http://www.example-client.com/restricted
|
587
|
-
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations:
|
588
|
-
Started GET "/restricted" for 127.0.0.1 at 2021-06-
|
586
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 954)
|
587
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:18 +0000
|
589
588
|
Processing by ExampleController#restricted as HTML
|
590
589
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
|
591
590
|
Rendering text template
|
592
591
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
593
|
-
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations:
|
594
|
-
Started GET "/restricted" for 127.0.0.1 at 2021-06-
|
592
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 712)
|
593
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-25 11:12:18 +0000
|
594
|
+
Processing by ExampleController#restricted as HTML
|
595
|
+
Authenticating with gds_sso strategy
|
596
|
+
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 524)
|
597
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-25 11:12:18 +0000
|
598
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:18 +0000
|
595
599
|
Processing by ExampleController#restricted as HTML
|
596
600
|
Authenticating with gds_sso strategy
|
597
601
|
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 138)
|
598
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-
|
599
|
-
Started GET "/auth/gds/callback?code=
|
602
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-24 15:07:18 +0000
|
603
|
+
Started GET "/auth/gds/callback?code=YU6PMQzhZarCYt9tRe-8sXk3Q3Yv7oJIaRG9USCiX4c&state=9acc47d76439cc66fed03928f992f7dbafdf8898eba15334" for 127.0.0.1 at 2021-06-24 15:07:18 +0000
|
600
604
|
Processing by AuthenticationsController#callback as HTML
|
601
|
-
Parameters: {"code"=>"
|
605
|
+
Parameters: {"code"=>"YU6PMQzhZarCYt9tRe-8sXk3Q3Yv7oJIaRG9USCiX4c", "state"=>"9acc47d76439cc66fed03928f992f7dbafdf8898eba15334"}
|
602
606
|
Authenticating with gds_sso strategy
|
603
607
|
[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]]
|
604
608
|
Redirected to http://www.example-client.com/restricted
|
605
609
|
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 954)
|
606
|
-
Started GET "/restricted" for 127.0.0.1 at 2021-06-
|
610
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:19 +0000
|
607
611
|
Processing by ExampleController#restricted as HTML
|
608
612
|
[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", 0], ["LIMIT", 1]]
|
609
613
|
Rendering text template
|
610
614
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
611
|
-
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations:
|
612
|
-
Started GET "/restricted" for 127.0.0.1 at 2021-06-11
|
615
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 712)
|
616
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-25 11:02:19 +0000
|
613
617
|
Processing by ExampleController#restricted as HTML
|
614
618
|
[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", 0], ["LIMIT", 1]]
|
615
619
|
Rendering text template
|
616
620
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
617
|
-
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations:
|
618
|
-
Started GET "/restricted" for 127.0.0.1 at 2021-06-
|
621
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 945)
|
622
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:19 +0000
|
619
623
|
Processing by ExampleController#restricted as HTML
|
620
624
|
Authenticating with gds_sso strategy
|
621
625
|
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 138)
|
622
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-
|
623
|
-
Started GET "/auth/gds/callback?code=
|
626
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-24 15:07:19 +0000
|
627
|
+
Started GET "/auth/gds/callback?code=XlCeG0-vhjY847bzPqxjnmxw_cPVPIltwvDtysehTfQ&state=ef0633f755ced30ca91ff947401b0b0a7817719961569994" for 127.0.0.1 at 2021-06-24 15:07:19 +0000
|
624
628
|
Processing by AuthenticationsController#callback as HTML
|
625
|
-
Parameters: {"code"=>"
|
629
|
+
Parameters: {"code"=>"XlCeG0-vhjY847bzPqxjnmxw_cPVPIltwvDtysehTfQ", "state"=>"ef0633f755ced30ca91ff947401b0b0a7817719961569994"}
|
626
630
|
Authenticating with gds_sso strategy
|
627
631
|
[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]]
|
628
632
|
Redirected to http://www.example-client.com/restricted
|
629
|
-
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations:
|
630
|
-
Started GET "/restricted" for 127.0.0.1 at 2021-06-
|
633
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 956)
|
634
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:19 +0000
|
631
635
|
Processing by ExampleController#restricted as HTML
|
632
636
|
[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", 0], ["LIMIT", 1]]
|
633
637
|
Rendering text template
|
634
638
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
635
|
-
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations:
|
639
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 714)
|
636
640
|
[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]]
|
637
641
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
638
|
-
[1m[36mUser Update (0.
|
639
|
-
[1m[36mTRANSACTION (
|
640
|
-
Started GET "/restricted" for 127.0.0.1 at 2021-06-
|
642
|
+
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", 1], ["id", 3]]
|
643
|
+
[1m[36mTRANSACTION (3.5ms)[0m [1m[36mcommit transaction[0m
|
644
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:19 +0000
|
641
645
|
Processing by ExampleController#restricted as HTML
|
642
646
|
[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", 0], ["LIMIT", 1]]
|
643
647
|
Authenticating with gds_sso strategy
|
644
|
-
Completed in 1ms (ActiveRecord: 0.1ms | Allocations:
|
645
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-
|
646
|
-
Started GET "/auth/gds/callback?code=
|
648
|
+
Completed in 1ms (ActiveRecord: 0.1ms | Allocations: 582)
|
649
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-24 15:07:19 +0000
|
650
|
+
Started GET "/auth/gds/callback?code=h8HMJubRbRZ_7IaVfXioZ2NnDsXe2Fonu7M6VVRtQZA&state=412aed4624fa25935ed5f4e4cf613bed99d86ff9558353fc" for 127.0.0.1 at 2021-06-24 15:07:19 +0000
|
647
651
|
Processing by AuthenticationsController#callback as HTML
|
648
|
-
Parameters: {"code"=>"
|
652
|
+
Parameters: {"code"=>"h8HMJubRbRZ_7IaVfXioZ2NnDsXe2Fonu7M6VVRtQZA", "state"=>"412aed4624fa25935ed5f4e4cf613bed99d86ff9558353fc"}
|
649
653
|
Authenticating with gds_sso strategy
|
650
654
|
[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]]
|
651
655
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
652
656
|
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", 0], ["id", 3]]
|
653
|
-
[1m[36mTRANSACTION (
|
657
|
+
[1m[36mTRANSACTION (4.4ms)[0m [1m[36mcommit transaction[0m
|
654
658
|
Redirected to http://www.example-client.com/restricted
|
655
|
-
Completed 302 Found in
|
656
|
-
Started GET "/restricted" for 127.0.0.1 at 2021-06-
|
659
|
+
Completed 302 Found in 7ms (ActiveRecord: 4.7ms | Allocations: 1162)
|
660
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:19 +0000
|
657
661
|
Processing by ExampleController#restricted as HTML
|
658
662
|
[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", 0], ["LIMIT", 1]]
|
659
663
|
Rendering text template
|
660
664
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
661
|
-
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations:
|
662
|
-
Started GET "/restricted" for 127.0.0.1 at 2021-06-
|
665
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 710)
|
666
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:19 +0000
|
667
|
+
Processing by ExampleController#restricted as JSON
|
668
|
+
Completed in 12ms (ActiveRecord: 0.0ms | Allocations: 2196)
|
669
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:19 +0000
|
663
670
|
Processing by ExampleController#restricted as JSON
|
664
|
-
Completed in 9ms (ActiveRecord: 0.0ms | Allocations: 2304)
|
665
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2021-06-10 10:30:38 +0000
|
666
|
-
Processing by ExampleController#this_requires_signin_permission as JSON
|
667
671
|
[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]]
|
668
672
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
669
|
-
[1m[36mUser Update (0.
|
670
|
-
[1m[36mTRANSACTION (
|
673
|
+
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "disabled" = ? WHERE "users"."id" = ?[0m [["disabled", nil], ["id", 3]]
|
674
|
+
[1m[36mTRANSACTION (3.8ms)[0m [1m[36mcommit transaction[0m
|
671
675
|
[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]]
|
672
676
|
[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]]
|
673
677
|
[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]]
|
674
678
|
Rendering text template
|
675
679
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
676
|
-
Completed 200 OK in
|
677
|
-
Started GET "/
|
678
|
-
Processing by ExampleController#
|
680
|
+
Completed 200 OK in 10ms (Views: 0.2ms | ActiveRecord: 4.2ms | Allocations: 3566)
|
681
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2021-06-24 15:07:19 +0000
|
682
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
679
683
|
[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]]
|
680
684
|
[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]]
|
681
685
|
[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]]
|
@@ -683,114 +687,113 @@ Processing by ExampleController#restricted as JSON
|
|
683
687
|
Rendering text template
|
684
688
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
685
689
|
Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 3267)
|
686
|
-
Started GET "/restricted" for 127.0.0.1 at 2021-06-
|
690
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:19 +0000
|
687
691
|
Processing by ExampleController#restricted as JSON
|
688
|
-
Completed in
|
689
|
-
Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:38 +0000
|
690
|
-
Processing by ExampleController#restricted as HTML
|
691
|
-
Authenticating with gds_sso strategy
|
692
|
-
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 140)
|
693
|
-
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
694
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d38852"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
695
|
-
[1m[36mTRANSACTION (6.0ms)[0m [1m[36mcommit transaction[0m
|
692
|
+
Completed in 7ms (ActiveRecord: 0.0ms | Allocations: 1912)
|
696
693
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
697
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "
|
698
|
-
[1m[36mTRANSACTION (
|
699
|
-
|
700
|
-
|
694
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d31638"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
695
|
+
[1m[36mTRANSACTION (3.6ms)[0m [1m[36mcommit transaction[0m
|
696
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
697
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d33347"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
698
|
+
[1m[36mTRANSACTION (4.6ms)[0m [1m[36mcommit transaction[0m
|
699
|
+
Processing by Api::UserController#reauth as HTML
|
700
|
+
Parameters: {"uid"=>"nonexistent-user"}
|
701
|
+
[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]]
|
702
|
+
Completed 200 OK in 1ms (ActiveRecord: 0.1ms | Allocations: 545)
|
703
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
704
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d35732"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
705
|
+
[1m[36mTRANSACTION (3.8ms)[0m [1m[36mcommit transaction[0m
|
706
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
707
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d37370"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
708
|
+
[1m[36mTRANSACTION (4.9ms)[0m [1m[36mcommit transaction[0m
|
709
|
+
Processing by Api::UserController#reauth as HTML
|
710
|
+
Parameters: {"uid"=>"a1s2d35732"}
|
711
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d35732"], ["LIMIT", 1]]
|
712
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
713
|
+
[1m[36mUser Update (0.1ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", 1], ["id", 6]]
|
714
|
+
[1m[36mTRANSACTION (3.2ms)[0m [1m[36mcommit transaction[0m
|
715
|
+
Completed 200 OK in 5ms (ActiveRecord: 3.5ms | Allocations: 888)
|
716
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 6], ["LIMIT", 1]]
|
717
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
718
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d36063"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
719
|
+
[1m[36mTRANSACTION (5.0ms)[0m [1m[36mcommit transaction[0m
|
720
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
721
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d37559"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
722
|
+
[1m[36mTRANSACTION (3.7ms)[0m [1m[36mcommit transaction[0m
|
723
|
+
Processing by Api::UserController#reauth as HTML
|
724
|
+
Parameters: {"uid"=>"a1s2d36063"}
|
701
725
|
Rendering layout /var/lib/jenkins/workspace/gds-sso_master/app/views/layouts/unauthorised.html.erb
|
702
726
|
Rendering /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
703
727
|
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
704
728
|
Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (Duration: 0.5ms | Allocations: 262)
|
705
729
|
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
706
|
-
Rendered layout /var/lib/jenkins/workspace/gds-sso_master/app/views/layouts/unauthorised.html.erb (Duration: 0.
|
707
|
-
Completed 403 Forbidden in 3ms (Views: 2.
|
730
|
+
Rendered layout /var/lib/jenkins/workspace/gds-sso_master/app/views/layouts/unauthorised.html.erb (Duration: 0.6ms | Allocations: 356)
|
731
|
+
Completed 403 Forbidden in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms | Allocations: 1595)
|
708
732
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
709
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "
|
710
|
-
[1m[36mTRANSACTION (
|
733
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d31534"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
734
|
+
[1m[36mTRANSACTION (4.6ms)[0m [1m[36mcommit transaction[0m
|
711
735
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
712
|
-
[1m[36mUser Create (0.
|
713
|
-
[1m[36mTRANSACTION (
|
736
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d31632"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
737
|
+
[1m[36mTRANSACTION (4.0ms)[0m [1m[36mcommit transaction[0m
|
714
738
|
Processing by Api::UserController#update as HTML
|
715
|
-
Parameters: {"uid"=>"
|
716
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "
|
739
|
+
Parameters: {"uid"=>"a1s2d31534"}
|
740
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d31534"], ["LIMIT", 1]]
|
717
741
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
718
|
-
[1m[36mUser Update (0.
|
719
|
-
[1m[36mTRANSACTION (
|
720
|
-
Completed 200 OK in
|
721
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id",
|
722
|
-
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
723
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d37543"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
724
|
-
[1m[36mTRANSACTION (8.4ms)[0m [1m[36mcommit transaction[0m
|
742
|
+
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "name" = ?, "email" = ?, "permissions" = ?, "organisation_slug" = ?, "organisation_content_id" = ? WHERE "users"."id" = ?[0m [["name", "Joshua Marshall"], ["email", "user@domain.com"], ["permissions", "---\n- signin\n- new permission\n"], ["organisation_slug", "justice-league"], ["organisation_content_id", "aae1319e-5788-4677-998c-f1a53af528d0"], ["id", 10]]
|
743
|
+
[1m[36mTRANSACTION (4.7ms)[0m [1m[36mcommit transaction[0m
|
744
|
+
Completed 200 OK in 7ms (ActiveRecord: 5.0ms | Allocations: 1230)
|
745
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 10], ["LIMIT", 1]]
|
725
746
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
726
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "
|
727
|
-
[1m[36mTRANSACTION (
|
728
|
-
|
729
|
-
|
747
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d38627"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
748
|
+
[1m[36mTRANSACTION (3.8ms)[0m [1m[36mcommit transaction[0m
|
749
|
+
[1m[36mTRANSACTION (0.3ms)[0m [1m[36mbegin transaction[0m
|
750
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d366"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
751
|
+
[1m[36mTRANSACTION (4.7ms)[0m [1m[36mcommit transaction[0m
|
752
|
+
Processing by Api::UserController#update as HTML
|
753
|
+
Parameters: {"uid"=>"a1s2d38627"}
|
730
754
|
Rendering layout /var/lib/jenkins/workspace/gds-sso_master/app/views/layouts/unauthorised.html.erb
|
731
755
|
Rendering /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
732
756
|
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
733
757
|
Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (Duration: 0.1ms | Allocations: 55)
|
734
758
|
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
735
759
|
Rendered layout /var/lib/jenkins/workspace/gds-sso_master/app/views/layouts/unauthorised.html.erb (Duration: 0.2ms | Allocations: 146)
|
736
|
-
Completed 403 Forbidden in 1ms (Views: 0.
|
737
|
-
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
738
|
-
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d39492"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
739
|
-
[1m[36mTRANSACTION (6.0ms)[0m [1m[36mcommit transaction[0m
|
740
|
-
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
741
|
-
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d32633"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
742
|
-
[1m[36mTRANSACTION (6.0ms)[0m [1m[36mcommit transaction[0m
|
743
|
-
Processing by Api::UserController#reauth as HTML
|
744
|
-
Parameters: {"uid"=>"nonexistent-user"}
|
745
|
-
[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]]
|
746
|
-
Completed 200 OK in 1ms (ActiveRecord: 0.1ms | Allocations: 500)
|
747
|
-
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
748
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d3674"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
749
|
-
[1m[36mTRANSACTION (6.9ms)[0m [1m[36mcommit transaction[0m
|
750
|
-
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
751
|
-
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d38302"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
752
|
-
[1m[36mTRANSACTION (5.9ms)[0m [1m[36mcommit transaction[0m
|
753
|
-
Processing by Api::UserController#reauth as HTML
|
754
|
-
Parameters: {"uid"=>"a1s2d3674"}
|
755
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d3674"], ["LIMIT", 1]]
|
756
|
-
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
757
|
-
[1m[36mUser Update (0.1ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", 1], ["id", 12]]
|
758
|
-
[1m[36mTRANSACTION (9.4ms)[0m [1m[36mcommit transaction[0m
|
759
|
-
Completed 200 OK in 11ms (ActiveRecord: 9.7ms | Allocations: 889)
|
760
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 12], ["LIMIT", 1]]
|
760
|
+
Completed 403 Forbidden in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms | Allocations: 528)
|
761
761
|
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "users"[0m
|
762
762
|
[1m[35m (0.9ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
763
|
-
[1m[35m (
|
764
|
-
[1m[35m (
|
763
|
+
[1m[35m (9.2ms)[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
|
764
|
+
[1m[35m (4.5ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
765
765
|
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
766
766
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
767
|
-
[1m[36mActiveRecord::InternalMetadata Create (0.
|
768
|
-
[1m[35m (
|
769
|
-
[1m[35m (
|
767
|
+
[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", "2021-06-24 15:07:23.703952"], ["updated_at", "2021-06-24 15:07:23.703952"]]
|
768
|
+
[1m[35m (4.5ms)[0m [1m[36mcommit transaction[0m
|
769
|
+
[1m[35m (3.8ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
770
770
|
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
771
771
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
772
772
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
773
773
|
[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]]
|
774
774
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
775
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Dummy API user created by gds-sso"], ["uid", "
|
776
|
-
[1m[35m (
|
775
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Dummy API user created by gds-sso"], ["uid", "1713"], ["email", "dummyapiuser@domain.com"], ["permissions", "---\n- signin\n"]]
|
776
|
+
[1m[35m (4.9ms)[0m [1m[36mcommit transaction[0m
|
777
777
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
778
778
|
[1m[36mUser Update (0.1ms)[0m [1m[33mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = ?[0m [["permissions", "---\n- signin\n- extra_permission\n"], ["id", 1]]
|
779
|
-
[1m[35m (
|
780
|
-
Started GET "/restricted" for 127.0.0.1 at 2021-06-
|
779
|
+
[1m[35m (3.8ms)[0m [1m[36mcommit transaction[0m
|
780
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:24 +0000
|
781
781
|
Processing by ExampleController#restricted as HTML
|
782
782
|
Authenticating with gds_sso strategy
|
783
783
|
Completed in 4ms (ActiveRecord: 0.0ms)
|
784
|
-
Started GET "/restricted" for 127.0.0.1 at 2021-06-
|
784
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:24 +0000
|
785
785
|
Processing by ExampleController#restricted as JSON
|
786
786
|
Completed in 15ms (ActiveRecord: 0.0ms)
|
787
|
-
Started GET "/restricted" for 127.0.0.1 at 2021-06-
|
787
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:24 +0000
|
788
788
|
Processing by ExampleController#restricted as JSON
|
789
|
+
Completed in 6ms (ActiveRecord: 0.0ms)
|
790
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2021-06-24 15:07:24 +0000
|
791
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
789
792
|
[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]]
|
790
793
|
[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]]
|
791
794
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
792
795
|
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions", "disabled") VALUES (?, ?, ?, ?, ?)[0m [["name", "Test User"], ["uid", "integration-uid"], ["email", "test@example-client.com"], ["permissions", "---\n- signin\n"], ["disabled", nil]]
|
793
|
-
[1m[35m (
|
796
|
+
[1m[35m (4.4ms)[0m [1m[36mcommit transaction[0m
|
794
797
|
[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]]
|
795
798
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
796
799
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
@@ -802,15 +805,12 @@ Processing by ExampleController#restricted as JSON
|
|
802
805
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
803
806
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
804
807
|
[1m[36mUser Update (0.1ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id", 2]]
|
805
|
-
[1m[35m (
|
808
|
+
[1m[35m (3.5ms)[0m [1m[36mcommit transaction[0m
|
806
809
|
Rendering text template
|
807
810
|
Rendered text template (0.0ms)
|
808
|
-
Completed 200 OK in
|
809
|
-
Started GET "/restricted" for 127.0.0.1 at 2021-06-
|
811
|
+
Completed 200 OK in 17ms (Views: 1.9ms | ActiveRecord: 8.7ms)
|
812
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:24 +0000
|
810
813
|
Processing by ExampleController#restricted as JSON
|
811
|
-
Completed in 9ms (ActiveRecord: 0.0ms)
|
812
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2021-06-10 10:30:43 +0000
|
813
|
-
Processing by ExampleController#this_requires_signin_permission as JSON
|
814
814
|
[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]]
|
815
815
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
816
816
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
@@ -828,42 +828,37 @@ Processing by ExampleController#this_requires_signin_permission as JSON
|
|
828
828
|
Rendering text template
|
829
829
|
Rendered text template (0.0ms)
|
830
830
|
Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.4ms)
|
831
|
-
Started GET "/" for 127.0.0.1 at 2021-06-
|
832
|
-
Processing by ExampleController#index as HTML
|
833
|
-
Rendering text template
|
834
|
-
Rendered text template (0.0ms)
|
835
|
-
Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
836
|
-
Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:43 +0000
|
831
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:24 +0000
|
837
832
|
Processing by ExampleController#restricted as HTML
|
838
833
|
Authenticating with gds_sso strategy
|
839
834
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
840
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-
|
841
|
-
Started GET "/auth/gds/callback?code=
|
835
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-24 15:07:24 +0000
|
836
|
+
Started GET "/auth/gds/callback?code=hWxTwmxDoE_djU24rcIQcLtp4pHI346HfrcrPGV3sX0&state=90fb5ee9023a6d52162c420629fff5987b7e6c68040a042a" for 127.0.0.1 at 2021-06-24 15:07:24 +0000
|
842
837
|
Processing by AuthenticationsController#callback as HTML
|
843
|
-
Parameters: {"code"=>"
|
838
|
+
Parameters: {"code"=>"hWxTwmxDoE_djU24rcIQcLtp4pHI346HfrcrPGV3sX0", "state"=>"90fb5ee9023a6d52162c420629fff5987b7e6c68040a042a"}
|
844
839
|
Authenticating with gds_sso strategy
|
845
840
|
[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]]
|
846
841
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
847
842
|
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "disabled" = ? WHERE "users"."id" = ?[0m [["disabled", "f"], ["id", 2]]
|
848
|
-
[1m[35m (
|
843
|
+
[1m[35m (3.8ms)[0m [1m[36mcommit transaction[0m
|
849
844
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
850
845
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
851
846
|
Redirected to http://www.example-client.com/restricted
|
852
|
-
Completed 302 Found in
|
853
|
-
Started GET "/restricted" for 127.0.0.1 at 2021-06-
|
847
|
+
Completed 302 Found in 6ms (ActiveRecord: 4.2ms)
|
848
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:24 +0000
|
854
849
|
Processing by ExampleController#restricted as HTML
|
855
850
|
[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]]
|
856
851
|
Rendering text template
|
857
852
|
Rendered text template (0.0ms)
|
858
853
|
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
|
859
|
-
Started GET "/restricted" for 127.0.0.1 at 2021-06-
|
854
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:24 +0000
|
860
855
|
Processing by ExampleController#restricted as HTML
|
861
856
|
Authenticating with gds_sso strategy
|
862
857
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
863
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-
|
864
|
-
Started GET "/auth/gds/callback?code=
|
858
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-24 15:07:24 +0000
|
859
|
+
Started GET "/auth/gds/callback?code=Y_W5wcdikisLMb3KJi-cZKxPViQvhiU9zxivtcQtJz0&state=7155300e1f22cb9a4bda1aad508df56dcc9d70ed6533f2b2" for 127.0.0.1 at 2021-06-24 15:07:24 +0000
|
865
860
|
Processing by AuthenticationsController#callback as HTML
|
866
|
-
Parameters: {"code"=>"
|
861
|
+
Parameters: {"code"=>"Y_W5wcdikisLMb3KJi-cZKxPViQvhiU9zxivtcQtJz0", "state"=>"7155300e1f22cb9a4bda1aad508df56dcc9d70ed6533f2b2"}
|
867
862
|
Authenticating with gds_sso strategy
|
868
863
|
[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]]
|
869
864
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
@@ -872,42 +867,42 @@ Authenticating with gds_sso strategy
|
|
872
867
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
873
868
|
Redirected to http://www.example-client.com/restricted
|
874
869
|
Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
|
875
|
-
Started GET "/restricted" for 127.0.0.1 at 2021-06-
|
870
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:24 +0000
|
876
871
|
Processing by ExampleController#restricted as HTML
|
877
872
|
[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]]
|
878
873
|
Rendering text template
|
879
874
|
Rendered text template (0.0ms)
|
880
875
|
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
881
|
-
Started GET "/
|
882
|
-
Processing by ExampleController#
|
876
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:24 +0000
|
877
|
+
Processing by ExampleController#restricted as HTML
|
883
878
|
Authenticating with gds_sso strategy
|
884
879
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
885
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-
|
886
|
-
Started GET "/auth/gds/callback?code=
|
880
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-24 15:07:24 +0000
|
881
|
+
Started GET "/auth/gds/callback?code=vAKhnOOH8Dwyw4GnbhMxPrYkcJwQZA6DA3lV4-bOzoc&state=6438221c90801a88449946169b173bbf29332fa50c7d0d6d" for 127.0.0.1 at 2021-06-24 15:07:24 +0000
|
887
882
|
Processing by AuthenticationsController#callback as HTML
|
888
|
-
Parameters: {"code"=>"
|
883
|
+
Parameters: {"code"=>"vAKhnOOH8Dwyw4GnbhMxPrYkcJwQZA6DA3lV4-bOzoc", "state"=>"6438221c90801a88449946169b173bbf29332fa50c7d0d6d"}
|
889
884
|
Authenticating with gds_sso strategy
|
890
885
|
[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]]
|
891
886
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
892
887
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
893
888
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
894
|
-
[1m[35m (0.
|
895
|
-
Redirected to http://www.example-client.com/
|
896
|
-
Completed 302 Found in 2ms (ActiveRecord: 0.
|
897
|
-
Started GET "/
|
898
|
-
Processing by ExampleController#
|
889
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
890
|
+
Redirected to http://www.example-client.com/restricted
|
891
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
|
892
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:24 +0000
|
893
|
+
Processing by ExampleController#restricted as HTML
|
899
894
|
[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]]
|
900
895
|
Rendering text template
|
901
896
|
Rendered text template (0.0ms)
|
902
897
|
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
903
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2021-06-
|
898
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2021-06-24 15:07:24 +0000
|
904
899
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
905
900
|
Authenticating with gds_sso strategy
|
906
901
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
907
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-
|
908
|
-
Started GET "/auth/gds/callback?code=
|
902
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-24 15:07:24 +0000
|
903
|
+
Started GET "/auth/gds/callback?code=OCvHEdwFmufCIFsECICIsYvEiD-LMle3SqFyjmEyUUU&state=aca01b34e1d0e4a05b4275c3e7bdc47ad3dd000cba702f5e" for 127.0.0.1 at 2021-06-24 15:07:24 +0000
|
909
904
|
Processing by AuthenticationsController#callback as HTML
|
910
|
-
Parameters: {"code"=>"
|
905
|
+
Parameters: {"code"=>"OCvHEdwFmufCIFsECICIsYvEiD-LMle3SqFyjmEyUUU", "state"=>"aca01b34e1d0e4a05b4275c3e7bdc47ad3dd000cba702f5e"}
|
911
906
|
Authenticating with gds_sso strategy
|
912
907
|
[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]]
|
913
908
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
@@ -916,64 +911,75 @@ Authenticating with gds_sso strategy
|
|
916
911
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
917
912
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
918
913
|
Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
|
919
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2021-06-
|
914
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2021-06-24 15:07:24 +0000
|
920
915
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
921
916
|
[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]]
|
922
917
|
Rendering text template
|
923
918
|
Rendered text template (0.0ms)
|
924
919
|
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
925
|
-
Started GET "/
|
926
|
-
Processing by ExampleController#
|
920
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2021-06-24 15:07:24 +0000
|
921
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
927
922
|
Authenticating with gds_sso strategy
|
928
923
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
929
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-
|
930
|
-
Started GET "/auth/gds/callback?code=
|
924
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-24 15:07:24 +0000
|
925
|
+
Started GET "/auth/gds/callback?code=qyW_SKHyBKlyQrvPpeqtBA8H4Ci7-9odQJmlmVO8_Lw&state=17e8db4fcff60179dd8e66fc4e132aad1a2d020f4f62f9e4" for 127.0.0.1 at 2021-06-24 15:07:24 +0000
|
931
926
|
Processing by AuthenticationsController#callback as HTML
|
932
|
-
Parameters: {"code"=>"
|
927
|
+
Parameters: {"code"=>"qyW_SKHyBKlyQrvPpeqtBA8H4Ci7-9odQJmlmVO8_Lw", "state"=>"17e8db4fcff60179dd8e66fc4e132aad1a2d020f4f62f9e4"}
|
933
928
|
Authenticating with gds_sso strategy
|
934
929
|
[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]]
|
935
|
-
[1m[35m (0.
|
930
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
936
931
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
937
932
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
938
933
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
939
|
-
Redirected to http://www.example-client.com/
|
934
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
940
935
|
Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
|
941
|
-
Started GET "/
|
942
|
-
Processing by ExampleController#
|
936
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2021-06-24 15:07:24 +0000
|
937
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
943
938
|
[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]]
|
944
939
|
Rendering text template
|
945
940
|
Rendered text template (0.0ms)
|
946
|
-
Completed 200 OK in 1ms (Views: 0.
|
947
|
-
Started GET "/
|
941
|
+
Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.1ms)
|
942
|
+
Started GET "/" for 127.0.0.1 at 2021-06-24 15:07:24 +0000
|
943
|
+
Processing by ExampleController#index as HTML
|
944
|
+
Rendering text template
|
945
|
+
Rendered text template (0.0ms)
|
946
|
+
Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
947
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:24 +0000
|
948
948
|
Processing by ExampleController#restricted as HTML
|
949
949
|
Authenticating with gds_sso strategy
|
950
950
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
951
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-
|
952
|
-
Started GET "/auth/gds/callback?code=
|
951
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-24 15:07:24 +0000
|
952
|
+
Started GET "/auth/gds/callback?code=9W-zNi15XsVJmlLsShwUwuFlKP0MbywfukAKq6bYcT8&state=842f72102fffa4441281ddcc43546a6bcab66462c7b83ede" for 127.0.0.1 at 2021-06-24 15:07:24 +0000
|
953
953
|
Processing by AuthenticationsController#callback as HTML
|
954
|
-
Parameters: {"code"=>"
|
954
|
+
Parameters: {"code"=>"9W-zNi15XsVJmlLsShwUwuFlKP0MbywfukAKq6bYcT8", "state"=>"842f72102fffa4441281ddcc43546a6bcab66462c7b83ede"}
|
955
955
|
Authenticating with gds_sso strategy
|
956
956
|
[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]]
|
957
|
-
[1m[35m (0.
|
957
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
958
958
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
959
959
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
960
960
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
961
961
|
Redirected to http://www.example-client.com/restricted
|
962
962
|
Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
|
963
|
-
Started GET "/restricted" for 127.0.0.1 at 2021-06-
|
963
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:24 +0000
|
964
|
+
Processing by ExampleController#restricted as HTML
|
965
|
+
[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]]
|
966
|
+
Rendering text template
|
967
|
+
Rendered text template (0.0ms)
|
968
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
969
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-25 11:02:24 +0000
|
964
970
|
Processing by ExampleController#restricted as HTML
|
965
971
|
[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]]
|
966
972
|
Rendering text template
|
967
973
|
Rendered text template (0.0ms)
|
968
974
|
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
969
|
-
Started GET "/restricted" for 127.0.0.1 at 2021-06-
|
975
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:24 +0000
|
970
976
|
Processing by ExampleController#restricted as HTML
|
971
977
|
Authenticating with gds_sso strategy
|
972
978
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
973
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-
|
974
|
-
Started GET "/auth/gds/callback?code=
|
979
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-24 15:07:24 +0000
|
980
|
+
Started GET "/auth/gds/callback?code=5qrbYbf05gTD0xNEA2c14YT17KZWWznYMSSYcjy8NHY&state=8d93c84eacd1c79d540c926cc2dffb2bc980449c9b0641b1" for 127.0.0.1 at 2021-06-24 15:07:24 +0000
|
975
981
|
Processing by AuthenticationsController#callback as HTML
|
976
|
-
Parameters: {"code"=>"
|
982
|
+
Parameters: {"code"=>"5qrbYbf05gTD0xNEA2c14YT17KZWWznYMSSYcjy8NHY", "state"=>"8d93c84eacd1c79d540c926cc2dffb2bc980449c9b0641b1"}
|
977
983
|
Authenticating with gds_sso strategy
|
978
984
|
[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]]
|
979
985
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
@@ -982,20 +988,20 @@ Authenticating with gds_sso strategy
|
|
982
988
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
983
989
|
Redirected to http://www.example-client.com/restricted
|
984
990
|
Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
|
985
|
-
Started GET "/restricted" for 127.0.0.1 at 2021-06-
|
991
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:24 +0000
|
986
992
|
Processing by ExampleController#restricted as HTML
|
987
993
|
[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]]
|
988
994
|
Rendering text template
|
989
995
|
Rendered text template (0.0ms)
|
990
996
|
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
991
|
-
Started GET "/restricted" for 127.0.0.1 at 2021-06-
|
997
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-25 11:12:24 +0000
|
992
998
|
Processing by ExampleController#restricted as HTML
|
993
999
|
Authenticating with gds_sso strategy
|
994
1000
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
995
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-
|
996
|
-
Started GET "/auth/gds/callback?code=
|
1001
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-25 11:12:24 +0000
|
1002
|
+
Started GET "/auth/gds/callback?code=gHY0BRQJ7nr4ZwkkMp6Y9wENUu_wvURlMVfkXai4cCc&state=6b77f7008a8ef067f37e20aa6a05d8139334146feacdb6b3" for 127.0.0.1 at 2021-06-25 11:12:24 +0000
|
997
1003
|
Processing by AuthenticationsController#callback as HTML
|
998
|
-
Parameters: {"code"=>"
|
1004
|
+
Parameters: {"code"=>"gHY0BRQJ7nr4ZwkkMp6Y9wENUu_wvURlMVfkXai4cCc", "state"=>"6b77f7008a8ef067f37e20aa6a05d8139334146feacdb6b3"}
|
999
1005
|
Authenticating with gds_sso strategy
|
1000
1006
|
[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]]
|
1001
1007
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
@@ -1003,27 +1009,21 @@ Authenticating with gds_sso strategy
|
|
1003
1009
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1004
1010
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1005
1011
|
Redirected to http://www.example-client.com/restricted
|
1006
|
-
Completed 302 Found in
|
1007
|
-
Started GET "/restricted" for 127.0.0.1 at 2021-06-
|
1012
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
|
1013
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-25 11:12:24 +0000
|
1008
1014
|
Processing by ExampleController#restricted as HTML
|
1009
1015
|
[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]]
|
1010
1016
|
Rendering text template
|
1011
1017
|
Rendered text template (0.0ms)
|
1012
1018
|
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
1013
|
-
Started GET "/restricted" for 127.0.0.1 at 2021-06-
|
1014
|
-
Processing by ExampleController#restricted as HTML
|
1015
|
-
[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]]
|
1016
|
-
Rendering text template
|
1017
|
-
Rendered text template (0.0ms)
|
1018
|
-
Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.1ms)
|
1019
|
-
Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:43 +0000
|
1019
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:24 +0000
|
1020
1020
|
Processing by ExampleController#restricted as HTML
|
1021
1021
|
Authenticating with gds_sso strategy
|
1022
1022
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1023
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-
|
1024
|
-
Started GET "/auth/gds/callback?code=
|
1023
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-24 15:07:24 +0000
|
1024
|
+
Started GET "/auth/gds/callback?code=1jtx162txkXxvNszRSoKVJ6wJCNo5f1RLY9yc7OBvic&state=026e1ebf304b918674c035245c7c88fd74914d443d86b370" for 127.0.0.1 at 2021-06-24 15:07:24 +0000
|
1025
1025
|
Processing by AuthenticationsController#callback as HTML
|
1026
|
-
Parameters: {"code"=>"
|
1026
|
+
Parameters: {"code"=>"1jtx162txkXxvNszRSoKVJ6wJCNo5f1RLY9yc7OBvic", "state"=>"026e1ebf304b918674c035245c7c88fd74914d443d86b370"}
|
1027
1027
|
Authenticating with gds_sso strategy
|
1028
1028
|
[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]]
|
1029
1029
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
@@ -1032,25 +1032,25 @@ Authenticating with gds_sso strategy
|
|
1032
1032
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1033
1033
|
Redirected to http://www.example-client.com/restricted
|
1034
1034
|
Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
|
1035
|
-
Started GET "/restricted" for 127.0.0.1 at 2021-06-
|
1035
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:24 +0000
|
1036
1036
|
Processing by ExampleController#restricted as HTML
|
1037
1037
|
[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]]
|
1038
1038
|
Rendering text template
|
1039
1039
|
Rendered text template (0.0ms)
|
1040
1040
|
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
1041
|
-
Started GET "/restricted" for 127.0.0.1 at 2021-06-11
|
1041
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-25 11:12:24 +0000
|
1042
1042
|
Processing by ExampleController#restricted as HTML
|
1043
1043
|
Authenticating with gds_sso strategy
|
1044
1044
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1045
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-11
|
1046
|
-
Started GET "/restricted" for 127.0.0.1 at 2021-06-
|
1045
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-25 11:12:24 +0000
|
1046
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:24 +0000
|
1047
1047
|
Processing by ExampleController#restricted as HTML
|
1048
1048
|
Authenticating with gds_sso strategy
|
1049
1049
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1050
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-
|
1051
|
-
Started GET "/auth/gds/callback?code=
|
1050
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-24 15:07:24 +0000
|
1051
|
+
Started GET "/auth/gds/callback?code=qaq9OG5s1KEvIEUn9ZSp8hpqDPb_Kol_0Acdpyp_Ojk&state=aa64d0840148cb00c7b492760684d589fbafd42380353883" for 127.0.0.1 at 2021-06-24 15:07:24 +0000
|
1052
1052
|
Processing by AuthenticationsController#callback as HTML
|
1053
|
-
Parameters: {"code"=>"
|
1053
|
+
Parameters: {"code"=>"qaq9OG5s1KEvIEUn9ZSp8hpqDPb_Kol_0Acdpyp_Ojk", "state"=>"aa64d0840148cb00c7b492760684d589fbafd42380353883"}
|
1054
1054
|
Authenticating with gds_sso strategy
|
1055
1055
|
[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]]
|
1056
1056
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
@@ -1059,379 +1059,454 @@ Authenticating with gds_sso strategy
|
|
1059
1059
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1060
1060
|
Redirected to http://www.example-client.com/restricted
|
1061
1061
|
Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
|
1062
|
-
Started GET "/restricted" for 127.0.0.1 at 2021-06-
|
1062
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:24 +0000
|
1063
1063
|
Processing by ExampleController#restricted as HTML
|
1064
1064
|
[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]]
|
1065
1065
|
Rendering text template
|
1066
1066
|
Rendered text template (0.0ms)
|
1067
1067
|
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
1068
1068
|
[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]]
|
1069
|
-
[1m[35m (0.
|
1070
|
-
[1m[36mUser Update (0.
|
1071
|
-
[1m[35m (
|
1072
|
-
Started GET "/restricted" for 127.0.0.1 at 2021-06-
|
1069
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1070
|
+
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "t"], ["id", 2]]
|
1071
|
+
[1m[35m (5.4ms)[0m [1m[36mcommit transaction[0m
|
1072
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:24 +0000
|
1073
1073
|
Processing by ExampleController#restricted as HTML
|
1074
1074
|
[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]]
|
1075
1075
|
Authenticating with gds_sso strategy
|
1076
1076
|
Completed in 1ms (ActiveRecord: 0.1ms)
|
1077
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-
|
1078
|
-
Started GET "/auth/gds/callback?code=
|
1077
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-24 15:07:24 +0000
|
1078
|
+
Started GET "/auth/gds/callback?code=gxtRcuvGynL28MfTKFhQtg9x0GhEzWUpEl1h79ckzwM&state=2634aebddf5ceb5a9ebf1926932dce412a9f592c0420a838" for 127.0.0.1 at 2021-06-24 15:07:25 +0000
|
1079
1079
|
Processing by AuthenticationsController#callback as HTML
|
1080
|
-
Parameters: {"code"=>"
|
1080
|
+
Parameters: {"code"=>"gxtRcuvGynL28MfTKFhQtg9x0GhEzWUpEl1h79ckzwM", "state"=>"2634aebddf5ceb5a9ebf1926932dce412a9f592c0420a838"}
|
1081
1081
|
Authenticating with gds_sso strategy
|
1082
1082
|
[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]]
|
1083
1083
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1084
1084
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1085
1085
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1086
1086
|
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id", 2]]
|
1087
|
-
[1m[35m (
|
1087
|
+
[1m[35m (3.5ms)[0m [1m[36mcommit transaction[0m
|
1088
1088
|
Redirected to http://www.example-client.com/restricted
|
1089
|
-
Completed 302 Found in
|
1090
|
-
Started GET "/restricted" for 127.0.0.1 at 2021-06-
|
1089
|
+
Completed 302 Found in 6ms (ActiveRecord: 3.8ms)
|
1090
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:25 +0000
|
1091
1091
|
Processing by ExampleController#restricted as HTML
|
1092
1092
|
[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]]
|
1093
1093
|
Rendering text template
|
1094
1094
|
Rendered text template (0.0ms)
|
1095
1095
|
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
1096
1096
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1097
|
-
[1m[36mUser Create (0.
|
1098
|
-
[1m[35m (
|
1097
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d31715"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1098
|
+
[1m[35m (3.8ms)[0m [1m[36mcommit transaction[0m
|
1099
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1100
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d32759"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1101
|
+
[1m[35m (3.2ms)[0m [1m[36mcommit transaction[0m
|
1102
|
+
Processing by Api::UserController#update as HTML
|
1103
|
+
Parameters: {"uid"=>"a1s2d31715"}
|
1104
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d31715"], ["LIMIT", 1]]
|
1105
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1106
|
+
[1m[36mUser Update (0.1ms)[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]]
|
1107
|
+
[1m[35m (3.5ms)[0m [1m[36mcommit transaction[0m
|
1108
|
+
Completed 200 OK in 5ms (ActiveRecord: 3.7ms)
|
1109
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 3], ["LIMIT", 1]]
|
1110
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1111
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d31207"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1112
|
+
[1m[35m (4.6ms)[0m [1m[36mcommit transaction[0m
|
1099
1113
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1100
|
-
[1m[36mUser Create (0.
|
1101
|
-
[1m[35m (4.
|
1114
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d33452"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1115
|
+
[1m[35m (4.1ms)[0m [1m[36mcommit transaction[0m
|
1102
1116
|
Processing by Api::UserController#update as HTML
|
1103
|
-
Parameters: {"uid"=>"
|
1117
|
+
Parameters: {"uid"=>"a1s2d31207"}
|
1104
1118
|
Rendering /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
1105
1119
|
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
1106
1120
|
Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
|
1107
1121
|
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
1108
|
-
Completed 403 Forbidden in
|
1122
|
+
Completed 403 Forbidden in 3ms (Views: 2.9ms | ActiveRecord: 0.0ms)
|
1109
1123
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1110
|
-
[1m[36mUser Create (0.
|
1111
|
-
[1m[35m (
|
1124
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d3971"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1125
|
+
[1m[35m (3.5ms)[0m [1m[36mcommit transaction[0m
|
1112
1126
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1113
|
-
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "
|
1114
|
-
[1m[35m (
|
1115
|
-
Processing by Api::UserController#
|
1116
|
-
Parameters: {"uid"=>"
|
1117
|
-
|
1118
|
-
|
1119
|
-
|
1120
|
-
|
1121
|
-
Completed
|
1122
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 5], ["LIMIT", 1]]
|
1127
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d37077"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1128
|
+
[1m[35m (4.6ms)[0m [1m[36mcommit transaction[0m
|
1129
|
+
Processing by Api::UserController#reauth as HTML
|
1130
|
+
Parameters: {"uid"=>"a1s2d3971"}
|
1131
|
+
Rendering /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
1132
|
+
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
1133
|
+
Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.1ms)
|
1134
|
+
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
1135
|
+
Completed 403 Forbidden in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
|
1123
1136
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1124
|
-
[1m[36mUser Create (0.
|
1125
|
-
[1m[35m (
|
1137
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d36487"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1138
|
+
[1m[35m (3.7ms)[0m [1m[36mcommit transaction[0m
|
1126
1139
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1127
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "
|
1128
|
-
[1m[35m (4.
|
1140
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d35006"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1141
|
+
[1m[35m (4.8ms)[0m [1m[36mcommit transaction[0m
|
1129
1142
|
Processing by Api::UserController#reauth as HTML
|
1130
|
-
Parameters: {"uid"=>"
|
1131
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "
|
1143
|
+
Parameters: {"uid"=>"a1s2d36487"}
|
1144
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d36487"], ["LIMIT", 1]]
|
1132
1145
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1133
|
-
[1m[36mUser Update (0.1ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "t"], ["id",
|
1134
|
-
[1m[35m (4.
|
1135
|
-
Completed 200 OK in 6ms (ActiveRecord: 4.
|
1136
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id",
|
1137
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1138
|
-
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d39459"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1139
|
-
[1m[35m (4.6ms)[0m [1m[36mcommit transaction[0m
|
1146
|
+
[1m[36mUser Update (0.1ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "t"], ["id", 9]]
|
1147
|
+
[1m[35m (4.2ms)[0m [1m[36mcommit transaction[0m
|
1148
|
+
Completed 200 OK in 6ms (ActiveRecord: 4.5ms)
|
1149
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 9], ["LIMIT", 1]]
|
1140
1150
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1141
|
-
[1m[36mUser Create (0.
|
1151
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d34693"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1142
1152
|
[1m[35m (4.5ms)[0m [1m[36mcommit transaction[0m
|
1153
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1154
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d35551"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1155
|
+
[1m[35m (3.8ms)[0m [1m[36mcommit transaction[0m
|
1143
1156
|
Processing by Api::UserController#reauth as HTML
|
1144
1157
|
Parameters: {"uid"=>"nonexistent-user"}
|
1145
1158
|
[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]]
|
1146
1159
|
Completed 200 OK in 1ms (ActiveRecord: 0.1ms)
|
1147
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1148
|
-
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d39237"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1149
|
-
[1m[35m (8.1ms)[0m [1m[36mcommit transaction[0m
|
1150
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1151
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d31577"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1152
|
-
[1m[35m (8.2ms)[0m [1m[36mcommit transaction[0m
|
1153
|
-
Processing by Api::UserController#reauth as HTML
|
1154
|
-
Parameters: {"uid"=>"a1s2d39237"}
|
1155
|
-
Rendering /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
1156
|
-
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
1157
|
-
Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.1ms)
|
1158
|
-
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
1159
|
-
Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
1160
1160
|
[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]]
|
1161
1161
|
[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]]
|
1162
1162
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1163
|
-
[1m[36mUser Create (0.
|
1164
|
-
[1m[35m (
|
1163
|
+
[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]]
|
1164
|
+
[1m[35m (4.1ms)[0m [1m[36mcommit transaction[0m
|
1165
1165
|
[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]]
|
1166
1166
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1167
1167
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1168
|
-
[1m[35m (1.
|
1168
|
+
[1m[35m (1.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
1169
1169
|
[1m[35m (0.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
1170
1170
|
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "users"[0m
|
1171
|
-
[1m[35m (
|
1172
|
-
[1m[35m (
|
1171
|
+
[1m[35m (4.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 0)[0m
|
1172
|
+
[1m[35m (4.1ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)[0m
|
1173
1173
|
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
1174
1174
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
1175
|
-
[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", "2021-06-
|
1176
|
-
[1m[36mTRANSACTION (
|
1177
|
-
[1m[35m (
|
1175
|
+
[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", "2021-06-24 15:07:30.849958"], ["updated_at", "2021-06-24 15:07:30.849958"]]
|
1176
|
+
[1m[36mTRANSACTION (5.0ms)[0m [1m[36mcommit transaction[0m
|
1177
|
+
[1m[35m (5.9ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
1178
1178
|
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
1179
1179
|
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
1180
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
1181
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d3530"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1182
|
+
[1m[36mTRANSACTION (3.7ms)[0m [1m[36mcommit transaction[0m
|
1183
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
1184
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d35614"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1185
|
+
[1m[36mTRANSACTION (3.4ms)[0m [1m[36mcommit transaction[0m
|
1186
|
+
Processing by Api::UserController#update as HTML
|
1187
|
+
Parameters: {"uid"=>"a1s2d3530"}
|
1188
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d3530"], ["LIMIT", 1]]
|
1189
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
1190
|
+
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "name" = ?, "email" = ?, "permissions" = ?, "organisation_slug" = ?, "organisation_content_id" = ? WHERE "users"."id" = ?[0m [["name", "Joshua Marshall"], ["email", "user@domain.com"], ["permissions", "---\n- signin\n- new permission\n"], ["organisation_slug", "justice-league"], ["organisation_content_id", "aae1319e-5788-4677-998c-f1a53af528d0"], ["id", 1]]
|
1191
|
+
[1m[36mTRANSACTION (6.0ms)[0m [1m[36mcommit transaction[0m
|
1192
|
+
Completed 200 OK in 10ms (ActiveRecord: 6.3ms | Allocations: 2297)
|
1193
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
1194
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
1195
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d33643"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1196
|
+
[1m[36mTRANSACTION (5.3ms)[0m [1m[36mcommit transaction[0m
|
1197
|
+
[1m[36mTRANSACTION (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", "SSO Push user"], ["uid", "a1s2d34586"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1199
|
+
[1m[36mTRANSACTION (5.8ms)[0m [1m[36mcommit transaction[0m
|
1200
|
+
Processing by Api::UserController#update as HTML
|
1201
|
+
Parameters: {"uid"=>"a1s2d33643"}
|
1202
|
+
Rendering layout /var/lib/jenkins/workspace/gds-sso_master/app/views/layouts/unauthorised.html.erb
|
1203
|
+
Rendering /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
1204
|
+
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
1205
|
+
Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (Duration: 0.5ms | Allocations: 191)
|
1206
|
+
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
1207
|
+
Rendered layout /var/lib/jenkins/workspace/gds-sso_master/app/views/layouts/unauthorised.html.erb (Duration: 0.6ms | Allocations: 271)
|
1208
|
+
Completed 403 Forbidden in 4ms (Views: 3.9ms | ActiveRecord: 0.0ms | Allocations: 2025)
|
1209
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
1210
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d31870"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1211
|
+
[1m[36mTRANSACTION (4.6ms)[0m [1m[36mcommit transaction[0m
|
1212
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
1213
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d36535"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1214
|
+
[1m[36mTRANSACTION (7.0ms)[0m [1m[36mcommit transaction[0m
|
1215
|
+
Processing by Api::UserController#reauth as HTML
|
1216
|
+
Parameters: {"uid"=>"a1s2d31870"}
|
1217
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d31870"], ["LIMIT", 1]]
|
1218
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
1219
|
+
[1m[36mUser Update (0.1ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", 1], ["id", 5]]
|
1220
|
+
[1m[36mTRANSACTION (5.8ms)[0m [1m[36mcommit transaction[0m
|
1221
|
+
Completed 200 OK in 7ms (ActiveRecord: 6.1ms | Allocations: 858)
|
1222
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 5], ["LIMIT", 1]]
|
1223
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
1224
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d32503"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1225
|
+
[1m[36mTRANSACTION (5.6ms)[0m [1m[36mcommit transaction[0m
|
1226
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
1227
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d35140"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1228
|
+
[1m[36mTRANSACTION (6.5ms)[0m [1m[36mcommit transaction[0m
|
1229
|
+
Processing by Api::UserController#reauth as HTML
|
1230
|
+
Parameters: {"uid"=>"nonexistent-user"}
|
1231
|
+
[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]]
|
1232
|
+
Completed 200 OK in 1ms (ActiveRecord: 0.1ms | Allocations: 500)
|
1233
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
1234
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d33825"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1235
|
+
[1m[36mTRANSACTION (7.7ms)[0m [1m[36mcommit transaction[0m
|
1236
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
1237
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d37402"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1238
|
+
[1m[36mTRANSACTION (5.2ms)[0m [1m[36mcommit transaction[0m
|
1239
|
+
Processing by Api::UserController#reauth as HTML
|
1240
|
+
Parameters: {"uid"=>"a1s2d33825"}
|
1241
|
+
Rendering layout /var/lib/jenkins/workspace/gds-sso_master/app/views/layouts/unauthorised.html.erb
|
1242
|
+
Rendering /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
1243
|
+
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
1244
|
+
Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (Duration: 0.1ms | Allocations: 45)
|
1245
|
+
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
1246
|
+
Rendered layout /var/lib/jenkins/workspace/gds-sso_master/app/views/layouts/unauthorised.html.erb (Duration: 0.2ms | Allocations: 119)
|
1247
|
+
Completed 403 Forbidden in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms | Allocations: 515)
|
1180
1248
|
[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]]
|
1181
1249
|
[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]]
|
1182
1250
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
1183
1251
|
[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]]
|
1184
|
-
[1m[36mTRANSACTION (
|
1252
|
+
[1m[36mTRANSACTION (6.7ms)[0m [1m[36mcommit transaction[0m
|
1185
1253
|
[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]]
|
1186
|
-
|
1254
|
+
[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]]
|
1255
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
1256
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Dummy API user created by gds-sso"], ["uid", "3876"], ["email", "dummyapiuser@domain.com"], ["permissions", "---\n- signin\n"]]
|
1257
|
+
[1m[36mTRANSACTION (4.9ms)[0m [1m[36mcommit transaction[0m
|
1258
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
1259
|
+
[1m[36mUser Update (0.1ms)[0m [1m[33mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = ?[0m [["permissions", "---\n- signin\n- extra_permission\n"], ["id", 12]]
|
1260
|
+
[1m[36mTRANSACTION (3.9ms)[0m [1m[36mcommit transaction[0m
|
1261
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:31 +0000
|
1187
1262
|
Processing by ExampleController#restricted as HTML
|
1188
1263
|
Authenticating with gds_sso strategy
|
1189
|
-
Completed in
|
1190
|
-
Started GET "/" for 127.0.0.1 at 2021-06-
|
1191
|
-
|
1192
|
-
Rendering text template
|
1193
|
-
Rendered text template (Duration: 0.0ms | Allocations: 3)
|
1194
|
-
Completed 200 OK in 2ms (Views: 2.1ms | ActiveRecord: 0.0ms | Allocations: 1010)
|
1195
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2021-06-10 10:30:49 +0000
|
1196
|
-
Processing by ExampleController#this_requires_signin_permission as HTML
|
1197
|
-
Authenticating with gds_sso strategy
|
1198
|
-
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 127)
|
1199
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-10 10:30:49 +0000
|
1200
|
-
Started GET "/auth/gds/callback?code=poY3NLTz67iH--VeVJOSPJs4tEJdf7lS8kHjO-WLzSk&state=9d453f5f56a0b1416ead5010b8c1867c1169bad85ff6429f" for 127.0.0.1 at 2021-06-10 10:30:49 +0000
|
1264
|
+
Completed in 5ms (ActiveRecord: 0.0ms | Allocations: 181)
|
1265
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-24 15:07:31 +0000
|
1266
|
+
Started GET "/auth/gds/callback?code=H3ulL6DIpvs4a8qHSQ7b6USCNwj811b6ACDBHzBL41I&state=36c26d450a67135f3ea2f5b594ff71cb8dcdb10a1be14b9a" for 127.0.0.1 at 2021-06-24 15:07:31 +0000
|
1201
1267
|
Processing by AuthenticationsController#callback as HTML
|
1202
|
-
Parameters: {"code"=>"
|
1268
|
+
Parameters: {"code"=>"H3ulL6DIpvs4a8qHSQ7b6USCNwj811b6ACDBHzBL41I", "state"=>"36c26d450a67135f3ea2f5b594ff71cb8dcdb10a1be14b9a"}
|
1203
1269
|
Authenticating with gds_sso strategy
|
1204
1270
|
[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]]
|
1205
1271
|
[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]]
|
1206
1272
|
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
1207
1273
|
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Test User"], ["uid", "integration-uid"], ["email", "test@example-client.com"], ["permissions", "---\n- signin\n"]]
|
1208
|
-
[1m[36mTRANSACTION (4.
|
1209
|
-
[1m[36mTRANSACTION (0.
|
1210
|
-
[1m[36mUser Update (0.1ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", 0], ["id",
|
1211
|
-
[1m[36mTRANSACTION (
|
1212
|
-
Redirected to http://www.example-client.com/
|
1213
|
-
Completed 302 Found in 13ms (ActiveRecord: 9.
|
1214
|
-
Started GET "/
|
1215
|
-
Processing by ExampleController#
|
1216
|
-
[1m[36mUser Load (0.
|
1274
|
+
[1m[36mTRANSACTION (4.8ms)[0m [1m[36mcommit transaction[0m
|
1275
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
1276
|
+
[1m[36mUser Update (0.1ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", 0], ["id", 13]]
|
1277
|
+
[1m[36mTRANSACTION (3.8ms)[0m [1m[36mcommit transaction[0m
|
1278
|
+
Redirected to http://www.example-client.com/restricted
|
1279
|
+
Completed 302 Found in 13ms (ActiveRecord: 9.3ms | Allocations: 1345)
|
1280
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:31 +0000
|
1281
|
+
Processing by ExampleController#restricted as HTML
|
1282
|
+
[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", 0], ["LIMIT", 1]]
|
1217
1283
|
Rendering text template
|
1218
1284
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
1219
|
-
Completed 200 OK in
|
1220
|
-
Started GET "/
|
1221
|
-
Processing by ExampleController#
|
1285
|
+
Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.2ms | Allocations: 885)
|
1286
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:31 +0000
|
1287
|
+
Processing by ExampleController#restricted as HTML
|
1222
1288
|
Authenticating with gds_sso strategy
|
1223
1289
|
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 125)
|
1224
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-
|
1225
|
-
Started GET "/auth/gds/callback?code=
|
1290
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-24 15:07:31 +0000
|
1291
|
+
Started GET "/auth/gds/callback?code=_-munggz2tEqszBQeRRLlD4odBPpL0_pr5_4zLPd4P4&state=aed4a33d172c3f9d74acc4c774d0c7d82c552ca76ceb970a" for 127.0.0.1 at 2021-06-24 15:07:31 +0000
|
1226
1292
|
Processing by AuthenticationsController#callback as HTML
|
1227
|
-
Parameters: {"code"=>"
|
1293
|
+
Parameters: {"code"=>"_-munggz2tEqszBQeRRLlD4odBPpL0_pr5_4zLPd4P4", "state"=>"aed4a33d172c3f9d74acc4c774d0c7d82c552ca76ceb970a"}
|
1228
1294
|
Authenticating with gds_sso strategy
|
1229
1295
|
[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]]
|
1230
|
-
Redirected to http://www.example-client.com/
|
1231
|
-
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations:
|
1232
|
-
Started GET "/
|
1233
|
-
Processing by ExampleController#
|
1296
|
+
Redirected to http://www.example-client.com/restricted
|
1297
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 852)
|
1298
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:31 +0000
|
1299
|
+
Processing by ExampleController#restricted as HTML
|
1234
1300
|
[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", 0], ["LIMIT", 1]]
|
1235
1301
|
Rendering text template
|
1236
1302
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
1237
|
-
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations:
|
1238
|
-
Started GET "/restricted" for 127.0.0.1 at 2021-06-
|
1303
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 650)
|
1304
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:31 +0000
|
1239
1305
|
Processing by ExampleController#restricted as HTML
|
1240
1306
|
Authenticating with gds_sso strategy
|
1241
1307
|
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 125)
|
1242
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-
|
1243
|
-
Started GET "/auth/gds/callback?code=
|
1308
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-24 15:07:31 +0000
|
1309
|
+
Started GET "/auth/gds/callback?code=oSUuWgUiI2PDM9GosDc3BFgTNvyBSJ0UhqrKxHG90F0&state=2d7c119c3cbd9aa502c7008b3d4ef45f0ff82dbf94fc6d06" for 127.0.0.1 at 2021-06-24 15:07:31 +0000
|
1244
1310
|
Processing by AuthenticationsController#callback as HTML
|
1245
|
-
Parameters: {"code"=>"
|
1311
|
+
Parameters: {"code"=>"oSUuWgUiI2PDM9GosDc3BFgTNvyBSJ0UhqrKxHG90F0", "state"=>"2d7c119c3cbd9aa502c7008b3d4ef45f0ff82dbf94fc6d06"}
|
1246
1312
|
Authenticating with gds_sso strategy
|
1247
1313
|
[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]]
|
1248
1314
|
Redirected to http://www.example-client.com/restricted
|
1249
1315
|
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 851)
|
1250
|
-
Started GET "/restricted" for 127.0.0.1 at 2021-06-
|
1316
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:31 +0000
|
1251
1317
|
Processing by ExampleController#restricted as HTML
|
1252
1318
|
[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", 0], ["LIMIT", 1]]
|
1253
1319
|
Rendering text template
|
1254
1320
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
1255
|
-
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations:
|
1256
|
-
Started GET "/
|
1257
|
-
Processing by ExampleController#
|
1321
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 650)
|
1322
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2021-06-24 15:07:31 +0000
|
1323
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
1258
1324
|
Authenticating with gds_sso strategy
|
1259
1325
|
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 125)
|
1260
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-
|
1261
|
-
Started GET "/auth/gds/callback?code=
|
1326
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-24 15:07:31 +0000
|
1327
|
+
Started GET "/auth/gds/callback?code=c1jh92ZR-QwykvJSTBx6_xATju7tA6ZZXHxTA6_5iDU&state=31304cea18a2e793e923d31bf633af241927d585fd3120fc" for 127.0.0.1 at 2021-06-24 15:07:31 +0000
|
1262
1328
|
Processing by AuthenticationsController#callback as HTML
|
1263
|
-
Parameters: {"code"=>"
|
1329
|
+
Parameters: {"code"=>"c1jh92ZR-QwykvJSTBx6_xATju7tA6ZZXHxTA6_5iDU", "state"=>"31304cea18a2e793e923d31bf633af241927d585fd3120fc"}
|
1264
1330
|
Authenticating with gds_sso strategy
|
1265
1331
|
[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]]
|
1266
|
-
Redirected to http://www.example-client.com/
|
1332
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
1267
1333
|
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 851)
|
1268
|
-
Started GET "/
|
1269
|
-
Processing by ExampleController#
|
1334
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2021-06-24 15:07:31 +0000
|
1335
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
1270
1336
|
[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", 0], ["LIMIT", 1]]
|
1271
1337
|
Rendering text template
|
1272
1338
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
1273
|
-
Completed 200 OK in
|
1274
|
-
Started GET "/
|
1275
|
-
Processing by ExampleController#
|
1339
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms | Allocations: 646)
|
1340
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2021-06-24 15:07:31 +0000
|
1341
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
1276
1342
|
Authenticating with gds_sso strategy
|
1277
1343
|
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 125)
|
1278
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-
|
1279
|
-
Started GET "/auth/gds/callback?code=
|
1344
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-24 15:07:31 +0000
|
1345
|
+
Started GET "/auth/gds/callback?code=th8RxP-9fFwNb9A9hfGZhtJVqVhxFNK6-S99ZXjJ4M0&state=89536b063709885277307f72d7fba99eda015065b1316a4b" for 127.0.0.1 at 2021-06-24 15:07:31 +0000
|
1280
1346
|
Processing by AuthenticationsController#callback as HTML
|
1281
|
-
Parameters: {"code"=>"
|
1347
|
+
Parameters: {"code"=>"th8RxP-9fFwNb9A9hfGZhtJVqVhxFNK6-S99ZXjJ4M0", "state"=>"89536b063709885277307f72d7fba99eda015065b1316a4b"}
|
1282
1348
|
Authenticating with gds_sso strategy
|
1283
1349
|
[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]]
|
1284
|
-
Redirected to http://www.example-client.com/
|
1285
|
-
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations:
|
1286
|
-
Started GET "/
|
1287
|
-
Processing by ExampleController#
|
1350
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
1351
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 851)
|
1352
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2021-06-24 15:07:31 +0000
|
1353
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
1288
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", 0], ["LIMIT", 1]]
|
1289
1355
|
Rendering text template
|
1290
1356
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
1291
1357
|
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 646)
|
1292
|
-
Started GET "/
|
1358
|
+
Started GET "/" for 127.0.0.1 at 2021-06-24 15:07:31 +0000
|
1359
|
+
Processing by ExampleController#index as HTML
|
1360
|
+
Rendering text template
|
1361
|
+
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
1362
|
+
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms | Allocations: 135)
|
1363
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:31 +0000
|
1293
1364
|
Processing by ExampleController#restricted as HTML
|
1294
1365
|
Authenticating with gds_sso strategy
|
1295
1366
|
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 125)
|
1296
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-
|
1297
|
-
Started GET "/auth/gds/callback?code=
|
1367
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-24 15:07:31 +0000
|
1368
|
+
Started GET "/auth/gds/callback?code=0SD9RgIWHFOHL81wpALmUHgqFntw99JxNIYKtoYfJ9w&state=71b5b1dc595f38ece7e73ad545442a1e5d868936cfc5b871" for 127.0.0.1 at 2021-06-24 15:07:32 +0000
|
1298
1369
|
Processing by AuthenticationsController#callback as HTML
|
1299
|
-
Parameters: {"code"=>"
|
1370
|
+
Parameters: {"code"=>"0SD9RgIWHFOHL81wpALmUHgqFntw99JxNIYKtoYfJ9w", "state"=>"71b5b1dc595f38ece7e73ad545442a1e5d868936cfc5b871"}
|
1300
1371
|
Authenticating with gds_sso strategy
|
1301
1372
|
[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]]
|
1302
1373
|
Redirected to http://www.example-client.com/restricted
|
1303
|
-
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations:
|
1304
|
-
Started GET "/restricted" for 127.0.0.1 at 2021-06-
|
1374
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 852)
|
1375
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:32 +0000
|
1305
1376
|
Processing by ExampleController#restricted as HTML
|
1306
1377
|
[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", 0], ["LIMIT", 1]]
|
1307
1378
|
Rendering text template
|
1308
1379
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
1309
|
-
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations:
|
1310
|
-
|
1380
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 653)
|
1381
|
+
[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]]
|
1382
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
1383
|
+
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", 1], ["id", 13]]
|
1384
|
+
[1m[36mTRANSACTION (6.2ms)[0m [1m[36mcommit transaction[0m
|
1385
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:32 +0000
|
1311
1386
|
Processing by ExampleController#restricted as HTML
|
1312
1387
|
[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", 0], ["LIMIT", 1]]
|
1313
|
-
Rendering text template
|
1314
|
-
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
1315
|
-
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 877)
|
1316
|
-
Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:50 +0000
|
1317
|
-
Processing by ExampleController#restricted as HTML
|
1318
1388
|
Authenticating with gds_sso strategy
|
1319
|
-
Completed in
|
1320
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-
|
1321
|
-
Started GET "/auth/gds/callback?code=
|
1389
|
+
Completed in 1ms (ActiveRecord: 0.1ms | Allocations: 533)
|
1390
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-24 15:07:32 +0000
|
1391
|
+
Started GET "/auth/gds/callback?code=vsOVC9zQHdiXBStBQZs9yMNFqkszo5vCm4oIv5M2y_g&state=1ee691d4263f97799b12fe9f9b6916ae6e7acc5f01adec35" for 127.0.0.1 at 2021-06-24 15:07:32 +0000
|
1322
1392
|
Processing by AuthenticationsController#callback as HTML
|
1323
|
-
Parameters: {"code"=>"
|
1393
|
+
Parameters: {"code"=>"vsOVC9zQHdiXBStBQZs9yMNFqkszo5vCm4oIv5M2y_g", "state"=>"1ee691d4263f97799b12fe9f9b6916ae6e7acc5f01adec35"}
|
1324
1394
|
Authenticating with gds_sso strategy
|
1325
1395
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1396
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
1397
|
+
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", 0], ["id", 13]]
|
1398
|
+
[1m[36mTRANSACTION (6.4ms)[0m [1m[36mcommit transaction[0m
|
1326
1399
|
Redirected to http://www.example-client.com/restricted
|
1327
|
-
Completed 302 Found in
|
1328
|
-
Started GET "/restricted" for 127.0.0.1 at 2021-06-
|
1400
|
+
Completed 302 Found in 9ms (ActiveRecord: 6.7ms | Allocations: 1042)
|
1401
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:32 +0000
|
1329
1402
|
Processing by ExampleController#restricted as HTML
|
1330
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", 0], ["LIMIT", 1]]
|
1331
1404
|
Rendering text template
|
1332
1405
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
1333
|
-
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations:
|
1334
|
-
Started GET "/restricted" for 127.0.0.1 at 2021-06-
|
1406
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 648)
|
1407
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:32 +0000
|
1335
1408
|
Processing by ExampleController#restricted as HTML
|
1336
1409
|
Authenticating with gds_sso strategy
|
1337
|
-
Completed in 0ms (ActiveRecord: 0.0ms | Allocations:
|
1338
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-
|
1339
|
-
Started GET "/auth/gds/callback?code=
|
1410
|
+
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 125)
|
1411
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-24 15:07:32 +0000
|
1412
|
+
Started GET "/auth/gds/callback?code=tb1Jc8hBpHl8zC5tPevOz6mObQ6Ra16KzI2LaCq-0co&state=a837bda58de3d5cfb2f379076aeb15201c9e8e6a4afb9ab2" for 127.0.0.1 at 2021-06-24 15:07:32 +0000
|
1340
1413
|
Processing by AuthenticationsController#callback as HTML
|
1341
|
-
Parameters: {"code"=>"
|
1414
|
+
Parameters: {"code"=>"tb1Jc8hBpHl8zC5tPevOz6mObQ6Ra16KzI2LaCq-0co", "state"=>"a837bda58de3d5cfb2f379076aeb15201c9e8e6a4afb9ab2"}
|
1342
1415
|
Authenticating with gds_sso strategy
|
1343
1416
|
[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]]
|
1344
1417
|
Redirected to http://www.example-client.com/restricted
|
1345
|
-
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations:
|
1346
|
-
Started GET "/restricted" for 127.0.0.1 at 2021-06-
|
1418
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 851)
|
1419
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:32 +0000
|
1347
1420
|
Processing by ExampleController#restricted as HTML
|
1348
1421
|
[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", 0], ["LIMIT", 1]]
|
1349
1422
|
Rendering text template
|
1350
1423
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
1351
|
-
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations:
|
1352
|
-
Started GET "/restricted" for 127.0.0.1 at 2021-06-
|
1424
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 650)
|
1425
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-25 11:12:32 +0000
|
1426
|
+
Processing by ExampleController#restricted as HTML
|
1427
|
+
Authenticating with gds_sso strategy
|
1428
|
+
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 502)
|
1429
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-25 11:12:32 +0000
|
1430
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:32 +0000
|
1353
1431
|
Processing by ExampleController#restricted as HTML
|
1354
1432
|
Authenticating with gds_sso strategy
|
1355
1433
|
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 125)
|
1356
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-
|
1357
|
-
Started GET "/auth/gds/callback?code=
|
1434
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-24 15:07:32 +0000
|
1435
|
+
Started GET "/auth/gds/callback?code=DiOM8PH5_KYgNnhd_CymxRS8SpL50mRfnHcKFVwqhGI&state=8984adcdd4743a1e6d53b65667090f491fddd3c60f624580" for 127.0.0.1 at 2021-06-24 15:07:32 +0000
|
1358
1436
|
Processing by AuthenticationsController#callback as HTML
|
1359
|
-
Parameters: {"code"=>"
|
1437
|
+
Parameters: {"code"=>"DiOM8PH5_KYgNnhd_CymxRS8SpL50mRfnHcKFVwqhGI", "state"=>"8984adcdd4743a1e6d53b65667090f491fddd3c60f624580"}
|
1360
1438
|
Authenticating with gds_sso strategy
|
1361
1439
|
[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]]
|
1362
1440
|
Redirected to http://www.example-client.com/restricted
|
1363
|
-
Completed 302 Found in
|
1364
|
-
Started GET "/restricted" for 127.0.0.1 at 2021-06-
|
1441
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 851)
|
1442
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:32 +0000
|
1365
1443
|
Processing by ExampleController#restricted as HTML
|
1366
1444
|
[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", 0], ["LIMIT", 1]]
|
1367
1445
|
Rendering text template
|
1368
1446
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
1369
|
-
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations:
|
1370
|
-
Started GET "/restricted" for 127.0.0.1 at 2021-06-11
|
1371
|
-
Processing by ExampleController#restricted as HTML
|
1372
|
-
Authenticating with gds_sso strategy
|
1373
|
-
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 496)
|
1374
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-11 06:35:50 +0000
|
1375
|
-
Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:50 +0000
|
1447
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 650)
|
1448
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-25 11:12:32 +0000
|
1376
1449
|
Processing by ExampleController#restricted as HTML
|
1377
1450
|
Authenticating with gds_sso strategy
|
1378
|
-
Completed in 0ms (ActiveRecord: 0.0ms | Allocations:
|
1379
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-
|
1380
|
-
Started GET "/auth/gds/callback?code=
|
1451
|
+
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 502)
|
1452
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-25 11:12:32 +0000
|
1453
|
+
Started GET "/auth/gds/callback?code=wf9Pa6-U1vVEF33RGodocnw11Ry7ZjJUqmyrirOfR-4&state=5f4d895e567b40f60e92a63294436fe41451ead621086b7d" for 127.0.0.1 at 2021-06-25 11:12:32 +0000
|
1381
1454
|
Processing by AuthenticationsController#callback as HTML
|
1382
|
-
Parameters: {"code"=>"
|
1455
|
+
Parameters: {"code"=>"wf9Pa6-U1vVEF33RGodocnw11Ry7ZjJUqmyrirOfR-4", "state"=>"5f4d895e567b40f60e92a63294436fe41451ead621086b7d"}
|
1383
1456
|
Authenticating with gds_sso strategy
|
1384
1457
|
[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]]
|
1385
1458
|
Redirected to http://www.example-client.com/restricted
|
1386
|
-
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations:
|
1387
|
-
Started GET "/restricted" for 127.0.0.1 at 2021-06-
|
1459
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 1061)
|
1460
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-25 11:12:32 +0000
|
1388
1461
|
Processing by ExampleController#restricted as HTML
|
1389
1462
|
[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", 0], ["LIMIT", 1]]
|
1390
1463
|
Rendering text template
|
1391
1464
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
1392
|
-
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations:
|
1393
|
-
|
1394
|
-
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
1395
|
-
[1m[36mUser Update (0.1ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", 1], ["id", 2]]
|
1396
|
-
[1m[36mTRANSACTION (5.3ms)[0m [1m[36mcommit transaction[0m
|
1397
|
-
Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:50 +0000
|
1465
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 885)
|
1466
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:32 +0000
|
1398
1467
|
Processing by ExampleController#restricted as HTML
|
1399
|
-
[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", 0], ["LIMIT", 1]]
|
1400
1468
|
Authenticating with gds_sso strategy
|
1401
|
-
Completed in
|
1402
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-
|
1403
|
-
Started GET "/auth/gds/callback?code=
|
1469
|
+
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 125)
|
1470
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-24 15:07:32 +0000
|
1471
|
+
Started GET "/auth/gds/callback?code=aIBIEplBjLcfe3xY9PNl4uL46j1_1bMUBvg1Rb9Xs8o&state=0a814b33b5833491162d1a331034faf7784f14ca261ebe1a" for 127.0.0.1 at 2021-06-24 15:07:32 +0000
|
1404
1472
|
Processing by AuthenticationsController#callback as HTML
|
1405
|
-
Parameters: {"code"=>"
|
1473
|
+
Parameters: {"code"=>"aIBIEplBjLcfe3xY9PNl4uL46j1_1bMUBvg1Rb9Xs8o", "state"=>"0a814b33b5833491162d1a331034faf7784f14ca261ebe1a"}
|
1406
1474
|
Authenticating with gds_sso strategy
|
1407
1475
|
[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]]
|
1408
|
-
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
1409
|
-
[1m[36mUser Update (0.1ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", 0], ["id", 2]]
|
1410
|
-
[1m[36mTRANSACTION (6.0ms)[0m [1m[36mcommit transaction[0m
|
1411
1476
|
Redirected to http://www.example-client.com/restricted
|
1412
|
-
Completed 302 Found in
|
1413
|
-
Started GET "/restricted" for 127.0.0.1 at 2021-06-
|
1477
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 853)
|
1478
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:32 +0000
|
1479
|
+
Processing by ExampleController#restricted as HTML
|
1480
|
+
[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", 0], ["LIMIT", 1]]
|
1481
|
+
Rendering text template
|
1482
|
+
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
1483
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 652)
|
1484
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-25 11:02:32 +0000
|
1414
1485
|
Processing by ExampleController#restricted as HTML
|
1415
1486
|
[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", 0], ["LIMIT", 1]]
|
1416
1487
|
Rendering text template
|
1417
1488
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
1418
|
-
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations:
|
1419
|
-
Started GET "/restricted" for 127.0.0.1 at 2021-06-
|
1489
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 883)
|
1490
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:32 +0000
|
1491
|
+
Processing by ExampleController#restricted as HTML
|
1492
|
+
Authenticating with gds_sso strategy
|
1493
|
+
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 127)
|
1494
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:32 +0000
|
1420
1495
|
Processing by ExampleController#restricted as JSON
|
1421
|
-
Completed in
|
1422
|
-
Started GET "/restricted" for 127.0.0.1 at 2021-06-
|
1496
|
+
Completed in 15ms (ActiveRecord: 0.0ms | Allocations: 2027)
|
1497
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:32 +0000
|
1423
1498
|
Processing by ExampleController#restricted as JSON
|
1424
1499
|
[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]]
|
1425
1500
|
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
1426
|
-
[1m[36mUser Update (0.
|
1427
|
-
[1m[36mTRANSACTION (
|
1501
|
+
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "disabled" = ? WHERE "users"."id" = ?[0m [["disabled", nil], ["id", 13]]
|
1502
|
+
[1m[36mTRANSACTION (4.8ms)[0m [1m[36mcommit transaction[0m
|
1428
1503
|
[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]]
|
1429
1504
|
[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]]
|
1430
1505
|
[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]]
|
1431
1506
|
Rendering text template
|
1432
1507
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
1433
|
-
Completed 200 OK in
|
1434
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2021-06-
|
1508
|
+
Completed 200 OK in 12ms (Views: 0.3ms | ActiveRecord: 5.3ms | Allocations: 3196)
|
1509
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2021-06-24 15:07:32 +0000
|
1435
1510
|
Processing by ExampleController#this_requires_signin_permission as JSON
|
1436
1511
|
[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]]
|
1437
1512
|
[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]]
|
@@ -1440,81 +1515,6 @@ Processing by ExampleController#this_requires_signin_permission as JSON
|
|
1440
1515
|
Rendering text template
|
1441
1516
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
1442
1517
|
Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 2921)
|
1443
|
-
Started GET "/restricted" for 127.0.0.1 at 2021-06-
|
1518
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-24 15:07:32 +0000
|
1444
1519
|
Processing by ExampleController#restricted as JSON
|
1445
|
-
Completed in
|
1446
|
-
[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]]
|
1447
|
-
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
1448
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Dummy API user created by gds-sso"], ["uid", "152"], ["email", "dummyapiuser@domain.com"], ["permissions", "---\n- signin\n"]]
|
1449
|
-
[1m[36mTRANSACTION (5.3ms)[0m [1m[36mcommit transaction[0m
|
1450
|
-
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
1451
|
-
[1m[36mUser Update (0.1ms)[0m [1m[33mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = ?[0m [["permissions", "---\n- signin\n- extra_permission\n"], ["id", 3]]
|
1452
|
-
[1m[36mTRANSACTION (20.8ms)[0m [1m[36mcommit transaction[0m
|
1453
|
-
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
1454
|
-
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d36151"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1455
|
-
[1m[36mTRANSACTION (6.3ms)[0m [1m[36mcommit transaction[0m
|
1456
|
-
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
1457
|
-
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d34951"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1458
|
-
[1m[36mTRANSACTION (4.6ms)[0m [1m[36mcommit transaction[0m
|
1459
|
-
Processing by Api::UserController#update as HTML
|
1460
|
-
Parameters: {"uid"=>"a1s2d36151"}
|
1461
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d36151"], ["LIMIT", 1]]
|
1462
|
-
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
1463
|
-
[1m[36mUser Update (0.1ms)[0m [1m[33mUPDATE "users" SET "name" = ?, "email" = ?, "permissions" = ?, "organisation_slug" = ?, "organisation_content_id" = ? WHERE "users"."id" = ?[0m [["name", "Joshua Marshall"], ["email", "user@domain.com"], ["permissions", "---\n- signin\n- new permission\n"], ["organisation_slug", "justice-league"], ["organisation_content_id", "aae1319e-5788-4677-998c-f1a53af528d0"], ["id", 4]]
|
1464
|
-
[1m[36mTRANSACTION (6.7ms)[0m [1m[36mcommit transaction[0m
|
1465
|
-
Completed 200 OK in 9ms (ActiveRecord: 7.0ms | Allocations: 1219)
|
1466
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 4], ["LIMIT", 1]]
|
1467
|
-
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
1468
|
-
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d32720"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1469
|
-
[1m[36mTRANSACTION (6.9ms)[0m [1m[36mcommit transaction[0m
|
1470
|
-
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
1471
|
-
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d36670"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1472
|
-
[1m[36mTRANSACTION (6.0ms)[0m [1m[36mcommit transaction[0m
|
1473
|
-
Processing by Api::UserController#update as HTML
|
1474
|
-
Parameters: {"uid"=>"a1s2d32720"}
|
1475
|
-
Rendering layout /var/lib/jenkins/workspace/gds-sso_master/app/views/layouts/unauthorised.html.erb
|
1476
|
-
Rendering /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
1477
|
-
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
1478
|
-
Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (Duration: 0.5ms | Allocations: 191)
|
1479
|
-
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
1480
|
-
Rendered layout /var/lib/jenkins/workspace/gds-sso_master/app/views/layouts/unauthorised.html.erb (Duration: 0.6ms | Allocations: 267)
|
1481
|
-
Completed 403 Forbidden in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms | Allocations: 1359)
|
1482
|
-
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
1483
|
-
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d35740"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1484
|
-
[1m[36mTRANSACTION (6.2ms)[0m [1m[36mcommit transaction[0m
|
1485
|
-
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
1486
|
-
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d32301"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1487
|
-
[1m[36mTRANSACTION (6.8ms)[0m [1m[36mcommit transaction[0m
|
1488
|
-
Processing by Api::UserController#reauth as HTML
|
1489
|
-
Parameters: {"uid"=>"a1s2d35740"}
|
1490
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d35740"], ["LIMIT", 1]]
|
1491
|
-
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
1492
|
-
[1m[36mUser Update (0.1ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", 1], ["id", 8]]
|
1493
|
-
[1m[36mTRANSACTION (7.8ms)[0m [1m[36mcommit transaction[0m
|
1494
|
-
Completed 200 OK in 9ms (ActiveRecord: 8.0ms | Allocations: 849)
|
1495
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 8], ["LIMIT", 1]]
|
1496
|
-
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
1497
|
-
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d37995"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1498
|
-
[1m[36mTRANSACTION (5.4ms)[0m [1m[36mcommit transaction[0m
|
1499
|
-
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
1500
|
-
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d31590"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1501
|
-
[1m[36mTRANSACTION (6.2ms)[0m [1m[36mcommit transaction[0m
|
1502
|
-
Processing by Api::UserController#reauth as HTML
|
1503
|
-
Parameters: {"uid"=>"a1s2d37995"}
|
1504
|
-
Rendering layout /var/lib/jenkins/workspace/gds-sso_master/app/views/layouts/unauthorised.html.erb
|
1505
|
-
Rendering /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
1506
|
-
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
1507
|
-
Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (Duration: 0.1ms | Allocations: 45)
|
1508
|
-
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
1509
|
-
Rendered layout /var/lib/jenkins/workspace/gds-sso_master/app/views/layouts/unauthorised.html.erb (Duration: 0.2ms | Allocations: 119)
|
1510
|
-
Completed 403 Forbidden in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms | Allocations: 515)
|
1511
|
-
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
1512
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d353"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1513
|
-
[1m[36mTRANSACTION (6.1ms)[0m [1m[36mcommit transaction[0m
|
1514
|
-
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
1515
|
-
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d38660"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1516
|
-
[1m[36mTRANSACTION (6.3ms)[0m [1m[36mcommit transaction[0m
|
1517
|
-
Processing by Api::UserController#reauth as HTML
|
1518
|
-
Parameters: {"uid"=>"nonexistent-user"}
|
1519
|
-
[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]]
|
1520
|
-
Completed 200 OK in 3ms (ActiveRecord: 0.1ms | Allocations: 501)
|
1520
|
+
Completed in 9ms (ActiveRecord: 0.0ms | Allocations: 1815)
|