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