gds-sso 16.0.0 → 16.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/controllers/authentications_controller.rb +1 -1
- data/lib/gds-sso/version.rb +1 -1
- data/spec/controller/controller_methods_spec.rb +0 -14
- data/spec/internal/db/combustion_test.sqlite +0 -0
- data/spec/internal/log/test.log +878 -870
- data/spec/support/controller_spy.rb +14 -0
- data/spec/support/serializable_user.rb +3 -0
- data/spec/support/signon_integration_helpers.rb +1 -1
- data/spec/support/test_user.rb +29 -0
- data/spec/unit/session_serialisation_spec.rb +0 -4
- data/spec/unit/user_spec.rb +0 -30
- metadata +9 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 14cc3ecc61cecb2be99008673ba2852ce4a38385fc1721a420d9452eedcad495
|
4
|
+
data.tar.gz: 629e3d7a45d9385ef258dffd115167e0ffa36a8a51d98309c5323a19ca3a772d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3b8e46bb3acb7a9105001c7f8ec39f0914f60a89d9592df1f53c901b172bc575d584a7ff6019f6ebe4d7e8781029dcbdc5b71ecba0c8585e9697e4830ccdcf25
|
7
|
+
data.tar.gz: e046ad091e5430b6ed6ba5011e5498723b943d7a7dfd1027cb346e15b7dbf14e3e083707aaa7646418c53530360fc755a2903b74bfc3662127ad553cbc446b1f
|
data/lib/gds-sso/version.rb
CHANGED
@@ -1,20 +1,6 @@
|
|
1
1
|
require "spec_helper"
|
2
2
|
|
3
3
|
RSpec.describe GDS::SSO::ControllerMethods, "#authorise_user!" do
|
4
|
-
class ControllerSpy < ApplicationController
|
5
|
-
include GDS::SSO::ControllerMethods
|
6
|
-
|
7
|
-
def initialize(current_user)
|
8
|
-
@current_user = current_user
|
9
|
-
end
|
10
|
-
|
11
|
-
def authenticate_user!
|
12
|
-
true
|
13
|
-
end
|
14
|
-
|
15
|
-
attr_reader :current_user
|
16
|
-
end
|
17
|
-
|
18
4
|
let(:current_user) { double }
|
19
5
|
let(:expected_error) { GDS::SSO::ControllerMethods::PermissionDeniedException }
|
20
6
|
|
Binary file
|
data/spec/internal/log/test.log
CHANGED
@@ -1,127 +1,191 @@
|
|
1
1
|
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "users"[0m
|
2
|
-
[1m[35m (
|
3
|
-
[1m[35m (
|
4
|
-
[1m[35m (
|
2
|
+
[1m[35m (0.9ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
3
|
+
[1m[35m (7.4ms)[0m [1m[35mCREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "uid" varchar NOT NULL, "email" varchar NOT NULL, "remotely_signed_out" boolean, "permissions" text, "organisation_slug" varchar, "organisation_content_id" varchar, "disabled" boolean DEFAULT 'f')[0m
|
4
|
+
[1m[35m (6.6ms)[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
5
|
[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]]
|
6
6
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
7
|
-
[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", "
|
8
|
-
[1m[35m (
|
9
|
-
[1m[35m (
|
7
|
+
[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-10 10:30:26.783208"], ["updated_at", "2021-06-10 10:30:26.783208"]]
|
8
|
+
[1m[35m (6.3ms)[0m [1m[36mcommit transaction[0m
|
9
|
+
[1m[35m (6.5ms)[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
|
+
[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", "a1s2d37256"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
15
|
+
[1m[35m (6.9ms)[0m [1m[36mcommit transaction[0m
|
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", "a1s2d35608"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
18
|
+
[1m[35m (5.9ms)[0m [1m[36mcommit transaction[0m
|
19
|
+
Processing by Api::UserController#update as HTML
|
20
|
+
Parameters: {"uid"=>"a1s2d37256"}
|
21
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d37256"], ["LIMIT", 1]]
|
22
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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 (4.4ms)[0m [1m[36mcommit transaction[0m
|
25
|
+
Completed 200 OK in 7ms (ActiveRecord: 4.7ms)
|
26
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
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", "a1s2d39156"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
29
|
+
[1m[35m (6.0ms)[0m [1m[36mcommit transaction[0m
|
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", "a1s2d31968"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
32
|
+
[1m[35m (5.9ms)[0m [1m[36mcommit transaction[0m
|
33
|
+
Processing by Api::UserController#update as HTML
|
34
|
+
Parameters: {"uid"=>"a1s2d39156"}
|
35
|
+
Rendering /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
36
|
+
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
37
|
+
Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.1ms)
|
38
|
+
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
39
|
+
Completed 403 Forbidden in 5ms (Views: 4.3ms | ActiveRecord: 0.0ms)
|
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", "a1s2d31875"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
42
|
+
[1m[35m (6.3ms)[0m [1m[36mcommit transaction[0m
|
43
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
44
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d3917"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
45
|
+
[1m[35m (6.2ms)[0m [1m[36mcommit transaction[0m
|
46
|
+
Processing by Api::UserController#reauth as HTML
|
47
|
+
Parameters: {"uid"=>"a1s2d31875"}
|
48
|
+
Rendering /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
49
|
+
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
50
|
+
Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.1ms)
|
51
|
+
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
52
|
+
Completed 403 Forbidden in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
|
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", "a1s2d38749"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
55
|
+
[1m[35m (4.5ms)[0m [1m[36mcommit transaction[0m
|
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", "a1s2d39755"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
58
|
+
[1m[35m (4.9ms)[0m [1m[36mcommit transaction[0m
|
59
|
+
Processing by Api::UserController#reauth as HTML
|
60
|
+
Parameters: {"uid"=>"a1s2d38749"}
|
61
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d38749"], ["LIMIT", 1]]
|
62
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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 (4.6ms)[0m [1m[36mcommit transaction[0m
|
65
|
+
Completed 200 OK in 6ms (ActiveRecord: 4.8ms)
|
66
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 7], ["LIMIT", 1]]
|
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", "a1s2d35482"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
69
|
+
[1m[35m (6.4ms)[0m [1m[36mcommit transaction[0m
|
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", "a1s2d37236"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
72
|
+
[1m[35m (5.9ms)[0m [1m[36mcommit transaction[0m
|
73
|
+
Processing by Api::UserController#reauth as HTML
|
74
|
+
Parameters: {"uid"=>"nonexistent-user"}
|
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
|
+
Completed 200 OK in 1ms (ActiveRecord: 0.1ms)
|
13
77
|
[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]]
|
14
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]]
|
15
79
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
16
80
|
[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]]
|
17
|
-
[1m[35m (
|
81
|
+
[1m[35m (5.8ms)[0m [1m[36mcommit transaction[0m
|
18
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]]
|
19
83
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
20
84
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
21
|
-
Started GET "/" for 127.0.0.1 at
|
22
|
-
Processing by ExampleController#index as HTML
|
23
|
-
Rendering text template
|
24
|
-
Rendered text template (0.0ms)
|
25
|
-
Completed 200 OK in 8ms (Views: 7.9ms | ActiveRecord: 0.0ms)
|
26
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-11-12 10:32:04 +0000
|
85
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:27 +0000
|
27
86
|
Processing by ExampleController#restricted as HTML
|
28
87
|
Authenticating with gds_sso strategy
|
29
88
|
Completed in 4ms (ActiveRecord: 0.0ms)
|
30
|
-
Started GET "/
|
31
|
-
|
32
|
-
Processing by AuthenticationsController#callback as HTML
|
33
|
-
Parameters: {"code"=>"5PIw9kafgD-w47vu0TK-lQtDOIqaqYQbx7a8qb7GK1w", "state"=>"1d465f678b40d424d735dc7608df2e290c9237aa41631e2b"}
|
34
|
-
Authenticating with gds_sso strategy
|
89
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2021-06-10 10:30:27 +0000
|
90
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
35
91
|
[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]]
|
36
92
|
[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]]
|
37
93
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
38
|
-
[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"]]
|
39
|
-
[1m[35m (
|
94
|
+
[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]]
|
95
|
+
[1m[35m (7.4ms)[0m [1m[36mcommit transaction[0m
|
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]]
|
40
97
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
41
|
-
[1m[
|
42
|
-
[1m[
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
[1m[
|
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
|
105
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
106
|
+
[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.1ms)[0m [1m[36mcommit transaction[0m
|
48
108
|
Rendering text template
|
49
109
|
Rendered text template (0.0ms)
|
50
|
-
Completed 200 OK in
|
51
|
-
Started GET "/restricted" for 127.0.0.1 at
|
52
|
-
Processing by ExampleController#restricted as
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
Authenticating with gds_sso strategy
|
110
|
+
Completed 200 OK in 160ms (Views: 0.8ms | ActiveRecord: 14.4ms)
|
111
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:27 +0000
|
112
|
+
Processing by ExampleController#restricted as JSON
|
113
|
+
Completed in 109ms (ActiveRecord: 0.0ms)
|
114
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:27 +0000
|
115
|
+
Processing by ExampleController#restricted as JSON
|
116
|
+
Completed in 14ms (ActiveRecord: 0.0ms)
|
117
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:27 +0000
|
118
|
+
Processing by ExampleController#restricted as JSON
|
60
119
|
[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]]
|
61
120
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
62
121
|
[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
|
63
131
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
64
132
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
65
|
-
Redirected to http://www.example-client.com/restricted
|
66
|
-
Completed 302 Found in 3ms (ActiveRecord: 0.2ms)
|
67
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-11-12 10:32:05 +0000
|
68
|
-
Processing by ExampleController#restricted as HTML
|
69
|
-
[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]]
|
70
133
|
Rendering text template
|
71
134
|
Rendered text template (0.0ms)
|
72
|
-
Completed 200 OK in
|
73
|
-
Started GET "/restricted" for 127.0.0.1 at
|
135
|
+
Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 0.5ms)
|
136
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:27 +0000
|
74
137
|
Processing by ExampleController#restricted as HTML
|
75
138
|
Authenticating with gds_sso strategy
|
76
139
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
77
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
78
|
-
Started GET "/auth/gds/callback?code=
|
140
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-10 10:30:27 +0000
|
141
|
+
Started GET "/auth/gds/callback?code=jF_SQ2_ish9Qv0VB_UitUoug5h0ETt4bK4BWGKjfZyg&state=64e9bbffa3bd2370491170a2e47f9c854825df7f2663e0d4" for 127.0.0.1 at 2021-06-10 10:30:27 +0000
|
79
142
|
Processing by AuthenticationsController#callback as HTML
|
80
|
-
Parameters: {"code"=>"
|
143
|
+
Parameters: {"code"=>"jF_SQ2_ish9Qv0VB_UitUoug5h0ETt4bK4BWGKjfZyg", "state"=>"64e9bbffa3bd2370491170a2e47f9c854825df7f2663e0d4"}
|
81
144
|
Authenticating with gds_sso strategy
|
82
145
|
[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]]
|
83
146
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
84
|
-
[1m[
|
85
|
-
[1m[35m (
|
147
|
+
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "disabled" = ? WHERE "users"."id" = ?[0m [["disabled", "f"], ["id", 12]]
|
148
|
+
[1m[35m (8.5ms)[0m [1m[36mcommit transaction[0m
|
149
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
86
150
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
87
151
|
Redirected to http://www.example-client.com/restricted
|
88
|
-
Completed 302 Found in
|
89
|
-
Started GET "/restricted" for 127.0.0.1 at
|
152
|
+
Completed 302 Found in 12ms (ActiveRecord: 9.0ms)
|
153
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:27 +0000
|
90
154
|
Processing by ExampleController#restricted as HTML
|
91
|
-
[1m[36mUser Load (0.
|
155
|
+
[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]]
|
92
156
|
Rendering text template
|
93
157
|
Rendered text template (0.0ms)
|
94
|
-
Completed 200 OK in
|
95
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at
|
158
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
159
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2021-06-10 10:30:27 +0000
|
96
160
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
97
161
|
Authenticating with gds_sso strategy
|
98
162
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
99
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
100
|
-
Started GET "/auth/gds/callback?code=
|
163
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-10 10:30:27 +0000
|
164
|
+
Started GET "/auth/gds/callback?code=hBZaqSN91kBu98XpYDOwJ69NLFqKGc-4_TFRUBTd_mw&state=8806c639e9bcd12b516f12ec248955b3630bc755ec4b2d40" for 127.0.0.1 at 2021-06-10 10:30:28 +0000
|
101
165
|
Processing by AuthenticationsController#callback as HTML
|
102
|
-
Parameters: {"code"=>"
|
166
|
+
Parameters: {"code"=>"hBZaqSN91kBu98XpYDOwJ69NLFqKGc-4_TFRUBTd_mw", "state"=>"8806c639e9bcd12b516f12ec248955b3630bc755ec4b2d40"}
|
103
167
|
Authenticating with gds_sso strategy
|
104
|
-
[1m[36mUser Load (0.
|
105
|
-
[1m[35m (0.
|
106
|
-
[1m[35m (0.
|
168
|
+
[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]]
|
169
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
170
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
107
171
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
108
172
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
109
173
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
110
|
-
Completed 302 Found in
|
111
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at
|
174
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
175
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2021-06-10 10:30:28 +0000
|
112
176
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
113
177
|
[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]]
|
114
178
|
Rendering text template
|
115
179
|
Rendered text template (0.0ms)
|
116
|
-
Completed 200 OK in
|
117
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at
|
180
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
181
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2021-06-10 10:30:28 +0000
|
118
182
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
119
183
|
Authenticating with gds_sso strategy
|
120
184
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
121
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
122
|
-
Started GET "/auth/gds/callback?code=
|
185
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-10 10:30:28 +0000
|
186
|
+
Started GET "/auth/gds/callback?code=bJv-HEe2eC9X_-jgPUxZASHtbrWzWomV1ODGqSwDZjw&state=60b1396bae1dba933a655d4c6b356d45a20ceea740c2030b" for 127.0.0.1 at 2021-06-10 10:30:28 +0000
|
123
187
|
Processing by AuthenticationsController#callback as HTML
|
124
|
-
Parameters: {"code"=>"
|
188
|
+
Parameters: {"code"=>"bJv-HEe2eC9X_-jgPUxZASHtbrWzWomV1ODGqSwDZjw", "state"=>"60b1396bae1dba933a655d4c6b356d45a20ceea740c2030b"}
|
125
189
|
Authenticating with gds_sso strategy
|
126
190
|
[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]]
|
127
191
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
@@ -129,21 +193,26 @@ Authenticating with gds_sso strategy
|
|
129
193
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
130
194
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
131
195
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
132
|
-
Completed 302 Found in 2ms (ActiveRecord: 0.
|
133
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at
|
196
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
|
197
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2021-06-10 10:30:28 +0000
|
134
198
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
135
199
|
[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]]
|
136
200
|
Rendering text template
|
137
201
|
Rendered text template (0.0ms)
|
138
202
|
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
139
|
-
Started GET "/
|
203
|
+
Started GET "/" for 127.0.0.1 at 2021-06-10 10:30:28 +0000
|
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
|
140
209
|
Processing by ExampleController#restricted as HTML
|
141
210
|
Authenticating with gds_sso strategy
|
142
211
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
143
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
144
|
-
Started GET "/auth/gds/callback?code=
|
212
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-10 10:30:28 +0000
|
213
|
+
Started GET "/auth/gds/callback?code=gC8iRA497xK0TkQvEcg8DRlRD9k0w8qBkE9m_qpofSE&state=8e8a74a0073eca132ed33502b238a6cfae24a8240f26808e" for 127.0.0.1 at 2021-06-10 10:30:28 +0000
|
145
214
|
Processing by AuthenticationsController#callback as HTML
|
146
|
-
Parameters: {"code"=>"
|
215
|
+
Parameters: {"code"=>"gC8iRA497xK0TkQvEcg8DRlRD9k0w8qBkE9m_qpofSE", "state"=>"8e8a74a0073eca132ed33502b238a6cfae24a8240f26808e"}
|
147
216
|
Authenticating with gds_sso strategy
|
148
217
|
[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]]
|
149
218
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
@@ -151,43 +220,43 @@ Authenticating with gds_sso strategy
|
|
151
220
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
152
221
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
153
222
|
Redirected to http://www.example-client.com/restricted
|
154
|
-
Completed 302 Found in 2ms (ActiveRecord: 0.
|
155
|
-
Started GET "/restricted" for 127.0.0.1 at
|
223
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.3ms)
|
224
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:28 +0000
|
156
225
|
Processing by ExampleController#restricted as HTML
|
157
226
|
[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]]
|
158
227
|
Rendering text template
|
159
228
|
Rendered text template (0.0ms)
|
160
229
|
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
161
|
-
Started GET "/restricted" for 127.0.0.1 at
|
230
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:28 +0000
|
162
231
|
Processing by ExampleController#restricted as HTML
|
163
232
|
Authenticating with gds_sso strategy
|
164
233
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
165
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
166
|
-
Started GET "/auth/gds/callback?code=
|
234
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-10 10:30:28 +0000
|
235
|
+
Started GET "/auth/gds/callback?code=uC1_m3BWNbgEgv_fIyd_J41XniD3TMhDsofeYTaPoEY&state=f5e56d641dd87dbbd91737828000e2a66ccc4d703d5a2286" for 127.0.0.1 at 2021-06-10 10:30:28 +0000
|
167
236
|
Processing by AuthenticationsController#callback as HTML
|
168
|
-
Parameters: {"code"=>"
|
237
|
+
Parameters: {"code"=>"uC1_m3BWNbgEgv_fIyd_J41XniD3TMhDsofeYTaPoEY", "state"=>"f5e56d641dd87dbbd91737828000e2a66ccc4d703d5a2286"}
|
169
238
|
Authenticating with gds_sso strategy
|
170
|
-
[1m[36mUser Load (0.
|
239
|
+
[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]]
|
171
240
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
172
|
-
[1m[35m (0.
|
241
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
173
242
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
174
243
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
175
244
|
Redirected to http://www.example-client.com/restricted
|
176
|
-
Completed 302 Found in
|
177
|
-
Started GET "/restricted" for 127.0.0.1 at
|
245
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
|
246
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:28 +0000
|
178
247
|
Processing by ExampleController#restricted as HTML
|
179
248
|
[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]]
|
180
249
|
Rendering text template
|
181
250
|
Rendered text template (0.0ms)
|
182
|
-
Completed 200 OK in
|
183
|
-
Started GET "/restricted" for 127.0.0.1 at
|
251
|
+
Completed 200 OK in 12ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
252
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:28 +0000
|
184
253
|
Processing by ExampleController#restricted as HTML
|
185
254
|
Authenticating with gds_sso strategy
|
186
255
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
187
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
188
|
-
Started GET "/auth/gds/callback?code=
|
256
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-10 10:30:28 +0000
|
257
|
+
Started GET "/auth/gds/callback?code=3ve19Uzmtbue5ui6zqJdR_9fqKnriB9lGa6z1E_MnZs&state=d2d227c0bcc729ea97f23dc39c5824e21ea96435635d9677" for 127.0.0.1 at 2021-06-10 10:30:28 +0000
|
189
258
|
Processing by AuthenticationsController#callback as HTML
|
190
|
-
Parameters: {"code"=>"
|
259
|
+
Parameters: {"code"=>"3ve19Uzmtbue5ui6zqJdR_9fqKnriB9lGa6z1E_MnZs", "state"=>"d2d227c0bcc729ea97f23dc39c5824e21ea96435635d9677"}
|
191
260
|
Authenticating with gds_sso strategy
|
192
261
|
[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]]
|
193
262
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
@@ -195,26 +264,26 @@ Authenticating with gds_sso strategy
|
|
195
264
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
196
265
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
197
266
|
Redirected to http://www.example-client.com/restricted
|
198
|
-
Completed 302 Found in
|
199
|
-
Started GET "/restricted" for 127.0.0.1 at
|
267
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
|
268
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:28 +0000
|
200
269
|
Processing by ExampleController#restricted as HTML
|
201
270
|
[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]]
|
202
271
|
Rendering text template
|
203
272
|
Rendered text template (0.0ms)
|
204
273
|
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
205
|
-
Started GET "/restricted" for 127.0.0.1 at
|
274
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-11 06:35:28 +0000
|
206
275
|
Processing by ExampleController#restricted as HTML
|
207
276
|
Authenticating with gds_sso strategy
|
208
277
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
209
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
210
|
-
Started GET "/restricted" for 127.0.0.1 at
|
278
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-11 06:35:28 +0000
|
279
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:28 +0000
|
211
280
|
Processing by ExampleController#restricted as HTML
|
212
281
|
Authenticating with gds_sso strategy
|
213
282
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
214
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
215
|
-
Started GET "/auth/gds/callback?code=
|
283
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-10 10:30:28 +0000
|
284
|
+
Started GET "/auth/gds/callback?code=gRDEB2jbqdAAGGZAxaQlVWcYPlKb7Fob4ZrpW0gZUfQ&state=5a06fcd6a2e53d43e2cf0530a073a1b80547bbf16f1eb58f" for 127.0.0.1 at 2021-06-10 10:30:28 +0000
|
216
285
|
Processing by AuthenticationsController#callback as HTML
|
217
|
-
Parameters: {"code"=>"
|
286
|
+
Parameters: {"code"=>"gRDEB2jbqdAAGGZAxaQlVWcYPlKb7Fob4ZrpW0gZUfQ", "state"=>"5a06fcd6a2e53d43e2cf0530a073a1b80547bbf16f1eb58f"}
|
218
287
|
Authenticating with gds_sso strategy
|
219
288
|
[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]]
|
220
289
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
@@ -222,744 +291,667 @@ Authenticating with gds_sso strategy
|
|
222
291
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
223
292
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
224
293
|
Redirected to http://www.example-client.com/restricted
|
225
|
-
Completed 302 Found in 2ms (ActiveRecord: 0.
|
226
|
-
Started GET "/restricted" for 127.0.0.1 at
|
294
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
|
295
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:28 +0000
|
227
296
|
Processing by ExampleController#restricted as HTML
|
228
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]]
|
229
298
|
Rendering text template
|
230
299
|
Rendered text template (0.0ms)
|
231
300
|
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
232
|
-
Started GET "/restricted" for 127.0.0.1 at
|
301
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-11 06:25:28 +0000
|
233
302
|
Processing by ExampleController#restricted as HTML
|
234
303
|
[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]]
|
235
304
|
Rendering text template
|
236
305
|
Rendered text template (0.0ms)
|
237
306
|
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
238
|
-
Started GET "/restricted" for 127.0.0.1 at
|
307
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:28 +0000
|
239
308
|
Processing by ExampleController#restricted as HTML
|
240
309
|
Authenticating with gds_sso strategy
|
241
310
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
242
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
243
|
-
Started GET "/auth/gds/callback?code=
|
311
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-10 10:30:28 +0000
|
312
|
+
Started GET "/auth/gds/callback?code=qb68Dd9gN_70qvVFw7-A1bKvXPzTbxW7H21AFDey_Mc&state=e4c792c21b21297cbea468219e5d3b97703230ae78d8e289" for 127.0.0.1 at 2021-06-10 10:30:28 +0000
|
244
313
|
Processing by AuthenticationsController#callback as HTML
|
245
|
-
Parameters: {"code"=>"
|
314
|
+
Parameters: {"code"=>"qb68Dd9gN_70qvVFw7-A1bKvXPzTbxW7H21AFDey_Mc", "state"=>"e4c792c21b21297cbea468219e5d3b97703230ae78d8e289"}
|
246
315
|
Authenticating with gds_sso strategy
|
247
316
|
[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]]
|
248
317
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
249
|
-
[1m[35m (0.
|
318
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
250
319
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
251
320
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
252
321
|
Redirected to http://www.example-client.com/restricted
|
253
|
-
Completed 302 Found in 2ms (ActiveRecord: 0.
|
254
|
-
Started GET "/restricted" for 127.0.0.1 at
|
322
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.3ms)
|
323
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:28 +0000
|
255
324
|
Processing by ExampleController#restricted as HTML
|
256
325
|
[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]]
|
257
326
|
Rendering text template
|
258
327
|
Rendered text template (0.0ms)
|
259
328
|
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
260
|
-
|
261
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
262
|
-
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "t"], ["id", 2]]
|
263
|
-
[1m[35m (7.0ms)[0m [1m[36mcommit transaction[0m
|
264
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-11-12 10:32:05 +0000
|
329
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-11 06:35:28 +0000
|
265
330
|
Processing by ExampleController#restricted as HTML
|
266
|
-
[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]]
|
267
331
|
Authenticating with gds_sso strategy
|
268
|
-
Completed in
|
269
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
270
|
-
Started GET "/auth/gds/callback?code=
|
332
|
+
Completed in 0ms (ActiveRecord: 0.0ms)
|
333
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-11 06:35:28 +0000
|
334
|
+
Started GET "/auth/gds/callback?code=1TVTeXCnPzzVBtZkj8vl2uioLmGV7FlVvsFnmAcwmwk&state=035bf0092b698f67501d896f38b3bef1e1627e63c1b4188e" for 127.0.0.1 at 2021-06-11 06:35:28 +0000
|
271
335
|
Processing by AuthenticationsController#callback as HTML
|
272
|
-
Parameters: {"code"=>"
|
336
|
+
Parameters: {"code"=>"1TVTeXCnPzzVBtZkj8vl2uioLmGV7FlVvsFnmAcwmwk", "state"=>"035bf0092b698f67501d896f38b3bef1e1627e63c1b4188e"}
|
273
337
|
Authenticating with gds_sso strategy
|
274
338
|
[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]]
|
275
339
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
276
340
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
277
341
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
278
|
-
[1m[
|
279
|
-
[1m[35m (4.9ms)[0m [1m[36mcommit transaction[0m
|
342
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
280
343
|
Redirected to http://www.example-client.com/restricted
|
281
|
-
Completed 302 Found in
|
282
|
-
Started GET "/restricted" for 127.0.0.1 at
|
344
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
|
345
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-11 06:35:28 +0000
|
283
346
|
Processing by ExampleController#restricted as HTML
|
284
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]]
|
285
348
|
Rendering text template
|
286
349
|
Rendered text template (0.0ms)
|
287
350
|
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
288
|
-
Started GET "/restricted" for 127.0.0.1 at
|
351
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:28 +0000
|
289
352
|
Processing by ExampleController#restricted as HTML
|
290
353
|
Authenticating with gds_sso strategy
|
291
354
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
292
|
-
Started GET "/
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
Completed in 12ms (ActiveRecord: 0.0ms)
|
298
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-11-12 10:32:05 +0000
|
299
|
-
Processing by ExampleController#restricted as JSON
|
300
|
-
[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]]
|
301
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
302
|
-
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "disabled" = ? WHERE "users"."id" = ?[0m [["disabled", nil], ["id", 2]]
|
303
|
-
[1m[35m (4.2ms)[0m [1m[36mcommit transaction[0m
|
355
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-10 10:30:28 +0000
|
356
|
+
Started GET "/auth/gds/callback?code=7jIqjNEZcZB_myhQcBlUspxZz0naY5OkcFMkl4H-wDU&state=4d6498930ca82bc9ad804093f4683f0ce3f06bf3d85607c7" for 127.0.0.1 at 2021-06-10 10:30:28 +0000
|
357
|
+
Processing by AuthenticationsController#callback as HTML
|
358
|
+
Parameters: {"code"=>"7jIqjNEZcZB_myhQcBlUspxZz0naY5OkcFMkl4H-wDU", "state"=>"4d6498930ca82bc9ad804093f4683f0ce3f06bf3d85607c7"}
|
359
|
+
Authenticating with gds_sso strategy
|
304
360
|
[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]]
|
305
361
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
306
362
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
307
|
-
[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]]
|
308
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
309
|
-
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
310
|
-
[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]]
|
311
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
312
|
-
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
313
363
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
314
364
|
[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]]
|
315
370
|
Rendering text template
|
316
371
|
Rendered text template (0.0ms)
|
317
|
-
Completed 200 OK in
|
318
|
-
|
319
|
-
Processing by ExampleController#this_requires_signin_permission as JSON
|
320
|
-
[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]]
|
321
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
322
|
-
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
323
|
-
[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]]
|
324
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
325
|
-
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
326
|
-
[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]]
|
327
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
328
|
-
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
329
|
-
[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]]
|
372
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
373
|
+
[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]]
|
330
374
|
[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
|
331
389
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
332
390
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
333
|
-
[1m[
|
391
|
+
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id", 12]]
|
392
|
+
[1m[35m (4.8ms)[0m [1m[36mcommit transaction[0m
|
393
|
+
Redirected to http://www.example-client.com/restricted
|
394
|
+
Completed 302 Found in 8ms (ActiveRecord: 5.3ms)
|
395
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:28 +0000
|
396
|
+
Processing by ExampleController#restricted as HTML
|
397
|
+
[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]]
|
334
398
|
Rendering text template
|
335
399
|
Rendered text template (0.0ms)
|
336
|
-
Completed 200 OK in
|
337
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
338
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d34354"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
339
|
-
[1m[35m (6.2ms)[0m [1m[36mcommit transaction[0m
|
340
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
341
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d34127"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
342
|
-
[1m[35m (4.4ms)[0m [1m[36mcommit transaction[0m
|
343
|
-
Processing by Api::UserController#update as HTML
|
344
|
-
Parameters: {"uid"=>"a1s2d34354"}
|
345
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d34354"], ["LIMIT", 1]]
|
346
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
347
|
-
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "email" = ?, "name" = ?, "permissions" = ?, "organisation_slug" = ?, "organisation_content_id" = ? WHERE "users"."id" = ?[0m [["email", "user@domain.com"], ["name", "Joshua Marshall"], ["permissions", "---\n- signin\n- new permission\n"], ["organisation_slug", "justice-league"], ["organisation_content_id", "aae1319e-5788-4677-998c-f1a53af528d0"], ["id", 3]]
|
348
|
-
[1m[35m (4.8ms)[0m [1m[36mcommit transaction[0m
|
349
|
-
Completed 200 OK in 7ms (ActiveRecord: 5.1ms)
|
350
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 3], ["LIMIT", 1]]
|
351
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
352
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d33333"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
353
|
-
[1m[35m (4.9ms)[0m [1m[36mcommit transaction[0m
|
354
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
355
|
-
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d38699"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
356
|
-
[1m[35m (4.2ms)[0m [1m[36mcommit transaction[0m
|
357
|
-
Processing by Api::UserController#update as HTML
|
358
|
-
Parameters: {"uid"=>"a1s2d33333"}
|
359
|
-
Rendering /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
360
|
-
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
361
|
-
Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
|
362
|
-
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
363
|
-
Completed 403 Forbidden in 3ms (Views: 3.2ms | ActiveRecord: 0.0ms)
|
364
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
365
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d33128"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
366
|
-
[1m[35m (6.5ms)[0m [1m[36mcommit transaction[0m
|
367
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
368
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d37859"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
369
|
-
[1m[35m (5.3ms)[0m [1m[36mcommit transaction[0m
|
370
|
-
Processing by Api::UserController#reauth as HTML
|
371
|
-
Parameters: {"uid"=>"nonexistent-user"}
|
372
|
-
[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]]
|
373
|
-
Completed 200 OK in 1ms (ActiveRecord: 0.1ms)
|
374
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
375
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d38771"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
376
|
-
[1m[35m (5.4ms)[0m [1m[36mcommit transaction[0m
|
377
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
378
|
-
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d38635"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
379
|
-
[1m[35m (4.6ms)[0m [1m[36mcommit transaction[0m
|
380
|
-
Processing by Api::UserController#reauth as HTML
|
381
|
-
Parameters: {"uid"=>"a1s2d38771"}
|
382
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d38771"], ["LIMIT", 1]]
|
383
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
384
|
-
[1m[36mUser Update (0.1ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "t"], ["id", 9]]
|
385
|
-
[1m[35m (5.7ms)[0m [1m[36mcommit transaction[0m
|
386
|
-
Completed 200 OK in 7ms (ActiveRecord: 6.0ms)
|
387
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 9], ["LIMIT", 1]]
|
388
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
389
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d37217"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
390
|
-
[1m[35m (4.9ms)[0m [1m[36mcommit transaction[0m
|
391
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
392
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d35812"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
393
|
-
[1m[35m (4.4ms)[0m [1m[36mcommit transaction[0m
|
394
|
-
Processing by Api::UserController#reauth as HTML
|
395
|
-
Parameters: {"uid"=>"a1s2d37217"}
|
396
|
-
Rendering /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
397
|
-
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
398
|
-
Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.1ms)
|
399
|
-
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
400
|
-
Completed 403 Forbidden in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
|
400
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
401
401
|
[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]]
|
402
402
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
403
|
-
[1m[36mUser Create (0.
|
404
|
-
[1m[35m (
|
403
|
+
[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", "4960"], ["email", "dummyapiuser@domain.com"], ["permissions", "---\n- signin\n"]]
|
404
|
+
[1m[35m (6.5ms)[0m [1m[36mcommit transaction[0m
|
405
405
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
406
|
-
[1m[36mUser Update (0.
|
407
|
-
[1m[35m (
|
408
|
-
[1m[35m (1.
|
409
|
-
[1m[35m (0.
|
406
|
+
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = ?[0m [["permissions", "---\n- signin\n- extra_permission\n"], ["id", 13]]
|
407
|
+
[1m[35m (6.7ms)[0m [1m[36mcommit transaction[0m
|
408
|
+
[1m[35m (1.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
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 (
|
413
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.
|
414
|
-
[1m[
|
415
|
-
[1m[36mActiveRecord::InternalMetadata Create (0.
|
416
|
-
[1m[
|
417
|
-
[1m[35m (
|
411
|
+
[1m[35m (28.8ms)[0m [1m[35mCREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "uid" varchar NOT NULL, "email" varchar NOT NULL, "remotely_signed_out" boolean, "permissions" text, "organisation_slug" varchar, "organisation_content_id" varchar, "disabled" boolean DEFAULT 0)[0m
|
412
|
+
[1m[35m (50.9ms)[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
|
+
[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
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
415
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.1ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2021-06-10 10:30:36.659757"], ["updated_at", "2021-06-10 10:30:36.659757"]]
|
416
|
+
[1m[36mTRANSACTION (9.6ms)[0m [1m[36mcommit transaction[0m
|
417
|
+
[1m[35m (8.4ms)[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
|
-
|
421
|
-
|
422
|
-
|
423
|
-
|
424
|
-
|
425
|
-
|
426
|
-
|
427
|
-
|
428
|
-
|
429
|
-
|
430
|
-
|
431
|
-
|
432
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "
|
433
|
-
|
434
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
435
|
-
[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]]
|
436
|
-
[1m[35m (6.2ms)[0m [1m[36mcommit transaction[0m
|
437
|
-
[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]]
|
438
|
-
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
439
|
-
[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]]
|
440
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
441
|
-
[1m[36mUser Update (0.1ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", 0], ["id", 1]]
|
442
|
-
[1m[35m (4.0ms)[0m [1m[36mcommit transaction[0m
|
443
|
-
Rendering text template
|
444
|
-
Rendered text template (Duration: 0.0ms | Allocations: 3)
|
445
|
-
Completed 200 OK in 28ms (Views: 2.4ms | ActiveRecord: 11.5ms | Allocations: 12608)
|
446
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-11-12 10:32:15 +0000
|
447
|
-
Processing by ExampleController#restricted as JSON
|
448
|
-
[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]]
|
449
|
-
[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]]
|
450
|
-
[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]]
|
451
|
-
[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]]
|
452
|
-
Rendering text template
|
453
|
-
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
454
|
-
Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 3317)
|
455
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-11-12 10:32:15 +0000
|
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
|
+
[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", "7088"], ["email", "dummyapiuser@domain.com"], ["permissions", "---\n- signin\n"]]
|
423
|
+
[1m[36mTRANSACTION (9.3ms)[0m [1m[36mcommit transaction[0m
|
424
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
425
|
+
[1m[36mUser Update (0.1ms)[0m [1m[33mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = ?[0m [["permissions", "---\n- signin\n- extra_permission\n"], ["id", 1]]
|
426
|
+
[1m[36mTRANSACTION (9.2ms)[0m [1m[36mcommit transaction[0m
|
427
|
+
[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]]
|
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
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
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 (9.1ms)[0m [1m[36mcommit transaction[0m
|
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 "/this_requires_signin_permission" for 127.0.0.1 at 2021-06-10 10:30:37 +0000
|
456
434
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
457
435
|
Authenticating with gds_sso strategy
|
458
|
-
Completed in
|
459
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
460
|
-
Started GET "/auth/gds/callback?code=
|
436
|
+
Completed in 11ms (ActiveRecord: 0.0ms | Allocations: 1328)
|
437
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-10 10:30:37 +0000
|
438
|
+
Started GET "/auth/gds/callback?code=8aR534GBTpwECc08vQQVQOraAYfQvEjh5hTlJvvzzVg&state=2a301db727905da0fa36957fa3526f610c4973148bd80795" for 127.0.0.1 at 2021-06-10 10:30:37 +0000
|
461
439
|
Processing by AuthenticationsController#callback as HTML
|
462
|
-
Parameters: {"code"=>"
|
440
|
+
Parameters: {"code"=>"8aR534GBTpwECc08vQQVQOraAYfQvEjh5hTlJvvzzVg", "state"=>"2a301db727905da0fa36957fa3526f610c4973148bd80795"}
|
463
441
|
Authenticating with gds_sso strategy
|
464
442
|
[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]]
|
465
|
-
[1m[
|
466
|
-
[1m[
|
467
|
-
[1m[
|
443
|
+
[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.1ms)[0m [1m[36mbegin transaction[0m
|
445
|
+
[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 (5.3ms)[0m [1m[36mcommit transaction[0m
|
447
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
448
|
+
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", 0], ["id", 3]]
|
449
|
+
[1m[36mTRANSACTION (5.7ms)[0m [1m[36mcommit transaction[0m
|
468
450
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
469
|
-
Completed 302 Found in
|
470
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at
|
451
|
+
Completed 302 Found in 16ms (ActiveRecord: 11.7ms | Allocations: 1508)
|
452
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2021-06-10 10:30:37 +0000
|
471
453
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
472
|
-
[1m[36mUser Load (0.
|
454
|
+
[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
455
|
Rendering text template
|
474
|
-
Rendered text template (Duration: 0.0ms | Allocations:
|
475
|
-
Completed 200 OK in
|
476
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at
|
456
|
+
Rendered text template (Duration: 0.0ms | Allocations: 3)
|
457
|
+
Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.1ms | Allocations: 1878)
|
458
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2021-06-10 10:30:37 +0000
|
477
459
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
478
460
|
Authenticating with gds_sso strategy
|
479
|
-
Completed in 0ms (ActiveRecord: 0.0ms | Allocations:
|
480
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
481
|
-
Started GET "/auth/gds/callback?code=
|
461
|
+
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 138)
|
462
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-10 10:30:37 +0000
|
463
|
+
Started GET "/auth/gds/callback?code=njujNdvEW_QtIIJp6N0t-MP3FIFDXXsbxayC14eOyrY&state=52764e9d78dea362e3351d0c7b2d1f3d0b71412765664451" for 127.0.0.1 at 2021-06-10 10:30:37 +0000
|
482
464
|
Processing by AuthenticationsController#callback as HTML
|
483
|
-
Parameters: {"code"=>"
|
465
|
+
Parameters: {"code"=>"njujNdvEW_QtIIJp6N0t-MP3FIFDXXsbxayC14eOyrY", "state"=>"52764e9d78dea362e3351d0c7b2d1f3d0b71412765664451"}
|
484
466
|
Authenticating with gds_sso strategy
|
485
467
|
[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
468
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
487
|
-
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations:
|
488
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at
|
469
|
+
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-10 10:30:37 +0000
|
489
471
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
490
472
|
[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
473
|
Rendering text template
|
492
474
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
493
|
-
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations:
|
494
|
-
Started GET "/" for 127.0.0.1 at
|
495
|
-
Processing by ExampleController#index as HTML
|
496
|
-
Rendering text template
|
497
|
-
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
498
|
-
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms | Allocations: 153)
|
499
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-11-12 10:32:15 +0000
|
475
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 706)
|
476
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:37 +0000
|
500
477
|
Processing by ExampleController#restricted as HTML
|
501
478
|
Authenticating with gds_sso strategy
|
502
|
-
Completed in 0ms (ActiveRecord: 0.0ms | Allocations:
|
503
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
504
|
-
Started GET "/auth/gds/callback?code=
|
479
|
+
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 138)
|
480
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-10 10:30:37 +0000
|
481
|
+
Started GET "/auth/gds/callback?code=R_lWFyGDxKwzvEKD9fBIkRij-9IEsqFaBVvIbG6xpiQ&state=cd3ed937eee9eeed0373b6ccc8c583b9ed6a029a55ae9277" for 127.0.0.1 at 2021-06-10 10:30:37 +0000
|
505
482
|
Processing by AuthenticationsController#callback as HTML
|
506
|
-
Parameters: {"code"=>"
|
483
|
+
Parameters: {"code"=>"R_lWFyGDxKwzvEKD9fBIkRij-9IEsqFaBVvIbG6xpiQ", "state"=>"cd3ed937eee9eeed0373b6ccc8c583b9ed6a029a55ae9277"}
|
507
484
|
Authenticating with gds_sso strategy
|
508
485
|
[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]]
|
509
486
|
Redirected to http://www.example-client.com/restricted
|
510
|
-
Completed 302 Found in
|
511
|
-
Started GET "/restricted" for 127.0.0.1 at
|
487
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.1ms | Allocations: 954)
|
488
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:37 +0000
|
512
489
|
Processing by ExampleController#restricted as HTML
|
513
490
|
[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]]
|
514
491
|
Rendering text template
|
515
492
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
516
|
-
Completed 200 OK in
|
517
|
-
Started GET "/restricted" for 127.0.0.1 at
|
493
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms | Allocations: 706)
|
494
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:37 +0000
|
518
495
|
Processing by ExampleController#restricted as HTML
|
519
496
|
Authenticating with gds_sso strategy
|
520
|
-
Completed in 0ms (ActiveRecord: 0.0ms | Allocations:
|
521
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
522
|
-
Started GET "/auth/gds/callback?code=
|
497
|
+
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 138)
|
498
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-10 10:30:37 +0000
|
499
|
+
Started GET "/auth/gds/callback?code=PborNNhaSRNUuYerUy8s7WwRY3cIwhIi0Zg23VsNbIU&state=d1673429b6d57b85fa608c5c09871e8d89c7a0554437c965" for 127.0.0.1 at 2021-06-10 10:30:37 +0000
|
523
500
|
Processing by AuthenticationsController#callback as HTML
|
524
|
-
Parameters: {"code"=>"
|
501
|
+
Parameters: {"code"=>"PborNNhaSRNUuYerUy8s7WwRY3cIwhIi0Zg23VsNbIU", "state"=>"d1673429b6d57b85fa608c5c09871e8d89c7a0554437c965"}
|
525
502
|
Authenticating with gds_sso strategy
|
526
503
|
[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
504
|
Redirected to http://www.example-client.com/restricted
|
528
|
-
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations:
|
529
|
-
Started GET "/restricted" for 127.0.0.1 at
|
505
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 956)
|
506
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:37 +0000
|
530
507
|
Processing by ExampleController#restricted as HTML
|
531
508
|
[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
509
|
Rendering text template
|
533
510
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
534
|
-
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations:
|
535
|
-
Started GET "/
|
511
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 709)
|
512
|
+
Started GET "/" for 127.0.0.1 at 2021-06-10 10:30:37 +0000
|
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
|
536
518
|
Processing by ExampleController#restricted as HTML
|
537
519
|
Authenticating with gds_sso strategy
|
538
|
-
Completed in 0ms (ActiveRecord: 0.0ms | Allocations:
|
539
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
540
|
-
Started GET "/auth/gds/callback?code=
|
520
|
+
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 138)
|
521
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-10 10:30:37 +0000
|
522
|
+
Started GET "/auth/gds/callback?code=FHrVL9iV6eGb8332lllh76sJXT7cNReWGA8qkqTZyZ0&state=8035d255a78ecf5a32692ffc4cb852f79a5fddeca4f8b7ef" for 127.0.0.1 at 2021-06-10 10:30:37 +0000
|
541
523
|
Processing by AuthenticationsController#callback as HTML
|
542
|
-
Parameters: {"code"=>"
|
524
|
+
Parameters: {"code"=>"FHrVL9iV6eGb8332lllh76sJXT7cNReWGA8qkqTZyZ0", "state"=>"8035d255a78ecf5a32692ffc4cb852f79a5fddeca4f8b7ef"}
|
543
525
|
Authenticating with gds_sso strategy
|
544
526
|
[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
527
|
Redirected to http://www.example-client.com/restricted
|
546
|
-
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations:
|
547
|
-
Started GET "/restricted" for 127.0.0.1 at
|
528
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 954)
|
529
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:37 +0000
|
548
530
|
Processing by ExampleController#restricted as HTML
|
549
531
|
[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
532
|
Rendering text template
|
551
533
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
552
534
|
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 706)
|
553
|
-
Started GET "/restricted" for 127.0.0.1 at
|
535
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:37 +0000
|
554
536
|
Processing by ExampleController#restricted as HTML
|
555
537
|
Authenticating with gds_sso strategy
|
556
|
-
Completed in 0ms (ActiveRecord: 0.0ms | Allocations:
|
557
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
558
|
-
Started GET "/auth/gds/callback?code=
|
538
|
+
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 138)
|
539
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-10 10:30:37 +0000
|
540
|
+
Started GET "/auth/gds/callback?code=GEupc4D0RXd_-ZQvHcBcs_AWacINgDIxzncJTFvaaKk&state=8217b0c23f865c15f35eb2fafcb3e2c0b5d27eca876c9aee" for 127.0.0.1 at 2021-06-10 10:30:37 +0000
|
559
541
|
Processing by AuthenticationsController#callback as HTML
|
560
|
-
Parameters: {"code"=>"
|
542
|
+
Parameters: {"code"=>"GEupc4D0RXd_-ZQvHcBcs_AWacINgDIxzncJTFvaaKk", "state"=>"8217b0c23f865c15f35eb2fafcb3e2c0b5d27eca876c9aee"}
|
561
543
|
Authenticating with gds_sso strategy
|
562
544
|
[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]]
|
563
545
|
Redirected to http://www.example-client.com/restricted
|
564
|
-
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations:
|
565
|
-
Started GET "/restricted" for 127.0.0.1 at
|
546
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 954)
|
547
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:37 +0000
|
566
548
|
Processing by ExampleController#restricted as HTML
|
567
549
|
[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]]
|
568
550
|
Rendering text template
|
569
551
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
570
|
-
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations:
|
571
|
-
Started GET "/restricted" for 127.0.0.1 at
|
552
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 706)
|
553
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-11 06:35:37 +0000
|
572
554
|
Processing by ExampleController#restricted as HTML
|
573
|
-
|
574
|
-
|
575
|
-
|
576
|
-
|
577
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-11-12 10:32:15 +0000
|
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
|
578
559
|
Processing by ExampleController#restricted as HTML
|
579
560
|
Authenticating with gds_sso strategy
|
580
|
-
Completed in 0ms (ActiveRecord: 0.0ms | Allocations:
|
581
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
582
|
-
Started GET "/auth/gds/callback?code=
|
561
|
+
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 138)
|
562
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-10 10:30:37 +0000
|
563
|
+
Started GET "/auth/gds/callback?code=26YRM7zzQjcd0kbFCB34Qg5plBP-RGwxGG9Zt48uiys&state=33d6934dbb642702761f59ccd86b80468fc8122d93a77c3e" for 127.0.0.1 at 2021-06-10 10:30:37 +0000
|
583
564
|
Processing by AuthenticationsController#callback as HTML
|
584
|
-
Parameters: {"code"=>"
|
565
|
+
Parameters: {"code"=>"26YRM7zzQjcd0kbFCB34Qg5plBP-RGwxGG9Zt48uiys", "state"=>"33d6934dbb642702761f59ccd86b80468fc8122d93a77c3e"}
|
585
566
|
Authenticating with gds_sso strategy
|
586
567
|
[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]]
|
587
568
|
Redirected to http://www.example-client.com/restricted
|
588
|
-
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations:
|
589
|
-
Started GET "/restricted" for 127.0.0.1 at
|
569
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 956)
|
570
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:37 +0000
|
590
571
|
Processing by ExampleController#restricted as HTML
|
591
572
|
[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]]
|
592
573
|
Rendering text template
|
593
574
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
594
|
-
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations:
|
595
|
-
Started GET "/restricted" for 127.0.0.1 at
|
575
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 709)
|
576
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-11 06:35:37 +0000
|
596
577
|
Processing by ExampleController#restricted as HTML
|
597
578
|
Authenticating with gds_sso strategy
|
598
|
-
Completed in 0ms (ActiveRecord: 0.0ms | Allocations:
|
599
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
600
|
-
Started GET "/
|
601
|
-
Processing by ExampleController#restricted as HTML
|
602
|
-
Authenticating with gds_sso strategy
|
603
|
-
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 112)
|
604
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-11-12 10:32:15 +0000
|
605
|
-
Started GET "/auth/gds/callback?code=aduZ12TILcORModTb0MetaQqNQiiFXWiBLJRts0d3PE&state=5af4bf65767d9f73af83e312a4172954d8477dc5cf857303" for 127.0.0.1 at 2020-11-12 10:32:15 +0000
|
579
|
+
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 518)
|
580
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-11 06:35:37 +0000
|
581
|
+
Started GET "/auth/gds/callback?code=OHoMOzgG_1ekae5Oc96Q4EITaWT5V28fOEfB9Qn5m6M&state=c889f0ffdca95a0e97849411c4930fbada920f7520b5884e" for 127.0.0.1 at 2021-06-11 06:35:37 +0000
|
606
582
|
Processing by AuthenticationsController#callback as HTML
|
607
|
-
Parameters: {"code"=>"
|
583
|
+
Parameters: {"code"=>"OHoMOzgG_1ekae5Oc96Q4EITaWT5V28fOEfB9Qn5m6M", "state"=>"c889f0ffdca95a0e97849411c4930fbada920f7520b5884e"}
|
608
584
|
Authenticating with gds_sso strategy
|
609
585
|
[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]]
|
610
586
|
Redirected to http://www.example-client.com/restricted
|
611
|
-
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations:
|
612
|
-
Started GET "/restricted" for 127.0.0.1 at
|
587
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 1164)
|
588
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-11 06:35:37 +0000
|
613
589
|
Processing by ExampleController#restricted as HTML
|
614
590
|
[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
591
|
Rendering text template
|
616
592
|
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
|
593
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 941)
|
594
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:37 +0000
|
619
595
|
Processing by ExampleController#restricted as HTML
|
620
596
|
Authenticating with gds_sso strategy
|
621
|
-
Completed in 0ms (ActiveRecord: 0.0ms | Allocations:
|
622
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
623
|
-
Started GET "/auth/gds/callback?code=
|
597
|
+
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 138)
|
598
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-10 10:30:37 +0000
|
599
|
+
Started GET "/auth/gds/callback?code=DgwvLsSm6JNEkhI3QaYJvus-fqXa_xLHg-msjnm1_DU&state=61420a59a7dd7ea72f630d5c175e4cdf7d8417b681f761f0" for 127.0.0.1 at 2021-06-10 10:30:37 +0000
|
624
600
|
Processing by AuthenticationsController#callback as HTML
|
625
|
-
Parameters: {"code"=>"
|
601
|
+
Parameters: {"code"=>"DgwvLsSm6JNEkhI3QaYJvus-fqXa_xLHg-msjnm1_DU", "state"=>"61420a59a7dd7ea72f630d5c175e4cdf7d8417b681f761f0"}
|
626
602
|
Authenticating with gds_sso strategy
|
627
603
|
[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
604
|
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
|
605
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 954)
|
606
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:37 +0000
|
607
|
+
Processing by ExampleController#restricted as HTML
|
608
|
+
[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
|
+
Rendering text template
|
610
|
+
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
611
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 706)
|
612
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-11 06:25:37 +0000
|
631
613
|
Processing by ExampleController#restricted as HTML
|
632
614
|
[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
615
|
Rendering text template
|
634
616
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
635
|
-
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations:
|
636
|
-
Started GET "/restricted" for 127.0.0.1 at
|
617
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 939)
|
618
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:37 +0000
|
637
619
|
Processing by ExampleController#restricted as HTML
|
638
620
|
Authenticating with gds_sso strategy
|
639
|
-
Completed in 0ms (ActiveRecord: 0.0ms | Allocations:
|
640
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
641
|
-
Started GET "/auth/gds/callback?code=
|
621
|
+
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 138)
|
622
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-10 10:30:37 +0000
|
623
|
+
Started GET "/auth/gds/callback?code=__kXQJGvRY9iQIu49JUFdYG90m-gJrkxwDyKSbXtgig&state=969fa8f7610fc1c1bbc12dbe8d5cc052bbcb8906a447844f" for 127.0.0.1 at 2021-06-10 10:30:37 +0000
|
642
624
|
Processing by AuthenticationsController#callback as HTML
|
643
|
-
Parameters: {"code"=>"
|
625
|
+
Parameters: {"code"=>"__kXQJGvRY9iQIu49JUFdYG90m-gJrkxwDyKSbXtgig", "state"=>"969fa8f7610fc1c1bbc12dbe8d5cc052bbcb8906a447844f"}
|
644
626
|
Authenticating with gds_sso strategy
|
645
627
|
[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]]
|
646
628
|
Redirected to http://www.example-client.com/restricted
|
647
|
-
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations:
|
648
|
-
Started GET "/restricted" for 127.0.0.1 at
|
629
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 954)
|
630
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:37 +0000
|
649
631
|
Processing by ExampleController#restricted as HTML
|
650
632
|
[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]]
|
651
633
|
Rendering text template
|
652
634
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
653
|
-
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations:
|
635
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 706)
|
654
636
|
[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]]
|
655
|
-
[1m[
|
656
|
-
[1m[36mUser Update (0.
|
657
|
-
[1m[
|
658
|
-
Started GET "/restricted" for 127.0.0.1 at
|
637
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
638
|
+
[1m[36mUser Update (0.1ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", 1], ["id", 3]]
|
639
|
+
[1m[36mTRANSACTION (8.9ms)[0m [1m[36mcommit transaction[0m
|
640
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:37 +0000
|
659
641
|
Processing by ExampleController#restricted as HTML
|
660
642
|
[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]]
|
661
643
|
Authenticating with gds_sso strategy
|
662
|
-
Completed in 1ms (ActiveRecord: 0.1ms | Allocations:
|
663
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
664
|
-
Started GET "/auth/gds/callback?code=
|
644
|
+
Completed in 1ms (ActiveRecord: 0.1ms | Allocations: 576)
|
645
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-10 10:30:37 +0000
|
646
|
+
Started GET "/auth/gds/callback?code=uGWMkfVa7tpjif3i7Vb-SG_QOQEDOltYmvMJyy5S0do&state=59efd52753bc877dd6bab1fef36cd9ba67b1083422363baa" for 127.0.0.1 at 2021-06-10 10:30:38 +0000
|
665
647
|
Processing by AuthenticationsController#callback as HTML
|
666
|
-
Parameters: {"code"=>"
|
648
|
+
Parameters: {"code"=>"uGWMkfVa7tpjif3i7Vb-SG_QOQEDOltYmvMJyy5S0do", "state"=>"59efd52753bc877dd6bab1fef36cd9ba67b1083422363baa"}
|
667
649
|
Authenticating with gds_sso strategy
|
668
650
|
[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]]
|
669
|
-
[1m[
|
670
|
-
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", 0], ["id",
|
671
|
-
[1m[
|
651
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
652
|
+
[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 (8.2ms)[0m [1m[36mcommit transaction[0m
|
672
654
|
Redirected to http://www.example-client.com/restricted
|
673
|
-
Completed 302 Found in
|
674
|
-
Started GET "/restricted" for 127.0.0.1 at
|
655
|
+
Completed 302 Found in 13ms (ActiveRecord: 8.5ms | Allocations: 1164)
|
656
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:38 +0000
|
675
657
|
Processing by ExampleController#restricted as HTML
|
676
658
|
[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]]
|
677
659
|
Rendering text template
|
678
660
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
679
|
-
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations:
|
680
|
-
|
681
|
-
|
682
|
-
|
683
|
-
|
684
|
-
|
685
|
-
[1m[36mUser
|
686
|
-
[1m[
|
687
|
-
[1m[36mUser
|
688
|
-
[1m[
|
689
|
-
[1m[
|
690
|
-
[1m[
|
691
|
-
[1m[
|
692
|
-
|
693
|
-
|
694
|
-
|
695
|
-
|
696
|
-
|
697
|
-
[1m[36mUser
|
698
|
-
[1m[
|
699
|
-
|
700
|
-
|
701
|
-
|
702
|
-
|
703
|
-
|
704
|
-
|
705
|
-
|
706
|
-
|
707
|
-
|
708
|
-
|
709
|
-
|
710
|
-
|
661
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 706)
|
662
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:38 +0000
|
663
|
+
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
|
+
[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
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
669
|
+
[1m[36mUser Update (0.1ms)[0m [1m[33mUPDATE "users" SET "disabled" = ? WHERE "users"."id" = ?[0m [["disabled", nil], ["id", 3]]
|
670
|
+
[1m[36mTRANSACTION (8.7ms)[0m [1m[36mcommit transaction[0m
|
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]]
|
672
|
+
[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
|
+
[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
|
+
Rendering text template
|
675
|
+
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
676
|
+
Completed 200 OK in 14ms (Views: 0.2ms | ActiveRecord: 9.1ms | Allocations: 3566)
|
677
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:38 +0000
|
678
|
+
Processing by ExampleController#restricted as JSON
|
679
|
+
[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
|
+
[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
|
+
[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]]
|
682
|
+
[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
|
+
Rendering text template
|
684
|
+
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
685
|
+
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-10 10:30:38 +0000
|
687
|
+
Processing by ExampleController#restricted as JSON
|
688
|
+
Completed in 14ms (ActiveRecord: 0.0ms | Allocations: 1804)
|
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
|
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", "a1s2d39597"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
698
|
+
[1m[36mTRANSACTION (8.1ms)[0m [1m[36mcommit transaction[0m
|
699
|
+
Processing by Api::UserController#update as HTML
|
700
|
+
Parameters: {"uid"=>"a1s2d38852"}
|
701
|
+
Rendering layout /var/lib/jenkins/workspace/gds-sso_master/app/views/layouts/unauthorised.html.erb
|
711
702
|
Rendering /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
712
703
|
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
713
|
-
Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (Duration: 0.5ms | Allocations:
|
704
|
+
Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (Duration: 0.5ms | Allocations: 262)
|
714
705
|
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
715
|
-
|
716
|
-
|
717
|
-
[1m[
|
718
|
-
[1m[
|
719
|
-
[1m[
|
720
|
-
[1m[
|
721
|
-
[1m[
|
722
|
-
|
723
|
-
Parameters: {"uid"=>"a1s2d32945"}
|
724
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d32945"], ["LIMIT", 1]]
|
725
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
726
|
-
[1m[36mUser Update (0.1ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", 1], ["id", 8]]
|
727
|
-
[1m[35m (6.1ms)[0m [1m[36mcommit transaction[0m
|
728
|
-
Completed 200 OK in 8ms (ActiveRecord: 6.3ms | Allocations: 919)
|
729
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 8], ["LIMIT", 1]]
|
730
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
731
|
-
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d31748"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
732
|
-
[1m[35m (6.0ms)[0m [1m[36mcommit transaction[0m
|
733
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
734
|
-
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d3272"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
735
|
-
[1m[35m (5.9ms)[0m [1m[36mcommit transaction[0m
|
706
|
+
Rendered layout /var/lib/jenkins/workspace/gds-sso_master/app/views/layouts/unauthorised.html.erb (Duration: 0.7ms | Allocations: 356)
|
707
|
+
Completed 403 Forbidden in 3ms (Views: 2.8ms | ActiveRecord: 0.0ms | Allocations: 1638)
|
708
|
+
[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", "a1s2d33216"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
710
|
+
[1m[36mTRANSACTION (9.0ms)[0m [1m[36mcommit transaction[0m
|
711
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
712
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d39884"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
713
|
+
[1m[36mTRANSACTION (7.3ms)[0m [1m[36mcommit transaction[0m
|
736
714
|
Processing by Api::UserController#update as HTML
|
737
|
-
Parameters: {"uid"=>"
|
738
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "
|
739
|
-
[1m[
|
740
|
-
[1m[36mUser Update (0.1ms)[0m [1m[33mUPDATE "users" SET "
|
741
|
-
[1m[
|
742
|
-
Completed 200 OK in
|
743
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id",
|
744
|
-
[1m[
|
745
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "
|
746
|
-
[1m[
|
747
|
-
[1m[
|
748
|
-
[1m[36mUser Create (0.
|
749
|
-
[1m[
|
750
|
-
Processing by Api::UserController#
|
751
|
-
Parameters: {"uid"=>"
|
715
|
+
Parameters: {"uid"=>"a1s2d33216"}
|
716
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d33216"], ["LIMIT", 1]]
|
717
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
718
|
+
[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", 6]]
|
719
|
+
[1m[36mTRANSACTION (6.3ms)[0m [1m[36mcommit transaction[0m
|
720
|
+
Completed 200 OK in 9ms (ActiveRecord: 6.6ms | Allocations: 1232)
|
721
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 6], ["LIMIT", 1]]
|
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
|
725
|
+
[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", "SSO Push user"], ["uid", "a1s2d32346"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
727
|
+
[1m[36mTRANSACTION (21.4ms)[0m [1m[36mcommit transaction[0m
|
728
|
+
Processing by Api::UserController#reauth as HTML
|
729
|
+
Parameters: {"uid"=>"a1s2d37543"}
|
730
|
+
Rendering layout /var/lib/jenkins/workspace/gds-sso_master/app/views/layouts/unauthorised.html.erb
|
752
731
|
Rendering /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
753
732
|
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
754
|
-
Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (Duration: 0.1ms | Allocations:
|
733
|
+
Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (Duration: 0.1ms | Allocations: 55)
|
755
734
|
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
756
|
-
|
735
|
+
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.6ms | ActiveRecord: 0.0ms | Allocations: 527)
|
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]]
|
757
761
|
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "users"[0m
|
758
|
-
[1m[35m (
|
759
|
-
[1m[35m (
|
760
|
-
[1m[35m (
|
762
|
+
[1m[35m (0.9ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
763
|
+
[1m[35m (27.6ms)[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 (9.6ms)[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
|
761
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]]
|
762
766
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
763
|
-
[1m[36mActiveRecord::InternalMetadata Create (0.
|
764
|
-
[1m[35m (
|
765
|
-
[1m[35m (
|
767
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.1ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2021-06-10 10:30:42.481738"], ["updated_at", "2021-06-10 10:30:42.481738"]]
|
768
|
+
[1m[35m (9.2ms)[0m [1m[36mcommit transaction[0m
|
769
|
+
[1m[35m (9.0ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
766
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]]
|
767
771
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
768
772
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
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]]
|
769
774
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
770
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "
|
771
|
-
[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", "9405"], ["email", "dummyapiuser@domain.com"], ["permissions", "---\n- signin\n"]]
|
776
|
+
[1m[35m (20.6ms)[0m [1m[36mcommit transaction[0m
|
772
777
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
773
|
-
[1m[36mUser
|
774
|
-
[1m[35m (
|
775
|
-
|
776
|
-
|
777
|
-
|
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 (11.1ms)[0m [1m[36mcommit transaction[0m
|
780
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:43 +0000
|
781
|
+
Processing by ExampleController#restricted as HTML
|
782
|
+
Authenticating with gds_sso strategy
|
783
|
+
Completed in 4ms (ActiveRecord: 0.0ms)
|
784
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:43 +0000
|
785
|
+
Processing by ExampleController#restricted as JSON
|
786
|
+
Completed in 15ms (ActiveRecord: 0.0ms)
|
787
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:43 +0000
|
788
|
+
Processing by ExampleController#restricted as JSON
|
789
|
+
[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
|
+
[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]]
|
778
791
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
779
|
-
[1m[36mUser
|
780
|
-
[1m[35m (
|
781
|
-
|
782
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
792
|
+
[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 (13.3ms)[0m [1m[36mcommit transaction[0m
|
794
|
+
[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]]
|
783
795
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
784
|
-
[1m[
|
785
|
-
[1m[
|
796
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
797
|
+
[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]]
|
786
798
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
787
|
-
[1m[
|
788
|
-
[1m[
|
789
|
-
Processing by Api::UserController#reauth as HTML
|
790
|
-
Parameters: {"uid"=>"nonexistent-user"}
|
791
|
-
[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]]
|
792
|
-
Completed 200 OK in 1ms (ActiveRecord: 0.1ms)
|
799
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
800
|
+
[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]]
|
793
801
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
794
|
-
[1m[
|
795
|
-
[1m[35m (4.7ms)[0m [1m[36mcommit transaction[0m
|
802
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
796
803
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
797
|
-
[1m[36mUser
|
798
|
-
[1m[35m (
|
799
|
-
|
800
|
-
|
801
|
-
|
802
|
-
|
803
|
-
|
804
|
-
|
805
|
-
|
804
|
+
[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 (10.1ms)[0m [1m[36mcommit transaction[0m
|
806
|
+
Rendering text template
|
807
|
+
Rendered text template (0.0ms)
|
808
|
+
Completed 200 OK in 32ms (Views: 1.8ms | ActiveRecord: 24.2ms)
|
809
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:43 +0000
|
810
|
+
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
|
+
[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]]
|
806
815
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
807
|
-
[1m[
|
808
|
-
[1m[
|
816
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
817
|
+
[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]]
|
809
818
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
810
|
-
[1m[
|
811
|
-
[1m[
|
812
|
-
Processing by Api::UserController#update as HTML
|
813
|
-
Parameters: {"uid"=>"a1s2d37279"}
|
814
|
-
Rendering /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
815
|
-
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
816
|
-
Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.1ms)
|
817
|
-
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
818
|
-
Completed 403 Forbidden in 2ms (Views: 0.5ms | ActiveRecord: 0.0ms)
|
819
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
820
|
+
[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]]
|
819
821
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
820
|
-
[1m[
|
821
|
-
[1m[
|
822
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
823
|
+
[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]]
|
822
824
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
823
|
-
[1m[
|
824
|
-
[1m[35m (4.9ms)[0m [1m[36mcommit transaction[0m
|
825
|
-
Processing by Api::UserController#update as HTML
|
826
|
-
Parameters: {"uid"=>"a1s2d31155"}
|
827
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d31155"], ["LIMIT", 1]]
|
825
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
828
826
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
829
|
-
[1m[
|
830
|
-
|
831
|
-
|
832
|
-
|
833
|
-
Started GET "/
|
834
|
-
Processing by ExampleController#restricted as HTML
|
835
|
-
Authenticating with gds_sso strategy
|
836
|
-
Completed in 4ms (ActiveRecord: 0.0ms)
|
837
|
-
Started GET "/" for 127.0.0.1 at 2020-11-12 10:32:23 +0000
|
827
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
828
|
+
Rendering text template
|
829
|
+
Rendered text template (0.0ms)
|
830
|
+
Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.4ms)
|
831
|
+
Started GET "/" for 127.0.0.1 at 2021-06-10 10:30:43 +0000
|
838
832
|
Processing by ExampleController#index as HTML
|
839
833
|
Rendering text template
|
840
834
|
Rendered text template (0.0ms)
|
841
|
-
Completed 200 OK in
|
842
|
-
Started GET "/
|
843
|
-
Processing by ExampleController#
|
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
|
837
|
+
Processing by ExampleController#restricted as HTML
|
844
838
|
Authenticating with gds_sso strategy
|
845
|
-
Completed in
|
846
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
847
|
-
Started GET "/auth/gds/callback?code=
|
839
|
+
Completed in 0ms (ActiveRecord: 0.0ms)
|
840
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-10 10:30:43 +0000
|
841
|
+
Started GET "/auth/gds/callback?code=QK_d2eOlo_pM4cbz_wZJw_H5UKIqelwZiSfIyTvr1uU&state=fb29a403224aeeca35f99fa768696083e9322cc33ebadeaa" for 127.0.0.1 at 2021-06-10 10:30:43 +0000
|
848
842
|
Processing by AuthenticationsController#callback as HTML
|
849
|
-
Parameters: {"code"=>"
|
843
|
+
Parameters: {"code"=>"QK_d2eOlo_pM4cbz_wZJw_H5UKIqelwZiSfIyTvr1uU", "state"=>"fb29a403224aeeca35f99fa768696083e9322cc33ebadeaa"}
|
850
844
|
Authenticating with gds_sso strategy
|
851
845
|
[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]]
|
852
|
-
[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]]
|
853
846
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
854
|
-
[1m[36mUser
|
855
|
-
[1m[35m (
|
847
|
+
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "disabled" = ? WHERE "users"."id" = ?[0m [["disabled", "f"], ["id", 2]]
|
848
|
+
[1m[35m (13.7ms)[0m [1m[36mcommit transaction[0m
|
856
849
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
857
|
-
[1m[
|
858
|
-
|
859
|
-
|
860
|
-
|
861
|
-
|
862
|
-
|
863
|
-
[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]]
|
850
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
851
|
+
Redirected to http://www.example-client.com/restricted
|
852
|
+
Completed 302 Found in 16ms (ActiveRecord: 14.1ms)
|
853
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:43 +0000
|
854
|
+
Processing by ExampleController#restricted as HTML
|
855
|
+
[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]]
|
864
856
|
Rendering text template
|
865
857
|
Rendered text template (0.0ms)
|
866
|
-
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.
|
867
|
-
Started GET "/
|
868
|
-
Processing by ExampleController#
|
858
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
|
859
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:43 +0000
|
860
|
+
Processing by ExampleController#restricted as HTML
|
869
861
|
Authenticating with gds_sso strategy
|
870
862
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
871
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
872
|
-
Started GET "/auth/gds/callback?code=
|
863
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-10 10:30:43 +0000
|
864
|
+
Started GET "/auth/gds/callback?code=DNF6vhrLSyxmhK7Pqh84b__wcEFAucetYCG1Z7BCEzU&state=6736e66f5a569591dfadb8f730c9d5e77588072e8a22d858" for 127.0.0.1 at 2021-06-10 10:30:43 +0000
|
873
865
|
Processing by AuthenticationsController#callback as HTML
|
874
|
-
Parameters: {"code"=>"
|
866
|
+
Parameters: {"code"=>"DNF6vhrLSyxmhK7Pqh84b__wcEFAucetYCG1Z7BCEzU", "state"=>"6736e66f5a569591dfadb8f730c9d5e77588072e8a22d858"}
|
875
867
|
Authenticating with gds_sso strategy
|
876
868
|
[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]]
|
877
869
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
878
870
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
879
871
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
880
872
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
881
|
-
Redirected to http://www.example-client.com/
|
882
|
-
Completed 302 Found in 2ms (ActiveRecord: 0.
|
883
|
-
Started GET "/
|
884
|
-
Processing by ExampleController#
|
873
|
+
Redirected to http://www.example-client.com/restricted
|
874
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
|
875
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:43 +0000
|
876
|
+
Processing by ExampleController#restricted as HTML
|
885
877
|
[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]]
|
886
878
|
Rendering text template
|
887
879
|
Rendered text template (0.0ms)
|
888
880
|
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
889
|
-
Started GET "/
|
890
|
-
Processing by ExampleController#
|
881
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2021-06-10 10:30:43 +0000
|
882
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
891
883
|
Authenticating with gds_sso strategy
|
892
884
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
893
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
894
|
-
Started GET "/auth/gds/callback?code=
|
885
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-10 10:30:43 +0000
|
886
|
+
Started GET "/auth/gds/callback?code=sUN3qAGjbsnPLRVYmvhXzGzY_0BuvJinA1NUsJla_a4&state=e7a5cb0c448ddabdd11e7018842cc3aaf3a38ea09d279f5c" for 127.0.0.1 at 2021-06-10 10:30:43 +0000
|
895
887
|
Processing by AuthenticationsController#callback as HTML
|
896
|
-
Parameters: {"code"=>"
|
888
|
+
Parameters: {"code"=>"sUN3qAGjbsnPLRVYmvhXzGzY_0BuvJinA1NUsJla_a4", "state"=>"e7a5cb0c448ddabdd11e7018842cc3aaf3a38ea09d279f5c"}
|
897
889
|
Authenticating with gds_sso strategy
|
898
890
|
[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]]
|
899
|
-
[1m[35m (0.
|
891
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
900
892
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
901
893
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
902
|
-
[1m[35m (0.
|
903
|
-
Redirected to http://www.example-client.com/
|
904
|
-
Completed 302 Found in 2ms (ActiveRecord: 0.
|
905
|
-
Started GET "/
|
906
|
-
Processing by ExampleController#
|
894
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
895
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
896
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.3ms)
|
897
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2021-06-10 10:30:43 +0000
|
898
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
907
899
|
[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]]
|
908
900
|
Rendering text template
|
909
901
|
Rendered text template (0.0ms)
|
910
902
|
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
911
|
-
Started GET "/
|
912
|
-
Processing by ExampleController#
|
903
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2021-06-10 10:30:43 +0000
|
904
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
913
905
|
Authenticating with gds_sso strategy
|
914
906
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
915
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
916
|
-
Started GET "/auth/gds/callback?code=
|
907
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-10 10:30:43 +0000
|
908
|
+
Started GET "/auth/gds/callback?code=5kU3CGbve2-NyI3okYOhxKSZ8Ty12I4iIQEAEuyrhKk&state=ffd8d6b733e6e65e6fe20758eb7f41b4f2979f38459d1108" for 127.0.0.1 at 2021-06-10 10:30:43 +0000
|
917
909
|
Processing by AuthenticationsController#callback as HTML
|
918
|
-
Parameters: {"code"=>"
|
910
|
+
Parameters: {"code"=>"5kU3CGbve2-NyI3okYOhxKSZ8Ty12I4iIQEAEuyrhKk", "state"=>"ffd8d6b733e6e65e6fe20758eb7f41b4f2979f38459d1108"}
|
919
911
|
Authenticating with gds_sso strategy
|
920
912
|
[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]]
|
921
913
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
922
914
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
923
915
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
924
916
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
925
|
-
Redirected to http://www.example-client.com/
|
917
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
926
918
|
Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
|
927
|
-
Started GET "/
|
928
|
-
Processing by ExampleController#
|
919
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2021-06-10 10:30:43 +0000
|
920
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
929
921
|
[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]]
|
930
922
|
Rendering text template
|
931
923
|
Rendered text template (0.0ms)
|
932
924
|
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
933
|
-
Started GET "/restricted" for 127.0.0.1 at
|
925
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:43 +0000
|
934
926
|
Processing by ExampleController#restricted as HTML
|
935
927
|
Authenticating with gds_sso strategy
|
936
928
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
937
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
938
|
-
Started GET "/auth/gds/callback?code=
|
929
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-10 10:30:43 +0000
|
930
|
+
Started GET "/auth/gds/callback?code=s4taQ0QYYulHdoABDFTTPoGD540UFcOIuzULMycjL_c&state=ce7ce9282452e95a51819276ce69fedbe08f026bc0ce5803" for 127.0.0.1 at 2021-06-10 10:30:43 +0000
|
939
931
|
Processing by AuthenticationsController#callback as HTML
|
940
|
-
Parameters: {"code"=>"
|
932
|
+
Parameters: {"code"=>"s4taQ0QYYulHdoABDFTTPoGD540UFcOIuzULMycjL_c", "state"=>"ce7ce9282452e95a51819276ce69fedbe08f026bc0ce5803"}
|
941
933
|
Authenticating with gds_sso strategy
|
942
934
|
[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]]
|
943
|
-
[1m[35m (0.
|
935
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
944
936
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
945
937
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
946
938
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
947
939
|
Redirected to http://www.example-client.com/restricted
|
948
940
|
Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
|
949
|
-
Started GET "/restricted" for 127.0.0.1 at
|
941
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:43 +0000
|
950
942
|
Processing by ExampleController#restricted as HTML
|
951
943
|
[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]]
|
952
944
|
Rendering text template
|
953
945
|
Rendered text template (0.0ms)
|
954
946
|
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
955
|
-
Started GET "/restricted" for 127.0.0.1 at
|
947
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:43 +0000
|
956
948
|
Processing by ExampleController#restricted as HTML
|
957
949
|
Authenticating with gds_sso strategy
|
958
950
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
959
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
960
|
-
Started GET "/auth/gds/callback?code=
|
951
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-10 10:30:43 +0000
|
952
|
+
Started GET "/auth/gds/callback?code=Doo_CwRG4YPycpbdoaB_chDCoDbb2r1f946OX5Gqndw&state=68ff82c7edebdd9d4fed3221168bc3ddac7c8d91f2b89929" for 127.0.0.1 at 2021-06-10 10:30:43 +0000
|
961
953
|
Processing by AuthenticationsController#callback as HTML
|
962
|
-
Parameters: {"code"=>"
|
954
|
+
Parameters: {"code"=>"Doo_CwRG4YPycpbdoaB_chDCoDbb2r1f946OX5Gqndw", "state"=>"68ff82c7edebdd9d4fed3221168bc3ddac7c8d91f2b89929"}
|
963
955
|
Authenticating with gds_sso strategy
|
964
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]]
|
965
957
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
@@ -967,43 +959,43 @@ Authenticating with gds_sso strategy
|
|
967
959
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
968
960
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
969
961
|
Redirected to http://www.example-client.com/restricted
|
970
|
-
Completed 302 Found in
|
971
|
-
Started GET "/restricted" for 127.0.0.1 at
|
962
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
|
963
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:43 +0000
|
972
964
|
Processing by ExampleController#restricted as HTML
|
973
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]]
|
974
966
|
Rendering text template
|
975
967
|
Rendered text template (0.0ms)
|
976
968
|
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
977
|
-
Started GET "/restricted" for 127.0.0.1 at
|
969
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-11 06:35:43 +0000
|
978
970
|
Processing by ExampleController#restricted as HTML
|
979
971
|
Authenticating with gds_sso strategy
|
980
972
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
981
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
982
|
-
Started GET "/auth/gds/callback?code=
|
973
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-11 06:35:43 +0000
|
974
|
+
Started GET "/auth/gds/callback?code=kxARoNzri-TDJlarm1ALNYW4uJFEoBsniUiDwZN6z-E&state=05bb7f251aaec94c33a25e6d1b851aa5769d568d98f79d99" for 127.0.0.1 at 2021-06-11 06:35:43 +0000
|
983
975
|
Processing by AuthenticationsController#callback as HTML
|
984
|
-
Parameters: {"code"=>"
|
976
|
+
Parameters: {"code"=>"kxARoNzri-TDJlarm1ALNYW4uJFEoBsniUiDwZN6z-E", "state"=>"05bb7f251aaec94c33a25e6d1b851aa5769d568d98f79d99"}
|
985
977
|
Authenticating with gds_sso strategy
|
986
978
|
[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]]
|
987
|
-
[1m[35m (0.
|
979
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
988
980
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
989
981
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
990
982
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
991
983
|
Redirected to http://www.example-client.com/restricted
|
992
984
|
Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
|
993
|
-
Started GET "/restricted" for 127.0.0.1 at
|
985
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-11 06:35:43 +0000
|
994
986
|
Processing by ExampleController#restricted as HTML
|
995
987
|
[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]]
|
996
988
|
Rendering text template
|
997
989
|
Rendered text template (0.0ms)
|
998
990
|
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
999
|
-
Started GET "/restricted" for 127.0.0.1 at
|
991
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:43 +0000
|
1000
992
|
Processing by ExampleController#restricted as HTML
|
1001
993
|
Authenticating with gds_sso strategy
|
1002
994
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1003
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1004
|
-
Started GET "/auth/gds/callback?code=
|
995
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-10 10:30:43 +0000
|
996
|
+
Started GET "/auth/gds/callback?code=5MGEnx70vmT8_CMUizzk3AZ9AJGM9mEEx7VtK3pf4T8&state=70cbead71a278aa73e9ec38cb377623b57d8fd41ac17cc9f" for 127.0.0.1 at 2021-06-10 10:30:43 +0000
|
1005
997
|
Processing by AuthenticationsController#callback as HTML
|
1006
|
-
Parameters: {"code"=>"
|
998
|
+
Parameters: {"code"=>"5MGEnx70vmT8_CMUizzk3AZ9AJGM9mEEx7VtK3pf4T8", "state"=>"70cbead71a278aa73e9ec38cb377623b57d8fd41ac17cc9f"}
|
1007
999
|
Authenticating with gds_sso strategy
|
1008
1000
|
[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]]
|
1009
1001
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
@@ -1012,53 +1004,53 @@ Authenticating with gds_sso strategy
|
|
1012
1004
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1013
1005
|
Redirected to http://www.example-client.com/restricted
|
1014
1006
|
Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
|
1015
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1007
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:43 +0000
|
1016
1008
|
Processing by ExampleController#restricted as HTML
|
1017
1009
|
[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]]
|
1018
1010
|
Rendering text template
|
1019
1011
|
Rendered text template (0.0ms)
|
1020
1012
|
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
1021
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1013
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-11 06:25:43 +0000
|
1022
1014
|
Processing by ExampleController#restricted as HTML
|
1023
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]]
|
1024
1016
|
Rendering text template
|
1025
1017
|
Rendered text template (0.0ms)
|
1026
|
-
Completed 200 OK in 1ms (Views: 0.
|
1027
|
-
Started GET "/restricted" for 127.0.0.1 at
|
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
|
1028
1020
|
Processing by ExampleController#restricted as HTML
|
1029
1021
|
Authenticating with gds_sso strategy
|
1030
1022
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1031
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1032
|
-
Started GET "/auth/gds/callback?code=
|
1023
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-10 10:30:43 +0000
|
1024
|
+
Started GET "/auth/gds/callback?code=epw4QdEergGgmxUoejRDP5VD4iQoe9pH6NivI2gpWeQ&state=3bb357fbc74b0a4e1b759b1d88194bcee5cb3786c75f1c06" for 127.0.0.1 at 2021-06-10 10:30:43 +0000
|
1033
1025
|
Processing by AuthenticationsController#callback as HTML
|
1034
|
-
Parameters: {"code"=>"
|
1026
|
+
Parameters: {"code"=>"epw4QdEergGgmxUoejRDP5VD4iQoe9pH6NivI2gpWeQ", "state"=>"3bb357fbc74b0a4e1b759b1d88194bcee5cb3786c75f1c06"}
|
1035
1027
|
Authenticating with gds_sso strategy
|
1036
|
-
[1m[36mUser Load (0.
|
1037
|
-
[1m[35m (0.
|
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
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1038
1030
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1039
1031
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1040
1032
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1041
1033
|
Redirected to http://www.example-client.com/restricted
|
1042
|
-
Completed 302 Found in
|
1043
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1034
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
|
1035
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:43 +0000
|
1044
1036
|
Processing by ExampleController#restricted as HTML
|
1045
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]]
|
1046
1038
|
Rendering text template
|
1047
1039
|
Rendered text template (0.0ms)
|
1048
|
-
Completed 200 OK in
|
1049
|
-
Started GET "/restricted" for 127.0.0.1 at
|
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 06:35:43 +0000
|
1050
1042
|
Processing by ExampleController#restricted as HTML
|
1051
1043
|
Authenticating with gds_sso strategy
|
1052
1044
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1053
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1054
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1045
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-11 06:35:43 +0000
|
1046
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:43 +0000
|
1055
1047
|
Processing by ExampleController#restricted as HTML
|
1056
1048
|
Authenticating with gds_sso strategy
|
1057
1049
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1058
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1059
|
-
Started GET "/auth/gds/callback?code=
|
1050
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-10 10:30:43 +0000
|
1051
|
+
Started GET "/auth/gds/callback?code=_2JU42Ywty2c9KR_7TA8dvwOPm6F6GiTKPh5fI65qCE&state=1c665e9802ad618373ba4f0b78002fac4075fb35097832f8" for 127.0.0.1 at 2021-06-10 10:30:43 +0000
|
1060
1052
|
Processing by AuthenticationsController#callback as HTML
|
1061
|
-
Parameters: {"code"=>"
|
1053
|
+
Parameters: {"code"=>"_2JU42Ywty2c9KR_7TA8dvwOPm6F6GiTKPh5fI65qCE", "state"=>"1c665e9802ad618373ba4f0b78002fac4075fb35097832f8"}
|
1062
1054
|
Authenticating with gds_sso strategy
|
1063
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]]
|
1064
1056
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
@@ -1066,8 +1058,8 @@ Authenticating with gds_sso strategy
|
|
1066
1058
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1067
1059
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1068
1060
|
Redirected to http://www.example-client.com/restricted
|
1069
|
-
Completed 302 Found in
|
1070
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1061
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
|
1062
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:43 +0000
|
1071
1063
|
Processing by ExampleController#restricted as HTML
|
1072
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]]
|
1073
1065
|
Rendering text template
|
@@ -1075,438 +1067,454 @@ Processing by ExampleController#restricted as HTML
|
|
1075
1067
|
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
1076
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]]
|
1077
1069
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1078
|
-
[1m[36mUser Update (0.
|
1079
|
-
[1m[35m (
|
1080
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1070
|
+
[1m[36mUser Update (0.1ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "t"], ["id", 2]]
|
1071
|
+
[1m[35m (14.8ms)[0m [1m[36mcommit transaction[0m
|
1072
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:43 +0000
|
1081
1073
|
Processing by ExampleController#restricted as HTML
|
1082
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]]
|
1083
1075
|
Authenticating with gds_sso strategy
|
1084
1076
|
Completed in 1ms (ActiveRecord: 0.1ms)
|
1085
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1086
|
-
Started GET "/auth/gds/callback?code=
|
1077
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-10 10:30:43 +0000
|
1078
|
+
Started GET "/auth/gds/callback?code=0WoPdbd1Jba2Dfu2D9e2jWUVDJfuEf5ZtN_Mg6YfFg4&state=19df4417ee75a80d363d099c4321a9d6cda190738bebfd86" for 127.0.0.1 at 2021-06-10 10:30:43 +0000
|
1087
1079
|
Processing by AuthenticationsController#callback as HTML
|
1088
|
-
Parameters: {"code"=>"
|
1080
|
+
Parameters: {"code"=>"0WoPdbd1Jba2Dfu2D9e2jWUVDJfuEf5ZtN_Mg6YfFg4", "state"=>"19df4417ee75a80d363d099c4321a9d6cda190738bebfd86"}
|
1089
1081
|
Authenticating with gds_sso strategy
|
1090
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]]
|
1091
1083
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1092
1084
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1093
1085
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1094
|
-
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id",
|
1095
|
-
[1m[35m (
|
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 (7.2ms)[0m [1m[36mcommit transaction[0m
|
1096
1088
|
Redirected to http://www.example-client.com/restricted
|
1097
|
-
Completed 302 Found in
|
1098
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1089
|
+
Completed 302 Found in 10ms (ActiveRecord: 7.5ms)
|
1090
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:43 +0000
|
1099
1091
|
Processing by ExampleController#restricted as HTML
|
1100
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]]
|
1101
1093
|
Rendering text template
|
1102
1094
|
Rendered text template (0.0ms)
|
1103
1095
|
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
1104
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-11-12 10:32:24 +0000
|
1105
|
-
Processing by ExampleController#restricted as JSON
|
1106
|
-
Completed in 15ms (ActiveRecord: 0.0ms)
|
1107
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-11-12 10:32:24 +0000
|
1108
|
-
Processing by ExampleController#restricted as JSON
|
1109
|
-
[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]]
|
1110
1096
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1111
|
-
[1m[36mUser
|
1112
|
-
[1m[35m (
|
1113
|
-
[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]]
|
1097
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d39364"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1098
|
+
[1m[35m (7.5ms)[0m [1m[36mcommit transaction[0m
|
1114
1099
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1115
|
-
[1m[
|
1116
|
-
[1m[
|
1100
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d39409"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1101
|
+
[1m[35m (4.3ms)[0m [1m[36mcommit transaction[0m
|
1102
|
+
Processing by Api::UserController#update as HTML
|
1103
|
+
Parameters: {"uid"=>"a1s2d39364"}
|
1104
|
+
Rendering /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
1105
|
+
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
1106
|
+
Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
|
1107
|
+
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
1108
|
+
Completed 403 Forbidden in 4ms (Views: 3.1ms | ActiveRecord: 0.0ms)
|
1117
1109
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1118
|
-
[1m[
|
1119
|
-
[1m[
|
1120
|
-
[1m[35m (0.
|
1121
|
-
[1m[
|
1110
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d38528"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1111
|
+
[1m[35m (4.7ms)[0m [1m[36mcommit transaction[0m
|
1112
|
+
[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", "a1s2d39891"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1114
|
+
[1m[35m (5.7ms)[0m [1m[36mcommit transaction[0m
|
1115
|
+
Processing by Api::UserController#update as HTML
|
1116
|
+
Parameters: {"uid"=>"a1s2d38528"}
|
1117
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d38528"], ["LIMIT", 1]]
|
1122
1118
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1123
|
-
[1m[
|
1124
|
-
|
1125
|
-
|
1126
|
-
|
1127
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-11-12 10:32:24 +0000
|
1128
|
-
Processing by ExampleController#this_requires_signin_permission as JSON
|
1129
|
-
[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]]
|
1119
|
+
[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", 5]]
|
1120
|
+
[1m[35m (5.6ms)[0m [1m[36mcommit transaction[0m
|
1121
|
+
Completed 200 OK in 8ms (ActiveRecord: 5.9ms)
|
1122
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 5], ["LIMIT", 1]]
|
1130
1123
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1131
|
-
[1m[
|
1132
|
-
[1m[
|
1124
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d31137"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1125
|
+
[1m[35m (6.0ms)[0m [1m[36mcommit transaction[0m
|
1133
1126
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1134
|
-
[1m[
|
1135
|
-
[1m[
|
1127
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d36378"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1128
|
+
[1m[35m (4.5ms)[0m [1m[36mcommit transaction[0m
|
1129
|
+
Processing by Api::UserController#reauth as HTML
|
1130
|
+
Parameters: {"uid"=>"a1s2d31137"}
|
1131
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d31137"], ["LIMIT", 1]]
|
1136
1132
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1137
|
-
[1m[
|
1138
|
-
[1m[
|
1133
|
+
[1m[36mUser Update (0.1ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "t"], ["id", 7]]
|
1134
|
+
[1m[35m (4.5ms)[0m [1m[36mcommit transaction[0m
|
1135
|
+
Completed 200 OK in 6ms (ActiveRecord: 4.8ms)
|
1136
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 7], ["LIMIT", 1]]
|
1139
1137
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1140
|
-
[1m[
|
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
|
1141
1140
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1142
|
-
[1m[
|
1143
|
-
|
1144
|
-
|
1145
|
-
|
1146
|
-
|
1147
|
-
|
1148
|
-
|
1141
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d34705"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1142
|
+
[1m[35m (4.5ms)[0m [1m[36mcommit transaction[0m
|
1143
|
+
Processing by Api::UserController#reauth as HTML
|
1144
|
+
Parameters: {"uid"=>"nonexistent-user"}
|
1145
|
+
[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
|
+
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)
|
1149
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]]
|
1150
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]]
|
1151
1162
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1152
|
-
[1m[36mUser Create (0.
|
1153
|
-
[1m[35m (
|
1163
|
+
[1m[36mUser Create (0.1ms)[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 (7.9ms)[0m [1m[36mcommit transaction[0m
|
1154
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]]
|
1155
1166
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1156
1167
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1157
|
-
[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]]
|
1158
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1159
|
-
[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", "4181"], ["email", "dummyapiuser@domain.com"], ["permissions", "---\n- signin\n"]]
|
1160
|
-
[1m[35m (4.1ms)[0m [1m[36mcommit transaction[0m
|
1161
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1162
|
-
[1m[36mUser Update (0.1ms)[0m [1m[33mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = ?[0m [["permissions", "---\n- signin\n- extra_permission\n"], ["id", 13]]
|
1163
|
-
[1m[35m (5.0ms)[0m [1m[36mcommit transaction[0m
|
1164
1168
|
[1m[35m (1.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
1165
1169
|
[1m[35m (0.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
1166
1170
|
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "users"[0m
|
1167
|
-
[1m[35m (
|
1168
|
-
[1m[35m (
|
1171
|
+
[1m[35m (53.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
|
1172
|
+
[1m[35m (5.9ms)[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
|
1169
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]]
|
1170
|
-
[1m[
|
1171
|
-
[1m[36mActiveRecord::InternalMetadata Create (0.
|
1172
|
-
[1m[
|
1173
|
-
[1m[35m (
|
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-10 10:30:49.080981"], ["updated_at", "2021-06-10 10:30:49.080981"]]
|
1176
|
+
[1m[36mTRANSACTION (13.4ms)[0m [1m[36mcommit transaction[0m
|
1177
|
+
[1m[35m (6.3ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
1174
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]]
|
1175
1179
|
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
1176
1180
|
[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]]
|
1177
1181
|
[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]]
|
1178
|
-
[1m[
|
1182
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
1179
1183
|
[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]]
|
1180
|
-
[1m[
|
1184
|
+
[1m[36mTRANSACTION (7.2ms)[0m [1m[36mcommit transaction[0m
|
1181
1185
|
[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]]
|
1182
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1186
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:49 +0000
|
1183
1187
|
Processing by ExampleController#restricted as HTML
|
1184
1188
|
Authenticating with gds_sso strategy
|
1185
|
-
Completed in
|
1186
|
-
Started GET "/
|
1187
|
-
|
1189
|
+
Completed in 7ms (ActiveRecord: 0.0ms | Allocations: 1044)
|
1190
|
+
Started GET "/" for 127.0.0.1 at 2021-06-10 10:30:49 +0000
|
1191
|
+
Processing by ExampleController#index as HTML
|
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
|
1188
1201
|
Processing by AuthenticationsController#callback as HTML
|
1189
|
-
Parameters: {"code"=>"
|
1202
|
+
Parameters: {"code"=>"poY3NLTz67iH--VeVJOSPJs4tEJdf7lS8kHjO-WLzSk", "state"=>"9d453f5f56a0b1416ead5010b8c1867c1169bad85ff6429f"}
|
1190
1203
|
Authenticating with gds_sso strategy
|
1191
1204
|
[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]]
|
1192
1205
|
[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]]
|
1193
|
-
[1m[
|
1206
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
1194
1207
|
[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"]]
|
1195
|
-
[1m[
|
1196
|
-
[1m[
|
1208
|
+
[1m[36mTRANSACTION (4.7ms)[0m [1m[36mcommit transaction[0m
|
1209
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
1197
1210
|
[1m[36mUser Update (0.1ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", 0], ["id", 2]]
|
1198
|
-
[1m[
|
1199
|
-
Redirected to http://www.example-client.com/
|
1200
|
-
Completed 302 Found in
|
1201
|
-
Started GET "/
|
1202
|
-
Processing by ExampleController#
|
1203
|
-
[1m[36mUser Load (0.
|
1211
|
+
[1m[36mTRANSACTION (4.3ms)[0m [1m[36mcommit transaction[0m
|
1212
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
1213
|
+
Completed 302 Found in 13ms (ActiveRecord: 9.5ms | Allocations: 1375)
|
1214
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2021-06-10 10:30:49 +0000
|
1215
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
1216
|
+
[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]]
|
1204
1217
|
Rendering text template
|
1205
|
-
Rendered text template (Duration: 0.0ms | Allocations:
|
1206
|
-
Completed 200 OK in
|
1207
|
-
Started GET "/
|
1208
|
-
Processing by ExampleController#
|
1218
|
+
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
1219
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 671)
|
1220
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2021-06-10 10:30:49 +0000
|
1221
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
1209
1222
|
Authenticating with gds_sso strategy
|
1210
|
-
Completed in 0ms (ActiveRecord: 0.0ms | Allocations:
|
1211
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1212
|
-
Started GET "/auth/gds/callback?code=
|
1223
|
+
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 125)
|
1224
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-10 10:30:49 +0000
|
1225
|
+
Started GET "/auth/gds/callback?code=Zdj9h1Ccr1q1cC9vWr-u_SZm2seKWX3yHYF5AuzHS_w&state=8bbabbddebb4195509444f8ae34f0d386ec6fc40cdaa4eab" for 127.0.0.1 at 2021-06-10 10:30:49 +0000
|
1213
1226
|
Processing by AuthenticationsController#callback as HTML
|
1214
|
-
Parameters: {"code"=>"
|
1227
|
+
Parameters: {"code"=>"Zdj9h1Ccr1q1cC9vWr-u_SZm2seKWX3yHYF5AuzHS_w", "state"=>"8bbabbddebb4195509444f8ae34f0d386ec6fc40cdaa4eab"}
|
1215
1228
|
Authenticating with gds_sso strategy
|
1216
1229
|
[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]]
|
1217
|
-
Redirected to http://www.example-client.com/
|
1218
|
-
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations:
|
1219
|
-
Started GET "/
|
1220
|
-
Processing by ExampleController#
|
1230
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
1231
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 851)
|
1232
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2021-06-10 10:30:49 +0000
|
1233
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
1221
1234
|
[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]]
|
1222
1235
|
Rendering text template
|
1223
1236
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
1224
|
-
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations:
|
1225
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1237
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 644)
|
1238
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:49 +0000
|
1226
1239
|
Processing by ExampleController#restricted as HTML
|
1227
1240
|
Authenticating with gds_sso strategy
|
1228
|
-
Completed in 0ms (ActiveRecord: 0.0ms | Allocations:
|
1229
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1230
|
-
Started GET "/auth/gds/callback?code=
|
1241
|
+
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 125)
|
1242
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-10 10:30:49 +0000
|
1243
|
+
Started GET "/auth/gds/callback?code=_Z7DZyL_PQotnyAvO9L6yokfndLFW4N2UVq28MvqoPE&state=f3cfb828d6260e7a9c0ef84756421f8ff7bf9db03fc7b10e" for 127.0.0.1 at 2021-06-10 10:30:49 +0000
|
1231
1244
|
Processing by AuthenticationsController#callback as HTML
|
1232
|
-
Parameters: {"code"=>"
|
1245
|
+
Parameters: {"code"=>"_Z7DZyL_PQotnyAvO9L6yokfndLFW4N2UVq28MvqoPE", "state"=>"f3cfb828d6260e7a9c0ef84756421f8ff7bf9db03fc7b10e"}
|
1233
1246
|
Authenticating with gds_sso strategy
|
1234
1247
|
[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]]
|
1235
1248
|
Redirected to http://www.example-client.com/restricted
|
1236
|
-
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations:
|
1237
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1249
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 851)
|
1250
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:49 +0000
|
1238
1251
|
Processing by ExampleController#restricted as HTML
|
1239
1252
|
[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]]
|
1240
1253
|
Rendering text template
|
1241
1254
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
1242
|
-
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations:
|
1243
|
-
Started GET "/
|
1244
|
-
Processing by ExampleController#
|
1255
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 644)
|
1256
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:49 +0000
|
1257
|
+
Processing by ExampleController#restricted as HTML
|
1245
1258
|
Authenticating with gds_sso strategy
|
1246
|
-
Completed in 0ms (ActiveRecord: 0.0ms | Allocations:
|
1247
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1248
|
-
Started GET "/auth/gds/callback?code=
|
1259
|
+
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 125)
|
1260
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-10 10:30:49 +0000
|
1261
|
+
Started GET "/auth/gds/callback?code=Kw1tXFSJYPgcyo0zaPOkkpLv8x7Mo_oCJ3wW-jyJdbs&state=a8c915ef91aab15a499f8c8f87ab6d6a3ce2763e376381da" for 127.0.0.1 at 2021-06-10 10:30:49 +0000
|
1249
1262
|
Processing by AuthenticationsController#callback as HTML
|
1250
|
-
Parameters: {"code"=>"
|
1263
|
+
Parameters: {"code"=>"Kw1tXFSJYPgcyo0zaPOkkpLv8x7Mo_oCJ3wW-jyJdbs", "state"=>"a8c915ef91aab15a499f8c8f87ab6d6a3ce2763e376381da"}
|
1251
1264
|
Authenticating with gds_sso strategy
|
1252
1265
|
[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]]
|
1253
|
-
Redirected to http://www.example-client.com/
|
1254
|
-
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations:
|
1255
|
-
Started GET "/
|
1256
|
-
Processing by ExampleController#
|
1266
|
+
Redirected to http://www.example-client.com/restricted
|
1267
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 851)
|
1268
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:49 +0000
|
1269
|
+
Processing by ExampleController#restricted as HTML
|
1257
1270
|
[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]]
|
1258
1271
|
Rendering text template
|
1259
1272
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
1260
|
-
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations:
|
1261
|
-
Started GET "/
|
1262
|
-
Processing by ExampleController#
|
1273
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 644)
|
1274
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:49 +0000
|
1275
|
+
Processing by ExampleController#restricted as HTML
|
1263
1276
|
Authenticating with gds_sso strategy
|
1264
|
-
Completed in 0ms (ActiveRecord: 0.0ms | Allocations:
|
1265
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1266
|
-
Started GET "/auth/gds/callback?code=
|
1277
|
+
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 125)
|
1278
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-10 10:30:49 +0000
|
1279
|
+
Started GET "/auth/gds/callback?code=GERF15kDluQa2dp5XeTqf_7H4GgZWzyvS-tPoTFCYiw&state=95648fed8f1442abd58dece4ab1fb85681df97f135c47681" for 127.0.0.1 at 2021-06-10 10:30:49 +0000
|
1267
1280
|
Processing by AuthenticationsController#callback as HTML
|
1268
|
-
Parameters: {"code"=>"
|
1281
|
+
Parameters: {"code"=>"GERF15kDluQa2dp5XeTqf_7H4GgZWzyvS-tPoTFCYiw", "state"=>"95648fed8f1442abd58dece4ab1fb85681df97f135c47681"}
|
1269
1282
|
Authenticating with gds_sso strategy
|
1270
|
-
[1m[36mUser Load (0.
|
1271
|
-
Redirected to http://www.example-client.com/
|
1272
|
-
Completed 302 Found in 2ms (ActiveRecord: 0.
|
1273
|
-
Started GET "/
|
1274
|
-
Processing by ExampleController#
|
1283
|
+
[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/restricted
|
1285
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 852)
|
1286
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:49 +0000
|
1287
|
+
Processing by ExampleController#restricted as HTML
|
1275
1288
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
|
1276
1289
|
Rendering text template
|
1277
1290
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
1278
|
-
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations:
|
1279
|
-
Started GET "/" for 127.0.0.1 at
|
1280
|
-
Processing by ExampleController#index as HTML
|
1281
|
-
Rendering text template
|
1282
|
-
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
1283
|
-
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms | Allocations: 137)
|
1284
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-11-12 10:32:31 +0000
|
1291
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 646)
|
1292
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:49 +0000
|
1285
1293
|
Processing by ExampleController#restricted as HTML
|
1286
1294
|
Authenticating with gds_sso strategy
|
1287
|
-
Completed in 0ms (ActiveRecord: 0.0ms | Allocations:
|
1288
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1289
|
-
Started GET "/auth/gds/callback?code=
|
1295
|
+
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 125)
|
1296
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-10 10:30:50 +0000
|
1297
|
+
Started GET "/auth/gds/callback?code=SS7ZRwlXI033cU2y2tasB5ERe6f4enwfkLT2nBJSQ_k&state=978a61f7ffe7e72506de4a0bf2ec41f7c67701de4ebb1a8c" for 127.0.0.1 at 2021-06-10 10:30:50 +0000
|
1290
1298
|
Processing by AuthenticationsController#callback as HTML
|
1291
|
-
Parameters: {"code"=>"
|
1299
|
+
Parameters: {"code"=>"SS7ZRwlXI033cU2y2tasB5ERe6f4enwfkLT2nBJSQ_k", "state"=>"978a61f7ffe7e72506de4a0bf2ec41f7c67701de4ebb1a8c"}
|
1292
1300
|
Authenticating with gds_sso strategy
|
1293
|
-
[1m[36mUser Load (0.
|
1301
|
+
[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]]
|
1294
1302
|
Redirected to http://www.example-client.com/restricted
|
1295
|
-
Completed 302 Found in 2ms (ActiveRecord: 0.
|
1296
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1303
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 851)
|
1304
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:50 +0000
|
1297
1305
|
Processing by ExampleController#restricted as HTML
|
1298
1306
|
[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]]
|
1299
1307
|
Rendering text template
|
1300
1308
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
1301
|
-
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations:
|
1302
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1309
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 645)
|
1310
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-11 06:25:50 +0000
|
1303
1311
|
Processing by ExampleController#restricted as HTML
|
1304
|
-
|
1305
|
-
|
1306
|
-
|
1307
|
-
|
1312
|
+
[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
|
1308
1317
|
Processing by ExampleController#restricted as HTML
|
1309
1318
|
Authenticating with gds_sso strategy
|
1310
|
-
Completed in 0ms (ActiveRecord: 0.0ms | Allocations:
|
1311
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1312
|
-
Started GET "/auth/gds/callback?code=
|
1319
|
+
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 125)
|
1320
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-10 10:30:50 +0000
|
1321
|
+
Started GET "/auth/gds/callback?code=b-a6dkrt1fgeJE5Ejz0_jhGRMv-bXOok8ZfCGq1Zcz4&state=d83dd2370fc717c28d666a5646b07c2246b6f1eaff641be5" for 127.0.0.1 at 2021-06-10 10:30:50 +0000
|
1313
1322
|
Processing by AuthenticationsController#callback as HTML
|
1314
|
-
Parameters: {"code"=>"
|
1323
|
+
Parameters: {"code"=>"b-a6dkrt1fgeJE5Ejz0_jhGRMv-bXOok8ZfCGq1Zcz4", "state"=>"d83dd2370fc717c28d666a5646b07c2246b6f1eaff641be5"}
|
1315
1324
|
Authenticating with gds_sso strategy
|
1316
|
-
[1m[36mUser Load (0.
|
1325
|
+
[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]]
|
1317
1326
|
Redirected to http://www.example-client.com/restricted
|
1318
|
-
Completed 302 Found in
|
1319
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1327
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 851)
|
1328
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:50 +0000
|
1320
1329
|
Processing by ExampleController#restricted as HTML
|
1321
1330
|
[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]]
|
1322
1331
|
Rendering text template
|
1323
1332
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
1324
|
-
Completed 200 OK in
|
1325
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1333
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 644)
|
1334
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-11 06:35:50 +0000
|
1326
1335
|
Processing by ExampleController#restricted as HTML
|
1327
1336
|
Authenticating with gds_sso strategy
|
1328
|
-
Completed in
|
1329
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1330
|
-
Started GET "/auth/gds/callback?code=
|
1337
|
+
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 496)
|
1338
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-11 06:35:50 +0000
|
1339
|
+
Started GET "/auth/gds/callback?code=vdoTkyc_Xkm-CGB4jUm4z4lmRaOaiiljYd4ZzRQL3bU&state=7fc532132e5776ef16749310626079a6bb451bfc4b81a289" for 127.0.0.1 at 2021-06-11 06:35:50 +0000
|
1331
1340
|
Processing by AuthenticationsController#callback as HTML
|
1332
|
-
Parameters: {"code"=>"
|
1341
|
+
Parameters: {"code"=>"vdoTkyc_Xkm-CGB4jUm4z4lmRaOaiiljYd4ZzRQL3bU", "state"=>"7fc532132e5776ef16749310626079a6bb451bfc4b81a289"}
|
1333
1342
|
Authenticating with gds_sso strategy
|
1334
1343
|
[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]]
|
1335
1344
|
Redirected to http://www.example-client.com/restricted
|
1336
|
-
Completed 302 Found in
|
1337
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1345
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 1061)
|
1346
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-11 06:35:50 +0000
|
1338
1347
|
Processing by ExampleController#restricted as HTML
|
1339
1348
|
[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]]
|
1340
1349
|
Rendering text template
|
1341
1350
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
1342
|
-
Completed 200 OK in
|
1343
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1351
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 879)
|
1352
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:50 +0000
|
1344
1353
|
Processing by ExampleController#restricted as HTML
|
1345
1354
|
Authenticating with gds_sso strategy
|
1346
|
-
Completed in 0ms (ActiveRecord: 0.0ms | Allocations:
|
1347
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1348
|
-
Started GET "/auth/gds/callback?code=
|
1355
|
+
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 125)
|
1356
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-10 10:30:50 +0000
|
1357
|
+
Started GET "/auth/gds/callback?code=EWxMYyyrCCr9d0lvtWvLgmnFQoi20_HTDsZ-R_UEteA&state=a0f70e3e74e22c22374faa25973314489a40bbc9b9e3b2c5" for 127.0.0.1 at 2021-06-10 10:30:50 +0000
|
1349
1358
|
Processing by AuthenticationsController#callback as HTML
|
1350
|
-
Parameters: {"code"=>"
|
1359
|
+
Parameters: {"code"=>"EWxMYyyrCCr9d0lvtWvLgmnFQoi20_HTDsZ-R_UEteA", "state"=>"a0f70e3e74e22c22374faa25973314489a40bbc9b9e3b2c5"}
|
1351
1360
|
Authenticating with gds_sso strategy
|
1352
1361
|
[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]]
|
1353
1362
|
Redirected to http://www.example-client.com/restricted
|
1354
|
-
Completed 302 Found in
|
1355
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1363
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.1ms | Allocations: 852)
|
1364
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:50 +0000
|
1356
1365
|
Processing by ExampleController#restricted as HTML
|
1357
1366
|
[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]]
|
1358
1367
|
Rendering text template
|
1359
1368
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
1360
|
-
Completed 200 OK in 1ms (Views: 0.
|
1361
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1369
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 646)
|
1370
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-11 06:35:50 +0000
|
1362
1371
|
Processing by ExampleController#restricted as HTML
|
1363
|
-
|
1364
|
-
|
1365
|
-
|
1366
|
-
|
1367
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-11-12 10:32:31 +0000
|
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
|
1368
1376
|
Processing by ExampleController#restricted as HTML
|
1369
1377
|
Authenticating with gds_sso strategy
|
1370
|
-
Completed in 0ms (ActiveRecord: 0.0ms | Allocations:
|
1371
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1372
|
-
Started GET "/auth/gds/callback?code=
|
1378
|
+
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 125)
|
1379
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-10 10:30:50 +0000
|
1380
|
+
Started GET "/auth/gds/callback?code=CQeMtdfpnAsZytncHbONqt5KLBtB8U8UrXKcGzjQz1c&state=ba8ed7ba8835953a6de1b33d768647894a66fac64ec91a94" for 127.0.0.1 at 2021-06-10 10:30:50 +0000
|
1373
1381
|
Processing by AuthenticationsController#callback as HTML
|
1374
|
-
Parameters: {"code"=>"
|
1382
|
+
Parameters: {"code"=>"CQeMtdfpnAsZytncHbONqt5KLBtB8U8UrXKcGzjQz1c", "state"=>"ba8ed7ba8835953a6de1b33d768647894a66fac64ec91a94"}
|
1375
1383
|
Authenticating with gds_sso strategy
|
1376
1384
|
[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]]
|
1377
1385
|
Redirected to http://www.example-client.com/restricted
|
1378
|
-
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations:
|
1379
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1386
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 851)
|
1387
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:50 +0000
|
1380
1388
|
Processing by ExampleController#restricted as HTML
|
1381
1389
|
[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]]
|
1382
1390
|
Rendering text template
|
1383
1391
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
1384
|
-
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations:
|
1392
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 644)
|
1385
1393
|
[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]]
|
1386
|
-
[1m[
|
1387
|
-
[1m[36mUser Update (0.
|
1388
|
-
[1m[
|
1389
|
-
Started GET "/restricted" for 127.0.0.1 at
|
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
|
1390
1398
|
Processing by ExampleController#restricted as HTML
|
1391
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]]
|
1392
1400
|
Authenticating with gds_sso strategy
|
1393
|
-
Completed in 1ms (ActiveRecord: 0.1ms | Allocations:
|
1394
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1395
|
-
Started GET "/auth/gds/callback?code=
|
1401
|
+
Completed in 1ms (ActiveRecord: 0.1ms | Allocations: 527)
|
1402
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2021-06-10 10:30:50 +0000
|
1403
|
+
Started GET "/auth/gds/callback?code=JlyYyrWR1NDMYPUNDxrSRZlBXfqjY3bqPpgtiHzTuMw&state=28eb94d6b9576677d4983efd3181a2aa99ae4d89f4bdc974" for 127.0.0.1 at 2021-06-10 10:30:50 +0000
|
1396
1404
|
Processing by AuthenticationsController#callback as HTML
|
1397
|
-
Parameters: {"code"=>"
|
1405
|
+
Parameters: {"code"=>"JlyYyrWR1NDMYPUNDxrSRZlBXfqjY3bqPpgtiHzTuMw", "state"=>"28eb94d6b9576677d4983efd3181a2aa99ae4d89f4bdc974"}
|
1398
1406
|
Authenticating with gds_sso strategy
|
1399
1407
|
[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]]
|
1400
|
-
[1m[
|
1401
|
-
[1m[36mUser Update (0.
|
1402
|
-
[1m[
|
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
|
1403
1411
|
Redirected to http://www.example-client.com/restricted
|
1404
|
-
Completed 302 Found in
|
1405
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1412
|
+
Completed 302 Found in 8ms (ActiveRecord: 6.3ms | Allocations: 1042)
|
1413
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:50 +0000
|
1406
1414
|
Processing by ExampleController#restricted as HTML
|
1407
1415
|
[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]]
|
1408
1416
|
Rendering text template
|
1409
1417
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
1410
|
-
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations:
|
1411
|
-
Started GET "/
|
1412
|
-
Processing by ExampleController#
|
1418
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 643)
|
1419
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:50 +0000
|
1420
|
+
Processing by ExampleController#restricted as JSON
|
1421
|
+
Completed in 12ms (ActiveRecord: 0.0ms | Allocations: 2025)
|
1422
|
+
Started GET "/restricted" for 127.0.0.1 at 2021-06-10 10:30:50 +0000
|
1423
|
+
Processing by ExampleController#restricted as JSON
|
1413
1424
|
[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]]
|
1414
|
-
[1m[
|
1415
|
-
[1m[36mUser Update (0.
|
1416
|
-
[1m[
|
1425
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
1426
|
+
[1m[36mUser Update (0.1ms)[0m [1m[33mUPDATE "users" SET "disabled" = ? WHERE "users"."id" = ?[0m [["disabled", nil], ["id", 2]]
|
1427
|
+
[1m[36mTRANSACTION (5.0ms)[0m [1m[36mcommit transaction[0m
|
1417
1428
|
[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]]
|
1418
1429
|
[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]]
|
1419
1430
|
[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]]
|
1420
1431
|
Rendering text template
|
1421
1432
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
1422
|
-
Completed 200 OK in
|
1423
|
-
Started GET "/
|
1424
|
-
Processing by ExampleController#
|
1425
|
-
Completed in 15ms (ActiveRecord: 0.0ms | Allocations: 1823)
|
1426
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-11-12 10:32:32 +0000
|
1427
|
-
Processing by ExampleController#restricted as JSON
|
1433
|
+
Completed 200 OK in 11ms (Views: 0.2ms | ActiveRecord: 5.4ms | Allocations: 3196)
|
1434
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2021-06-10 10:30:50 +0000
|
1435
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
1428
1436
|
[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
1437
|
[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
1438
|
[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
1439
|
[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]]
|
1432
1440
|
Rendering text template
|
1433
1441
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
1434
|
-
Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.
|
1435
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1442
|
+
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-10 10:30:50 +0000
|
1436
1444
|
Processing by ExampleController#restricted as JSON
|
1437
|
-
Completed in
|
1438
|
-
|
1439
|
-
|
1440
|
-
|
1441
|
-
|
1442
|
-
[1m[
|
1443
|
-
[1m[36mUser
|
1444
|
-
[1m[
|
1445
|
-
[1m[
|
1446
|
-
[1m[36mUser Create (0.
|
1447
|
-
[1m[
|
1445
|
+
Completed in 7ms (ActiveRecord: 0.0ms | Allocations: 1815)
|
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
|
1448
1459
|
Processing by Api::UserController#update as HTML
|
1449
|
-
Parameters: {"uid"=>"
|
1450
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "
|
1451
|
-
[1m[
|
1452
|
-
[1m[36mUser Update (0.
|
1453
|
-
[1m[
|
1454
|
-
Completed 200 OK in
|
1455
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id",
|
1456
|
-
[1m[
|
1457
|
-
[1m[36mUser Create (0.
|
1458
|
-
[1m[
|
1459
|
-
[1m[
|
1460
|
-
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "
|
1461
|
-
[1m[
|
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
|
1462
1473
|
Processing by Api::UserController#update as HTML
|
1463
|
-
Parameters: {"uid"=>"
|
1474
|
+
Parameters: {"uid"=>"a1s2d32720"}
|
1475
|
+
Rendering layout /var/lib/jenkins/workspace/gds-sso_master/app/views/layouts/unauthorised.html.erb
|
1464
1476
|
Rendering /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
1465
1477
|
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
1466
|
-
Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (Duration: 0.5ms | Allocations:
|
1478
|
+
Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (Duration: 0.5ms | Allocations: 191)
|
1467
1479
|
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
1468
|
-
|
1469
|
-
|
1470
|
-
[1m[
|
1471
|
-
[1m[
|
1472
|
-
[1m[
|
1473
|
-
[1m[
|
1474
|
-
[1m[
|
1475
|
-
|
1476
|
-
Parameters: {"uid"=>"nonexistent-user"}
|
1477
|
-
[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]]
|
1478
|
-
Completed 200 OK in 1ms (ActiveRecord: 0.1ms | Allocations: 526)
|
1479
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1480
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d36181"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1481
|
-
[1m[35m (5.6ms)[0m [1m[36mcommit transaction[0m
|
1482
|
-
[1m[35m (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", "SSO Push user"], ["uid", "a1s2d37265"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1484
|
-
[1m[35m (4.2ms)[0m [1m[36mcommit transaction[0m
|
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
|
1485
1488
|
Processing by Api::UserController#reauth as HTML
|
1486
|
-
Parameters: {"uid"=>"
|
1487
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "
|
1488
|
-
[1m[
|
1489
|
-
[1m[36mUser Update (0.1ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", 1], ["id",
|
1490
|
-
[1m[
|
1491
|
-
Completed 200 OK in
|
1492
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id",
|
1493
|
-
[1m[
|
1494
|
-
[1m[36mUser Create (0.
|
1495
|
-
[1m[
|
1496
|
-
[1m[
|
1497
|
-
[1m[36mUser Create (0.
|
1498
|
-
[1m[
|
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
|
1499
1502
|
Processing by Api::UserController#reauth as HTML
|
1500
|
-
Parameters: {"uid"=>"
|
1503
|
+
Parameters: {"uid"=>"a1s2d37995"}
|
1504
|
+
Rendering layout /var/lib/jenkins/workspace/gds-sso_master/app/views/layouts/unauthorised.html.erb
|
1501
1505
|
Rendering /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
1502
1506
|
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
1503
|
-
Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (Duration: 0.
|
1507
|
+
Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (Duration: 0.1ms | Allocations: 45)
|
1504
1508
|
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
1505
|
-
|
1506
|
-
|
1507
|
-
[1m[
|
1508
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "
|
1509
|
-
[1m[
|
1510
|
-
[1m[
|
1511
|
-
[1m[36mUser
|
1512
|
-
[1m[
|
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)
|