gds-sso 14.3.0 → 15.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/views/layouts/unauthorised.html.erb +1 -1
- data/lib/gds-sso/lint/user_spec.rb +5 -5
- data/lib/gds-sso/lint/user_test.rb +2 -2
- data/lib/gds-sso/user.rb +1 -1
- data/lib/gds-sso/version.rb +1 -1
- data/spec/internal/app/assets/config/manifest.js +0 -0
- data/spec/internal/config/routes.rb +3 -0
- data/spec/internal/config/storage.yml +3 -0
- data/spec/internal/db/combustion_test.sqlite +0 -0
- data/spec/internal/db/schema.rb +4 -0
- data/spec/internal/log/test.log +1161 -1227
- data/spec/requests/end_to_end_spec.rb +1 -1
- data/spec/unit/user_spec.rb +1 -1
- metadata +31 -28
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2f6e8e343ed76d12863efbbaa32b8cad40f6f1c089e425a4e9fa3fdde95ee0c8
|
4
|
+
data.tar.gz: c1556af8d9f7fb3a17708796e4ab5e63d00f57b1b05e67123eea37baacd77994
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7d6c7c78f8f04bbb7d19ed8dfb60427b0b16441206f14828f46edd46d4b94a0beab11c0b2697bc3677e0b711a9b8fcb80109b83eef7a272aca16d409be6fd831
|
7
|
+
data.tar.gz: e22e4728bc10f3f4b0c0ba791566512c5b855f80666dbc76e9abea6cdf17eb52a8d77d1ab37a2e3e95042bd80f19cc3cd769e3018c6603538455602ea17a9394
|
@@ -7,7 +7,7 @@
|
|
7
7
|
<%= yield %>
|
8
8
|
</div>
|
9
9
|
<div id="footer" class="cf">
|
10
|
-
© <%= Date.today.year %> <a href="
|
10
|
+
© <%= Date.today.year %> <a href="https://www.gov.uk/government/organisations/government-digital-service">Government Digital Service</a>
|
11
11
|
</div>
|
12
12
|
</body>
|
13
13
|
</html>
|
@@ -15,8 +15,8 @@ RSpec.shared_examples "a gds-sso user class" do
|
|
15
15
|
expect(subject).to be_remotely_signed_out
|
16
16
|
end
|
17
17
|
|
18
|
-
it "implements #
|
19
|
-
subject.
|
18
|
+
it "implements #update!" do
|
19
|
+
subject.update!(email: "ab@c.com")
|
20
20
|
expect(subject.email).to eq("ab@c.com")
|
21
21
|
end
|
22
22
|
|
@@ -30,19 +30,19 @@ RSpec.shared_examples "a gds-sso user class" do
|
|
30
30
|
|
31
31
|
describe "#has_all_permissions?" do
|
32
32
|
it "is false when there are no permissions" do
|
33
|
-
subject.
|
33
|
+
subject.update!(permissions: nil)
|
34
34
|
required_permissions = ["signin"]
|
35
35
|
expect(subject.has_all_permissions?(required_permissions)).to be_falsy
|
36
36
|
end
|
37
37
|
|
38
38
|
it "is false when it does not have all required permissions" do
|
39
|
-
subject.
|
39
|
+
subject.update!(permissions: ["signin"])
|
40
40
|
required_permissions = ["signin", "not_granted_permission_one", "not_granted_permission_two"]
|
41
41
|
expect(subject.has_all_permissions?(required_permissions)).to be false
|
42
42
|
end
|
43
43
|
|
44
44
|
it "is true when it has all required permissions" do
|
45
|
-
subject.
|
45
|
+
subject.update!(permissions: ["signin", "internal_app"])
|
46
46
|
required_permissions = ["signin", "internal_app"]
|
47
47
|
expect(subject.has_all_permissions?(required_permissions)).to be true
|
48
48
|
end
|
@@ -34,8 +34,8 @@ module GDS
|
|
34
34
|
assert @lint_user.remotely_signed_out?
|
35
35
|
end
|
36
36
|
|
37
|
-
test 'implement #
|
38
|
-
@lint_user.
|
37
|
+
test 'implement #update!' do
|
38
|
+
@lint_user.update!(email: 'test@example.com')
|
39
39
|
assert_equal @lint_user.email, 'test@example.com'
|
40
40
|
end
|
41
41
|
|
data/lib/gds-sso/user.rb
CHANGED
data/lib/gds-sso/version.rb
CHANGED
File without changes
|
@@ -1,4 +1,7 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
Rails.application.routes.draw do
|
4
|
+
# Add your own routes here, or remove this file if you don't have need for it.
|
2
5
|
root :to => 'example#index'
|
3
6
|
get "/restricted" => 'example#restricted'
|
4
7
|
get "/this_requires_signin_permission" => "example#this_requires_signin_permission"
|
Binary file
|
data/spec/internal/db/schema.rb
CHANGED
@@ -1,4 +1,8 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
ActiveRecord::Schema.define do
|
4
|
+
# Set up any tables you need to exist for your test suite that don't belong
|
5
|
+
# in migrations.
|
2
6
|
create_table "users", :force => true do |t|
|
3
7
|
t.string "name", :null => false
|
4
8
|
t.string "uid", :null => false
|
data/spec/internal/log/test.log
CHANGED
@@ -1,1578 +1,1512 @@
|
|
1
|
-
[1m[
|
2
|
-
[1m[35m (
|
3
|
-
[1m[
|
4
|
-
[1m[35m (
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
[1m[36mUser
|
15
|
-
[1m[
|
16
|
-
[1m[
|
17
|
-
[1m[
|
18
|
-
[1m[
|
19
|
-
|
20
|
-
|
21
|
-
[1m[
|
22
|
-
[1m[
|
23
|
-
[1m[
|
24
|
-
[1m[
|
25
|
-
|
26
|
-
[1m[
|
27
|
-
[1m[35m (0.1ms)[0m
|
28
|
-
[1m[
|
29
|
-
[1m[
|
30
|
-
[1m[
|
31
|
-
|
32
|
-
|
33
|
-
|
1
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "users"[0m
|
2
|
+
[1m[35m (1.3ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
3
|
+
[1m[35m (13.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 '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
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
6
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
7
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2020-06-12 15:52:40.841962"], ["updated_at", "2020-06-12 15:52:40.841962"]]
|
8
|
+
[1m[35m (4.8ms)[0m [1m[36mcommit transaction[0m
|
9
|
+
[1m[35m (7.3ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
10
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
11
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d33734"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
15
|
+
[1m[35m (5.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", "a1s2d34315"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
18
|
+
[1m[35m (3.6ms)[0m [1m[36mcommit transaction[0m
|
19
|
+
Processing by Api::UserController#update as HTML
|
20
|
+
Parameters: {"uid"=>"a1s2d33734"}
|
21
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d33734"], ["LIMIT", 1]]
|
22
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
23
|
+
[1m[36mUser Update (0.3ms)[0m [1m[33mUPDATE "users" SET "email" = ?, "name" = ?, "permissions" = ?, "organisation_slug" = ?, "organisation_content_id" = ? WHERE "users"."id" = ?[0m [["email", "user@domain.com"], ["name", "Joshua Marshall"], ["permissions", "---\n- signin\n- new permission\n"], ["organisation_slug", "justice-league"], ["organisation_content_id", "aae1319e-5788-4677-998c-f1a53af528d0"], ["id", 1]]
|
24
|
+
[1m[35m (3.9ms)[0m [1m[36mcommit transaction[0m
|
25
|
+
Completed 200 OK in 7ms (ActiveRecord: 4.5ms)
|
26
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
27
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
28
|
+
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d33539"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
29
|
+
[1m[35m (7.7ms)[0m [1m[36mcommit transaction[0m
|
30
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
31
|
+
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d35648"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
32
|
+
[1m[35m (5.0ms)[0m [1m[36mcommit transaction[0m
|
33
|
+
Processing by Api::UserController#update as HTML
|
34
|
+
Parameters: {"uid"=>"a1s2d33539"}
|
35
|
+
Rendering /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/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-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
|
38
|
+
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
39
|
+
Completed 403 Forbidden in 18ms (Views: 17.9ms | 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", "a1s2d3721"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
42
|
+
[1m[35m (5.8ms)[0m [1m[36mcommit transaction[0m
|
43
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
44
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d37894"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
45
|
+
[1m[35m (6.4ms)[0m [1m[36mcommit transaction[0m
|
46
|
+
Processing by Api::UserController#reauth as HTML
|
47
|
+
Parameters: {"uid"=>"a1s2d3721"}
|
48
|
+
Rendering /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/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-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
|
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.7ms | 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", "a1s2d35360"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
55
|
+
[1m[35m (5.3ms)[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", "a1s2d34311"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
58
|
+
[1m[35m (5.9ms)[0m [1m[36mcommit transaction[0m
|
59
|
+
Processing by Api::UserController#reauth as HTML
|
60
|
+
Parameters: {"uid"=>"nonexistent-user"}
|
61
|
+
[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]]
|
62
|
+
Completed 200 OK in 1ms (ActiveRecord: 0.1ms)
|
63
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
64
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d34411"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
65
|
+
[1m[35m (4.5ms)[0m [1m[36mcommit transaction[0m
|
66
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
67
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d36843"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
68
|
+
[1m[35m (11.2ms)[0m [1m[36mcommit transaction[0m
|
69
|
+
Processing by Api::UserController#reauth as HTML
|
70
|
+
Parameters: {"uid"=>"a1s2d34411"}
|
71
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d34411"], ["LIMIT", 1]]
|
72
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
73
|
+
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "t"], ["id", 9]]
|
74
|
+
[1m[35m (32.6ms)[0m [1m[36mcommit transaction[0m
|
75
|
+
Completed 200 OK in 35ms (ActiveRecord: 33.0ms)
|
76
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 9], ["LIMIT", 1]]
|
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]]
|
78
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["email", "user@example.com"], ["LIMIT", 1]]
|
79
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
80
|
+
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions", "organisation_slug", "organisation_content_id", "disabled") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["name", "A Name"], ["uid", "asd"], ["email", "user@example.com"], ["permissions", "---\n- signin\n"], ["organisation_slug", "hmrc"], ["organisation_content_id", "67a2b78d-eee3-45b3-80e2-792e7f71cecc"], ["disabled", nil]]
|
81
|
+
[1m[35m (36.0ms)[0m [1m[36mcommit transaction[0m
|
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]]
|
83
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
84
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
85
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-06-12 15:52:41 +0000
|
34
86
|
Processing by ExampleController#this_requires_signin_permission as JSON
|
35
|
-
[1m[
|
36
|
-
[1m[
|
37
|
-
[1m[35m (0.1ms)[0m
|
38
|
-
[1m[
|
39
|
-
[1m[35m (
|
40
|
-
[1m[
|
41
|
-
[1m[
|
42
|
-
[1m[
|
43
|
-
[1m[
|
44
|
-
[1m[
|
45
|
-
[1m[35m (0.1ms)[0m
|
46
|
-
[1m[
|
47
|
-
[1m[35m (0.1ms)[0m
|
48
|
-
[1m[
|
87
|
+
[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]]
|
88
|
+
[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]]
|
89
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
90
|
+
[1m[36mUser Create (0.4ms)[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]]
|
91
|
+
[1m[35m (7.6ms)[0m [1m[36mcommit transaction[0m
|
92
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
93
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
94
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
95
|
+
[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]]
|
96
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
97
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
98
|
+
[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]]
|
99
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
100
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
101
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
102
|
+
[1m[36mUser Update (2.9ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id", 12]]
|
103
|
+
[1m[35m (6.2ms)[0m [1m[36mcommit transaction[0m
|
104
|
+
Rendering text template
|
49
105
|
Rendered text template (0.0ms)
|
50
|
-
Completed 200 OK in
|
51
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
106
|
+
Completed 200 OK in 572ms (Views: 4.5ms | ActiveRecord: 18.4ms)
|
107
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:52:42 +0000
|
52
108
|
Processing by ExampleController#restricted as JSON
|
53
|
-
Completed in
|
54
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
55
|
-
Processing by ExampleController#restricted as
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
[1m[
|
64
|
-
[1m[
|
65
|
-
[1m[
|
66
|
-
[1m[
|
67
|
-
[1m[35m (0.
|
68
|
-
[1m[
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
109
|
+
Completed in 49ms (ActiveRecord: 0.0ms)
|
110
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:52:42 +0000
|
111
|
+
Processing by ExampleController#restricted as JSON
|
112
|
+
Completed in 85ms (ActiveRecord: 0.0ms)
|
113
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:52:42 +0000
|
114
|
+
Processing by ExampleController#restricted as JSON
|
115
|
+
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
116
|
+
[1m[35m (2.8ms)[0m [1m[36mbegin transaction[0m
|
117
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
118
|
+
[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]]
|
119
|
+
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
120
|
+
[1m[35m (0.2ms)[0m [1m[36mcommit transaction[0m
|
121
|
+
[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]]
|
122
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
123
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
124
|
+
[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]]
|
125
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
126
|
+
[1m[35m (0.2ms)[0m [1m[36mcommit transaction[0m
|
127
|
+
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
128
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
129
|
+
Rendering text template
|
74
130
|
Rendered text template (0.0ms)
|
75
|
-
Completed 200 OK in
|
76
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
131
|
+
Completed 200 OK in 192ms (Views: 2.2ms | ActiveRecord: 4.5ms)
|
132
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:52:42 +0000
|
77
133
|
Processing by ExampleController#restricted as HTML
|
78
134
|
Authenticating with gds_sso strategy
|
79
|
-
Completed in
|
80
|
-
Started GET "/
|
81
|
-
Started GET "/auth/gds/callback?code=b8e1009bf9f623a1f56e714f506ec4ce849db7417a5a87bce5ebdec7ad49bca5&state=d70f4e5897597b11c93c7161370fbb89bbe2bd4ed611981d" for 127.0.0.1 at 2020-03-02 14:29:49 +0000
|
82
|
-
Processing by AuthenticationsController#callback as HTML
|
83
|
-
Parameters: {"code"=>"b8e1009bf9f623a1f56e714f506ec4ce849db7417a5a87bce5ebdec7ad49bca5", "state"=>"d70f4e5897597b11c93c7161370fbb89bbe2bd4ed611981d"}
|
84
|
-
Authenticating with gds_sso strategy
|
85
|
-
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
86
|
-
[1m[35m (0.1ms)[0m begin transaction
|
87
|
-
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
88
|
-
[1m[35m (0.0ms)[0m begin transaction
|
89
|
-
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
90
|
-
Redirected to http://www.example-client.com/restricted
|
91
|
-
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
92
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:29:50 +0000
|
93
|
-
Processing by ExampleController#restricted as HTML
|
94
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
95
|
-
Rendered text template (0.0ms)
|
96
|
-
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
97
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-03-02 14:29:50 +0000
|
135
|
+
Completed in 1ms (ActiveRecord: 0.0ms)
|
136
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-06-12 15:52:43 +0000
|
98
137
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
99
138
|
Authenticating with gds_sso strategy
|
100
139
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
101
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
102
|
-
Started GET "/auth/gds/callback?code=
|
140
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-06-12 15:52:43 +0000
|
141
|
+
Started GET "/auth/gds/callback?code=AbT8SXs2YjD7WJqWc0VjMLIEqVD8gd3rLKwX4q7o6Pc&state=942a5af1a1114e63d229a53a3aabe299e05a74e59d19ad3b" for 127.0.0.1 at 2020-06-12 15:52:43 +0000
|
103
142
|
Processing by AuthenticationsController#callback as HTML
|
104
|
-
Parameters: {"code"=>"
|
143
|
+
Parameters: {"code"=>"AbT8SXs2YjD7WJqWc0VjMLIEqVD8gd3rLKwX4q7o6Pc", "state"=>"942a5af1a1114e63d229a53a3aabe299e05a74e59d19ad3b"}
|
105
144
|
Authenticating with gds_sso strategy
|
106
|
-
[1m[36mUser Load (0.
|
107
|
-
[1m[35m (0.
|
108
|
-
[1m[
|
109
|
-
[1m[35m (
|
110
|
-
[1m[
|
145
|
+
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
146
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
147
|
+
[1m[36mUser Update (0.5ms)[0m [1m[33mUPDATE "users" SET "disabled" = ? WHERE "users"."id" = ?[0m [["disabled", "f"], ["id", 12]]
|
148
|
+
[1m[35m (9.7ms)[0m [1m[36mcommit transaction[0m
|
149
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
150
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
111
151
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
112
|
-
Completed 302 Found in
|
113
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-
|
152
|
+
Completed 302 Found in 19ms (ActiveRecord: 10.9ms)
|
153
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-06-12 15:52:43 +0000
|
114
154
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
115
|
-
[1m[
|
155
|
+
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
156
|
+
Rendering text template
|
116
157
|
Rendered text template (0.0ms)
|
117
|
-
Completed 200 OK in
|
118
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-
|
158
|
+
Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.5ms)
|
159
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-06-12 15:52:43 +0000
|
119
160
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
120
161
|
Authenticating with gds_sso strategy
|
121
162
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
122
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
123
|
-
Started GET "/auth/gds/callback?code=
|
163
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-06-12 15:52:43 +0000
|
164
|
+
Started GET "/auth/gds/callback?code=gCzNxa0UYS9v1u34NFcJQBGWHthk7SL6AQp_IFUHTkQ&state=c33f8168dbdb2f49c4ea77084f5b3c640e941cae38533aad" for 127.0.0.1 at 2020-06-12 15:52:43 +0000
|
124
165
|
Processing by AuthenticationsController#callback as HTML
|
125
|
-
Parameters: {"code"=>"
|
166
|
+
Parameters: {"code"=>"gCzNxa0UYS9v1u34NFcJQBGWHthk7SL6AQp_IFUHTkQ", "state"=>"c33f8168dbdb2f49c4ea77084f5b3c640e941cae38533aad"}
|
126
167
|
Authenticating with gds_sso strategy
|
127
|
-
[1m[36mUser Load (0.
|
128
|
-
[1m[35m (0.1ms)[0m
|
129
|
-
[1m[
|
130
|
-
[1m[35m (0.
|
131
|
-
[1m[
|
168
|
+
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
169
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
170
|
+
[1m[35m (0.2ms)[0m [1m[36mcommit transaction[0m
|
171
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
172
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
132
173
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
133
|
-
Completed 302 Found in
|
134
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-
|
174
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.8ms)
|
175
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-06-12 15:52:43 +0000
|
135
176
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
136
|
-
[1m[
|
177
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
178
|
+
Rendering text template
|
137
179
|
Rendered text template (0.0ms)
|
138
|
-
Completed 200 OK in
|
139
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
180
|
+
Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.3ms)
|
181
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:52:43 +0000
|
140
182
|
Processing by ExampleController#restricted as HTML
|
141
183
|
Authenticating with gds_sso strategy
|
142
184
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
143
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
144
|
-
Started GET "/auth/gds/callback?code=
|
185
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-06-12 15:52:43 +0000
|
186
|
+
Started GET "/auth/gds/callback?code=D6vj8aToDosrjQog3mwDKymQBj5G6Nv9sd7lDD7C7vI&state=11faee918652964aede9dc6ac351b1a31333cabea007ce37" for 127.0.0.1 at 2020-06-12 15:52:44 +0000
|
145
187
|
Processing by AuthenticationsController#callback as HTML
|
146
|
-
Parameters: {"code"=>"
|
188
|
+
Parameters: {"code"=>"D6vj8aToDosrjQog3mwDKymQBj5G6Nv9sd7lDD7C7vI", "state"=>"11faee918652964aede9dc6ac351b1a31333cabea007ce37"}
|
147
189
|
Authenticating with gds_sso strategy
|
148
|
-
[1m[36mUser Load (0.
|
149
|
-
[1m[35m (0.1ms)[0m
|
150
|
-
[1m[
|
151
|
-
[1m[35m (0.
|
152
|
-
[1m[
|
190
|
+
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
191
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
192
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
193
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
194
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
153
195
|
Redirected to http://www.example-client.com/restricted
|
154
|
-
Completed 302 Found in
|
155
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
196
|
+
Completed 302 Found in 8ms (ActiveRecord: 0.9ms)
|
197
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:52:44 +0000
|
156
198
|
Processing by ExampleController#restricted as HTML
|
157
|
-
[1m[
|
158
|
-
|
159
|
-
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
160
|
-
Started GET "/" for 127.0.0.1 at 2020-03-02 14:29:50 +0000
|
161
|
-
Processing by ExampleController#index as HTML
|
199
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
200
|
+
Rendering text template
|
162
201
|
Rendered text template (0.0ms)
|
163
|
-
Completed 200 OK in
|
164
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
202
|
+
Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.3ms)
|
203
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:52:44 +0000
|
165
204
|
Processing by ExampleController#restricted as HTML
|
166
205
|
Authenticating with gds_sso strategy
|
167
|
-
Completed in
|
168
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
169
|
-
Started GET "/auth/gds/callback?code=
|
206
|
+
Completed in 1ms (ActiveRecord: 0.0ms)
|
207
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-06-12 15:52:44 +0000
|
208
|
+
Started GET "/auth/gds/callback?code=GgVBx-pk8SdrXsHbI01gIAgtXSBJms0gCtHAjVNxF18&state=6b4c711f8a12ef292ee88de78c83b99a975fa2c9a123022d" for 127.0.0.1 at 2020-06-12 15:52:44 +0000
|
170
209
|
Processing by AuthenticationsController#callback as HTML
|
171
|
-
Parameters: {"code"=>"
|
210
|
+
Parameters: {"code"=>"GgVBx-pk8SdrXsHbI01gIAgtXSBJms0gCtHAjVNxF18", "state"=>"6b4c711f8a12ef292ee88de78c83b99a975fa2c9a123022d"}
|
172
211
|
Authenticating with gds_sso strategy
|
173
|
-
[1m[36mUser Load (0.
|
174
|
-
[1m[35m (0.
|
175
|
-
[1m[
|
176
|
-
[1m[35m (0.
|
177
|
-
[1m[
|
212
|
+
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
213
|
+
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
214
|
+
[1m[35m (0.2ms)[0m [1m[36mcommit transaction[0m
|
215
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
216
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
178
217
|
Redirected to http://www.example-client.com/restricted
|
179
|
-
Completed 302 Found in
|
180
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
218
|
+
Completed 302 Found in 8ms (ActiveRecord: 1.0ms)
|
219
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:52:44 +0000
|
181
220
|
Processing by ExampleController#restricted as HTML
|
182
|
-
[1m[
|
221
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
222
|
+
Rendering text template
|
183
223
|
Rendered text template (0.0ms)
|
184
|
-
Completed 200 OK in
|
185
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
224
|
+
Completed 200 OK in 3ms (Views: 0.7ms | ActiveRecord: 0.3ms)
|
225
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:52:44 +0000
|
186
226
|
Processing by ExampleController#restricted as HTML
|
187
227
|
Authenticating with gds_sso strategy
|
188
|
-
Completed in
|
189
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
190
|
-
Started GET "/auth/gds/callback?code=
|
228
|
+
Completed in 1ms (ActiveRecord: 0.0ms)
|
229
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-06-12 15:52:44 +0000
|
230
|
+
Started GET "/auth/gds/callback?code=OCGbbCIr-vDoYGR_2sRzEFYdDFr7x9TP4fc2p16jWE8&state=3e3cb71f323db6b923ffdf61d0418b264a5ffebf6160f63d" for 127.0.0.1 at 2020-06-12 15:52:44 +0000
|
191
231
|
Processing by AuthenticationsController#callback as HTML
|
192
|
-
Parameters: {"code"=>"
|
232
|
+
Parameters: {"code"=>"OCGbbCIr-vDoYGR_2sRzEFYdDFr7x9TP4fc2p16jWE8", "state"=>"3e3cb71f323db6b923ffdf61d0418b264a5ffebf6160f63d"}
|
193
233
|
Authenticating with gds_sso strategy
|
194
|
-
[1m[36mUser Load (0.
|
195
|
-
[1m[35m (0.1ms)[0m
|
196
|
-
[1m[
|
197
|
-
[1m[35m (0.1ms)[0m
|
198
|
-
[1m[
|
234
|
+
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
235
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
236
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
237
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
238
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
199
239
|
Redirected to http://www.example-client.com/restricted
|
200
|
-
Completed 302 Found in
|
201
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
240
|
+
Completed 302 Found in 8ms (ActiveRecord: 0.9ms)
|
241
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:52:44 +0000
|
202
242
|
Processing by ExampleController#restricted as HTML
|
203
|
-
[1m[
|
243
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
244
|
+
Rendering text template
|
245
|
+
Rendered text template (0.0ms)
|
246
|
+
Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.3ms)
|
247
|
+
Started GET "/" for 127.0.0.1 at 2020-06-12 15:52:44 +0000
|
248
|
+
Processing by ExampleController#index as HTML
|
249
|
+
Rendering text template
|
204
250
|
Rendered text template (0.0ms)
|
205
|
-
Completed 200 OK in 1ms (Views: 0.
|
206
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
251
|
+
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
|
252
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:52:44 +0000
|
207
253
|
Processing by ExampleController#restricted as HTML
|
208
254
|
Authenticating with gds_sso strategy
|
209
255
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
210
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
211
|
-
Started GET "/auth/gds/callback?code=
|
256
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-06-12 15:52:44 +0000
|
257
|
+
Started GET "/auth/gds/callback?code=NsjNUHfVtSG4vhV7N62Qa7PdOg7fEXWd_5P_PB67O7g&state=cc1ccab0a203831db61f52a6027fb073078780d82473dcb1" for 127.0.0.1 at 2020-06-12 15:52:45 +0000
|
212
258
|
Processing by AuthenticationsController#callback as HTML
|
213
|
-
Parameters: {"code"=>"
|
259
|
+
Parameters: {"code"=>"NsjNUHfVtSG4vhV7N62Qa7PdOg7fEXWd_5P_PB67O7g", "state"=>"cc1ccab0a203831db61f52a6027fb073078780d82473dcb1"}
|
214
260
|
Authenticating with gds_sso strategy
|
215
|
-
[1m[36mUser Load (0.4ms)[0m [
|
216
|
-
[1m[35m (0.
|
217
|
-
[1m[
|
218
|
-
[1m[35m (0.
|
219
|
-
[1m[
|
261
|
+
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
262
|
+
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
263
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
264
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
265
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
220
266
|
Redirected to http://www.example-client.com/restricted
|
221
|
-
Completed 302 Found in
|
222
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
267
|
+
Completed 302 Found in 8ms (ActiveRecord: 1.0ms)
|
268
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:52:45 +0000
|
223
269
|
Processing by ExampleController#restricted as HTML
|
224
|
-
[1m[
|
270
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
271
|
+
Rendering text template
|
225
272
|
Rendered text template (0.0ms)
|
226
|
-
Completed 200 OK in
|
227
|
-
|
273
|
+
Completed 200 OK in 4ms (Views: 1.0ms | ActiveRecord: 0.3ms)
|
274
|
+
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["email", "test@example-client.com"], ["LIMIT", 1]]
|
275
|
+
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
276
|
+
[1m[36mUser Update (0.6ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "t"], ["id", 12]]
|
277
|
+
[1m[35m (8.7ms)[0m [1m[36mcommit transaction[0m
|
278
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:52:45 +0000
|
228
279
|
Processing by ExampleController#restricted as HTML
|
280
|
+
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
229
281
|
Authenticating with gds_sso strategy
|
230
|
-
Completed in
|
231
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
232
|
-
Started GET "/
|
282
|
+
Completed in 3ms (ActiveRecord: 0.4ms)
|
283
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-06-12 15:52:45 +0000
|
284
|
+
Started GET "/auth/gds/callback?code=AAHc6IBqdonjmnnQpy6FsaMe2irrObVMsXS454Jys0A&state=0cf6b1709a48471c092563aff55cc600aa927a910c57837b" for 127.0.0.1 at 2020-06-12 15:52:45 +0000
|
285
|
+
Processing by AuthenticationsController#callback as HTML
|
286
|
+
Parameters: {"code"=>"AAHc6IBqdonjmnnQpy6FsaMe2irrObVMsXS454Jys0A", "state"=>"0cf6b1709a48471c092563aff55cc600aa927a910c57837b"}
|
287
|
+
Authenticating with gds_sso strategy
|
288
|
+
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
289
|
+
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
290
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
291
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
292
|
+
[1m[36mUser Update (0.5ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id", 12]]
|
293
|
+
[1m[35m (8.0ms)[0m [1m[36mcommit transaction[0m
|
294
|
+
Redirected to http://www.example-client.com/restricted
|
295
|
+
Completed 302 Found in 17ms (ActiveRecord: 9.3ms)
|
296
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:52:45 +0000
|
297
|
+
Processing by ExampleController#restricted as HTML
|
298
|
+
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
299
|
+
Rendering text template
|
300
|
+
Rendered text template (0.0ms)
|
301
|
+
Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.4ms)
|
302
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:52:45 +0000
|
233
303
|
Processing by ExampleController#restricted as HTML
|
234
304
|
Authenticating with gds_sso strategy
|
235
305
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
236
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
237
|
-
Started GET "/auth/gds/callback?code=
|
306
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-06-12 15:52:45 +0000
|
307
|
+
Started GET "/auth/gds/callback?code=9BOJnQTFGfLiQWtAWiryzU939095WY-FKCVh3f9WayI&state=d2123ae28df5944198b5ea755b51895a76fbeaf5aa945c75" for 127.0.0.1 at 2020-06-12 15:52:46 +0000
|
238
308
|
Processing by AuthenticationsController#callback as HTML
|
239
|
-
Parameters: {"code"=>"
|
309
|
+
Parameters: {"code"=>"9BOJnQTFGfLiQWtAWiryzU939095WY-FKCVh3f9WayI", "state"=>"d2123ae28df5944198b5ea755b51895a76fbeaf5aa945c75"}
|
240
310
|
Authenticating with gds_sso strategy
|
241
|
-
[1m[36mUser Load (0.
|
242
|
-
[1m[35m (0.1ms)[0m
|
243
|
-
[1m[
|
244
|
-
[1m[35m (0.1ms)[0m
|
245
|
-
[1m[
|
311
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
312
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
313
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
314
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
315
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
246
316
|
Redirected to http://www.example-client.com/restricted
|
247
|
-
Completed 302 Found in
|
248
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
317
|
+
Completed 302 Found in 6ms (ActiveRecord: 0.7ms)
|
318
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:52:46 +0000
|
249
319
|
Processing by ExampleController#restricted as HTML
|
250
|
-
[1m[
|
320
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
321
|
+
Rendering text template
|
251
322
|
Rendered text template (0.0ms)
|
252
|
-
Completed 200 OK in
|
253
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
323
|
+
Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.3ms)
|
324
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-06-13 11:57:46 +0000
|
254
325
|
Processing by ExampleController#restricted as HTML
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
326
|
+
Authenticating with gds_sso strategy
|
327
|
+
Completed in 1ms (ActiveRecord: 0.0ms)
|
328
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-06-13 11:57:46 +0000
|
329
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:52:46 +0000
|
259
330
|
Processing by ExampleController#restricted as HTML
|
260
331
|
Authenticating with gds_sso strategy
|
261
332
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
262
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
263
|
-
Started GET "/auth/gds/callback?code=
|
333
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-06-12 15:52:46 +0000
|
334
|
+
Started GET "/auth/gds/callback?code=AWNqZG3m-uIGse3YK1Rej37QoMdQjrZPyLc2xrbb5mY&state=c3aedbbad6bf9a88f2e32e1d7351acbb7fc1080e85baa97d" for 127.0.0.1 at 2020-06-12 15:52:46 +0000
|
264
335
|
Processing by AuthenticationsController#callback as HTML
|
265
|
-
Parameters: {"code"=>"
|
336
|
+
Parameters: {"code"=>"AWNqZG3m-uIGse3YK1Rej37QoMdQjrZPyLc2xrbb5mY", "state"=>"c3aedbbad6bf9a88f2e32e1d7351acbb7fc1080e85baa97d"}
|
266
337
|
Authenticating with gds_sso strategy
|
267
|
-
[1m[
|
268
|
-
[1m[
|
269
|
-
[1m[35m (0.
|
270
|
-
[1m[
|
271
|
-
[1m[35m (0.1ms)[0m
|
338
|
+
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
339
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
340
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
341
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
342
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
272
343
|
Redirected to http://www.example-client.com/restricted
|
273
|
-
Completed 302 Found in
|
274
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
344
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.7ms)
|
345
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:52:46 +0000
|
275
346
|
Processing by ExampleController#restricted as HTML
|
276
|
-
[1m[36mUser Load (0.
|
347
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
348
|
+
Rendering text template
|
277
349
|
Rendered text template (0.0ms)
|
278
|
-
Completed 200 OK in
|
279
|
-
|
280
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
281
|
-
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 1]]
|
282
|
-
[1m[36m (4.6ms)[0m [1mcommit transaction[0m
|
283
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:29:51 +0000
|
284
|
-
Processing by ExampleController#restricted as HTML
|
285
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
286
|
-
Authenticating with gds_sso strategy
|
287
|
-
Completed in 1ms (ActiveRecord: 0.1ms)
|
288
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-03-02 14:29:51 +0000
|
289
|
-
Started GET "/auth/gds/callback?code=d0346b4fc520ec80b1f696dcd4af42a7b1bad2245256910e243220ead50dfbe8&state=c09460cc3bfbc7967bcf913f08846fb2f1906eaa661c6072" for 127.0.0.1 at 2020-03-02 14:29:51 +0000
|
290
|
-
Processing by AuthenticationsController#callback as HTML
|
291
|
-
Parameters: {"code"=>"d0346b4fc520ec80b1f696dcd4af42a7b1bad2245256910e243220ead50dfbe8", "state"=>"c09460cc3bfbc7967bcf913f08846fb2f1906eaa661c6072"}
|
292
|
-
Authenticating with gds_sso strategy
|
293
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
294
|
-
[1m[35m (0.1ms)[0m begin transaction
|
295
|
-
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
296
|
-
[1m[35m (0.1ms)[0m begin transaction
|
297
|
-
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id", 1]]
|
298
|
-
[1m[35m (4.5ms)[0m commit transaction
|
299
|
-
Redirected to http://www.example-client.com/restricted
|
300
|
-
Completed 302 Found in 9ms (ActiveRecord: 5.0ms)
|
301
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:29:51 +0000
|
350
|
+
Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.3ms)
|
351
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-06-13 11:57:46 +0000
|
302
352
|
Processing by ExampleController#restricted as HTML
|
303
|
-
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
[1m[35m (0.0ms)[0m begin transaction
|
311
|
-
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = ?[0m [["permissions", "---\n- signin\n- extra_permission\n"], ["id", 2]]
|
312
|
-
[1m[35m (5.1ms)[0m commit transaction
|
313
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
314
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d39674"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
315
|
-
[1m[36m (3.7ms)[0m [1mcommit transaction[0m
|
316
|
-
[1m[35m (0.0ms)[0m begin transaction
|
317
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d32273"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
318
|
-
[1m[35m (4.8ms)[0m commit transaction
|
319
|
-
Processing by Api::UserController#reauth as HTML
|
320
|
-
Parameters: {"uid"=>"a1s2d39674"}
|
321
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "a1s2d39674"]]
|
322
|
-
[1m[35m (0.0ms)[0m begin transaction
|
323
|
-
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "t"], ["id", 3]]
|
324
|
-
[1m[35m (3.5ms)[0m commit transaction
|
325
|
-
Completed 200 OK in 6ms (ActiveRecord: 3.9ms)
|
326
|
-
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 3]]
|
327
|
-
[1m[35m (0.0ms)[0m begin transaction
|
328
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d37530"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
329
|
-
[1m[35m (3.2ms)[0m commit transaction
|
330
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
331
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d31850"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
332
|
-
[1m[36m (3.4ms)[0m [1mcommit transaction[0m
|
333
|
-
Processing by Api::UserController#reauth as HTML
|
334
|
-
Parameters: {"uid"=>"nonexistent-user"}
|
335
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "nonexistent-user"]]
|
336
|
-
Completed 200 OK in 1ms (ActiveRecord: 0.1ms)
|
337
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
338
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d3143"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
339
|
-
[1m[36m (3.8ms)[0m [1mcommit transaction[0m
|
340
|
-
[1m[35m (0.0ms)[0m begin transaction
|
341
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d34529"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
342
|
-
[1m[35m (4.3ms)[0m commit transaction
|
343
|
-
Processing by Api::UserController#reauth as HTML
|
344
|
-
Parameters: {"uid"=>"a1s2d3143"}
|
345
|
-
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
346
|
-
Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.3ms)
|
347
|
-
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
348
|
-
Completed 403 Forbidden in 7ms (Views: 6.3ms | ActiveRecord: 0.0ms)
|
349
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
350
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d33656"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
351
|
-
[1m[36m (3.5ms)[0m [1mcommit transaction[0m
|
352
|
-
[1m[35m (0.0ms)[0m begin transaction
|
353
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d31326"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
354
|
-
[1m[35m (5.1ms)[0m commit transaction
|
355
|
-
Processing by Api::UserController#update as HTML
|
356
|
-
Parameters: {"uid"=>"a1s2d33656"}
|
357
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "a1s2d33656"]]
|
358
|
-
[1m[35m (0.0ms)[0m begin transaction
|
359
|
-
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "email" = ?, "name" = ?, "permissions" = ?, "organisation_slug" = ?, "organisation_content_id" = ? WHERE "users"."id" = ?[0m [["email", "user@domain.com"], ["name", "Joshua Marshall"], ["permissions", "---\n- signin\n- new permission\n"], ["organisation_slug", "justice-league"], ["organisation_content_id", "aae1319e-5788-4677-998c-f1a53af528d0"], ["id", 9]]
|
360
|
-
[1m[35m (4.1ms)[0m commit transaction
|
361
|
-
Completed 200 OK in 7ms (ActiveRecord: 4.5ms)
|
362
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 9]]
|
363
|
-
[1m[35m (0.1ms)[0m begin transaction
|
364
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d34761"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
365
|
-
[1m[35m (3.6ms)[0m commit transaction
|
366
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
367
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d36956"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
368
|
-
[1m[36m (3.7ms)[0m [1mcommit transaction[0m
|
369
|
-
Processing by Api::UserController#update as HTML
|
370
|
-
Parameters: {"uid"=>"a1s2d34761"}
|
371
|
-
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
372
|
-
Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
|
373
|
-
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
374
|
-
Completed 403 Forbidden in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
|
375
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "asd"]]
|
376
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["email", "user@example.com"]]
|
377
|
-
[1m[35m (0.0ms)[0m begin transaction
|
378
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions", "organisation_slug", "organisation_content_id", "disabled") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["uid", "asd"], ["email", "user@example.com"], ["name", "A Name"], ["permissions", "---\n- signin\n"], ["organisation_slug", "hmrc"], ["organisation_content_id", "67a2b78d-eee3-45b3-80e2-792e7f71cecc"], ["disabled", nil]]
|
379
|
-
[1m[35m (3.8ms)[0m commit transaction
|
380
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "asd"]]
|
381
|
-
[1m[35m (0.0ms)[0m begin transaction
|
382
|
-
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
383
|
-
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "users"[0m
|
384
|
-
[1m[35m (1.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
385
|
-
[1m[35m (6.8ms)[0m [1m[35mCREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "uid" varchar NOT NULL, "email" varchar NOT NULL, "remotely_signed_out" boolean, "permissions" text, "organisation_slug" varchar, "organisation_content_id" varchar, "disabled" boolean DEFAULT 'f')[0m
|
386
|
-
[1m[35m (4.9ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
387
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
388
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
389
|
-
[1m[36mActiveRecord::InternalMetadata Create (0.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2020-03-02 14:30:02.427819"], ["updated_at", "2020-03-02 14:30:02.427819"]]
|
390
|
-
[1m[35m (3.1ms)[0m [1m[36mcommit transaction[0m
|
391
|
-
[1m[35m (4.5ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
392
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
393
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
394
|
-
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
395
|
-
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["email", "dummyapiuser@domain.com"], ["LIMIT", 1]]
|
396
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
397
|
-
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Dummy API user created by gds-sso"], ["uid", "2768"], ["email", "dummyapiuser@domain.com"], ["permissions", "---\n- signin\n"]]
|
398
|
-
[1m[35m (3.9ms)[0m [1m[36mcommit transaction[0m
|
399
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
400
|
-
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = ?[0m [["permissions", "---\n- signin\n- extra_permission\n"], ["id", 1]]
|
401
|
-
[1m[35m (3.9ms)[0m [1m[36mcommit transaction[0m
|
402
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-03-02 14:30:03 +0000
|
403
|
-
Processing by ExampleController#this_requires_signin_permission as JSON
|
353
|
+
Authenticating with gds_sso strategy
|
354
|
+
Completed in 1ms (ActiveRecord: 0.0ms)
|
355
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-06-13 11:57:46 +0000
|
356
|
+
Started GET "/auth/gds/callback?code=hnnbJVh7CLnARnqDPgl46iljnXXzRik6SpMXuknRRdg&state=4a9222d796b215689061c58a212391c4e3349824aebf6754" for 127.0.0.1 at 2020-06-13 11:57:46 +0000
|
357
|
+
Processing by AuthenticationsController#callback as HTML
|
358
|
+
Parameters: {"code"=>"hnnbJVh7CLnARnqDPgl46iljnXXzRik6SpMXuknRRdg", "state"=>"4a9222d796b215689061c58a212391c4e3349824aebf6754"}
|
359
|
+
Authenticating with gds_sso strategy
|
404
360
|
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
405
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["email", "test@example-client.com"], ["LIMIT", 1]]
|
406
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
407
|
-
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions", "disabled") VALUES (?, ?, ?, ?, ?)[0m [["name", "Test User"], ["uid", "integration-uid"], ["email", "test@example-client.com"], ["permissions", "---\n- signin\n"], ["disabled", nil]]
|
408
|
-
[1m[35m (3.3ms)[0m [1m[36mcommit transaction[0m
|
409
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
410
361
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
411
362
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
412
|
-
[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]]
|
413
363
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
414
364
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
415
|
-
|
416
|
-
|
417
|
-
|
418
|
-
|
419
|
-
[1m[36mUser
|
420
|
-
[1m[35m (4.3ms)[0m [1m[36mcommit transaction[0m
|
365
|
+
Redirected to http://www.example-client.com/restricted
|
366
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.7ms)
|
367
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-06-13 11:57:46 +0000
|
368
|
+
Processing by ExampleController#restricted as HTML
|
369
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
421
370
|
Rendering text template
|
422
371
|
Rendered text template (0.0ms)
|
423
|
-
Completed 200 OK in
|
424
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
425
|
-
Processing by ExampleController#restricted as
|
426
|
-
|
427
|
-
|
428
|
-
|
429
|
-
|
372
|
+
Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.3ms)
|
373
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:52:46 +0000
|
374
|
+
Processing by ExampleController#restricted as HTML
|
375
|
+
Authenticating with gds_sso strategy
|
376
|
+
Completed in 0ms (ActiveRecord: 0.0ms)
|
377
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-06-12 15:52:46 +0000
|
378
|
+
Started GET "/auth/gds/callback?code=QpWFyXKxMVR094o1oISpgUJkKFDvfKV0900glRtQq1M&state=6ed8d7e0a8936f57670b834b8102d232165219569bd5dd69" for 127.0.0.1 at 2020-06-12 15:52:46 +0000
|
379
|
+
Processing by AuthenticationsController#callback as HTML
|
380
|
+
Parameters: {"code"=>"QpWFyXKxMVR094o1oISpgUJkKFDvfKV0900glRtQq1M", "state"=>"6ed8d7e0a8936f57670b834b8102d232165219569bd5dd69"}
|
381
|
+
Authenticating with gds_sso strategy
|
382
|
+
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
430
383
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
431
384
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
432
|
-
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
433
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
434
|
-
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
435
|
-
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
436
385
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
437
|
-
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
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[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
440
|
-
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
441
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
442
386
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
387
|
+
Redirected to http://www.example-client.com/restricted
|
388
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.7ms)
|
389
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:52:46 +0000
|
390
|
+
Processing by ExampleController#restricted as HTML
|
391
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
392
|
+
Rendering text template
|
393
|
+
Rendered text template (0.0ms)
|
394
|
+
Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.3ms)
|
395
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-06-13 11:47:46 +0000
|
396
|
+
Processing by ExampleController#restricted as HTML
|
397
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
443
398
|
Rendering text template
|
444
399
|
Rendered text template (0.0ms)
|
445
|
-
Completed 200 OK in
|
446
|
-
|
400
|
+
Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.3ms)
|
401
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["email", "dummyapiuser@domain.com"], ["LIMIT", 1]]
|
402
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
403
|
+
[1m[36mUser Create (0.6ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Dummy API user created by gds-sso"], ["uid", "290"], ["email", "dummyapiuser@domain.com"], ["permissions", "---\n- signin\n"]]
|
404
|
+
[1m[35m (7.0ms)[0m [1m[36mcommit transaction[0m
|
405
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
406
|
+
[1m[36mUser Update (0.5ms)[0m [1m[33mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = ?[0m [["permissions", "---\n- signin\n- extra_permission\n"], ["id", 13]]
|
407
|
+
[1m[35m (6.3ms)[0m [1m[36mcommit transaction[0m
|
408
|
+
[1m[35m (1.4ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
409
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
410
|
+
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "users"[0m
|
411
|
+
[1m[35m (7.3ms)[0m [1m[35mCREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "uid" varchar NOT NULL, "email" varchar NOT NULL, "remotely_signed_out" boolean, "permissions" text, "organisation_slug" varchar, "organisation_content_id" varchar, "disabled" boolean DEFAULT 0)[0m
|
412
|
+
[1m[35m (4.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.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
414
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
415
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.2ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2020-06-12 15:52:54.919134"], ["updated_at", "2020-06-12 15:52:54.919134"]]
|
416
|
+
[1m[35m (4.2ms)[0m [1m[36mcommit transaction[0m
|
417
|
+
[1m[35m (5.4ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
418
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
419
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
420
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:52:55 +0000
|
421
|
+
Processing by ExampleController#restricted as JSON
|
422
|
+
Completed in 43ms (ActiveRecord: 0.0ms | Allocations: 3118)
|
423
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:52:55 +0000
|
424
|
+
Processing by ExampleController#restricted as JSON
|
425
|
+
Completed in 21ms (ActiveRecord: 0.0ms | Allocations: 1962)
|
426
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:52:55 +0000
|
447
427
|
Processing by ExampleController#restricted as JSON
|
448
|
-
|
449
|
-
|
428
|
+
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
429
|
+
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["email", "test@example-client.com"], ["LIMIT", 1]]
|
430
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
431
|
+
[1m[36mUser Create (0.6ms)[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]]
|
432
|
+
[1m[35m (5.0ms)[0m [1m[36mcommit transaction[0m
|
433
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
434
|
+
[1m[36mCACHE User Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
435
|
+
[1m[36mCACHE User Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
436
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
437
|
+
[1m[36mUser Update (0.5ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", 0], ["id", 1]]
|
438
|
+
[1m[35m (7.7ms)[0m [1m[36mcommit transaction[0m
|
439
|
+
Rendering text template
|
440
|
+
Rendered text template (Duration: 0.1ms | Allocations: 3)
|
441
|
+
Completed 200 OK in 161ms (Views: 7.4ms | ActiveRecord: 17.6ms | Allocations: 16448)
|
442
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-06-12 15:52:55 +0000
|
443
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
444
|
+
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
445
|
+
[1m[36mCACHE User Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
446
|
+
[1m[36mCACHE User Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
447
|
+
[1m[36mCACHE User Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
448
|
+
Rendering text template
|
449
|
+
Rendered text template (Duration: 0.1ms | Allocations: 1)
|
450
|
+
Completed 200 OK in 113ms (Views: 0.7ms | ActiveRecord: 0.6ms | Allocations: 6800)
|
451
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:52:56 +0000
|
450
452
|
Processing by ExampleController#restricted as HTML
|
451
453
|
Authenticating with gds_sso strategy
|
452
|
-
Completed in
|
453
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
454
|
-
Started GET "/auth/gds/callback?code=
|
454
|
+
Completed in 1ms (ActiveRecord: 0.0ms | Allocations: 118)
|
455
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-06-12 15:52:56 +0000
|
456
|
+
Started GET "/auth/gds/callback?code=b_2-Ib_r2oPjmZBVJNOIlRKR8KuTEsRD6FAPBlgj3uA&state=ef5ed429ff69d99cd311f3c998a730fea024b5bb42461073" for 127.0.0.1 at 2020-06-12 15:52:56 +0000
|
455
457
|
Processing by AuthenticationsController#callback as HTML
|
456
|
-
Parameters: {"code"=>"
|
458
|
+
Parameters: {"code"=>"b_2-Ib_r2oPjmZBVJNOIlRKR8KuTEsRD6FAPBlgj3uA", "state"=>"ef5ed429ff69d99cd311f3c998a730fea024b5bb42461073"}
|
457
459
|
Authenticating with gds_sso strategy
|
458
|
-
[1m[36mUser Load (0.
|
459
|
-
[1m[35m (0.
|
460
|
-
[1m[36mUser Update (0.
|
461
|
-
[1m[35m (
|
462
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
463
|
-
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
460
|
+
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
461
|
+
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
462
|
+
[1m[36mUser Update (0.6ms)[0m [1m[33mUPDATE "users" SET "disabled" = ? WHERE "users"."id" = ?[0m [["disabled", 0], ["id", 1]]
|
463
|
+
[1m[35m (5.7ms)[0m [1m[36mcommit transaction[0m
|
464
464
|
Redirected to http://www.example-client.com/restricted
|
465
|
-
Completed 302 Found in
|
466
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
465
|
+
Completed 302 Found in 19ms (ActiveRecord: 6.9ms | Allocations: 1273)
|
466
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:52:56 +0000
|
467
467
|
Processing by ExampleController#restricted as HTML
|
468
|
-
[1m[36mUser Load (
|
468
|
+
[1m[36mUser Load (2.6ms)[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]]
|
469
469
|
Rendering text template
|
470
|
-
Rendered text template (0.
|
471
|
-
Completed 200 OK in
|
472
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
470
|
+
Rendered text template (Duration: 0.1ms | Allocations: 1)
|
471
|
+
Completed 200 OK in 9ms (Views: 0.8ms | ActiveRecord: 2.6ms | Allocations: 778)
|
472
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:52:56 +0000
|
473
473
|
Processing by ExampleController#restricted as HTML
|
474
474
|
Authenticating with gds_sso strategy
|
475
|
-
Completed in 1ms (ActiveRecord: 0.0ms)
|
476
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
477
|
-
Started GET "/auth/gds/callback?code=
|
475
|
+
Completed in 1ms (ActiveRecord: 0.0ms | Allocations: 117)
|
476
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-06-12 15:52:56 +0000
|
477
|
+
Started GET "/auth/gds/callback?code=AJZBakZ1kYOAjgThoZP9jDQzffzNHapklcR02rTxEsY&state=70e7030a9f25bf91b727397b6b26e8bc55d1ab7eb3eb17a3" for 127.0.0.1 at 2020-06-12 15:52:56 +0000
|
478
478
|
Processing by AuthenticationsController#callback as HTML
|
479
|
-
Parameters: {"code"=>"
|
479
|
+
Parameters: {"code"=>"AJZBakZ1kYOAjgThoZP9jDQzffzNHapklcR02rTxEsY", "state"=>"70e7030a9f25bf91b727397b6b26e8bc55d1ab7eb3eb17a3"}
|
480
480
|
Authenticating with gds_sso strategy
|
481
|
-
[1m[36mUser Load (0.
|
482
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
483
|
-
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
484
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
485
|
-
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
481
|
+
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
486
482
|
Redirected to http://www.example-client.com/restricted
|
487
|
-
Completed 302 Found in
|
488
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
483
|
+
Completed 302 Found in 6ms (ActiveRecord: 0.4ms | Allocations: 1020)
|
484
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:52:56 +0000
|
489
485
|
Processing by ExampleController#restricted as HTML
|
490
|
-
[1m[36mUser Load (0.
|
486
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
|
491
487
|
Rendering text template
|
492
|
-
Rendered text template (0.
|
493
|
-
Completed 200 OK in
|
494
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
488
|
+
Rendered text template (Duration: 0.1ms | Allocations: 1)
|
489
|
+
Completed 200 OK in 4ms (Views: 0.6ms | ActiveRecord: 0.3ms | Allocations: 716)
|
490
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:52:56 +0000
|
495
491
|
Processing by ExampleController#restricted as HTML
|
496
492
|
Authenticating with gds_sso strategy
|
497
|
-
Completed in
|
498
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
499
|
-
Started GET "/auth/gds/callback?code=
|
493
|
+
Completed in 1ms (ActiveRecord: 0.0ms | Allocations: 117)
|
494
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-06-12 15:52:56 +0000
|
495
|
+
Started GET "/auth/gds/callback?code=DPCDsQu1AQQBnstzhyy8JQj49qACdapfJIWdPPri0f4&state=88752f4326da8a89f89eac02f30f2b38aaccf23d149ad603" for 127.0.0.1 at 2020-06-12 15:52:57 +0000
|
500
496
|
Processing by AuthenticationsController#callback as HTML
|
501
|
-
Parameters: {"code"=>"
|
497
|
+
Parameters: {"code"=>"DPCDsQu1AQQBnstzhyy8JQj49qACdapfJIWdPPri0f4", "state"=>"88752f4326da8a89f89eac02f30f2b38aaccf23d149ad603"}
|
502
498
|
Authenticating with gds_sso strategy
|
503
|
-
[1m[36mUser Load (0.
|
504
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
505
|
-
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
506
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
507
|
-
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
499
|
+
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
508
500
|
Redirected to http://www.example-client.com/restricted
|
509
|
-
Completed 302 Found in
|
510
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
501
|
+
Completed 302 Found in 6ms (ActiveRecord: 0.4ms | Allocations: 1016)
|
502
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:52:57 +0000
|
511
503
|
Processing by ExampleController#restricted as HTML
|
512
|
-
[1m[36mUser Load (0.
|
504
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
|
513
505
|
Rendering text template
|
514
|
-
Rendered text template (0.
|
515
|
-
Completed 200 OK in
|
516
|
-
Started GET "/" for 127.0.0.1 at 2020-
|
506
|
+
Rendered text template (Duration: 0.1ms | Allocations: 1)
|
507
|
+
Completed 200 OK in 4ms (Views: 0.6ms | ActiveRecord: 0.3ms | Allocations: 714)
|
508
|
+
Started GET "/" for 127.0.0.1 at 2020-06-12 15:52:57 +0000
|
517
509
|
Processing by ExampleController#index as HTML
|
518
510
|
Rendering text template
|
519
|
-
Rendered text template (0.
|
520
|
-
Completed 200 OK in
|
521
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-
|
511
|
+
Rendered text template (Duration: 0.1ms | Allocations: 1)
|
512
|
+
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms | Allocations: 153)
|
513
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-06-12 15:52:57 +0000
|
522
514
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
523
515
|
Authenticating with gds_sso strategy
|
524
|
-
Completed in
|
525
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
526
|
-
Started GET "/auth/gds/callback?code=
|
516
|
+
Completed in 1ms (ActiveRecord: 0.0ms | Allocations: 117)
|
517
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-06-12 15:52:57 +0000
|
518
|
+
Started GET "/auth/gds/callback?code=k-RDkHpeXDmdhstyHWuZ-Ow_UnlRhftWFB5Hmr19woo&state=42671e294792aec9bd0270d48a5c921f5119fe389c35a95c" for 127.0.0.1 at 2020-06-12 15:52:57 +0000
|
527
519
|
Processing by AuthenticationsController#callback as HTML
|
528
|
-
Parameters: {"code"=>"
|
520
|
+
Parameters: {"code"=>"k-RDkHpeXDmdhstyHWuZ-Ow_UnlRhftWFB5Hmr19woo", "state"=>"42671e294792aec9bd0270d48a5c921f5119fe389c35a95c"}
|
529
521
|
Authenticating with gds_sso strategy
|
530
|
-
[1m[36mUser Load (0.
|
531
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
532
|
-
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
533
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
534
|
-
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
522
|
+
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
535
523
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
536
|
-
Completed 302 Found in
|
537
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-
|
524
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.4ms | Allocations: 1016)
|
525
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-06-12 15:52:57 +0000
|
538
526
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
539
|
-
[1m[36mUser Load (0.
|
527
|
+
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
|
540
528
|
Rendering text template
|
541
|
-
Rendered text template (0.
|
542
|
-
Completed 200 OK in
|
543
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-
|
529
|
+
Rendered text template (Duration: 0.1ms | Allocations: 1)
|
530
|
+
Completed 200 OK in 4ms (Views: 0.7ms | ActiveRecord: 0.4ms | Allocations: 714)
|
531
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-06-12 15:52:57 +0000
|
544
532
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
545
533
|
Authenticating with gds_sso strategy
|
546
|
-
Completed in
|
547
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
548
|
-
Started GET "/auth/gds/callback?code=
|
534
|
+
Completed in 1ms (ActiveRecord: 0.0ms | Allocations: 117)
|
535
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-06-12 15:52:57 +0000
|
536
|
+
Started GET "/auth/gds/callback?code=q5639lKIR09UopFgnm45-ZfwfHAiytUMJGvXZenppbQ&state=e7cddc284afd633a1da4cbbe6531e0bb0cbb306796328249" for 127.0.0.1 at 2020-06-12 15:52:57 +0000
|
549
537
|
Processing by AuthenticationsController#callback as HTML
|
550
|
-
Parameters: {"code"=>"
|
538
|
+
Parameters: {"code"=>"q5639lKIR09UopFgnm45-ZfwfHAiytUMJGvXZenppbQ", "state"=>"e7cddc284afd633a1da4cbbe6531e0bb0cbb306796328249"}
|
551
539
|
Authenticating with gds_sso strategy
|
552
|
-
[1m[36mUser Load (0.
|
553
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
554
|
-
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
555
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
556
|
-
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
540
|
+
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
557
541
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
558
|
-
Completed 302 Found in
|
559
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-
|
542
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.4ms | Allocations: 1016)
|
543
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-06-12 15:52:57 +0000
|
560
544
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
561
|
-
[1m[36mUser Load (0.
|
545
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
|
562
546
|
Rendering text template
|
563
|
-
Rendered text template (0.
|
564
|
-
Completed 200 OK in
|
565
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
547
|
+
Rendered text template (Duration: 0.1ms | Allocations: 1)
|
548
|
+
Completed 200 OK in 4ms (Views: 0.8ms | ActiveRecord: 0.3ms | Allocations: 714)
|
549
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:52:57 +0000
|
566
550
|
Processing by ExampleController#restricted as HTML
|
567
551
|
Authenticating with gds_sso strategy
|
568
|
-
Completed in
|
569
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
570
|
-
Started GET "/auth/gds/callback?code=
|
552
|
+
Completed in 1ms (ActiveRecord: 0.0ms | Allocations: 117)
|
553
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-06-12 15:52:57 +0000
|
554
|
+
Started GET "/auth/gds/callback?code=N7bL-VXztK2wSG1Ggj72eOeXbR4t-IiNtNmvPpTDGAs&state=f0b15534380aeb9a3da9fee4d669204f5e206fe9ab5090e4" for 127.0.0.1 at 2020-06-12 15:52:58 +0000
|
571
555
|
Processing by AuthenticationsController#callback as HTML
|
572
|
-
Parameters: {"code"=>"
|
556
|
+
Parameters: {"code"=>"N7bL-VXztK2wSG1Ggj72eOeXbR4t-IiNtNmvPpTDGAs", "state"=>"f0b15534380aeb9a3da9fee4d669204f5e206fe9ab5090e4"}
|
573
557
|
Authenticating with gds_sso strategy
|
574
|
-
[1m[36mUser Load (0.
|
575
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
576
|
-
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
577
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
578
|
-
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
558
|
+
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
579
559
|
Redirected to http://www.example-client.com/restricted
|
580
|
-
Completed 302 Found in
|
581
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
560
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.5ms | Allocations: 1016)
|
561
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:52:58 +0000
|
582
562
|
Processing by ExampleController#restricted as HTML
|
583
|
-
[1m[36mUser Load (0.
|
563
|
+
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
|
584
564
|
Rendering text template
|
585
|
-
Rendered text template (0.
|
586
|
-
Completed 200 OK in
|
587
|
-
|
565
|
+
Rendered text template (Duration: 0.1ms | Allocations: 1)
|
566
|
+
Completed 200 OK in 4ms (Views: 0.7ms | ActiveRecord: 0.4ms | Allocations: 714)
|
567
|
+
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["email", "test@example-client.com"], ["LIMIT", 1]]
|
568
|
+
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
569
|
+
[1m[36mUser Update (0.6ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", 1], ["id", 1]]
|
570
|
+
[1m[35m (7.5ms)[0m [1m[36mcommit transaction[0m
|
571
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:52:58 +0000
|
572
|
+
Processing by ExampleController#restricted as HTML
|
573
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
|
574
|
+
Authenticating with gds_sso strategy
|
575
|
+
Completed in 3ms (ActiveRecord: 0.3ms | Allocations: 583)
|
576
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-06-12 15:52:58 +0000
|
577
|
+
Started GET "/auth/gds/callback?code=7QHUtQfh2XG49CTFR8aw-2iTd6QOjfWBiWDrHihsE2Y&state=a559f084d4105bb1a40f327b63614cca5e0020555cfa08af" for 127.0.0.1 at 2020-06-12 15:52:58 +0000
|
578
|
+
Processing by AuthenticationsController#callback as HTML
|
579
|
+
Parameters: {"code"=>"7QHUtQfh2XG49CTFR8aw-2iTd6QOjfWBiWDrHihsE2Y", "state"=>"a559f084d4105bb1a40f327b63614cca5e0020555cfa08af"}
|
580
|
+
Authenticating with gds_sso strategy
|
581
|
+
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
582
|
+
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
583
|
+
[1m[36mUser Update (0.6ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", 0], ["id", 1]]
|
584
|
+
[1m[35m (6.5ms)[0m [1m[36mcommit transaction[0m
|
585
|
+
Redirected to http://www.example-client.com/restricted
|
586
|
+
Completed 302 Found in 16ms (ActiveRecord: 7.7ms | Allocations: 1226)
|
587
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:52:58 +0000
|
588
588
|
Processing by ExampleController#restricted as HTML
|
589
|
-
[1m[36mUser Load (0.
|
589
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
|
590
590
|
Rendering text template
|
591
|
-
Rendered text template (0.
|
592
|
-
Completed 200 OK in
|
593
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
591
|
+
Rendered text template (Duration: 0.1ms | Allocations: 1)
|
592
|
+
Completed 200 OK in 4ms (Views: 0.7ms | ActiveRecord: 0.3ms | Allocations: 712)
|
593
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:52:58 +0000
|
594
594
|
Processing by ExampleController#restricted as HTML
|
595
595
|
Authenticating with gds_sso strategy
|
596
|
-
Completed in
|
597
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
598
|
-
Started GET "/auth/gds/callback?code=
|
596
|
+
Completed in 1ms (ActiveRecord: 0.0ms | Allocations: 117)
|
597
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-06-12 15:52:58 +0000
|
598
|
+
Started GET "/auth/gds/callback?code=xqlgPJm49_cEnbmq9W3ecIyz1-hRRCmwO8iOKM5Ldng&state=009439f00c662ca83b0bab98b996536e179293a5622ae9e7" for 127.0.0.1 at 2020-06-12 15:52:58 +0000
|
599
599
|
Processing by AuthenticationsController#callback as HTML
|
600
|
-
Parameters: {"code"=>"
|
600
|
+
Parameters: {"code"=>"xqlgPJm49_cEnbmq9W3ecIyz1-hRRCmwO8iOKM5Ldng", "state"=>"009439f00c662ca83b0bab98b996536e179293a5622ae9e7"}
|
601
601
|
Authenticating with gds_sso strategy
|
602
|
-
[1m[36mUser Load (0.
|
603
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
604
|
-
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
605
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
606
|
-
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
602
|
+
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
607
603
|
Redirected to http://www.example-client.com/restricted
|
608
|
-
Completed 302 Found in
|
609
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
604
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.4ms | Allocations: 1016)
|
605
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:52:58 +0000
|
610
606
|
Processing by ExampleController#restricted as HTML
|
611
|
-
[1m[36mUser Load (0.
|
607
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
|
612
608
|
Rendering text template
|
613
|
-
Rendered text template (0.0ms)
|
614
|
-
Completed 200 OK in
|
615
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
609
|
+
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
610
|
+
Completed 200 OK in 4ms (Views: 0.7ms | ActiveRecord: 0.3ms | Allocations: 714)
|
611
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-06-13 11:57:58 +0000
|
616
612
|
Processing by ExampleController#restricted as HTML
|
617
613
|
Authenticating with gds_sso strategy
|
618
|
-
Completed in
|
619
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
620
|
-
Started GET "/auth/gds/callback?code=
|
614
|
+
Completed in 1ms (ActiveRecord: 0.0ms | Allocations: 507)
|
615
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-06-13 11:57:58 +0000
|
616
|
+
Started GET "/auth/gds/callback?code=z1291mcVUg_s8ksaI-nNIokU7ECu3yv1YDNQiFa8i50&state=1ea28baeb6876edadccf890a879f7d369f750f9f3f27b31f" for 127.0.0.1 at 2020-06-13 11:57:58 +0000
|
621
617
|
Processing by AuthenticationsController#callback as HTML
|
622
|
-
Parameters: {"code"=>"
|
618
|
+
Parameters: {"code"=>"z1291mcVUg_s8ksaI-nNIokU7ECu3yv1YDNQiFa8i50", "state"=>"1ea28baeb6876edadccf890a879f7d369f750f9f3f27b31f"}
|
623
619
|
Authenticating with gds_sso strategy
|
624
|
-
[1m[36mUser Load (0.
|
625
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
626
|
-
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
627
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
628
|
-
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
620
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
629
621
|
Redirected to http://www.example-client.com/restricted
|
630
|
-
Completed 302 Found in
|
631
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
622
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.3ms | Allocations: 1218)
|
623
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-06-13 11:57:58 +0000
|
632
624
|
Processing by ExampleController#restricted as HTML
|
633
|
-
[1m[36mUser Load (0.
|
625
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
|
634
626
|
Rendering text template
|
635
|
-
Rendered text template (0.0ms)
|
636
|
-
Completed 200 OK in
|
637
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
627
|
+
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
628
|
+
Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.3ms | Allocations: 939)
|
629
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:52:58 +0000
|
638
630
|
Processing by ExampleController#restricted as HTML
|
639
631
|
Authenticating with gds_sso strategy
|
640
|
-
Completed in
|
641
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
642
|
-
Started GET "/auth/gds/callback?code=
|
632
|
+
Completed in 1ms (ActiveRecord: 0.0ms | Allocations: 117)
|
633
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-06-12 15:52:58 +0000
|
634
|
+
Started GET "/auth/gds/callback?code=aaiEaWwk7_R0hXY0cdRRKscYM5RoxBuKEeSzkJzMrbo&state=5986582c6f804fbf03b80e2b1c92ff6cf3011ad9e32474f7" for 127.0.0.1 at 2020-06-12 15:52:59 +0000
|
643
635
|
Processing by AuthenticationsController#callback as HTML
|
644
|
-
Parameters: {"code"=>"
|
636
|
+
Parameters: {"code"=>"aaiEaWwk7_R0hXY0cdRRKscYM5RoxBuKEeSzkJzMrbo", "state"=>"5986582c6f804fbf03b80e2b1c92ff6cf3011ad9e32474f7"}
|
645
637
|
Authenticating with gds_sso strategy
|
646
|
-
[1m[36mUser Load (0.
|
647
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
648
|
-
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
649
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
650
|
-
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
638
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
651
639
|
Redirected to http://www.example-client.com/restricted
|
652
|
-
Completed 302 Found in
|
653
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
640
|
+
Completed 302 Found in 31ms (ActiveRecord: 0.3ms | Allocations: 1020)
|
641
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:52:59 +0000
|
654
642
|
Processing by ExampleController#restricted as HTML
|
655
|
-
[1m[36mUser Load (0.
|
643
|
+
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
|
656
644
|
Rendering text template
|
657
|
-
Rendered text template (0.0ms)
|
658
|
-
Completed 200 OK in
|
659
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
645
|
+
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
646
|
+
Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.4ms | Allocations: 716)
|
647
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-06-13 11:57:59 +0000
|
660
648
|
Processing by ExampleController#restricted as HTML
|
661
649
|
Authenticating with gds_sso strategy
|
662
|
-
Completed in 1ms (ActiveRecord: 0.0ms)
|
663
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
664
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
650
|
+
Completed in 1ms (ActiveRecord: 0.0ms | Allocations: 507)
|
651
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-06-13 11:57:59 +0000
|
652
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:52:59 +0000
|
665
653
|
Processing by ExampleController#restricted as HTML
|
666
654
|
Authenticating with gds_sso strategy
|
667
|
-
Completed in
|
668
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
669
|
-
Started GET "/auth/gds/callback?code=
|
655
|
+
Completed in 1ms (ActiveRecord: 0.0ms | Allocations: 117)
|
656
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-06-12 15:52:59 +0000
|
657
|
+
Started GET "/auth/gds/callback?code=CZGHcjZyGZDtRxEXepFZBkZn6RSGHZ8qgoJuFElI0AA&state=892b5375f170b477e9da34b832557ee1532a8fa048ed8e81" for 127.0.0.1 at 2020-06-12 15:52:59 +0000
|
670
658
|
Processing by AuthenticationsController#callback as HTML
|
671
|
-
Parameters: {"code"=>"
|
659
|
+
Parameters: {"code"=>"CZGHcjZyGZDtRxEXepFZBkZn6RSGHZ8qgoJuFElI0AA", "state"=>"892b5375f170b477e9da34b832557ee1532a8fa048ed8e81"}
|
672
660
|
Authenticating with gds_sso strategy
|
673
|
-
[1m[36mUser Load (0.
|
674
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
675
|
-
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
676
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
677
|
-
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
661
|
+
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
678
662
|
Redirected to http://www.example-client.com/restricted
|
679
|
-
Completed 302 Found in
|
680
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
663
|
+
Completed 302 Found in 8ms (ActiveRecord: 0.4ms | Allocations: 1016)
|
664
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:52:59 +0000
|
681
665
|
Processing by ExampleController#restricted as HTML
|
682
|
-
[1m[36mUser Load (0.
|
666
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
|
683
667
|
Rendering text template
|
684
|
-
Rendered text template (0.
|
685
|
-
Completed 200 OK in
|
686
|
-
|
687
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
688
|
-
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "t"], ["id", 2]]
|
689
|
-
[1m[35m (5.4ms)[0m [1m[36mcommit transaction[0m
|
690
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:05 +0000
|
668
|
+
Rendered text template (Duration: 0.1ms | Allocations: 1)
|
669
|
+
Completed 200 OK in 4ms (Views: 0.7ms | ActiveRecord: 0.3ms | Allocations: 714)
|
670
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-06-13 11:47:59 +0000
|
691
671
|
Processing by ExampleController#restricted as HTML
|
692
|
-
[1m[36mUser Load (0.
|
693
|
-
Authenticating with gds_sso strategy
|
694
|
-
Completed in 1ms (ActiveRecord: 0.1ms)
|
695
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-03-02 14:30:05 +0000
|
696
|
-
Started GET "/auth/gds/callback?code=2f18120d84e864a48f8f0d9abdf73868f1377630d70b779735a50ab304e20026&state=3806da0be94442742b5dff39d7928a0aaa3c8f424d58db63" for 127.0.0.1 at 2020-03-02 14:30:05 +0000
|
697
|
-
Processing by AuthenticationsController#callback as HTML
|
698
|
-
Parameters: {"code"=>"2f18120d84e864a48f8f0d9abdf73868f1377630d70b779735a50ab304e20026", "state"=>"3806da0be94442742b5dff39d7928a0aaa3c8f424d58db63"}
|
699
|
-
Authenticating with gds_sso strategy
|
700
|
-
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
701
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
702
|
-
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
703
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
704
|
-
[1m[36mUser Update (0.3ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id", 2]]
|
705
|
-
[1m[35m (3.1ms)[0m [1m[36mcommit transaction[0m
|
706
|
-
Redirected to http://www.example-client.com/restricted
|
707
|
-
Completed 302 Found in 7ms (ActiveRecord: 3.7ms)
|
708
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:05 +0000
|
709
|
-
Processing by ExampleController#restricted as HTML
|
710
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
672
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
|
711
673
|
Rendering text template
|
712
|
-
Rendered text template (0.1ms)
|
713
|
-
Completed 200 OK in
|
714
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
674
|
+
Rendered text template (Duration: 0.1ms | Allocations: 1)
|
675
|
+
Completed 200 OK in 4ms (Views: 0.6ms | ActiveRecord: 0.3ms | Allocations: 937)
|
676
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:52:59 +0000
|
715
677
|
Processing by ExampleController#restricted as HTML
|
716
678
|
Authenticating with gds_sso strategy
|
717
|
-
Completed in
|
679
|
+
Completed in 1ms (ActiveRecord: 0.0ms | Allocations: 119)
|
680
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["email", "dummyapiuser@domain.com"], ["LIMIT", 1]]
|
681
|
+
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
682
|
+
[1m[36mUser Create (0.7ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Dummy API user created by gds-sso"], ["uid", "3196"], ["email", "dummyapiuser@domain.com"], ["permissions", "---\n- signin\n"]]
|
683
|
+
[1m[35m (9.5ms)[0m [1m[36mcommit transaction[0m
|
684
|
+
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
685
|
+
[1m[36mUser Update (0.6ms)[0m [1m[33mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = ?[0m [["permissions", "---\n- signin\n- extra_permission\n"], ["id", 2]]
|
686
|
+
[1m[35m (6.6ms)[0m [1m[36mcommit transaction[0m
|
687
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "asd"], ["LIMIT", 1]]
|
688
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["email", "user@example.com"], ["LIMIT", 1]]
|
718
689
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
719
|
-
[1m[36mUser Create (0.
|
720
|
-
[1m[35m (
|
721
|
-
[1m[
|
722
|
-
[1m[
|
723
|
-
[1m[
|
724
|
-
|
725
|
-
Parameters: {"uid"=>"a1s2d39360"}
|
726
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d39360"], ["LIMIT", 1]]
|
690
|
+
[1m[36mUser Create (0.6ms)[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]]
|
691
|
+
[1m[35m (6.6ms)[0m [1m[36mcommit transaction[0m
|
692
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "asd"], ["LIMIT", 1]]
|
693
|
+
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
694
|
+
[1m[36mUser Create (0.6ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d38009"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
695
|
+
[1m[35m (7.0ms)[0m [1m[36mcommit transaction[0m
|
727
696
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
728
|
-
[1m[36mUser
|
729
|
-
[1m[35m (
|
730
|
-
|
731
|
-
|
732
|
-
[1m[
|
733
|
-
[1m[
|
697
|
+
[1m[36mUser Create (0.6ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d39701"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
698
|
+
[1m[35m (7.9ms)[0m [1m[36mcommit transaction[0m
|
699
|
+
Processing by Api::UserController#update as HTML
|
700
|
+
Parameters: {"uid"=>"a1s2d38009"}
|
701
|
+
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d38009"], ["LIMIT", 1]]
|
702
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
703
|
+
[1m[36mUser Update (0.6ms)[0m [1m[33mUPDATE "users" SET "email" = ?, "name" = ?, "permissions" = ?, "organisation_slug" = ?, "organisation_content_id" = ? WHERE "users"."id" = ?[0m [["email", "user@domain.com"], ["name", "Joshua Marshall"], ["permissions", "---\n- signin\n- new permission\n"], ["organisation_slug", "justice-league"], ["organisation_content_id", "aae1319e-5788-4677-998c-f1a53af528d0"], ["id", 4]]
|
734
704
|
[1m[35m (7.3ms)[0m [1m[36mcommit transaction[0m
|
735
|
-
|
736
|
-
[1m[36mUser
|
737
|
-
[1m[35m (
|
738
|
-
|
739
|
-
|
740
|
-
|
705
|
+
Completed 200 OK in 14ms (ActiveRecord: 8.4ms | Allocations: 1323)
|
706
|
+
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 4], ["LIMIT", 1]]
|
707
|
+
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
708
|
+
[1m[36mUser Create (0.6ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d34812"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
709
|
+
[1m[35m (13.9ms)[0m [1m[36mcommit transaction[0m
|
710
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
711
|
+
[1m[36mUser Create (0.6ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d35460"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
712
|
+
[1m[35m (16.3ms)[0m [1m[36mcommit transaction[0m
|
713
|
+
Processing by Api::UserController#update as HTML
|
714
|
+
Parameters: {"uid"=>"a1s2d34812"}
|
715
|
+
Rendering /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
741
716
|
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
742
|
-
Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (
|
717
|
+
Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (Duration: 1.7ms | Allocations: 263)
|
743
718
|
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
744
|
-
Completed 403 Forbidden in
|
719
|
+
Completed 403 Forbidden in 9ms (Views: 8.2ms | ActiveRecord: 0.0ms | Allocations: 1558)
|
720
|
+
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
721
|
+
[1m[36mUser Create (0.6ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d33055"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
722
|
+
[1m[35m (7.9ms)[0m [1m[36mcommit transaction[0m
|
723
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
724
|
+
[1m[36mUser Create (0.6ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d32228"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
725
|
+
[1m[35m (5.4ms)[0m [1m[36mcommit transaction[0m
|
726
|
+
Processing by Api::UserController#reauth as HTML
|
727
|
+
Parameters: {"uid"=>"a1s2d33055"}
|
728
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d33055"], ["LIMIT", 1]]
|
745
729
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
746
|
-
[1m[36mUser
|
747
|
-
[1m[35m (
|
730
|
+
[1m[36mUser Update (0.5ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", 1], ["id", 8]]
|
731
|
+
[1m[35m (6.6ms)[0m [1m[36mcommit transaction[0m
|
732
|
+
Completed 200 OK in 12ms (ActiveRecord: 7.6ms | Allocations: 920)
|
733
|
+
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 8], ["LIMIT", 1]]
|
748
734
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
749
|
-
[1m[36mUser Create (0.
|
750
|
-
[1m[35m (
|
735
|
+
[1m[36mUser Create (0.6ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d37302"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
736
|
+
[1m[35m (10.9ms)[0m [1m[36mcommit transaction[0m
|
737
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
738
|
+
[1m[36mUser Create (0.6ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d39587"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
739
|
+
[1m[35m (5.5ms)[0m [1m[36mcommit transaction[0m
|
751
740
|
Processing by Api::UserController#reauth as HTML
|
752
741
|
Parameters: {"uid"=>"nonexistent-user"}
|
753
|
-
[1m[36mUser Load (0.
|
754
|
-
Completed 200 OK in
|
742
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "nonexistent-user"], ["LIMIT", 1]]
|
743
|
+
Completed 200 OK in 2ms (ActiveRecord: 0.3ms | Allocations: 521)
|
744
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
745
|
+
[1m[36mUser Create (0.6ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d33190"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
746
|
+
[1m[35m (15.2ms)[0m [1m[36mcommit transaction[0m
|
747
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
748
|
+
[1m[36mUser Create (0.6ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d39267"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
749
|
+
[1m[35m (4.9ms)[0m [1m[36mcommit transaction[0m
|
750
|
+
Processing by Api::UserController#reauth as HTML
|
751
|
+
Parameters: {"uid"=>"a1s2d33190"}
|
752
|
+
Rendering /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
753
|
+
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-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (Duration: 0.4ms | Allocations: 56)
|
755
|
+
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
756
|
+
Completed 403 Forbidden in 3ms (Views: 1.6ms | ActiveRecord: 0.0ms | Allocations: 514)
|
757
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "users"[0m
|
758
|
+
[1m[35m (1.2ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
759
|
+
[1m[35m (17.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
|
760
|
+
[1m[35m (6.2ms)[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
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
762
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
763
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.2ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2020-06-12 15:53:04.271891"], ["updated_at", "2020-06-12 15:53:04.271891"]]
|
764
|
+
[1m[35m (5.4ms)[0m [1m[36mcommit transaction[0m
|
765
|
+
[1m[35m (4.6ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
766
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
755
767
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
756
|
-
[1m[
|
757
|
-
[1m[35m (4.6ms)[0m [1m[36mcommit transaction[0m
|
768
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
758
769
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
759
|
-
[1m[36mUser Create (0.
|
760
|
-
[1m[35m (
|
761
|
-
Processing by Api::UserController#update as HTML
|
762
|
-
Parameters: {"uid"=>"a1s2d35431"}
|
763
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d35431"], ["LIMIT", 1]]
|
770
|
+
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d37361"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
771
|
+
[1m[35m (10.4ms)[0m [1m[36mcommit transaction[0m
|
764
772
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
765
|
-
[1m[36mUser
|
766
|
-
[1m[35m (
|
767
|
-
|
768
|
-
|
773
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d31973"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
774
|
+
[1m[35m (6.9ms)[0m [1m[36mcommit transaction[0m
|
775
|
+
Processing by Api::UserController#reauth as HTML
|
776
|
+
Parameters: {"uid"=>"nonexistent-user"}
|
777
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "nonexistent-user"], ["LIMIT", 1]]
|
778
|
+
Completed 200 OK in 1ms (ActiveRecord: 0.2ms)
|
779
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
780
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d37358"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
781
|
+
[1m[35m (6.6ms)[0m [1m[36mcommit transaction[0m
|
769
782
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
770
|
-
[1m[36mUser Create (0.
|
771
|
-
[1m[35m (
|
783
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d3930"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
784
|
+
[1m[35m (6.1ms)[0m [1m[36mcommit transaction[0m
|
785
|
+
Processing by Api::UserController#reauth as HTML
|
786
|
+
Parameters: {"uid"=>"a1s2d37358"}
|
787
|
+
Rendering /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
788
|
+
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
789
|
+
Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
|
790
|
+
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
791
|
+
Completed 403 Forbidden in 7ms (Views: 6.6ms | ActiveRecord: 0.0ms)
|
792
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
793
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d3777"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
794
|
+
[1m[35m (50.2ms)[0m [1m[36mcommit transaction[0m
|
795
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
796
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d32893"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
797
|
+
[1m[35m (4.4ms)[0m [1m[36mcommit transaction[0m
|
798
|
+
Processing by Api::UserController#reauth as HTML
|
799
|
+
Parameters: {"uid"=>"a1s2d3777"}
|
800
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d3777"], ["LIMIT", 1]]
|
772
801
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
773
|
-
[1m[36mUser
|
774
|
-
[1m[35m (
|
802
|
+
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "t"], ["id", 5]]
|
803
|
+
[1m[35m (14.2ms)[0m [1m[36mcommit transaction[0m
|
804
|
+
Completed 200 OK in 17ms (ActiveRecord: 14.6ms)
|
805
|
+
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 5], ["LIMIT", 1]]
|
806
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
807
|
+
[1m[36mUser Create (0.5ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d37594"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
808
|
+
[1m[35m (13.7ms)[0m [1m[36mcommit transaction[0m
|
809
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
810
|
+
[1m[36mUser Create (0.5ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d31086"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
811
|
+
[1m[35m (36.2ms)[0m [1m[36mcommit transaction[0m
|
812
|
+
Processing by Api::UserController#update as HTML
|
813
|
+
Parameters: {"uid"=>"a1s2d37594"}
|
814
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d37594"], ["LIMIT", 1]]
|
815
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
816
|
+
[1m[36mUser Update (0.5ms)[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", 7]]
|
817
|
+
[1m[35m (10.1ms)[0m [1m[36mcommit transaction[0m
|
818
|
+
Completed 200 OK in 16ms (ActiveRecord: 10.9ms)
|
819
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 7], ["LIMIT", 1]]
|
820
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
821
|
+
[1m[36mUser Create (0.5ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d32536"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
822
|
+
[1m[35m (10.6ms)[0m [1m[36mcommit transaction[0m
|
823
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
824
|
+
[1m[36mUser Create (0.5ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d35031"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
825
|
+
[1m[35m (8.3ms)[0m [1m[36mcommit transaction[0m
|
775
826
|
Processing by Api::UserController#update as HTML
|
776
|
-
Parameters: {"uid"=>"
|
777
|
-
Rendering /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
827
|
+
Parameters: {"uid"=>"a1s2d32536"}
|
828
|
+
Rendering /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
778
829
|
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
779
|
-
Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.
|
830
|
+
Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.4ms)
|
780
831
|
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
781
|
-
Completed 403 Forbidden in
|
782
|
-
[1m[36mUser Load (0.
|
783
|
-
[1m[36mUser Load (0.
|
832
|
+
Completed 403 Forbidden in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)
|
833
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "asd"], ["LIMIT", 1]]
|
834
|
+
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["email", "user@example.com"], ["LIMIT", 1]]
|
784
835
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
785
|
-
[1m[36mUser Create (0.
|
786
|
-
[1m[35m (
|
787
|
-
[1m[36mUser Load (0.
|
788
|
-
[1m[35m (0.
|
789
|
-
[1m[35m (0.
|
790
|
-
[1m[
|
791
|
-
[1m[35m (
|
792
|
-
[1m[
|
793
|
-
[1m[35m (
|
794
|
-
|
795
|
-
|
796
|
-
[1m[
|
797
|
-
|
798
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
799
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions", "disabled") VALUES (?, ?, ?, ?, ?) [["uid", "integration-uid"], ["email", "test@example-client.com"], ["name", "Test User"], ["permissions", "---\n- signin\n"], ["disabled", nil]]
|
800
|
-
[1m[36m (4.5ms)[0m [1mcommit transaction[0m
|
801
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
802
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
803
|
-
[1m[35m (0.1ms)[0m commit transaction
|
804
|
-
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
805
|
-
[1m[35m (0.1ms)[0m begin transaction
|
806
|
-
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
807
|
-
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
808
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
809
|
-
[1m[35m (0.1ms)[0m commit transaction
|
810
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
811
|
-
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "f"], ["id", 1]]
|
812
|
-
[1m[36m (6.1ms)[0m [1mcommit transaction[0m
|
813
|
-
Rendered text template (0.0ms)
|
814
|
-
Completed 200 OK in 108ms (Views: 9.1ms | ActiveRecord: 12.7ms)
|
815
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:11 +0000
|
836
|
+
[1m[36mUser Create (0.5ms)[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]]
|
837
|
+
[1m[35m (7.5ms)[0m [1m[36mcommit transaction[0m
|
838
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "asd"], ["LIMIT", 1]]
|
839
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
840
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
841
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["email", "dummyapiuser@domain.com"], ["LIMIT", 1]]
|
842
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
843
|
+
[1m[36mUser Create (0.6ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Dummy API user created by gds-sso"], ["uid", "7241"], ["email", "dummyapiuser@domain.com"], ["permissions", "---\n- signin\n"]]
|
844
|
+
[1m[35m (7.5ms)[0m [1m[36mcommit transaction[0m
|
845
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
846
|
+
[1m[36mUser Update (0.5ms)[0m [1m[33mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = ?[0m [["permissions", "---\n- signin\n- extra_permission\n"], ["id", 12]]
|
847
|
+
[1m[35m (5.9ms)[0m [1m[36mcommit transaction[0m
|
848
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:53:05 +0000
|
816
849
|
Processing by ExampleController#restricted as JSON
|
817
|
-
Completed in
|
818
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
850
|
+
Completed in 61ms (ActiveRecord: 0.0ms)
|
851
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:53:05 +0000
|
819
852
|
Processing by ExampleController#restricted as JSON
|
820
|
-
|
821
|
-
|
822
|
-
|
823
|
-
[1m[
|
824
|
-
[1m[
|
825
|
-
[1m[
|
826
|
-
[1m[
|
827
|
-
[1m[
|
828
|
-
[1m[
|
829
|
-
[1m[
|
830
|
-
[1m[35m (0.1ms)[0m
|
831
|
-
[1m[
|
832
|
-
[1m[35m (0.
|
833
|
-
[1m[
|
853
|
+
Completed in 41ms (ActiveRecord: 0.0ms)
|
854
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-06-12 15:53:05 +0000
|
855
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
856
|
+
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
857
|
+
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["email", "test@example-client.com"], ["LIMIT", 1]]
|
858
|
+
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
859
|
+
[1m[36mUser Create (0.7ms)[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]]
|
860
|
+
[1m[35m (6.1ms)[0m [1m[36mcommit transaction[0m
|
861
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
862
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
863
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
864
|
+
[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]]
|
865
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
866
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
867
|
+
[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]]
|
868
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
869
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
870
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
871
|
+
[1m[36mUser Update (0.5ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id", 13]]
|
872
|
+
[1m[35m (5.2ms)[0m [1m[36mcommit transaction[0m
|
873
|
+
Rendering text template
|
834
874
|
Rendered text template (0.0ms)
|
835
|
-
Completed 200 OK in
|
836
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
875
|
+
Completed 200 OK in 132ms (Views: 2.9ms | ActiveRecord: 14.6ms)
|
876
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:53:05 +0000
|
837
877
|
Processing by ExampleController#restricted as JSON
|
838
|
-
|
839
|
-
|
878
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
879
|
+
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
880
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
881
|
+
[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]]
|
882
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
883
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
884
|
+
[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]]
|
885
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
886
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
887
|
+
[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]]
|
888
|
+
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
889
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
890
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
891
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
892
|
+
Rendering text template
|
893
|
+
Rendered text template (0.0ms)
|
894
|
+
Completed 200 OK in 112ms (Views: 0.5ms | ActiveRecord: 1.5ms)
|
895
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:53:05 +0000
|
840
896
|
Processing by ExampleController#restricted as HTML
|
841
897
|
Authenticating with gds_sso strategy
|
842
|
-
Completed in
|
843
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
844
|
-
Started GET "/auth/gds/callback?code=
|
898
|
+
Completed in 1ms (ActiveRecord: 0.0ms)
|
899
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-06-12 15:53:05 +0000
|
900
|
+
Started GET "/auth/gds/callback?code=bjI_ceXsizPvpTz1U0YSB4Cwt9fKMxXZWQJaDDqfNng&state=e698ab11f0a258b5a4c69d8cb4435400168b2eae2be9c8a4" for 127.0.0.1 at 2020-06-12 15:53:06 +0000
|
845
901
|
Processing by AuthenticationsController#callback as HTML
|
846
|
-
Parameters: {"code"=>"
|
847
|
-
Authenticating with gds_sso strategy
|
848
|
-
[1m[
|
849
|
-
[1m[
|
850
|
-
[1m[
|
851
|
-
[1m[
|
852
|
-
[1m[35m (0.
|
853
|
-
[1m[
|
902
|
+
Parameters: {"code"=>"bjI_ceXsizPvpTz1U0YSB4Cwt9fKMxXZWQJaDDqfNng", "state"=>"e698ab11f0a258b5a4c69d8cb4435400168b2eae2be9c8a4"}
|
903
|
+
Authenticating with gds_sso strategy
|
904
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
905
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
906
|
+
[1m[36mUser Update (0.5ms)[0m [1m[33mUPDATE "users" SET "disabled" = ? WHERE "users"."id" = ?[0m [["disabled", "f"], ["id", 13]]
|
907
|
+
[1m[35m (7.0ms)[0m [1m[36mcommit transaction[0m
|
908
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
909
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
854
910
|
Redirected to http://www.example-client.com/restricted
|
855
|
-
Completed 302 Found in
|
856
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
911
|
+
Completed 302 Found in 15ms (ActiveRecord: 8.2ms)
|
912
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:53:06 +0000
|
857
913
|
Processing by ExampleController#restricted as HTML
|
858
|
-
[1m[
|
914
|
+
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
915
|
+
Rendering text template
|
859
916
|
Rendered text template (0.0ms)
|
860
|
-
Completed 200 OK in
|
861
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
917
|
+
Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.5ms)
|
918
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:53:06 +0000
|
862
919
|
Processing by ExampleController#restricted as HTML
|
863
920
|
Authenticating with gds_sso strategy
|
864
921
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
865
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
866
|
-
Started GET "/auth/gds/callback?code=
|
922
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-06-12 15:53:06 +0000
|
923
|
+
Started GET "/auth/gds/callback?code=6UF383V2LfNJLXSSjk-vOupjhyRqkB2sfBysq3BlvvI&state=8dc485e29051ccdbe8f96311ef12c46ab663d1888646cd34" for 127.0.0.1 at 2020-06-12 15:53:06 +0000
|
867
924
|
Processing by AuthenticationsController#callback as HTML
|
868
|
-
Parameters: {"code"=>"
|
925
|
+
Parameters: {"code"=>"6UF383V2LfNJLXSSjk-vOupjhyRqkB2sfBysq3BlvvI", "state"=>"8dc485e29051ccdbe8f96311ef12c46ab663d1888646cd34"}
|
869
926
|
Authenticating with gds_sso strategy
|
870
|
-
[1m[36mUser Load (0.
|
871
|
-
[1m[35m (0.1ms)[0m
|
872
|
-
[1m[
|
873
|
-
[1m[35m (0.
|
874
|
-
[1m[
|
927
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
928
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
929
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
930
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
931
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
875
932
|
Redirected to http://www.example-client.com/restricted
|
876
|
-
Completed 302 Found in
|
877
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
933
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.7ms)
|
934
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:53:06 +0000
|
878
935
|
Processing by ExampleController#restricted as HTML
|
879
|
-
[1m[
|
936
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
937
|
+
Rendering text template
|
880
938
|
Rendered text template (0.0ms)
|
881
|
-
Completed 200 OK in
|
882
|
-
Started GET "/" for 127.0.0.1 at 2020-
|
883
|
-
Processing by ExampleController#
|
939
|
+
Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.3ms)
|
940
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:53:06 +0000
|
941
|
+
Processing by ExampleController#restricted as HTML
|
942
|
+
Authenticating with gds_sso strategy
|
943
|
+
Completed in 0ms (ActiveRecord: 0.0ms)
|
944
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-06-12 15:53:06 +0000
|
945
|
+
Started GET "/auth/gds/callback?code=8Yu6eBcuRtDZstiqQJq9D21l_Tzye552Eyl7G6bphMI&state=27e8d11cbed016081d0028122b0bc5b0d9fb0a03cd5ed66f" for 127.0.0.1 at 2020-06-12 15:53:06 +0000
|
946
|
+
Processing by AuthenticationsController#callback as HTML
|
947
|
+
Parameters: {"code"=>"8Yu6eBcuRtDZstiqQJq9D21l_Tzye552Eyl7G6bphMI", "state"=>"27e8d11cbed016081d0028122b0bc5b0d9fb0a03cd5ed66f"}
|
948
|
+
Authenticating with gds_sso strategy
|
949
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
950
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
951
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
952
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
953
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
954
|
+
Redirected to http://www.example-client.com/restricted
|
955
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.7ms)
|
956
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:53:06 +0000
|
957
|
+
Processing by ExampleController#restricted as HTML
|
958
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
959
|
+
Rendering text template
|
884
960
|
Rendered text template (0.0ms)
|
885
|
-
Completed 200 OK in
|
886
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-
|
961
|
+
Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.3ms)
|
962
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-06-12 15:53:06 +0000
|
887
963
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
888
964
|
Authenticating with gds_sso strategy
|
889
965
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
890
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
891
|
-
Started GET "/auth/gds/callback?code=
|
966
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-06-12 15:53:06 +0000
|
967
|
+
Started GET "/auth/gds/callback?code=FHDMxIdFF5ZsScwzPVp_AhyI2xtEZlMnwVnRI37mE4g&state=cad6735ea6598ad5d31fadda0e445da56e0118e68e17b06c" for 127.0.0.1 at 2020-06-12 15:53:07 +0000
|
892
968
|
Processing by AuthenticationsController#callback as HTML
|
893
|
-
Parameters: {"code"=>"
|
969
|
+
Parameters: {"code"=>"FHDMxIdFF5ZsScwzPVp_AhyI2xtEZlMnwVnRI37mE4g", "state"=>"cad6735ea6598ad5d31fadda0e445da56e0118e68e17b06c"}
|
894
970
|
Authenticating with gds_sso strategy
|
895
|
-
[1m[36mUser Load (0.
|
896
|
-
[1m[35m (0.1ms)[0m
|
897
|
-
[1m[
|
898
|
-
[1m[35m (0.
|
899
|
-
[1m[
|
971
|
+
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
972
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
973
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
974
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
975
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
900
976
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
901
|
-
Completed 302 Found in
|
902
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-
|
977
|
+
Completed 302 Found in 8ms (ActiveRecord: 0.8ms)
|
978
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-06-12 15:53:07 +0000
|
903
979
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
904
|
-
[1m[
|
980
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
981
|
+
Rendering text template
|
905
982
|
Rendered text template (0.0ms)
|
906
|
-
Completed 200 OK in
|
907
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-
|
983
|
+
Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.3ms)
|
984
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-06-12 15:53:07 +0000
|
908
985
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
909
986
|
Authenticating with gds_sso strategy
|
910
|
-
Completed in
|
911
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
912
|
-
Started GET "/auth/gds/callback?code=
|
987
|
+
Completed in 2ms (ActiveRecord: 0.0ms)
|
988
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-06-12 15:53:07 +0000
|
989
|
+
Started GET "/auth/gds/callback?code=SVLWJfMVq0vmSYJMoQvqkYLBeq_qU27ZR8c0Brx5D_c&state=96b0ce01c9307651dbbb7b78701d8fb5d53d402320f6c877" for 127.0.0.1 at 2020-06-12 15:53:07 +0000
|
913
990
|
Processing by AuthenticationsController#callback as HTML
|
914
|
-
Parameters: {"code"=>"
|
991
|
+
Parameters: {"code"=>"SVLWJfMVq0vmSYJMoQvqkYLBeq_qU27ZR8c0Brx5D_c", "state"=>"96b0ce01c9307651dbbb7b78701d8fb5d53d402320f6c877"}
|
915
992
|
Authenticating with gds_sso strategy
|
916
|
-
[1m[36mUser Load (0.
|
917
|
-
[1m[35m (0.
|
918
|
-
[1m[
|
919
|
-
[1m[35m (0.1ms)[0m
|
920
|
-
[1m[
|
993
|
+
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
994
|
+
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
995
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
996
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
997
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
921
998
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
922
|
-
Completed 302 Found in
|
923
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-
|
999
|
+
Completed 302 Found in 8ms (ActiveRecord: 0.8ms)
|
1000
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-06-12 15:53:07 +0000
|
924
1001
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
925
|
-
[1m[
|
1002
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
1003
|
+
Rendering text template
|
1004
|
+
Rendered text template (0.0ms)
|
1005
|
+
Completed 200 OK in 3ms (Views: 0.7ms | ActiveRecord: 0.3ms)
|
1006
|
+
Started GET "/" for 127.0.0.1 at 2020-06-12 15:53:07 +0000
|
1007
|
+
Processing by ExampleController#index as HTML
|
1008
|
+
Rendering text template
|
926
1009
|
Rendered text template (0.0ms)
|
927
|
-
Completed 200 OK in 1ms (Views: 0.
|
928
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
1010
|
+
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
1011
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:53:07 +0000
|
929
1012
|
Processing by ExampleController#restricted as HTML
|
930
1013
|
Authenticating with gds_sso strategy
|
931
1014
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
932
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
933
|
-
Started GET "/auth/gds/callback?code=
|
1015
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-06-12 15:53:07 +0000
|
1016
|
+
Started GET "/auth/gds/callback?code=1J6HGaqkvp3MFCsjQCxbIQqjht8ofLBCnPISK26EQog&state=993f0c8343a134923faeb160a904d98eb4c06abc543d1f5c" for 127.0.0.1 at 2020-06-12 15:53:07 +0000
|
934
1017
|
Processing by AuthenticationsController#callback as HTML
|
935
|
-
Parameters: {"code"=>"
|
1018
|
+
Parameters: {"code"=>"1J6HGaqkvp3MFCsjQCxbIQqjht8ofLBCnPISK26EQog", "state"=>"993f0c8343a134923faeb160a904d98eb4c06abc543d1f5c"}
|
936
1019
|
Authenticating with gds_sso strategy
|
937
|
-
[1m[36mUser Load (0.
|
938
|
-
[1m[35m (0.1ms)[0m
|
939
|
-
[1m[
|
940
|
-
[1m[35m (0.
|
941
|
-
[1m[
|
1020
|
+
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1021
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1022
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1023
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1024
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
942
1025
|
Redirected to http://www.example-client.com/restricted
|
943
|
-
Completed 302 Found in
|
944
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
1026
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.7ms)
|
1027
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:53:07 +0000
|
945
1028
|
Processing by ExampleController#restricted as HTML
|
946
|
-
[1m[
|
1029
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
1030
|
+
Rendering text template
|
947
1031
|
Rendered text template (0.0ms)
|
948
|
-
Completed 200 OK in
|
949
|
-
|
1032
|
+
Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.3ms)
|
1033
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["email", "test@example-client.com"], ["LIMIT", 1]]
|
1034
|
+
[1m[35m (0.3ms)[0m [1m[36mbegin transaction[0m
|
1035
|
+
[1m[36mUser Update (0.5ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "t"], ["id", 13]]
|
1036
|
+
[1m[35m (7.3ms)[0m [1m[36mcommit transaction[0m
|
1037
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:53:07 +0000
|
950
1038
|
Processing by ExampleController#restricted as HTML
|
1039
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
951
1040
|
Authenticating with gds_sso strategy
|
952
|
-
Completed in
|
953
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
954
|
-
Started GET "/auth/gds/callback?code=
|
1041
|
+
Completed in 2ms (ActiveRecord: 0.3ms)
|
1042
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-06-12 15:53:07 +0000
|
1043
|
+
Started GET "/auth/gds/callback?code=0x1W0ttUBAP8Aik9xYzUqLZUFJ3vqI5gNlbRYFY1ino&state=ee6515ecfaf837dc2b27cbdf8e370ed833b57d42c55949d0" for 127.0.0.1 at 2020-06-12 15:53:08 +0000
|
955
1044
|
Processing by AuthenticationsController#callback as HTML
|
956
|
-
Parameters: {"code"=>"
|
1045
|
+
Parameters: {"code"=>"0x1W0ttUBAP8Aik9xYzUqLZUFJ3vqI5gNlbRYFY1ino", "state"=>"ee6515ecfaf837dc2b27cbdf8e370ed833b57d42c55949d0"}
|
957
1046
|
Authenticating with gds_sso strategy
|
958
|
-
[1m[36mUser Load (0.
|
959
|
-
[1m[35m (0.1ms)[0m
|
960
|
-
[1m[
|
961
|
-
[1m[35m (0.
|
962
|
-
[1m[
|
1047
|
+
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1048
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1049
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1050
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1051
|
+
[1m[36mUser Update (0.5ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id", 13]]
|
1052
|
+
[1m[35m (6.7ms)[0m [1m[36mcommit transaction[0m
|
963
1053
|
Redirected to http://www.example-client.com/restricted
|
964
|
-
Completed 302 Found in
|
965
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
966
|
-
Processing by ExampleController#restricted as HTML
|
967
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
968
|
-
Rendered text template (0.0ms)
|
969
|
-
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
970
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-03-03 10:25:13 +0000
|
1054
|
+
Completed 302 Found in 15ms (ActiveRecord: 7.9ms)
|
1055
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:53:08 +0000
|
971
1056
|
Processing by ExampleController#restricted as HTML
|
972
|
-
[1m[36mUser Load (0.
|
1057
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
1058
|
+
Rendering text template
|
973
1059
|
Rendered text template (0.0ms)
|
974
|
-
Completed 200 OK in
|
975
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
1060
|
+
Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.3ms)
|
1061
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:53:08 +0000
|
976
1062
|
Processing by ExampleController#restricted as HTML
|
977
1063
|
Authenticating with gds_sso strategy
|
978
|
-
Completed in
|
979
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
980
|
-
Started GET "/auth/gds/callback?code=
|
1064
|
+
Completed in 1ms (ActiveRecord: 0.0ms)
|
1065
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-06-12 15:53:08 +0000
|
1066
|
+
Started GET "/auth/gds/callback?code=3n8AMpshXipGkCHo4mwdhXlVJOjYeRcHfK16hOHtjFo&state=4cb08cbedb17637a81ffde266b19c5329d7bee83d0c5fa7c" for 127.0.0.1 at 2020-06-12 15:53:08 +0000
|
981
1067
|
Processing by AuthenticationsController#callback as HTML
|
982
|
-
Parameters: {"code"=>"
|
1068
|
+
Parameters: {"code"=>"3n8AMpshXipGkCHo4mwdhXlVJOjYeRcHfK16hOHtjFo", "state"=>"4cb08cbedb17637a81ffde266b19c5329d7bee83d0c5fa7c"}
|
983
1069
|
Authenticating with gds_sso strategy
|
984
|
-
[1m[
|
985
|
-
[1m[
|
986
|
-
[1m[35m (0.
|
987
|
-
[1m[
|
988
|
-
[1m[35m (0.
|
1070
|
+
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1071
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1072
|
+
[1m[35m (0.2ms)[0m [1m[36mcommit transaction[0m
|
1073
|
+
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
1074
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
989
1075
|
Redirected to http://www.example-client.com/restricted
|
990
|
-
Completed 302 Found in
|
991
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
1076
|
+
Completed 302 Found in 10ms (ActiveRecord: 1.0ms)
|
1077
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:53:08 +0000
|
992
1078
|
Processing by ExampleController#restricted as HTML
|
993
|
-
[1m[36mUser Load (0.
|
1079
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
1080
|
+
Rendering text template
|
994
1081
|
Rendered text template (0.0ms)
|
995
|
-
Completed 200 OK in
|
996
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
1082
|
+
Completed 200 OK in 3ms (Views: 0.7ms | ActiveRecord: 0.3ms)
|
1083
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-06-13 11:58:08 +0000
|
1084
|
+
Processing by ExampleController#restricted as HTML
|
1085
|
+
Authenticating with gds_sso strategy
|
1086
|
+
Completed in 1ms (ActiveRecord: 0.0ms)
|
1087
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-06-13 11:58:08 +0000
|
1088
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:53:08 +0000
|
997
1089
|
Processing by ExampleController#restricted as HTML
|
998
1090
|
Authenticating with gds_sso strategy
|
999
1091
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1000
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
1001
|
-
Started GET "/auth/gds/callback?code=
|
1092
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-06-12 15:53:08 +0000
|
1093
|
+
Started GET "/auth/gds/callback?code=3F14h1SKW91GoJr6E0tRWSoav6dac_d2w12bKwyQoaY&state=54af2282af2d9b98f286688d66131b7dbd825e179a0e34e7" for 127.0.0.1 at 2020-06-12 15:53:08 +0000
|
1002
1094
|
Processing by AuthenticationsController#callback as HTML
|
1003
|
-
Parameters: {"code"=>"
|
1095
|
+
Parameters: {"code"=>"3F14h1SKW91GoJr6E0tRWSoav6dac_d2w12bKwyQoaY", "state"=>"54af2282af2d9b98f286688d66131b7dbd825e179a0e34e7"}
|
1004
1096
|
Authenticating with gds_sso strategy
|
1005
|
-
[1m[
|
1006
|
-
[1m[
|
1007
|
-
[1m[35m (0.1ms)[0m
|
1008
|
-
[1m[
|
1009
|
-
[1m[35m (0.1ms)[0m
|
1097
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1098
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1099
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1100
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1101
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1010
1102
|
Redirected to http://www.example-client.com/restricted
|
1011
|
-
Completed 302 Found in
|
1012
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
1103
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.7ms)
|
1104
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:53:08 +0000
|
1013
1105
|
Processing by ExampleController#restricted as HTML
|
1014
|
-
[1m[36mUser Load (0.
|
1106
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
1107
|
+
Rendering text template
|
1015
1108
|
Rendered text template (0.0ms)
|
1016
|
-
Completed 200 OK in
|
1017
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
1109
|
+
Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.3ms)
|
1110
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-06-13 11:58:08 +0000
|
1018
1111
|
Processing by ExampleController#restricted as HTML
|
1019
1112
|
Authenticating with gds_sso strategy
|
1020
|
-
Completed in
|
1021
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
1022
|
-
Started GET "/auth/gds/callback?code=
|
1113
|
+
Completed in 1ms (ActiveRecord: 0.0ms)
|
1114
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-06-13 11:58:08 +0000
|
1115
|
+
Started GET "/auth/gds/callback?code=L1Mu5ugstZ29bDh7W2cPsc73mgwqOyRx5ATOwncknmA&state=5fcad2700c5c36f2f6135d6bc7b9161d69858a7727be8a6b" for 127.0.0.1 at 2020-06-13 11:58:08 +0000
|
1023
1116
|
Processing by AuthenticationsController#callback as HTML
|
1024
|
-
Parameters: {"code"=>"
|
1117
|
+
Parameters: {"code"=>"L1Mu5ugstZ29bDh7W2cPsc73mgwqOyRx5ATOwncknmA", "state"=>"5fcad2700c5c36f2f6135d6bc7b9161d69858a7727be8a6b"}
|
1025
1118
|
Authenticating with gds_sso strategy
|
1026
|
-
[1m[
|
1027
|
-
[1m[
|
1028
|
-
[1m[35m (0.
|
1029
|
-
[1m[
|
1030
|
-
[1m[35m (0.
|
1119
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1120
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1121
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1122
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1123
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1031
1124
|
Redirected to http://www.example-client.com/restricted
|
1032
|
-
Completed 302 Found in
|
1033
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
1125
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.6ms)
|
1126
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-06-13 11:58:08 +0000
|
1034
1127
|
Processing by ExampleController#restricted as HTML
|
1035
|
-
[1m[36mUser Load (0.
|
1128
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
1129
|
+
Rendering text template
|
1036
1130
|
Rendered text template (0.0ms)
|
1037
|
-
Completed 200 OK in
|
1038
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
1039
|
-
Processing by ExampleController#restricted as HTML
|
1040
|
-
Authenticating with gds_sso strategy
|
1041
|
-
Completed in 0ms (ActiveRecord: 0.0ms)
|
1042
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-03-03 10:35:13 +0000
|
1043
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:13 +0000
|
1131
|
+
Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.3ms)
|
1132
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:53:09 +0000
|
1044
1133
|
Processing by ExampleController#restricted as HTML
|
1045
1134
|
Authenticating with gds_sso strategy
|
1046
1135
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1047
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
1048
|
-
Started GET "/auth/gds/callback?code=
|
1136
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-06-12 15:53:09 +0000
|
1137
|
+
Started GET "/auth/gds/callback?code=ei9-4sfSh4LyZ966JaoZ3WPoQ_yI5Cp1hCO9UKucCtA&state=b03f9265ace717461a7346f5ccff6795d3dddb5918008087" for 127.0.0.1 at 2020-06-12 15:53:09 +0000
|
1049
1138
|
Processing by AuthenticationsController#callback as HTML
|
1050
|
-
Parameters: {"code"=>"
|
1139
|
+
Parameters: {"code"=>"ei9-4sfSh4LyZ966JaoZ3WPoQ_yI5Cp1hCO9UKucCtA", "state"=>"b03f9265ace717461a7346f5ccff6795d3dddb5918008087"}
|
1051
1140
|
Authenticating with gds_sso strategy
|
1052
|
-
[1m[
|
1053
|
-
[1m[
|
1054
|
-
[1m[35m (0.
|
1055
|
-
[1m[
|
1056
|
-
[1m[35m (0.
|
1141
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1142
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1143
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1144
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1145
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1057
1146
|
Redirected to http://www.example-client.com/restricted
|
1058
|
-
Completed 302 Found in
|
1059
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
1147
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.7ms)
|
1148
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:53:09 +0000
|
1060
1149
|
Processing by ExampleController#restricted as HTML
|
1061
|
-
[1m[36mUser Load (0.
|
1150
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
1151
|
+
Rendering text template
|
1062
1152
|
Rendered text template (0.0ms)
|
1063
|
-
Completed 200 OK in
|
1064
|
-
|
1065
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1066
|
-
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 1]]
|
1067
|
-
[1m[36m (5.9ms)[0m [1mcommit transaction[0m
|
1068
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:13 +0000
|
1069
|
-
Processing by ExampleController#restricted as HTML
|
1070
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
1071
|
-
Authenticating with gds_sso strategy
|
1072
|
-
Completed in 1ms (ActiveRecord: 0.1ms)
|
1073
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-03-02 14:30:13 +0000
|
1074
|
-
Started GET "/auth/gds/callback?code=3a476b2813ed5ee3c0192a09318149e921a04fc20da35f0bee773ea5dd4260a7&state=98cd0ee42509e856d23aab42d6bb804f4094de674b7cf362" for 127.0.0.1 at 2020-03-02 14:30:13 +0000
|
1075
|
-
Processing by AuthenticationsController#callback as HTML
|
1076
|
-
Parameters: {"code"=>"3a476b2813ed5ee3c0192a09318149e921a04fc20da35f0bee773ea5dd4260a7", "state"=>"98cd0ee42509e856d23aab42d6bb804f4094de674b7cf362"}
|
1077
|
-
Authenticating with gds_sso strategy
|
1078
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
1079
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1080
|
-
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1081
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1082
|
-
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id", 1]]
|
1083
|
-
[1m[35m (18.8ms)[0m commit transaction
|
1084
|
-
Redirected to http://www.example-client.com/restricted
|
1085
|
-
Completed 302 Found in 23ms (ActiveRecord: 19.3ms)
|
1086
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:14 +0000
|
1153
|
+
Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.3ms)
|
1154
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-06-13 11:48:09 +0000
|
1087
1155
|
Processing by ExampleController#restricted as HTML
|
1088
|
-
[1m[36mUser Load (0.
|
1156
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
1157
|
+
Rendering text template
|
1089
1158
|
Rendered text template (0.0ms)
|
1090
|
-
Completed 200 OK in
|
1091
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
1159
|
+
Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.3ms)
|
1160
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:53:09 +0000
|
1092
1161
|
Processing by ExampleController#restricted as HTML
|
1093
1162
|
Authenticating with gds_sso strategy
|
1094
1163
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1095
|
-
[1m[
|
1096
|
-
[1m[
|
1097
|
-
[1m[35m (0.
|
1098
|
-
[1m[
|
1099
|
-
[1m[35m (
|
1100
|
-
[1m[
|
1101
|
-
[1m[35m (0.1ms)[0m
|
1102
|
-
[1m[
|
1103
|
-
[1m[
|
1104
|
-
[1m[
|
1105
|
-
[1m[
|
1106
|
-
[1m[
|
1107
|
-
[1m[
|
1108
|
-
[1m[
|
1109
|
-
[1m[35m (
|
1110
|
-
[1m[
|
1111
|
-
[1m[
|
1112
|
-
[1m[
|
1113
|
-
[1m[35m (0.
|
1114
|
-
[1m[
|
1115
|
-
[1m[35m (
|
1164
|
+
[1m[35m (1.4ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
1165
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
1166
|
+
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "users"[0m
|
1167
|
+
[1m[35m (6.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 0)[0m
|
1168
|
+
[1m[35m (6.6ms)[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
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
1170
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1171
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.2ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2020-06-12 15:53:13.980372"], ["updated_at", "2020-06-12 15:53:13.980372"]]
|
1172
|
+
[1m[35m (5.9ms)[0m [1m[36mcommit transaction[0m
|
1173
|
+
[1m[35m (5.5ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
1174
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
1175
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
1176
|
+
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "asd"], ["LIMIT", 1]]
|
1177
|
+
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["email", "user@example.com"], ["LIMIT", 1]]
|
1178
|
+
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
1179
|
+
[1m[36mUser Create (0.7ms)[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[35m (6.0ms)[0m [1m[36mcommit transaction[0m
|
1181
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "asd"], ["LIMIT", 1]]
|
1182
|
+
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
1183
|
+
[1m[36mUser Create (0.6ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d33599"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1184
|
+
[1m[35m (5.4ms)[0m [1m[36mcommit transaction[0m
|
1185
|
+
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
1186
|
+
[1m[36mUser Create (0.6ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d37485"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1187
|
+
[1m[35m (5.1ms)[0m [1m[36mcommit transaction[0m
|
1116
1188
|
Processing by Api::UserController#reauth as HTML
|
1117
|
-
Parameters: {"uid"=>"
|
1118
|
-
|
1119
|
-
|
1120
|
-
|
1121
|
-
|
1122
|
-
|
1123
|
-
[1m[
|
1124
|
-
[1m[
|
1125
|
-
[1m[
|
1126
|
-
[1m[
|
1127
|
-
[1m[35m (
|
1189
|
+
Parameters: {"uid"=>"a1s2d33599"}
|
1190
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d33599"], ["LIMIT", 1]]
|
1191
|
+
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
1192
|
+
[1m[36mUser Update (0.5ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", 1], ["id", 2]]
|
1193
|
+
[1m[35m (5.8ms)[0m [1m[36mcommit transaction[0m
|
1194
|
+
Completed 200 OK in 15ms (ActiveRecord: 6.8ms | Allocations: 1660)
|
1195
|
+
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
|
1196
|
+
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
1197
|
+
[1m[36mUser Create (0.6ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d39371"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1198
|
+
[1m[35m (13.3ms)[0m [1m[36mcommit transaction[0m
|
1199
|
+
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
1200
|
+
[1m[36mUser Create (0.6ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d38792"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1201
|
+
[1m[35m (7.9ms)[0m [1m[36mcommit transaction[0m
|
1128
1202
|
Processing by Api::UserController#reauth as HTML
|
1129
1203
|
Parameters: {"uid"=>"nonexistent-user"}
|
1130
|
-
[1m[36mUser Load (0.
|
1131
|
-
Completed 200 OK in
|
1132
|
-
[1m[35m (0.
|
1133
|
-
[1m[
|
1134
|
-
[1m[35m (
|
1135
|
-
[1m[
|
1136
|
-
[1m[
|
1137
|
-
[1m[
|
1204
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "nonexistent-user"], ["LIMIT", 1]]
|
1205
|
+
Completed 200 OK in 2ms (ActiveRecord: 0.3ms | Allocations: 525)
|
1206
|
+
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
1207
|
+
[1m[36mUser Create (0.6ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d34995"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1208
|
+
[1m[35m (8.1ms)[0m [1m[36mcommit transaction[0m
|
1209
|
+
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
1210
|
+
[1m[36mUser Create (0.6ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d31450"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1211
|
+
[1m[35m (6.8ms)[0m [1m[36mcommit transaction[0m
|
1138
1212
|
Processing by Api::UserController#reauth as HTML
|
1139
|
-
Parameters: {"uid"=>"
|
1140
|
-
|
1141
|
-
|
1142
|
-
|
1143
|
-
|
1144
|
-
Completed
|
1145
|
-
[1m[
|
1146
|
-
[1m[
|
1147
|
-
[1m[
|
1148
|
-
[1m[
|
1149
|
-
[1m[
|
1150
|
-
[1m[
|
1151
|
-
[1m[35m (3.4ms)[0m commit transaction
|
1213
|
+
Parameters: {"uid"=>"a1s2d34995"}
|
1214
|
+
Rendering /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
1215
|
+
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
1216
|
+
Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (Duration: 1.7ms | Allocations: 201)
|
1217
|
+
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
1218
|
+
Completed 403 Forbidden in 14ms (Views: 12.7ms | ActiveRecord: 0.0ms | Allocations: 1977)
|
1219
|
+
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
1220
|
+
[1m[36mUser Create (0.6ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d37968"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1221
|
+
[1m[35m (7.2ms)[0m [1m[36mcommit transaction[0m
|
1222
|
+
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
1223
|
+
[1m[36mUser Create (0.6ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d34897"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1224
|
+
[1m[35m (5.3ms)[0m [1m[36mcommit transaction[0m
|
1152
1225
|
Processing by Api::UserController#update as HTML
|
1153
|
-
Parameters: {"uid"=>"
|
1226
|
+
Parameters: {"uid"=>"a1s2d37968"}
|
1227
|
+
Rendering /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
1154
1228
|
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
1155
|
-
Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.
|
1229
|
+
Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (Duration: 0.4ms | Allocations: 47)
|
1156
1230
|
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
1157
|
-
Completed 403 Forbidden in
|
1158
|
-
[1m[
|
1159
|
-
[1m[
|
1160
|
-
[1m[
|
1161
|
-
[1m[35m (0.
|
1162
|
-
[1m[
|
1163
|
-
[1m[35m (4.
|
1231
|
+
Completed 403 Forbidden in 3ms (Views: 1.6ms | ActiveRecord: 0.0ms | Allocations: 510)
|
1232
|
+
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
1233
|
+
[1m[36mUser Create (0.6ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d33600"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1234
|
+
[1m[35m (5.7ms)[0m [1m[36mcommit transaction[0m
|
1235
|
+
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
1236
|
+
[1m[36mUser Create (0.6ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d3220"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1237
|
+
[1m[35m (4.9ms)[0m [1m[36mcommit transaction[0m
|
1164
1238
|
Processing by Api::UserController#update as HTML
|
1165
|
-
Parameters: {"uid"=>"
|
1166
|
-
[1m[36mUser Load (0.
|
1167
|
-
[1m[35m (0.
|
1168
|
-
[1m[
|
1169
|
-
[1m[35m (6.
|
1170
|
-
Completed 200 OK in
|
1171
|
-
[1m[36mUser Load (0.
|
1172
|
-
[1m[
|
1173
|
-
[1m[35m (
|
1174
|
-
[1m[
|
1175
|
-
[1m[35m (
|
1176
|
-
[1m[
|
1177
|
-
[1m[
|
1178
|
-
[1m[
|
1179
|
-
|
1180
|
-
|
1181
|
-
|
1182
|
-
|
1183
|
-
|
1184
|
-
|
1185
|
-
[1m[36mUser Load (0.
|
1186
|
-
[1m[
|
1187
|
-
[1m[
|
1188
|
-
[1m[
|
1189
|
-
[1m[
|
1190
|
-
[1m[
|
1191
|
-
[1m[
|
1192
|
-
|
1193
|
-
|
1194
|
-
|
1195
|
-
|
1196
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:20 +0000
|
1197
|
-
Processing by ExampleController#restricted as HTML
|
1198
|
-
Authenticating with gds_sso strategy
|
1199
|
-
Completed in 0ms (ActiveRecord: 0.0ms)
|
1200
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-03-02 14:30:20 +0000
|
1201
|
-
Started GET "/auth/gds/callback?code=626790cbc5ceba33fa24e7224b17c82d37bc78f8df92274c1c794222f36f96ff&state=9bb03a8550932fe10fc993b13a886530d8e2467c3401a2c5" for 127.0.0.1 at 2020-03-02 14:30:20 +0000
|
1202
|
-
Processing by AuthenticationsController#callback as HTML
|
1203
|
-
Parameters: {"code"=>"626790cbc5ceba33fa24e7224b17c82d37bc78f8df92274c1c794222f36f96ff", "state"=>"9bb03a8550932fe10fc993b13a886530d8e2467c3401a2c5"}
|
1204
|
-
Authenticating with gds_sso strategy
|
1205
|
-
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1206
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["email", "test@example-client.com"], ["LIMIT", 1]]
|
1207
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1208
|
-
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Test User"], ["uid", "integration-uid"], ["email", "test@example-client.com"], ["permissions", "---\n- signin\n"]]
|
1209
|
-
[1m[35m (5.1ms)[0m [1m[36mcommit transaction[0m
|
1210
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1211
|
-
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id", 2]]
|
1212
|
-
[1m[35m (5.2ms)[0m [1m[36mcommit transaction[0m
|
1213
|
-
Redirected to http://www.example-client.com/restricted
|
1214
|
-
Completed 302 Found in 16ms (ActiveRecord: 11.3ms)
|
1215
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:21 +0000
|
1216
|
-
Processing by ExampleController#restricted as HTML
|
1217
|
-
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
1239
|
+
Parameters: {"uid"=>"a1s2d33600"}
|
1240
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d33600"], ["LIMIT", 1]]
|
1241
|
+
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
1242
|
+
[1m[36mUser Update (0.5ms)[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", 10]]
|
1243
|
+
[1m[35m (6.0ms)[0m [1m[36mcommit transaction[0m
|
1244
|
+
Completed 200 OK in 13ms (ActiveRecord: 7.0ms | Allocations: 1222)
|
1245
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 10], ["LIMIT", 1]]
|
1246
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["email", "dummyapiuser@domain.com"], ["LIMIT", 1]]
|
1247
|
+
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
1248
|
+
[1m[36mUser Create (0.6ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Dummy API user created by gds-sso"], ["uid", "9706"], ["email", "dummyapiuser@domain.com"], ["permissions", "---\n- signin\n"]]
|
1249
|
+
[1m[35m (6.6ms)[0m [1m[36mcommit transaction[0m
|
1250
|
+
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
1251
|
+
[1m[36mUser Update (0.5ms)[0m [1m[33mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = ?[0m [["permissions", "---\n- signin\n- extra_permission\n"], ["id", 12]]
|
1252
|
+
[1m[35m (6.8ms)[0m [1m[36mcommit transaction[0m
|
1253
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:53:15 +0000
|
1254
|
+
Processing by ExampleController#restricted as HTML
|
1255
|
+
Authenticating with gds_sso strategy
|
1256
|
+
Completed in 11ms (ActiveRecord: 0.0ms | Allocations: 155)
|
1257
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:53:15 +0000
|
1258
|
+
Processing by ExampleController#restricted as JSON
|
1259
|
+
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1260
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["email", "test@example-client.com"], ["LIMIT", 1]]
|
1261
|
+
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
1262
|
+
[1m[36mUser Create (0.6ms)[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]]
|
1263
|
+
[1m[35m (7.2ms)[0m [1m[36mcommit transaction[0m
|
1264
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1265
|
+
[1m[36mCACHE User Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1266
|
+
[1m[36mCACHE User Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1267
|
+
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
1268
|
+
[1m[36mUser Update (0.5ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", 0], ["id", 13]]
|
1269
|
+
[1m[35m (6.2ms)[0m [1m[36mcommit transaction[0m
|
1218
1270
|
Rendering text template
|
1219
|
-
Rendered text template (0.
|
1220
|
-
Completed 200 OK in
|
1221
|
-
Started GET "/" for 127.0.0.1 at 2020-
|
1222
|
-
Processing by ExampleController#
|
1271
|
+
Rendered text template (Duration: 0.1ms | Allocations: 1)
|
1272
|
+
Completed 200 OK in 148ms (Views: 2.3ms | ActiveRecord: 16.0ms | Allocations: 8171)
|
1273
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-06-12 15:53:15 +0000
|
1274
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
1275
|
+
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1276
|
+
[1m[36mCACHE User Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1277
|
+
[1m[36mCACHE User Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1278
|
+
[1m[36mCACHE User Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1223
1279
|
Rendering text template
|
1224
|
-
Rendered text template (0.0ms)
|
1225
|
-
Completed 200 OK in
|
1226
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
1280
|
+
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
1281
|
+
Completed 200 OK in 113ms (Views: 0.7ms | ActiveRecord: 0.5ms | Allocations: 6340)
|
1282
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:53:15 +0000
|
1283
|
+
Processing by ExampleController#restricted as JSON
|
1284
|
+
Completed in 50ms (ActiveRecord: 0.0ms | Allocations: 1863)
|
1285
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:53:15 +0000
|
1286
|
+
Processing by ExampleController#restricted as JSON
|
1287
|
+
Completed in 45ms (ActiveRecord: 0.0ms | Allocations: 1760)
|
1288
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:53:15 +0000
|
1227
1289
|
Processing by ExampleController#restricted as HTML
|
1228
1290
|
Authenticating with gds_sso strategy
|
1229
|
-
Completed in
|
1230
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
1231
|
-
Started GET "/auth/gds/callback?code=
|
1291
|
+
Completed in 1ms (ActiveRecord: 0.0ms | Allocations: 107)
|
1292
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-06-12 15:53:15 +0000
|
1293
|
+
Started GET "/auth/gds/callback?code=W7vSSyNRyTbSAwSR2KnZoFtV_OFBTIJUZv1EMxVVqXc&state=2633af08a5bea3c181f197487f4fc7504753c22c2bf938dd" for 127.0.0.1 at 2020-06-12 15:53:16 +0000
|
1232
1294
|
Processing by AuthenticationsController#callback as HTML
|
1233
|
-
Parameters: {"code"=>"
|
1295
|
+
Parameters: {"code"=>"W7vSSyNRyTbSAwSR2KnZoFtV_OFBTIJUZv1EMxVVqXc", "state"=>"2633af08a5bea3c181f197487f4fc7504753c22c2bf938dd"}
|
1234
1296
|
Authenticating with gds_sso strategy
|
1235
|
-
[1m[36mUser Load (0.
|
1236
|
-
[1m[35m (0.
|
1237
|
-
[1m[
|
1238
|
-
[1m[35m (
|
1239
|
-
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1297
|
+
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1298
|
+
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
1299
|
+
[1m[36mUser Update (0.6ms)[0m [1m[33mUPDATE "users" SET "disabled" = ? WHERE "users"."id" = ?[0m [["disabled", 0], ["id", 13]]
|
1300
|
+
[1m[35m (7.4ms)[0m [1m[36mcommit transaction[0m
|
1240
1301
|
Redirected to http://www.example-client.com/restricted
|
1241
|
-
Completed 302 Found in
|
1242
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
1302
|
+
Completed 302 Found in 17ms (ActiveRecord: 8.7ms | Allocations: 1150)
|
1303
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:53:16 +0000
|
1243
1304
|
Processing by ExampleController#restricted as HTML
|
1244
|
-
[1m[36mUser Load (0.
|
1305
|
+
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
|
1245
1306
|
Rendering text template
|
1246
|
-
Rendered text template (0.0ms)
|
1247
|
-
Completed 200 OK in
|
1248
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
1307
|
+
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
1308
|
+
Completed 200 OK in 5ms (Views: 0.7ms | ActiveRecord: 0.5ms | Allocations: 687)
|
1309
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:53:16 +0000
|
1249
1310
|
Processing by ExampleController#restricted as HTML
|
1250
1311
|
Authenticating with gds_sso strategy
|
1251
|
-
Completed in
|
1252
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
1253
|
-
Started GET "/auth/gds/callback?code=
|
1312
|
+
Completed in 1ms (ActiveRecord: 0.0ms | Allocations: 107)
|
1313
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-06-12 15:53:16 +0000
|
1314
|
+
Started GET "/auth/gds/callback?code=lSGnnvs1TIVC0NtmtPLtidkJLiw0f7Po8vHnxeqh60g&state=8631a4e65b3c22c555f7f744c276f98d51906f91a4956085" for 127.0.0.1 at 2020-06-12 15:53:16 +0000
|
1254
1315
|
Processing by AuthenticationsController#callback as HTML
|
1255
|
-
Parameters: {"code"=>"
|
1316
|
+
Parameters: {"code"=>"lSGnnvs1TIVC0NtmtPLtidkJLiw0f7Po8vHnxeqh60g", "state"=>"8631a4e65b3c22c555f7f744c276f98d51906f91a4956085"}
|
1256
1317
|
Authenticating with gds_sso strategy
|
1257
|
-
[1m[36mUser Load (0.
|
1258
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1259
|
-
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1260
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1261
|
-
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1318
|
+
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1262
1319
|
Redirected to http://www.example-client.com/restricted
|
1263
|
-
Completed 302 Found in
|
1264
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
1320
|
+
Completed 302 Found in 11ms (ActiveRecord: 0.4ms | Allocations: 913)
|
1321
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:53:16 +0000
|
1265
1322
|
Processing by ExampleController#restricted as HTML
|
1266
|
-
[1m[36mUser Load (0.
|
1323
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
|
1267
1324
|
Rendering text template
|
1268
|
-
Rendered text template (0.0ms)
|
1269
|
-
Completed 200 OK in
|
1270
|
-
Started GET "/
|
1325
|
+
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
1326
|
+
Completed 200 OK in 8ms (Views: 0.6ms | ActiveRecord: 0.3ms | Allocations: 660)
|
1327
|
+
Started GET "/" for 127.0.0.1 at 2020-06-12 15:53:16 +0000
|
1328
|
+
Processing by ExampleController#index as HTML
|
1329
|
+
Rendering text template
|
1330
|
+
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
1331
|
+
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms | Allocations: 137)
|
1332
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-06-12 15:53:16 +0000
|
1271
1333
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
1272
1334
|
Authenticating with gds_sso strategy
|
1273
|
-
Completed in
|
1274
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
1275
|
-
Started GET "/auth/gds/callback?code=
|
1335
|
+
Completed in 1ms (ActiveRecord: 0.0ms | Allocations: 107)
|
1336
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-06-12 15:53:16 +0000
|
1337
|
+
Started GET "/auth/gds/callback?code=srhBFzpduyKjzzV545wFhqWPazPjCPHuJTcqX2kS1j8&state=789e31843ac918b99054f737f0b94538af247e387289da52" for 127.0.0.1 at 2020-06-12 15:53:16 +0000
|
1276
1338
|
Processing by AuthenticationsController#callback as HTML
|
1277
|
-
Parameters: {"code"=>"
|
1339
|
+
Parameters: {"code"=>"srhBFzpduyKjzzV545wFhqWPazPjCPHuJTcqX2kS1j8", "state"=>"789e31843ac918b99054f737f0b94538af247e387289da52"}
|
1278
1340
|
Authenticating with gds_sso strategy
|
1279
|
-
[1m[36mUser Load (0.
|
1280
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1281
|
-
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1282
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1283
|
-
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1341
|
+
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1284
1342
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
1285
|
-
Completed 302 Found in
|
1286
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-
|
1343
|
+
Completed 302 Found in 10ms (ActiveRecord: 0.5ms | Allocations: 913)
|
1344
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-06-12 15:53:17 +0000
|
1287
1345
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
1288
|
-
[1m[36mUser Load (0.
|
1346
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
|
1289
1347
|
Rendering text template
|
1290
|
-
Rendered text template (0.0ms)
|
1291
|
-
Completed 200 OK in
|
1292
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-
|
1348
|
+
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
1349
|
+
Completed 200 OK in 7ms (Views: 2.5ms | ActiveRecord: 0.3ms | Allocations: 660)
|
1350
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-06-12 15:53:17 +0000
|
1293
1351
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
1294
1352
|
Authenticating with gds_sso strategy
|
1295
|
-
Completed in
|
1296
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
1297
|
-
Started GET "/auth/gds/callback?code=
|
1353
|
+
Completed in 2ms (ActiveRecord: 0.0ms | Allocations: 107)
|
1354
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-06-12 15:53:17 +0000
|
1355
|
+
Started GET "/auth/gds/callback?code=MQQwzTrOSdneS05LCO3R2hl3WQhuhBTeymL6yvgZrf8&state=68e70b571e14bfd852320305f4cc83283160ba2db776919d" for 127.0.0.1 at 2020-06-12 15:53:17 +0000
|
1298
1356
|
Processing by AuthenticationsController#callback as HTML
|
1299
|
-
Parameters: {"code"=>"
|
1357
|
+
Parameters: {"code"=>"MQQwzTrOSdneS05LCO3R2hl3WQhuhBTeymL6yvgZrf8", "state"=>"68e70b571e14bfd852320305f4cc83283160ba2db776919d"}
|
1300
1358
|
Authenticating with gds_sso strategy
|
1301
|
-
[1m[36mUser Load (0.
|
1302
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1303
|
-
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1304
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1305
|
-
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1359
|
+
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1306
1360
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
1307
|
-
Completed 302 Found in
|
1308
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-
|
1361
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.4ms | Allocations: 914)
|
1362
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-06-12 15:53:17 +0000
|
1309
1363
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
1310
|
-
[1m[36mUser Load (0.
|
1364
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
|
1311
1365
|
Rendering text template
|
1312
|
-
Rendered text template (0.
|
1313
|
-
Completed 200 OK in
|
1314
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
1366
|
+
Rendered text template (Duration: 0.1ms | Allocations: 1)
|
1367
|
+
Completed 200 OK in 4ms (Views: 0.7ms | ActiveRecord: 0.3ms | Allocations: 661)
|
1368
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:53:17 +0000
|
1315
1369
|
Processing by ExampleController#restricted as HTML
|
1316
1370
|
Authenticating with gds_sso strategy
|
1317
|
-
Completed in
|
1318
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
1319
|
-
Started GET "/auth/gds/callback?code=
|
1371
|
+
Completed in 1ms (ActiveRecord: 0.0ms | Allocations: 107)
|
1372
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-06-12 15:53:17 +0000
|
1373
|
+
Started GET "/auth/gds/callback?code=4C_71P-J5dq9_bUhH8QmniqRnTNUJy2qkBaqefJCTNE&state=752143947f64c36048fdd7078fb383922893539fc3ee3434" for 127.0.0.1 at 2020-06-12 15:53:17 +0000
|
1320
1374
|
Processing by AuthenticationsController#callback as HTML
|
1321
|
-
Parameters: {"code"=>"
|
1375
|
+
Parameters: {"code"=>"4C_71P-J5dq9_bUhH8QmniqRnTNUJy2qkBaqefJCTNE", "state"=>"752143947f64c36048fdd7078fb383922893539fc3ee3434"}
|
1322
1376
|
Authenticating with gds_sso strategy
|
1323
|
-
[1m[36mUser Load (0.
|
1324
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1325
|
-
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1326
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1327
|
-
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1377
|
+
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1328
1378
|
Redirected to http://www.example-client.com/restricted
|
1329
|
-
Completed 302 Found in
|
1330
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
1379
|
+
Completed 302 Found in 6ms (ActiveRecord: 0.4ms | Allocations: 913)
|
1380
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:53:17 +0000
|
1331
1381
|
Processing by ExampleController#restricted as HTML
|
1332
|
-
[1m[36mUser Load (0.
|
1382
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
|
1333
1383
|
Rendering text template
|
1334
|
-
Rendered text template (0.0ms)
|
1335
|
-
Completed 200 OK in
|
1336
|
-
|
1337
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1338
|
-
[1m[36mUser Update (0.3ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "t"], ["id", 2]]
|
1339
|
-
[1m[35m (3.3ms)[0m [1m[36mcommit transaction[0m
|
1340
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:22 +0000
|
1384
|
+
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
1385
|
+
Completed 200 OK in 4ms (Views: 0.6ms | ActiveRecord: 0.3ms | Allocations: 660)
|
1386
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:53:17 +0000
|
1341
1387
|
Processing by ExampleController#restricted as HTML
|
1342
|
-
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
1343
1388
|
Authenticating with gds_sso strategy
|
1344
|
-
Completed in 1ms (ActiveRecord: 0.
|
1345
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
1346
|
-
Started GET "/auth/gds/callback?code=
|
1389
|
+
Completed in 1ms (ActiveRecord: 0.0ms | Allocations: 107)
|
1390
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-06-12 15:53:17 +0000
|
1391
|
+
Started GET "/auth/gds/callback?code=ObbYxDZpDpftZjnl2Oi0oOk_C0LStQpGZSp2rteFh6A&state=b8306e3d0119e9a94493bc7523154afafe46053c4f525e1c" for 127.0.0.1 at 2020-06-12 15:53:17 +0000
|
1347
1392
|
Processing by AuthenticationsController#callback as HTML
|
1348
|
-
Parameters: {"code"=>"
|
1393
|
+
Parameters: {"code"=>"ObbYxDZpDpftZjnl2Oi0oOk_C0LStQpGZSp2rteFh6A", "state"=>"b8306e3d0119e9a94493bc7523154afafe46053c4f525e1c"}
|
1349
1394
|
Authenticating with gds_sso strategy
|
1350
|
-
[1m[36mUser Load (0.
|
1351
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1352
|
-
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1353
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1354
|
-
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id", 2]]
|
1355
|
-
[1m[35m (7.3ms)[0m [1m[36mcommit transaction[0m
|
1395
|
+
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1356
1396
|
Redirected to http://www.example-client.com/restricted
|
1357
|
-
Completed 302 Found in
|
1358
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
1397
|
+
Completed 302 Found in 6ms (ActiveRecord: 0.4ms | Allocations: 913)
|
1398
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:53:17 +0000
|
1359
1399
|
Processing by ExampleController#restricted as HTML
|
1360
|
-
[1m[36mUser Load (0.
|
1400
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
|
1361
1401
|
Rendering text template
|
1362
|
-
Rendered text template (0.0ms)
|
1363
|
-
Completed 200 OK in
|
1364
|
-
|
1365
|
-
|
1366
|
-
|
1367
|
-
|
1368
|
-
Started GET "/
|
1369
|
-
|
1402
|
+
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
1403
|
+
Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.3ms | Allocations: 660)
|
1404
|
+
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["email", "test@example-client.com"], ["LIMIT", 1]]
|
1405
|
+
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
1406
|
+
[1m[36mUser Update (0.6ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", 1], ["id", 13]]
|
1407
|
+
[1m[35m (6.6ms)[0m [1m[36mcommit transaction[0m
|
1408
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:53:18 +0000
|
1409
|
+
Processing by ExampleController#restricted as HTML
|
1410
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
|
1411
|
+
Authenticating with gds_sso strategy
|
1412
|
+
Completed in 3ms (ActiveRecord: 0.3ms | Allocations: 541)
|
1413
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-06-12 15:53:18 +0000
|
1414
|
+
Started GET "/auth/gds/callback?code=oGxc5oQFpaRmmpxPCFpS3dXS8jdkX0K63pQcI9rBY_0&state=2e1ac2b93711b33056a11361943688f7c24acb3f52920d6a" for 127.0.0.1 at 2020-06-12 15:53:18 +0000
|
1370
1415
|
Processing by AuthenticationsController#callback as HTML
|
1371
|
-
Parameters: {"code"=>"
|
1416
|
+
Parameters: {"code"=>"oGxc5oQFpaRmmpxPCFpS3dXS8jdkX0K63pQcI9rBY_0", "state"=>"2e1ac2b93711b33056a11361943688f7c24acb3f52920d6a"}
|
1372
1417
|
Authenticating with gds_sso strategy
|
1373
|
-
[1m[36mUser Load (0.
|
1418
|
+
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1374
1419
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1375
|
-
[1m[
|
1376
|
-
[1m[35m (
|
1377
|
-
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1420
|
+
[1m[36mUser Update (0.7ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", 0], ["id", 13]]
|
1421
|
+
[1m[35m (7.3ms)[0m [1m[36mcommit transaction[0m
|
1378
1422
|
Redirected to http://www.example-client.com/restricted
|
1379
|
-
Completed 302 Found in
|
1380
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
1423
|
+
Completed 302 Found in 15ms (ActiveRecord: 8.5ms | Allocations: 1105)
|
1424
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:53:18 +0000
|
1381
1425
|
Processing by ExampleController#restricted as HTML
|
1382
|
-
[1m[36mUser Load (0.
|
1426
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
|
1383
1427
|
Rendering text template
|
1384
|
-
Rendered text template (0.0ms)
|
1385
|
-
Completed 200 OK in
|
1386
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
1428
|
+
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
1429
|
+
Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.3ms | Allocations: 659)
|
1430
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:53:18 +0000
|
1387
1431
|
Processing by ExampleController#restricted as HTML
|
1388
1432
|
Authenticating with gds_sso strategy
|
1389
|
-
Completed in 1ms (ActiveRecord: 0.0ms)
|
1390
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
1391
|
-
Started GET "/auth/gds/callback?code=
|
1433
|
+
Completed in 1ms (ActiveRecord: 0.0ms | Allocations: 107)
|
1434
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-06-12 15:53:18 +0000
|
1435
|
+
Started GET "/auth/gds/callback?code=z344M9hbOvtkT1OLxs6uFRY5fsqk7h0Jk43RBJcekEQ&state=389c84a4d79f48469a3e97a360f890979ab45cc02e633a38" for 127.0.0.1 at 2020-06-12 15:53:18 +0000
|
1392
1436
|
Processing by AuthenticationsController#callback as HTML
|
1393
|
-
Parameters: {"code"=>"
|
1437
|
+
Parameters: {"code"=>"z344M9hbOvtkT1OLxs6uFRY5fsqk7h0Jk43RBJcekEQ", "state"=>"389c84a4d79f48469a3e97a360f890979ab45cc02e633a38"}
|
1394
1438
|
Authenticating with gds_sso strategy
|
1395
|
-
[1m[36mUser Load (0.
|
1396
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1397
|
-
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1398
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1399
|
-
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1439
|
+
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1400
1440
|
Redirected to http://www.example-client.com/restricted
|
1401
|
-
Completed 302 Found in
|
1402
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
1441
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.5ms | Allocations: 913)
|
1442
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:53:18 +0000
|
1403
1443
|
Processing by ExampleController#restricted as HTML
|
1404
|
-
[1m[36mUser Load (0.
|
1444
|
+
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
|
1405
1445
|
Rendering text template
|
1406
|
-
Rendered text template (0.
|
1407
|
-
Completed 200 OK in
|
1408
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
1446
|
+
Rendered text template (Duration: 0.1ms | Allocations: 1)
|
1447
|
+
Completed 200 OK in 4ms (Views: 0.8ms | ActiveRecord: 0.4ms | Allocations: 661)
|
1448
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-06-13 11:48:18 +0000
|
1449
|
+
Processing by ExampleController#restricted as HTML
|
1450
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
|
1451
|
+
Rendering text template
|
1452
|
+
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
1453
|
+
Completed 200 OK in 4ms (Views: 0.7ms | ActiveRecord: 0.3ms | Allocations: 883)
|
1454
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:53:18 +0000
|
1409
1455
|
Processing by ExampleController#restricted as HTML
|
1410
1456
|
Authenticating with gds_sso strategy
|
1411
|
-
Completed in
|
1412
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
1413
|
-
Started GET "/auth/gds/callback?code=
|
1457
|
+
Completed in 1ms (ActiveRecord: 0.0ms | Allocations: 107)
|
1458
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-06-12 15:53:18 +0000
|
1459
|
+
Started GET "/auth/gds/callback?code=2wWd42zSW5fe0LTYAtEZ_aHyHYxtOlpndfvPTy4cmLc&state=b444bf0a9c25f1c0d30b5a1f6e9a89beabefd3b3e8dd6a01" for 127.0.0.1 at 2020-06-12 15:53:18 +0000
|
1414
1460
|
Processing by AuthenticationsController#callback as HTML
|
1415
|
-
Parameters: {"code"=>"
|
1461
|
+
Parameters: {"code"=>"2wWd42zSW5fe0LTYAtEZ_aHyHYxtOlpndfvPTy4cmLc", "state"=>"b444bf0a9c25f1c0d30b5a1f6e9a89beabefd3b3e8dd6a01"}
|
1416
1462
|
Authenticating with gds_sso strategy
|
1417
|
-
[1m[36mUser Load (0.
|
1418
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1419
|
-
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1420
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1421
|
-
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1463
|
+
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1422
1464
|
Redirected to http://www.example-client.com/restricted
|
1423
|
-
Completed 302 Found in
|
1424
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
1465
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.4ms | Allocations: 913)
|
1466
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:53:19 +0000
|
1425
1467
|
Processing by ExampleController#restricted as HTML
|
1426
|
-
[1m[36mUser Load (0.
|
1468
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
|
1427
1469
|
Rendering text template
|
1428
|
-
Rendered text template (0.
|
1429
|
-
Completed 200 OK in
|
1430
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
1470
|
+
Rendered text template (Duration: 0.1ms | Allocations: 1)
|
1471
|
+
Completed 200 OK in 4ms (Views: 0.7ms | ActiveRecord: 0.3ms | Allocations: 660)
|
1472
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-06-13 11:58:19 +0000
|
1431
1473
|
Processing by ExampleController#restricted as HTML
|
1432
1474
|
Authenticating with gds_sso strategy
|
1433
|
-
Completed in
|
1434
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
1435
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
1475
|
+
Completed in 2ms (ActiveRecord: 0.0ms | Allocations: 488)
|
1476
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-06-13 11:58:19 +0000
|
1477
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:53:19 +0000
|
1436
1478
|
Processing by ExampleController#restricted as HTML
|
1437
1479
|
Authenticating with gds_sso strategy
|
1438
|
-
Completed in
|
1439
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
1440
|
-
Started GET "/auth/gds/callback?code=
|
1480
|
+
Completed in 1ms (ActiveRecord: 0.0ms | Allocations: 107)
|
1481
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-06-12 15:53:19 +0000
|
1482
|
+
Started GET "/auth/gds/callback?code=wG6dOgcCevXcttMKMMYwQUrqa5A3G846P6O8KcufIn4&state=72b9665daca597fa81a3fbaac0611bb9558b460d5e349a83" for 127.0.0.1 at 2020-06-12 15:53:19 +0000
|
1441
1483
|
Processing by AuthenticationsController#callback as HTML
|
1442
|
-
Parameters: {"code"=>"
|
1484
|
+
Parameters: {"code"=>"wG6dOgcCevXcttMKMMYwQUrqa5A3G846P6O8KcufIn4", "state"=>"72b9665daca597fa81a3fbaac0611bb9558b460d5e349a83"}
|
1443
1485
|
Authenticating with gds_sso strategy
|
1444
|
-
[1m[36mUser Load (0.
|
1445
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1446
|
-
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1447
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1448
|
-
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1486
|
+
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1449
1487
|
Redirected to http://www.example-client.com/restricted
|
1450
|
-
Completed 302 Found in
|
1451
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
1488
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.5ms | Allocations: 913)
|
1489
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-06-12 15:53:19 +0000
|
1452
1490
|
Processing by ExampleController#restricted as HTML
|
1453
|
-
[1m[36mUser Load (0.
|
1491
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
|
1454
1492
|
Rendering text template
|
1455
|
-
Rendered text template (0.0ms)
|
1456
|
-
Completed 200 OK in
|
1457
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
1493
|
+
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
1494
|
+
Completed 200 OK in 4ms (Views: 0.7ms | ActiveRecord: 0.3ms | Allocations: 660)
|
1495
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-06-13 11:58:19 +0000
|
1458
1496
|
Processing by ExampleController#restricted as HTML
|
1459
|
-
|
1460
|
-
|
1461
|
-
|
1462
|
-
|
1463
|
-
|
1464
|
-
|
1465
|
-
|
1466
|
-
[1m[
|
1467
|
-
|
1468
|
-
|
1469
|
-
|
1470
|
-
|
1471
|
-
[1m[
|
1472
|
-
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1473
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1474
|
-
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1475
|
-
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1476
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1477
|
-
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1478
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1479
|
-
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1480
|
-
Rendering text template
|
1481
|
-
Rendered text template (0.0ms)
|
1482
|
-
Completed 200 OK in 62ms (Views: 0.3ms | ActiveRecord: 8.3ms)
|
1483
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:22 +0000
|
1484
|
-
Processing by ExampleController#restricted as JSON
|
1485
|
-
Completed in 12ms (ActiveRecord: 0.0ms)
|
1486
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-03-02 14:30:23 +0000
|
1487
|
-
Processing by ExampleController#this_requires_signin_permission as JSON
|
1488
|
-
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1489
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1490
|
-
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1491
|
-
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1492
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1493
|
-
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1494
|
-
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1495
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1496
|
-
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1497
|
-
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1498
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1499
|
-
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1500
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1501
|
-
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1497
|
+
Authenticating with gds_sso strategy
|
1498
|
+
Completed in 1ms (ActiveRecord: 0.0ms | Allocations: 488)
|
1499
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-06-13 11:58:19 +0000
|
1500
|
+
Started GET "/auth/gds/callback?code=GiTqxrVxxVNTmCM6yrBIbdrOiMIpRawIQ0iadBH1pls&state=f7efb007e1a1bc5cbf001a76d2163b4a5561f49a8f6914bb" for 127.0.0.1 at 2020-06-13 11:58:19 +0000
|
1501
|
+
Processing by AuthenticationsController#callback as HTML
|
1502
|
+
Parameters: {"code"=>"GiTqxrVxxVNTmCM6yrBIbdrOiMIpRawIQ0iadBH1pls", "state"=>"f7efb007e1a1bc5cbf001a76d2163b4a5561f49a8f6914bb"}
|
1503
|
+
Authenticating with gds_sso strategy
|
1504
|
+
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1505
|
+
Redirected to http://www.example-client.com/restricted
|
1506
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.4ms | Allocations: 1115)
|
1507
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-06-13 11:58:19 +0000
|
1508
|
+
Processing by ExampleController#restricted as HTML
|
1509
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
|
1502
1510
|
Rendering text template
|
1503
|
-
Rendered text template (0.
|
1504
|
-
Completed 200 OK in
|
1505
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-03-02 14:30:23 +0000
|
1506
|
-
Processing by ExampleController#restricted as JSON
|
1507
|
-
Completed in 18ms (ActiveRecord: 0.0ms)
|
1508
|
-
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["email", "dummyapiuser@domain.com"], ["LIMIT", 1]]
|
1509
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1510
|
-
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Dummy API user created by gds-sso"], ["uid", "2217"], ["email", "dummyapiuser@domain.com"], ["permissions", "---\n- signin\n"]]
|
1511
|
-
[1m[35m (6.0ms)[0m [1m[36mcommit transaction[0m
|
1512
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1513
|
-
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = ?[0m [["permissions", "---\n- signin\n- extra_permission\n"], ["id", 3]]
|
1514
|
-
[1m[35m (5.4ms)[0m [1m[36mcommit transaction[0m
|
1515
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1516
|
-
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d33333"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1517
|
-
[1m[35m (11.3ms)[0m [1m[36mcommit transaction[0m
|
1518
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1519
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d34038"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1520
|
-
[1m[35m (5.7ms)[0m [1m[36mcommit transaction[0m
|
1521
|
-
Processing by Api::UserController#update as HTML
|
1522
|
-
Parameters: {"uid"=>"a1s2d33333"}
|
1523
|
-
Rendering /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
1524
|
-
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
1525
|
-
Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
|
1526
|
-
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
1527
|
-
Completed 403 Forbidden in 6ms (Views: 6.0ms | ActiveRecord: 0.0ms)
|
1528
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1529
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d34776"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1530
|
-
[1m[35m (8.7ms)[0m [1m[36mcommit transaction[0m
|
1531
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1532
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d34840"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1533
|
-
[1m[35m (4.4ms)[0m [1m[36mcommit transaction[0m
|
1534
|
-
Processing by Api::UserController#update as HTML
|
1535
|
-
Parameters: {"uid"=>"a1s2d34776"}
|
1536
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d34776"], ["LIMIT", 1]]
|
1537
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1538
|
-
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "email" = ?, "name" = ?, "permissions" = ?, "organisation_slug" = ?, "organisation_content_id" = ? WHERE "users"."id" = ?[0m [["email", "user@domain.com"], ["name", "Joshua Marshall"], ["permissions", "---\n- signin\n- new permission\n"], ["organisation_slug", "justice-league"], ["organisation_content_id", "aae1319e-5788-4677-998c-f1a53af528d0"], ["id", 6]]
|
1539
|
-
[1m[35m (3.1ms)[0m [1m[36mcommit transaction[0m
|
1540
|
-
Completed 200 OK in 6ms (ActiveRecord: 3.5ms)
|
1541
|
-
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 6], ["LIMIT", 1]]
|
1542
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1543
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d33605"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1544
|
-
[1m[35m (2.7ms)[0m [1m[36mcommit transaction[0m
|
1545
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1546
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d37908"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1547
|
-
[1m[35m (5.1ms)[0m [1m[36mcommit transaction[0m
|
1548
|
-
Processing by Api::UserController#reauth as HTML
|
1549
|
-
Parameters: {"uid"=>"nonexistent-user"}
|
1550
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "nonexistent-user"], ["LIMIT", 1]]
|
1551
|
-
Completed 200 OK in 1ms (ActiveRecord: 0.1ms)
|
1552
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1553
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d35409"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1554
|
-
[1m[35m (4.5ms)[0m [1m[36mcommit transaction[0m
|
1555
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1556
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d35522"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1557
|
-
[1m[35m (12.4ms)[0m [1m[36mcommit transaction[0m
|
1558
|
-
Processing by Api::UserController#reauth as HTML
|
1559
|
-
Parameters: {"uid"=>"a1s2d35409"}
|
1560
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d35409"], ["LIMIT", 1]]
|
1561
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1562
|
-
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "t"], ["id", 10]]
|
1563
|
-
[1m[35m (3.0ms)[0m [1m[36mcommit transaction[0m
|
1564
|
-
Completed 200 OK in 5ms (ActiveRecord: 3.4ms)
|
1565
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 10], ["LIMIT", 1]]
|
1566
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1567
|
-
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d33382"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1568
|
-
[1m[35m (4.2ms)[0m [1m[36mcommit transaction[0m
|
1569
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1570
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d35766"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1571
|
-
[1m[35m (2.9ms)[0m [1m[36mcommit transaction[0m
|
1572
|
-
Processing by Api::UserController#reauth as HTML
|
1573
|
-
Parameters: {"uid"=>"a1s2d33382"}
|
1574
|
-
Rendering /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
1575
|
-
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
1576
|
-
Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
|
1577
|
-
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
1578
|
-
Completed 403 Forbidden in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
|
1511
|
+
Rendered text template (Duration: 0.1ms | Allocations: 1)
|
1512
|
+
Completed 200 OK in 4ms (Views: 0.7ms | ActiveRecord: 0.3ms | Allocations: 885)
|