gds-sso 14.1.1 → 15.1.0
Sign up to get free protection for your applications and to get access to all the features.
- 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 +3 -5
- data/app/views/layouts/unauthorised.html.erb +1 -1
- data/config/routes.rb +7 -6
- data/lib/gds-sso.rb +27 -18
- data/lib/gds-sso/api_access.rb +1 -1
- data/lib/gds-sso/bearer_token.rb +24 -24
- data/lib/gds-sso/config.rb +17 -9
- 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 +27 -28
- data/lib/gds-sso/lint/user_test.rb +28 -28
- data/lib/gds-sso/railtie.rb +12 -0
- data/lib/gds-sso/user.rb +13 -13
- 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 -28
- data/spec/internal/app/assets/config/manifest.js +0 -0
- 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 +5 -2
- data/spec/internal/config/storage.yml +3 -0
- data/spec/internal/db/combustion_test.sqlite +0 -0
- data/spec/internal/db/schema.rb +9 -5
- data/spec/internal/log/test.log +1100 -1166
- data/spec/requests/end_to_end_spec.rb +45 -46
- data/spec/spec_helper.rb +12 -13
- data/spec/support/signon_integration_helpers.rb +9 -7
- 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 -5
- data/spec/unit/user_spec.rb +23 -24
- metadata +88 -54
@@ -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,6 +1,6 @@
|
|
1
|
-
require
|
1
|
+
require "spec_helper"
|
2
2
|
|
3
|
-
RSpec.describe GDS::SSO::ControllerMethods,
|
3
|
+
RSpec.describe GDS::SSO::ControllerMethods, "#authorise_user!" do
|
4
4
|
class ControllerSpy < ApplicationController
|
5
5
|
include GDS::SSO::ControllerMethods
|
6
6
|
|
@@ -18,54 +18,54 @@ RSpec.describe GDS::SSO::ControllerMethods, '#authorise_user!' do
|
|
18
18
|
let(:current_user) { double }
|
19
19
|
let(:expected_error) { GDS::SSO::ControllerMethods::PermissionDeniedException }
|
20
20
|
|
21
|
-
context
|
22
|
-
it
|
23
|
-
allow(current_user).to receive(:has_permission?).with(
|
21
|
+
context "with a single string permission argument" do
|
22
|
+
it "permits users with the required permission" do
|
23
|
+
allow(current_user).to receive(:has_permission?).with("good").and_return(true)
|
24
24
|
|
25
|
-
expect { ControllerSpy.new(current_user).authorise_user!(
|
25
|
+
expect { ControllerSpy.new(current_user).authorise_user!("good") }.not_to raise_error
|
26
26
|
end
|
27
27
|
|
28
|
-
it
|
29
|
-
allow(current_user).to receive(:has_permission?).with(
|
28
|
+
it "does not permit the users without the required permission" do
|
29
|
+
allow(current_user).to receive(:has_permission?).with("good").and_return(false)
|
30
30
|
|
31
|
-
expect { ControllerSpy.new(current_user).authorise_user!(
|
31
|
+
expect { ControllerSpy.new(current_user).authorise_user!("good") }.to raise_error(expected_error)
|
32
32
|
end
|
33
33
|
end
|
34
34
|
|
35
|
-
context
|
36
|
-
it
|
37
|
-
allow(current_user).to receive(:has_permission?).with(
|
38
|
-
allow(current_user).to receive(:has_permission?).with(
|
35
|
+
context "with the `all_of` option" do
|
36
|
+
it "permits users with all of the required permissions" do
|
37
|
+
allow(current_user).to receive(:has_permission?).with("good").and_return(true)
|
38
|
+
allow(current_user).to receive(:has_permission?).with("bad").and_return(true)
|
39
39
|
|
40
|
-
expect { ControllerSpy.new(current_user).authorise_user!(all_of: %w
|
40
|
+
expect { ControllerSpy.new(current_user).authorise_user!(all_of: %w[good bad]) }.not_to raise_error
|
41
41
|
end
|
42
42
|
|
43
|
-
it
|
44
|
-
allow(current_user).to receive(:has_permission?).with(
|
45
|
-
allow(current_user).to receive(:has_permission?).with(
|
43
|
+
it "does not permit users without all of the required permissions" do
|
44
|
+
allow(current_user).to receive(:has_permission?).with("good").and_return(false)
|
45
|
+
allow(current_user).to receive(:has_permission?).with("bad").and_return(true)
|
46
46
|
|
47
|
-
expect { ControllerSpy.new(current_user).authorise_user!(all_of: %w
|
47
|
+
expect { ControllerSpy.new(current_user).authorise_user!(all_of: %w[good bad]) }.to raise_error(expected_error)
|
48
48
|
end
|
49
49
|
end
|
50
50
|
|
51
|
-
context
|
52
|
-
it
|
53
|
-
allow(current_user).to receive(:has_permission?).with(
|
54
|
-
allow(current_user).to receive(:has_permission?).with(
|
51
|
+
context "with the `any_of` option" do
|
52
|
+
it "permits users with any of the required permissions" do
|
53
|
+
allow(current_user).to receive(:has_permission?).with("good").and_return(true)
|
54
|
+
allow(current_user).to receive(:has_permission?).with("bad").and_return(false)
|
55
55
|
|
56
|
-
expect { ControllerSpy.new(current_user).authorise_user!(any_of: %w
|
56
|
+
expect { ControllerSpy.new(current_user).authorise_user!(any_of: %w[good bad]) }.not_to raise_error
|
57
57
|
end
|
58
58
|
|
59
|
-
it
|
59
|
+
it "does not permit users without any of the required permissions" do
|
60
60
|
allow(current_user).to receive(:has_permission?).and_return(false)
|
61
61
|
|
62
|
-
expect { ControllerSpy.new(current_user).authorise_user!(any_of: %w
|
62
|
+
expect { ControllerSpy.new(current_user).authorise_user!(any_of: %w[good bad]) }.to raise_error(expected_error)
|
63
63
|
end
|
64
64
|
end
|
65
65
|
|
66
|
-
context
|
67
|
-
it
|
68
|
-
expect { ControllerSpy.new(current_user).authorise_user!(whoops:
|
66
|
+
context "with none of `any_of` or `all_of`" do
|
67
|
+
it "raises an `ArgumentError`" do
|
68
|
+
expect { ControllerSpy.new(current_user).authorise_user!(whoops: "bad") }.to raise_error(ArgumentError)
|
69
69
|
end
|
70
70
|
end
|
71
71
|
end
|
File without changes
|
@@ -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"
|
@@ -1,5 +1,8 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
Rails.application.routes.draw do
|
2
|
-
|
3
|
-
|
4
|
+
# Add your own routes here, or remove this file if you don't have need for it.
|
5
|
+
root to: "example#index"
|
6
|
+
get "/restricted" => "example#restricted"
|
4
7
|
get "/this_requires_signin_permission" => "example#this_requires_signin_permission"
|
5
8
|
end
|
Binary file
|
data/spec/internal/db/schema.rb
CHANGED
@@ -1,12 +1,16 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
ActiveRecord::Schema.define do
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
t.string "
|
4
|
+
# Set up any tables you need to exist for your test suite that don't belong
|
5
|
+
# in migrations.
|
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
|
6
10
|
t.boolean "remotely_signed_out"
|
7
11
|
t.text "permissions"
|
8
12
|
t.string "organisation_slug"
|
9
13
|
t.string "organisation_content_id"
|
10
|
-
t.boolean "disabled",
|
14
|
+
t.boolean "disabled", default: false
|
11
15
|
end
|
12
16
|
end
|
data/spec/internal/log/test.log
CHANGED
@@ -1,1553 +1,1135 @@
|
|
1
|
-
[1m[36m (10.7ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "uid" varchar NOT NULL, "email" varchar NOT NULL, "remotely_signed_out" boolean, "permissions" text, "organisation_slug" varchar, "organisation_content_id" varchar, "disabled" boolean DEFAULT 'f') [0m
|
2
|
-
[1m[35m (3.7ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
3
|
-
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
4
|
-
[1m[35m (3.9ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
5
|
-
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["email", "dummyapiuser@domain.com"]]
|
6
|
-
[1m[35m (0.1ms)[0m begin transaction
|
7
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "uid", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["email", "dummyapiuser@domain.com"], ["uid", "4384"], ["name", "Dummy API user created by gds-sso"], ["permissions", "---\n- signin\n"]]
|
8
|
-
[1m[35m (4.0ms)[0m commit transaction
|
9
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
10
|
-
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = ? [["permissions", "---\n- signin\n- extra_permission\n"], ["id", 1]]
|
11
|
-
[1m[36m (4.1ms)[0m [1mcommit transaction[0m
|
12
|
-
[1m[35m (0.1ms)[0m begin transaction
|
13
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d38708"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
14
|
-
[1m[35m (3.4ms)[0m commit transaction
|
15
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
16
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d31275"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
17
|
-
[1m[36m (4.2ms)[0m [1mcommit transaction[0m
|
18
|
-
Processing by Api::UserController#reauth as HTML
|
19
|
-
Parameters: {"uid"=>"nonexistent-user"}
|
20
|
-
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "nonexistent-user"]]
|
21
|
-
Completed 200 OK in 1ms (ActiveRecord: 0.2ms)
|
22
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
23
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d38949"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
24
|
-
[1m[36m (6.1ms)[0m [1mcommit transaction[0m
|
25
|
-
[1m[35m (0.1ms)[0m begin transaction
|
26
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d38757"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
27
|
-
[1m[35m (4.4ms)[0m commit transaction
|
28
|
-
Processing by Api::UserController#reauth as HTML
|
29
|
-
Parameters: {"uid"=>"a1s2d38949"}
|
30
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "a1s2d38949"]]
|
31
|
-
[1m[35m (0.0ms)[0m begin transaction
|
32
|
-
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "t"], ["id", 4]]
|
33
|
-
[1m[35m (4.2ms)[0m commit transaction
|
34
|
-
Completed 200 OK in 8ms (ActiveRecord: 4.5ms)
|
35
|
-
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 4]]
|
36
|
-
[1m[35m (0.1ms)[0m begin transaction
|
37
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d36058"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
38
|
-
[1m[35m (5.2ms)[0m commit transaction
|
39
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
40
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d39319"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
41
|
-
[1m[36m (3.9ms)[0m [1mcommit transaction[0m
|
42
|
-
Processing by Api::UserController#reauth as HTML
|
43
|
-
Parameters: {"uid"=>"a1s2d36058"}
|
44
|
-
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
45
|
-
Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
|
46
|
-
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
47
|
-
Completed 403 Forbidden in 14ms (Views: 14.0ms | ActiveRecord: 0.0ms)
|
48
|
-
[1m[35m (0.1ms)[0m begin transaction
|
49
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d34081"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
50
|
-
[1m[35m (3.2ms)[0m commit transaction
|
51
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
52
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d32179"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
53
|
-
[1m[36m (3.9ms)[0m [1mcommit transaction[0m
|
54
|
-
Processing by Api::UserController#update as HTML
|
55
|
-
Parameters: {"uid"=>"a1s2d34081"}
|
56
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "a1s2d34081"]]
|
57
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
58
|
-
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "email" = ?, "name" = ?, "permissions" = ?, "organisation_slug" = ?, "organisation_content_id" = ? WHERE "users"."id" = ? [["email", "user@domain.com"], ["name", "Joshua Marshall"], ["permissions", "---\n- signin\n- new permission\n"], ["organisation_slug", "justice-league"], ["organisation_content_id", "aae1319e-5788-4677-998c-f1a53af528d0"], ["id", 8]]
|
59
|
-
[1m[36m (5.9ms)[0m [1mcommit transaction[0m
|
60
|
-
Completed 200 OK in 9ms (ActiveRecord: 6.3ms)
|
61
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 8]]
|
62
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
63
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d33491"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
64
|
-
[1m[36m (13.7ms)[0m [1mcommit transaction[0m
|
65
|
-
[1m[35m (0.1ms)[0m begin transaction
|
66
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d38692"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
67
|
-
[1m[35m (3.1ms)[0m commit transaction
|
68
|
-
Processing by Api::UserController#update as HTML
|
69
|
-
Parameters: {"uid"=>"a1s2d33491"}
|
70
|
-
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
71
|
-
Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
|
72
|
-
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
73
|
-
Completed 403 Forbidden in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)
|
74
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "asd"]]
|
75
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "user@example.com"]]
|
76
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
77
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions", "organisation_slug", "organisation_content_id", "disabled") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "asd"], ["email", "user@example.com"], ["name", "A Name"], ["permissions", "---\n- signin\n"], ["organisation_slug", "hmrc"], ["organisation_content_id", "67a2b78d-eee3-45b3-80e2-792e7f71cecc"], ["disabled", nil]]
|
78
|
-
[1m[36m (3.5ms)[0m [1mcommit transaction[0m
|
79
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "asd"]]
|
80
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
81
|
-
[1m[35m (0.1ms)[0m commit transaction
|
82
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:25:38 +0000
|
83
|
-
Processing by ExampleController#restricted as HTML
|
84
|
-
Authenticating with gds_sso strategy
|
85
|
-
Completed in 8ms (ActiveRecord: 0.0ms)
|
86
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-19 11:25:38 +0000
|
87
|
-
Started GET "/auth/gds/callback?code=fbb8d4307c2fdd275fe442a5e566b856c86ff5ee5359b6ac3c13dd93ab56d794&state=6baf9387e2083581ddea707e4fd8f1ba2aac420fb3fb4f6b" for 127.0.0.1 at 2019-07-19 11:26:20 +0000
|
88
|
-
Processing by AuthenticationsController#callback as HTML
|
89
|
-
Parameters: {"code"=>"fbb8d4307c2fdd275fe442a5e566b856c86ff5ee5359b6ac3c13dd93ab56d794", "state"=>"6baf9387e2083581ddea707e4fd8f1ba2aac420fb3fb4f6b"}
|
90
|
-
Authenticating with gds_sso strategy
|
91
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
92
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "test@example-client.com"]]
|
93
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
94
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "integration-uid"], ["email", "test@example-client.com"], ["name", "Test User"], ["permissions", "---\n- signin\n"]]
|
95
|
-
[1m[36m (48.8ms)[0m [1mcommit transaction[0m
|
96
|
-
[1m[35m (0.0ms)[0m begin transaction
|
97
|
-
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id", 13]]
|
98
|
-
[1m[35m (18.4ms)[0m commit transaction
|
99
|
-
Redirected to http://www.example-client.com/restricted
|
100
|
-
Completed 302 Found in 73ms (ActiveRecord: 67.9ms)
|
101
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:20 +0000
|
102
|
-
Processing by ExampleController#restricted as HTML
|
103
|
-
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
104
|
-
Rendered text template (0.0ms)
|
105
|
-
Completed 200 OK in 5ms (Views: 3.7ms | ActiveRecord: 0.2ms)
|
106
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:20 +0000
|
107
|
-
Processing by ExampleController#restricted as HTML
|
108
|
-
Authenticating with gds_sso strategy
|
109
|
-
Completed in 0ms (ActiveRecord: 0.0ms)
|
110
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-19 11:26:20 +0000
|
111
|
-
Started GET "/auth/gds/callback?code=8529a7a4a943ba21953f5adb145051ffe880e471a607ba8ca392718521a9b152&state=876ca422f3433c9b4c5a02eefeb4f9e03a3996ef94aa95a7" for 127.0.0.1 at 2019-07-19 11:26:20 +0000
|
112
|
-
Processing by AuthenticationsController#callback as HTML
|
113
|
-
Parameters: {"code"=>"8529a7a4a943ba21953f5adb145051ffe880e471a607ba8ca392718521a9b152", "state"=>"876ca422f3433c9b4c5a02eefeb4f9e03a3996ef94aa95a7"}
|
114
|
-
Authenticating with gds_sso strategy
|
115
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
116
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
117
|
-
[1m[35m (0.0ms)[0m commit transaction
|
118
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
119
|
-
[1m[35m (0.0ms)[0m commit transaction
|
120
|
-
Redirected to http://www.example-client.com/restricted
|
121
|
-
Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
|
122
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:20 +0000
|
123
|
-
Processing by ExampleController#restricted as HTML
|
124
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
125
|
-
Rendered text template (0.0ms)
|
126
|
-
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.1ms)
|
127
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-07-19 11:26:20 +0000
|
128
|
-
Processing by ExampleController#this_requires_signin_permission as HTML
|
129
|
-
Authenticating with gds_sso strategy
|
130
|
-
Completed in 0ms (ActiveRecord: 0.0ms)
|
131
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-19 11:26:20 +0000
|
132
|
-
Started GET "/auth/gds/callback?code=b9f216e19ba1a2c722018ff13af4210369ccaf9eb98fd6f4e630e2c7b05efc9a&state=fe719a7832263aec9fdd7ab7a7302b89930d488c84d40ad9" for 127.0.0.1 at 2019-07-19 11:26:20 +0000
|
133
|
-
Processing by AuthenticationsController#callback as HTML
|
134
|
-
Parameters: {"code"=>"b9f216e19ba1a2c722018ff13af4210369ccaf9eb98fd6f4e630e2c7b05efc9a", "state"=>"fe719a7832263aec9fdd7ab7a7302b89930d488c84d40ad9"}
|
135
|
-
Authenticating with gds_sso strategy
|
136
|
-
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
137
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
138
|
-
[1m[35m (0.1ms)[0m commit transaction
|
139
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
140
|
-
[1m[35m (0.0ms)[0m commit transaction
|
141
|
-
Redirected to http://www.example-client.com/this_requires_signin_permission
|
142
|
-
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
143
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-07-19 11:26:20 +0000
|
144
|
-
Processing by ExampleController#this_requires_signin_permission as HTML
|
145
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
146
|
-
Rendered text template (0.0ms)
|
147
|
-
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
148
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-07-19 11:26:20 +0000
|
149
|
-
Processing by ExampleController#this_requires_signin_permission as HTML
|
150
|
-
Authenticating with gds_sso strategy
|
151
|
-
Completed in 0ms (ActiveRecord: 0.0ms)
|
152
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-19 11:26:20 +0000
|
153
|
-
Started GET "/auth/gds/callback?code=a0be5d9c9c06ccc9932a2b1e4510eb97e8388c6b8b30f3843adfbcc0dd80d8b8&state=f3618b335a95889c1708c9590205255410e7dabb15d0947e" for 127.0.0.1 at 2019-07-19 11:26:20 +0000
|
154
|
-
Processing by AuthenticationsController#callback as HTML
|
155
|
-
Parameters: {"code"=>"a0be5d9c9c06ccc9932a2b1e4510eb97e8388c6b8b30f3843adfbcc0dd80d8b8", "state"=>"f3618b335a95889c1708c9590205255410e7dabb15d0947e"}
|
156
|
-
Authenticating with gds_sso strategy
|
157
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
158
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
159
|
-
[1m[35m (0.0ms)[0m commit transaction
|
160
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
161
|
-
[1m[35m (0.0ms)[0m commit transaction
|
162
|
-
Redirected to http://www.example-client.com/this_requires_signin_permission
|
163
|
-
Completed 302 Found in 6ms (ActiveRecord: 0.3ms)
|
164
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-07-19 11:26:20 +0000
|
165
|
-
Processing by ExampleController#this_requires_signin_permission as HTML
|
166
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
167
|
-
Rendered text template (0.0ms)
|
168
|
-
Completed 200 OK in 2ms (Views: 1.0ms | ActiveRecord: 0.1ms)
|
169
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:20 +0000
|
170
|
-
Processing by ExampleController#restricted as HTML
|
171
|
-
Authenticating with gds_sso strategy
|
172
|
-
Completed in 0ms (ActiveRecord: 0.0ms)
|
173
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-19 11:26:20 +0000
|
174
|
-
Started GET "/auth/gds/callback?code=598e793cd9647b0b6b638603a39936be44ea312b07ed79e0b0be9dcb2f6be47c&state=3c80e27a90f70f0500e2d27d650b5f82763d08653323223f" for 127.0.0.1 at 2019-07-19 11:26:20 +0000
|
175
|
-
Processing by AuthenticationsController#callback as HTML
|
176
|
-
Parameters: {"code"=>"598e793cd9647b0b6b638603a39936be44ea312b07ed79e0b0be9dcb2f6be47c", "state"=>"3c80e27a90f70f0500e2d27d650b5f82763d08653323223f"}
|
177
|
-
Authenticating with gds_sso strategy
|
178
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
179
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
180
|
-
[1m[35m (0.0ms)[0m commit transaction
|
181
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
182
|
-
[1m[35m (0.1ms)[0m commit transaction
|
183
|
-
Redirected to http://www.example-client.com/restricted
|
184
|
-
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
185
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:21 +0000
|
186
|
-
Processing by ExampleController#restricted as HTML
|
187
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
188
|
-
Rendered text template (0.0ms)
|
189
|
-
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
190
|
-
Started GET "/" for 127.0.0.1 at 2019-07-19 11:26:21 +0000
|
191
|
-
Processing by ExampleController#index as HTML
|
192
|
-
Rendered text template (0.0ms)
|
193
|
-
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
194
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:21 +0000
|
195
|
-
Processing by ExampleController#restricted as HTML
|
196
|
-
Authenticating with gds_sso strategy
|
197
|
-
Completed in 0ms (ActiveRecord: 0.0ms)
|
198
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-19 11:26:21 +0000
|
199
|
-
Started GET "/auth/gds/callback?code=677c61dbc795e855d5e57c049356ba963546ebd9ae4aa3c5330d40ee8429035a&state=612df93287d65b72d5a98b66bdcfce8bd9843d28b8979986" for 127.0.0.1 at 2019-07-19 11:26:21 +0000
|
200
|
-
Processing by AuthenticationsController#callback as HTML
|
201
|
-
Parameters: {"code"=>"677c61dbc795e855d5e57c049356ba963546ebd9ae4aa3c5330d40ee8429035a", "state"=>"612df93287d65b72d5a98b66bdcfce8bd9843d28b8979986"}
|
202
|
-
Authenticating with gds_sso strategy
|
203
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
204
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
205
|
-
[1m[35m (0.1ms)[0m commit transaction
|
206
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
207
|
-
[1m[35m (0.1ms)[0m commit transaction
|
208
|
-
Redirected to http://www.example-client.com/restricted
|
209
|
-
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
210
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:21 +0000
|
211
|
-
Processing by ExampleController#restricted as HTML
|
212
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
213
|
-
Rendered text template (0.0ms)
|
214
|
-
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
215
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "test@example-client.com"]]
|
216
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
217
|
-
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 13]]
|
218
|
-
[1m[36m (5.4ms)[0m [1mcommit transaction[0m
|
219
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:21 +0000
|
220
|
-
Processing by ExampleController#restricted as HTML
|
221
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
222
|
-
Authenticating with gds_sso strategy
|
223
|
-
Completed in 1ms (ActiveRecord: 0.1ms)
|
224
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-19 11:26:21 +0000
|
225
|
-
Started GET "/auth/gds/callback?code=394134dedb139a470475224132368b152f1063f79b5fdae2e4977b5f2ce7c617&state=e9de8c671c6db63407dbc56bbebde50e0415379a57094bff" for 127.0.0.1 at 2019-07-19 11:26:21 +0000
|
226
|
-
Processing by AuthenticationsController#callback as HTML
|
227
|
-
Parameters: {"code"=>"394134dedb139a470475224132368b152f1063f79b5fdae2e4977b5f2ce7c617", "state"=>"e9de8c671c6db63407dbc56bbebde50e0415379a57094bff"}
|
228
|
-
Authenticating with gds_sso strategy
|
229
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
230
|
-
[1m[35m (0.1ms)[0m begin transaction
|
231
|
-
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
232
|
-
[1m[35m (0.0ms)[0m begin transaction
|
233
|
-
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id", 13]]
|
234
|
-
[1m[35m (4.0ms)[0m commit transaction
|
235
|
-
Redirected to http://www.example-client.com/restricted
|
236
|
-
Completed 302 Found in 8ms (ActiveRecord: 4.5ms)
|
237
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:21 +0000
|
238
|
-
Processing by ExampleController#restricted as HTML
|
239
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
240
|
-
Rendered text template (0.0ms)
|
241
|
-
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
242
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:21 +0000
|
243
|
-
Processing by ExampleController#restricted as HTML
|
244
|
-
Authenticating with gds_sso strategy
|
245
|
-
Completed in 0ms (ActiveRecord: 0.0ms)
|
246
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-19 11:26:21 +0000
|
247
|
-
Started GET "/auth/gds/callback?code=e67621665e1784bb93dd29187071779a3cd78d4fad1d3df8d83d28fdc667e712&state=170f6f22a08993c0d969f402dfd74aa571a93e0e660ad875" for 127.0.0.1 at 2019-07-19 11:26:21 +0000
|
248
|
-
Processing by AuthenticationsController#callback as HTML
|
249
|
-
Parameters: {"code"=>"e67621665e1784bb93dd29187071779a3cd78d4fad1d3df8d83d28fdc667e712", "state"=>"170f6f22a08993c0d969f402dfd74aa571a93e0e660ad875"}
|
250
|
-
Authenticating with gds_sso strategy
|
251
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
252
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
253
|
-
[1m[35m (0.0ms)[0m commit transaction
|
254
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
255
|
-
[1m[35m (0.1ms)[0m commit transaction
|
256
|
-
Redirected to http://www.example-client.com/restricted
|
257
|
-
Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
|
258
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:21 +0000
|
259
|
-
Processing by ExampleController#restricted as HTML
|
260
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
261
|
-
Rendered text template (0.0ms)
|
262
|
-
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
263
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-20 07:31:21 +0000
|
264
|
-
Processing by ExampleController#restricted as HTML
|
265
|
-
Authenticating with gds_sso strategy
|
266
|
-
Completed in 0ms (ActiveRecord: 0.0ms)
|
267
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-20 07:31:21 +0000
|
268
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:21 +0000
|
269
|
-
Processing by ExampleController#restricted as HTML
|
270
|
-
Authenticating with gds_sso strategy
|
271
|
-
Completed in 0ms (ActiveRecord: 0.0ms)
|
272
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-19 11:26:21 +0000
|
273
|
-
Started GET "/auth/gds/callback?code=2e251537d340cfacd123bd9b66e52a214731b959b64982f8fa09a5af8b741d08&state=f6508620b6c6f5ee95731e73a418f73529981c5c15a23ac4" for 127.0.0.1 at 2019-07-19 11:26:21 +0000
|
274
|
-
Processing by AuthenticationsController#callback as HTML
|
275
|
-
Parameters: {"code"=>"2e251537d340cfacd123bd9b66e52a214731b959b64982f8fa09a5af8b741d08", "state"=>"f6508620b6c6f5ee95731e73a418f73529981c5c15a23ac4"}
|
276
|
-
Authenticating with gds_sso strategy
|
277
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
278
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
279
|
-
[1m[35m (0.1ms)[0m commit transaction
|
280
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
281
|
-
[1m[35m (0.1ms)[0m commit transaction
|
282
|
-
Redirected to http://www.example-client.com/restricted
|
283
|
-
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
284
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:21 +0000
|
285
|
-
Processing by ExampleController#restricted as HTML
|
286
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
287
|
-
Rendered text template (0.0ms)
|
288
|
-
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
289
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-20 07:31:21 +0000
|
290
|
-
Processing by ExampleController#restricted as HTML
|
291
|
-
Authenticating with gds_sso strategy
|
292
|
-
Completed in 0ms (ActiveRecord: 0.0ms)
|
293
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-20 07:31:21 +0000
|
294
|
-
Started GET "/auth/gds/callback?code=16872e9d646aeb4524d6fd237a96bee8acefb2a657ff05416af5e8c310b4111f&state=2e2f3ada1d55bd05ebca28d803274ee11eaa54d0fed00112" for 127.0.0.1 at 2019-07-20 07:31:21 +0000
|
295
|
-
Processing by AuthenticationsController#callback as HTML
|
296
|
-
Parameters: {"code"=>"16872e9d646aeb4524d6fd237a96bee8acefb2a657ff05416af5e8c310b4111f", "state"=>"2e2f3ada1d55bd05ebca28d803274ee11eaa54d0fed00112"}
|
297
|
-
Authenticating with gds_sso strategy
|
298
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
299
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
300
|
-
[1m[35m (0.1ms)[0m commit transaction
|
301
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
302
|
-
[1m[35m (0.1ms)[0m commit transaction
|
303
|
-
Redirected to http://www.example-client.com/restricted
|
304
|
-
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
305
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-20 07:31:21 +0000
|
306
|
-
Processing by ExampleController#restricted as HTML
|
307
|
-
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
308
|
-
Rendered text template (0.0ms)
|
309
|
-
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
|
310
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:21 +0000
|
311
|
-
Processing by ExampleController#restricted as HTML
|
312
|
-
Authenticating with gds_sso strategy
|
313
|
-
Completed in 0ms (ActiveRecord: 0.0ms)
|
314
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-19 11:26:21 +0000
|
315
|
-
Started GET "/auth/gds/callback?code=792cfc2584e8bcb217fed4c791a76a722200c04a87aad03e2cf5d2ed228d7e9d&state=d9ce97d145b5beebad889e2c33bfd7020965b094aae9554f" for 127.0.0.1 at 2019-07-19 11:26:21 +0000
|
316
|
-
Processing by AuthenticationsController#callback as HTML
|
317
|
-
Parameters: {"code"=>"792cfc2584e8bcb217fed4c791a76a722200c04a87aad03e2cf5d2ed228d7e9d", "state"=>"d9ce97d145b5beebad889e2c33bfd7020965b094aae9554f"}
|
318
|
-
Authenticating with gds_sso strategy
|
319
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
320
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
321
|
-
[1m[35m (0.1ms)[0m commit transaction
|
322
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
323
|
-
[1m[35m (0.0ms)[0m commit transaction
|
324
|
-
Redirected to http://www.example-client.com/restricted
|
325
|
-
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
326
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:22 +0000
|
327
|
-
Processing by ExampleController#restricted as HTML
|
328
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
329
|
-
Rendered text template (0.0ms)
|
330
|
-
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
331
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-20 07:21:22 +0000
|
332
|
-
Processing by ExampleController#restricted as HTML
|
333
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
334
|
-
Rendered text template (0.0ms)
|
335
|
-
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
336
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:22 +0000
|
337
|
-
Processing by ExampleController#restricted as HTML
|
338
|
-
Authenticating with gds_sso strategy
|
339
|
-
Completed in 0ms (ActiveRecord: 0.0ms)
|
340
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:22 +0000
|
341
|
-
Processing by ExampleController#restricted as JSON
|
342
|
-
Completed in 20ms (ActiveRecord: 0.0ms)
|
343
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:22 +0000
|
344
|
-
Processing by ExampleController#restricted as JSON
|
345
|
-
Completed in 11ms (ActiveRecord: 0.0ms)
|
346
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:22 +0000
|
347
|
-
Processing by ExampleController#restricted as JSON
|
348
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
349
|
-
[1m[35m (0.0ms)[0m begin transaction
|
350
|
-
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "disabled" = ? WHERE "users"."id" = ?[0m [["disabled", nil], ["id", 13]]
|
351
|
-
[1m[35m (3.7ms)[0m commit transaction
|
352
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
353
|
-
[1m[35m (0.0ms)[0m begin transaction
|
354
|
-
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
355
|
-
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
356
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
357
|
-
[1m[35m (0.0ms)[0m commit transaction
|
358
|
-
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
359
|
-
[1m[35m (0.0ms)[0m begin transaction
|
360
|
-
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
361
|
-
[1m[35m (0.0ms)[0m begin transaction
|
362
|
-
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
363
|
-
Rendered text template (0.0ms)
|
364
|
-
Completed 200 OK in 55ms (Views: 0.3ms | ActiveRecord: 4.6ms)
|
365
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-07-19 11:26:22 +0000
|
366
|
-
Processing by ExampleController#this_requires_signin_permission as JSON
|
367
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
368
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
369
|
-
[1m[35m (0.1ms)[0m commit transaction
|
370
|
-
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
371
|
-
[1m[35m (0.0ms)[0m begin transaction
|
372
|
-
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
373
|
-
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
374
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
375
|
-
[1m[35m (0.0ms)[0m commit transaction
|
376
|
-
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
377
|
-
[1m[35m (0.0ms)[0m begin transaction
|
378
|
-
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
379
|
-
[1m[35m (0.0ms)[0m begin transaction
|
380
|
-
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
381
|
-
Rendered text template (0.0ms)
|
382
|
-
Completed 200 OK in 49ms (Views: 0.2ms | ActiveRecord: 0.6ms)
|
383
1
|
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "users"[0m
|
384
|
-
[1m[35m (
|
385
|
-
[1m[35m (
|
386
|
-
[1m[35m (
|
387
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.
|
388
|
-
[1m[35m (0.
|
389
|
-
[1m[36mActiveRecord::InternalMetadata Create (0.
|
390
|
-
[1m[35m (
|
391
|
-
[1m[35m (
|
392
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.
|
2
|
+
[1m[35m (0.9ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
3
|
+
[1m[35m (8.1ms)[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 (37.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
|
5
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
6
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
7
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.2ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2020-10-26 14:50:59.688219"], ["updated_at", "2020-10-26 14:50:59.688219"]]
|
8
|
+
[1m[35m (6.0ms)[0m [1m[36mcommit transaction[0m
|
9
|
+
[1m[35m (6.0ms)[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]]
|
393
11
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
394
12
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
395
|
-
[1m[36mUser Load (0.
|
396
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
397
|
-
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Dummy API user created by gds-sso"], ["uid", "588"], ["email", "dummyapiuser@domain.com"], ["permissions", "---\n- signin\n"]]
|
398
|
-
[1m[35m (3.9ms)[0m [1m[36mcommit transaction[0m
|
399
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
400
|
-
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = ?[0m [["permissions", "---\n- signin\n- extra_permission\n"], ["id", 1]]
|
401
|
-
[1m[35m (4.7ms)[0m [1m[36mcommit transaction[0m
|
402
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:35 +0000
|
403
|
-
Processing by ExampleController#restricted as JSON
|
404
|
-
Completed in 29ms (ActiveRecord: 0.0ms)
|
405
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:36 +0000
|
406
|
-
Processing by ExampleController#restricted as JSON
|
407
|
-
[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]]
|
408
|
-
[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]]
|
13
|
+
[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]]
|
409
14
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
410
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions"
|
411
|
-
[1m[35m (4.
|
412
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
413
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
414
|
-
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
415
|
-
[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]]
|
416
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
417
|
-
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
418
|
-
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
419
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
420
|
-
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
421
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
422
|
-
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id", 2]]
|
423
|
-
[1m[35m (4.5ms)[0m [1m[36mcommit transaction[0m
|
424
|
-
Rendering text template
|
425
|
-
Rendered text template (0.0ms)
|
426
|
-
Completed 200 OK in 68ms (Views: 4.6ms | ActiveRecord: 10.5ms)
|
427
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:36 +0000
|
428
|
-
Processing by ExampleController#restricted as JSON
|
429
|
-
Completed in 11ms (ActiveRecord: 0.0ms)
|
430
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-07-19 11:26:36 +0000
|
431
|
-
Processing by ExampleController#this_requires_signin_permission as JSON
|
432
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
433
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
434
|
-
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
435
|
-
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
436
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
437
|
-
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
438
|
-
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
439
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
440
|
-
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
441
|
-
[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]]
|
442
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
443
|
-
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
15
|
+
[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", "1000"], ["email", "dummyapiuser@domain.com"], ["permissions", "---\n- signin\n"]]
|
16
|
+
[1m[35m (4.1ms)[0m [1m[36mcommit transaction[0m
|
444
17
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
445
|
-
[1m[
|
446
|
-
|
447
|
-
|
448
|
-
|
449
|
-
|
18
|
+
[1m[36mUser Update (0.1ms)[0m [1m[33mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = ?[0m [["permissions", "---\n- signin\n- extra_permission\n"], ["id", 1]]
|
19
|
+
[1m[35m (6.0ms)[0m [1m[36mcommit transaction[0m
|
20
|
+
[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]]
|
21
|
+
[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]]
|
22
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
23
|
+
[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]]
|
24
|
+
[1m[35m (4.9ms)[0m [1m[36mcommit transaction[0m
|
25
|
+
[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]]
|
26
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
27
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
28
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:00 +0000
|
29
|
+
Processing by ExampleController#restricted as HTML
|
30
|
+
Authenticating with gds_sso strategy
|
31
|
+
Completed in 4ms (ActiveRecord: 0.0ms)
|
32
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:00 +0000
|
450
33
|
Processing by ExampleController#restricted as HTML
|
451
34
|
Authenticating with gds_sso strategy
|
452
35
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
453
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
454
|
-
Started GET "/auth/gds/callback?code=
|
36
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-10-26 14:51:00 +0000
|
37
|
+
Started GET "/auth/gds/callback?code=qlgWGND49FA4hmi1xxwtSmNDpxMu8JdbWneB08p7_qU&state=eae923f804055f5089297e4d477619f6307606c3c9445704" for 127.0.0.1 at 2020-10-26 14:51:00 +0000
|
455
38
|
Processing by AuthenticationsController#callback as HTML
|
456
|
-
Parameters: {"code"=>"
|
39
|
+
Parameters: {"code"=>"qlgWGND49FA4hmi1xxwtSmNDpxMu8JdbWneB08p7_qU", "state"=>"eae923f804055f5089297e4d477619f6307606c3c9445704"}
|
457
40
|
Authenticating with gds_sso strategy
|
458
|
-
[1m[36mUser Load (0.
|
41
|
+
[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]]
|
42
|
+
[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]]
|
459
43
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
460
|
-
[1m[36mUser
|
461
|
-
[1m[35m (
|
44
|
+
[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"]]
|
45
|
+
[1m[35m (8.9ms)[0m [1m[36mcommit transaction[0m
|
462
46
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
463
|
-
[1m[
|
47
|
+
[1m[36mUser Update (0.1ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id", 3]]
|
48
|
+
[1m[35m (5.4ms)[0m [1m[36mcommit transaction[0m
|
464
49
|
Redirected to http://www.example-client.com/restricted
|
465
|
-
Completed 302 Found in
|
466
|
-
Started GET "/restricted" for 127.0.0.1 at
|
50
|
+
Completed 302 Found in 18ms (ActiveRecord: 14.9ms)
|
51
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:00 +0000
|
467
52
|
Processing by ExampleController#restricted as HTML
|
468
53
|
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
469
54
|
Rendering text template
|
470
55
|
Rendered text template (0.0ms)
|
471
|
-
Completed 200 OK in
|
472
|
-
Started GET "/
|
56
|
+
Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.2ms)
|
57
|
+
Started GET "/" for 127.0.0.1 at 2020-10-26 14:51:00 +0000
|
58
|
+
Processing by ExampleController#index as HTML
|
59
|
+
Rendering text template
|
60
|
+
Rendered text template (0.0ms)
|
61
|
+
Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
62
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-10-26 14:51:00 +0000
|
473
63
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
474
64
|
Authenticating with gds_sso strategy
|
475
65
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
476
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
477
|
-
Started GET "/auth/gds/callback?code=
|
66
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-10-26 14:51:00 +0000
|
67
|
+
Started GET "/auth/gds/callback?code=N3zgRiV63CM3n82JL5m4VJybtab5jqD9T8rdOUfOjfQ&state=44c677e6a122e188c1897be58e35ca209ce417e5a7a5b5d0" for 127.0.0.1 at 2020-10-26 14:51:00 +0000
|
478
68
|
Processing by AuthenticationsController#callback as HTML
|
479
|
-
Parameters: {"code"=>"
|
69
|
+
Parameters: {"code"=>"N3zgRiV63CM3n82JL5m4VJybtab5jqD9T8rdOUfOjfQ", "state"=>"44c677e6a122e188c1897be58e35ca209ce417e5a7a5b5d0"}
|
480
70
|
Authenticating with gds_sso strategy
|
481
71
|
[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]]
|
482
|
-
[1m[35m (0.
|
72
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
483
73
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
484
74
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
485
75
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
486
76
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
487
|
-
Completed 302 Found in
|
488
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at
|
77
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
|
78
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-10-26 14:51:00 +0000
|
489
79
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
490
80
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
491
81
|
Rendering text template
|
492
82
|
Rendered text template (0.0ms)
|
493
|
-
Completed 200 OK in 1ms (Views: 0.
|
494
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at
|
83
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
84
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-10-26 14:51:00 +0000
|
495
85
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
496
86
|
Authenticating with gds_sso strategy
|
497
87
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
498
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
499
|
-
Started GET "/auth/gds/callback?code=
|
88
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-10-26 14:51:00 +0000
|
89
|
+
Started GET "/auth/gds/callback?code=QvJd4HB0b8Qg-S6I1iAFJ4yp6HTUHa-BoZ1x1dud5J8&state=0e6eb994121ee71c83cb083646a8529a53e979e1262f8742" for 127.0.0.1 at 2020-10-26 14:51:00 +0000
|
500
90
|
Processing by AuthenticationsController#callback as HTML
|
501
|
-
Parameters: {"code"=>"
|
91
|
+
Parameters: {"code"=>"QvJd4HB0b8Qg-S6I1iAFJ4yp6HTUHa-BoZ1x1dud5J8", "state"=>"0e6eb994121ee71c83cb083646a8529a53e979e1262f8742"}
|
502
92
|
Authenticating with gds_sso strategy
|
503
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]]
|
504
94
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
505
|
-
[1m[35m (0.
|
95
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
506
96
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
507
|
-
[1m[35m (0.
|
97
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
508
98
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
509
|
-
Completed 302 Found in
|
510
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at
|
99
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
|
100
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-10-26 14:51:00 +0000
|
511
101
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
512
102
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
513
103
|
Rendering text template
|
514
104
|
Rendered text template (0.0ms)
|
515
|
-
Completed 200 OK in
|
516
|
-
Started GET "/restricted" for 127.0.0.1 at
|
105
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
106
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:00 +0000
|
517
107
|
Processing by ExampleController#restricted as HTML
|
518
108
|
Authenticating with gds_sso strategy
|
519
109
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
520
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
521
|
-
Started GET "/auth/gds/callback?code=
|
110
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-10-26 14:51:00 +0000
|
111
|
+
Started GET "/auth/gds/callback?code=t3e9CdalZQIChrxQZWpw0C4kcAIpf4dCS7G1hh65b3o&state=38ba7880dfb04b0b344a5cc201d904c51afc8bcfaf4444cf" for 127.0.0.1 at 2020-10-26 14:51:00 +0000
|
522
112
|
Processing by AuthenticationsController#callback as HTML
|
523
|
-
Parameters: {"code"=>"
|
113
|
+
Parameters: {"code"=>"t3e9CdalZQIChrxQZWpw0C4kcAIpf4dCS7G1hh65b3o", "state"=>"38ba7880dfb04b0b344a5cc201d904c51afc8bcfaf4444cf"}
|
524
114
|
Authenticating with gds_sso strategy
|
525
|
-
[1m[36mUser Load (0.
|
115
|
+
[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]]
|
526
116
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
527
117
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
528
118
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
529
|
-
[1m[35m (0.
|
119
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
530
120
|
Redirected to http://www.example-client.com/restricted
|
531
|
-
Completed 302 Found in
|
532
|
-
Started GET "/restricted" for 127.0.0.1 at
|
121
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
|
122
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:00 +0000
|
533
123
|
Processing by ExampleController#restricted as HTML
|
534
124
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
535
125
|
Rendering text template
|
536
126
|
Rendered text template (0.0ms)
|
537
|
-
Completed 200 OK in 1ms (Views: 0.
|
538
|
-
Started GET "/restricted" for 127.0.0.1 at
|
127
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
128
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:00 +0000
|
539
129
|
Processing by ExampleController#restricted as HTML
|
540
130
|
Authenticating with gds_sso strategy
|
541
131
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
542
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
543
|
-
Started GET "/auth/gds/callback?code=
|
132
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-10-26 14:51:00 +0000
|
133
|
+
Started GET "/auth/gds/callback?code=2YP0egP8EK9BjzxAFLSlCetha4Lpip5E3_0-aCoT2vw&state=320c0056d754ab4a4a58c33809306ce636054ce148fd3f62" for 127.0.0.1 at 2020-10-26 14:51:00 +0000
|
544
134
|
Processing by AuthenticationsController#callback as HTML
|
545
|
-
Parameters: {"code"=>"
|
135
|
+
Parameters: {"code"=>"2YP0egP8EK9BjzxAFLSlCetha4Lpip5E3_0-aCoT2vw", "state"=>"320c0056d754ab4a4a58c33809306ce636054ce148fd3f62"}
|
546
136
|
Authenticating with gds_sso strategy
|
547
|
-
[1m[36mUser Load (0.
|
548
|
-
[1m[35m (0.
|
137
|
+
[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]]
|
138
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
549
139
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
550
140
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
551
141
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
552
142
|
Redirected to http://www.example-client.com/restricted
|
553
|
-
Completed 302 Found in
|
554
|
-
Started GET "/restricted" for 127.0.0.1 at
|
143
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
|
144
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:00 +0000
|
555
145
|
Processing by ExampleController#restricted as HTML
|
556
146
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
557
147
|
Rendering text template
|
558
148
|
Rendered text template (0.0ms)
|
559
|
-
Completed 200 OK in
|
560
|
-
Started GET "/" for 127.0.0.1 at
|
561
|
-
Processing by ExampleController#index as HTML
|
562
|
-
Rendering text template
|
563
|
-
Rendered text template (0.0ms)
|
564
|
-
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
565
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:37 +0000
|
149
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
150
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:00 +0000
|
566
151
|
Processing by ExampleController#restricted as HTML
|
567
152
|
Authenticating with gds_sso strategy
|
568
153
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
569
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
570
|
-
Started GET "/auth/gds/callback?code=
|
154
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-10-26 14:51:00 +0000
|
155
|
+
Started GET "/auth/gds/callback?code=hLgxcit_ayAHov_NJbBYdr6FHspd3885lUbCY_kbD_A&state=90adbdefeb4f7bd88b3c95756a7bbda0f791377ed8063fcd" for 127.0.0.1 at 2020-10-26 14:51:00 +0000
|
571
156
|
Processing by AuthenticationsController#callback as HTML
|
572
|
-
Parameters: {"code"=>"
|
157
|
+
Parameters: {"code"=>"hLgxcit_ayAHov_NJbBYdr6FHspd3885lUbCY_kbD_A", "state"=>"90adbdefeb4f7bd88b3c95756a7bbda0f791377ed8063fcd"}
|
573
158
|
Authenticating with gds_sso strategy
|
574
|
-
[1m[36mUser Load (0.
|
575
|
-
[1m[35m (0.
|
159
|
+
[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]]
|
160
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
576
161
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
577
162
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
578
163
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
579
164
|
Redirected to http://www.example-client.com/restricted
|
580
|
-
Completed 302 Found in
|
581
|
-
Started GET "/restricted" for 127.0.0.1 at
|
165
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
|
166
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:00 +0000
|
582
167
|
Processing by ExampleController#restricted as HTML
|
583
168
|
[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]]
|
584
169
|
Rendering text template
|
585
170
|
Rendered text template (0.0ms)
|
586
|
-
Completed 200 OK in
|
587
|
-
|
588
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
589
|
-
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "t"], ["id", 2]]
|
590
|
-
[1m[35m (5.3ms)[0m [1m[36mcommit transaction[0m
|
591
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:37 +0000
|
171
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
172
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-27 10:56:00 +0000
|
592
173
|
Processing by ExampleController#restricted as HTML
|
593
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
594
174
|
Authenticating with gds_sso strategy
|
595
|
-
Completed in
|
596
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
597
|
-
Started GET "/auth/gds/callback?code=
|
175
|
+
Completed in 0ms (ActiveRecord: 0.0ms)
|
176
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-10-27 10:56:00 +0000
|
177
|
+
Started GET "/auth/gds/callback?code=L9OOGVZzZXA-A8yjejj5D-a6TMKqHAU0R2KzZpDfA-Y&state=940afe6d5b93445643da282f1a71fcd431d61585e8a93515" for 127.0.0.1 at 2020-10-27 10:56:00 +0000
|
598
178
|
Processing by AuthenticationsController#callback as HTML
|
599
|
-
Parameters: {"code"=>"
|
179
|
+
Parameters: {"code"=>"L9OOGVZzZXA-A8yjejj5D-a6TMKqHAU0R2KzZpDfA-Y", "state"=>"940afe6d5b93445643da282f1a71fcd431d61585e8a93515"}
|
600
180
|
Authenticating with gds_sso strategy
|
601
|
-
[1m[36mUser Load (0.
|
602
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
603
|
-
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
181
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
604
182
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
605
|
-
[1m[
|
606
|
-
[1m[35m (
|
183
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
184
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
185
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
607
186
|
Redirected to http://www.example-client.com/restricted
|
608
|
-
Completed 302 Found in
|
609
|
-
Started GET "/restricted" for 127.0.0.1 at
|
187
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
|
188
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-27 10:56:00 +0000
|
610
189
|
Processing by ExampleController#restricted as HTML
|
611
190
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
612
191
|
Rendering text template
|
613
192
|
Rendered text template (0.0ms)
|
614
|
-
Completed 200 OK in
|
615
|
-
Started GET "/restricted" for 127.0.0.1 at
|
193
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
194
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:00 +0000
|
616
195
|
Processing by ExampleController#restricted as HTML
|
617
196
|
Authenticating with gds_sso strategy
|
618
197
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
619
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
620
|
-
Started GET "/auth/gds/callback?code=
|
198
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-10-26 14:51:00 +0000
|
199
|
+
Started GET "/auth/gds/callback?code=5ic6sOKhJSYDURBYZoFJHexP5G2bfXJjIV79xqDNFJ4&state=80aabeb7042e4b14007db50f5bbedc7f49363322faeb15c9" for 127.0.0.1 at 2020-10-26 14:51:00 +0000
|
621
200
|
Processing by AuthenticationsController#callback as HTML
|
622
|
-
Parameters: {"code"=>"
|
201
|
+
Parameters: {"code"=>"5ic6sOKhJSYDURBYZoFJHexP5G2bfXJjIV79xqDNFJ4", "state"=>"80aabeb7042e4b14007db50f5bbedc7f49363322faeb15c9"}
|
623
202
|
Authenticating with gds_sso strategy
|
624
|
-
[1m[36mUser Load (0.
|
625
|
-
[1m[35m (0.
|
203
|
+
[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]]
|
204
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
626
205
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
627
206
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
628
207
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
629
208
|
Redirected to http://www.example-client.com/restricted
|
630
|
-
Completed 302 Found in
|
631
|
-
Started GET "/restricted" for 127.0.0.1 at
|
209
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
|
210
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:00 +0000
|
632
211
|
Processing by ExampleController#restricted as HTML
|
633
212
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
634
213
|
Rendering text template
|
635
214
|
Rendered text template (0.0ms)
|
636
|
-
Completed 200 OK in 1ms (Views: 0.
|
637
|
-
Started GET "/restricted" for 127.0.0.1 at
|
215
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
216
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-27 10:46:00 +0000
|
638
217
|
Processing by ExampleController#restricted as HTML
|
639
|
-
|
640
|
-
|
641
|
-
|
642
|
-
|
218
|
+
[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]]
|
219
|
+
Rendering text template
|
220
|
+
Rendered text template (0.0ms)
|
221
|
+
Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.1ms)
|
222
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:00 +0000
|
643
223
|
Processing by ExampleController#restricted as HTML
|
644
224
|
Authenticating with gds_sso strategy
|
645
225
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
646
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
647
|
-
Started GET "/auth/gds/callback?code=
|
226
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-10-26 14:51:00 +0000
|
227
|
+
Started GET "/auth/gds/callback?code=5unc36p8g7n2ZSWxVmKzQJqtfQHU46Ize10_86EatxE&state=e66c42d4403f0a73e63f057037a7b9a79659047a0281a7c5" for 127.0.0.1 at 2020-10-26 14:51:01 +0000
|
648
228
|
Processing by AuthenticationsController#callback as HTML
|
649
|
-
Parameters: {"code"=>"
|
229
|
+
Parameters: {"code"=>"5unc36p8g7n2ZSWxVmKzQJqtfQHU46Ize10_86EatxE", "state"=>"e66c42d4403f0a73e63f057037a7b9a79659047a0281a7c5"}
|
650
230
|
Authenticating with gds_sso strategy
|
651
|
-
[1m[36mUser Load (0.
|
652
|
-
[1m[35m (0.
|
231
|
+
[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]]
|
232
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
653
233
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
654
234
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
655
235
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
656
236
|
Redirected to http://www.example-client.com/restricted
|
657
|
-
Completed 302 Found in
|
658
|
-
Started GET "/restricted" for 127.0.0.1 at
|
237
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
|
238
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:01 +0000
|
659
239
|
Processing by ExampleController#restricted as HTML
|
660
|
-
[1m[36mUser Load (0.
|
240
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
661
241
|
Rendering text template
|
662
242
|
Rendered text template (0.0ms)
|
663
|
-
Completed 200 OK in 1ms (Views: 0.
|
664
|
-
Started GET "/restricted" for 127.0.0.1 at
|
243
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
244
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-27 10:56:01 +0000
|
665
245
|
Processing by ExampleController#restricted as HTML
|
666
246
|
Authenticating with gds_sso strategy
|
667
|
-
Completed in
|
668
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
669
|
-
Started GET "/
|
247
|
+
Completed in 0ms (ActiveRecord: 0.0ms)
|
248
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-10-27 10:56:01 +0000
|
249
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:01 +0000
|
250
|
+
Processing by ExampleController#restricted as HTML
|
251
|
+
Authenticating with gds_sso strategy
|
252
|
+
Completed in 0ms (ActiveRecord: 0.0ms)
|
253
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-10-26 14:51:01 +0000
|
254
|
+
Started GET "/auth/gds/callback?code=9DCTU1hpKPN8xOmtADg00cg7HVlQHEgSIs_qH8_8eQg&state=ba7a01e8e51a2c83e7c233d7757fce6ecc8d35737dca4067" for 127.0.0.1 at 2020-10-26 14:51:01 +0000
|
670
255
|
Processing by AuthenticationsController#callback as HTML
|
671
|
-
Parameters: {"code"=>"
|
256
|
+
Parameters: {"code"=>"9DCTU1hpKPN8xOmtADg00cg7HVlQHEgSIs_qH8_8eQg", "state"=>"ba7a01e8e51a2c83e7c233d7757fce6ecc8d35737dca4067"}
|
672
257
|
Authenticating with gds_sso strategy
|
673
258
|
[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]]
|
674
|
-
[1m[35m (0.
|
259
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
675
260
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
676
261
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
677
262
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
678
263
|
Redirected to http://www.example-client.com/restricted
|
679
|
-
Completed 302 Found in
|
680
|
-
Started GET "/restricted" for 127.0.0.1 at
|
264
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
|
265
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:01 +0000
|
681
266
|
Processing by ExampleController#restricted as HTML
|
682
267
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
683
268
|
Rendering text template
|
684
269
|
Rendered text template (0.0ms)
|
685
|
-
Completed 200 OK in 1ms (Views: 0.
|
686
|
-
|
687
|
-
|
688
|
-
|
689
|
-
|
690
|
-
Started GET "/
|
691
|
-
|
270
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
271
|
+
[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]]
|
272
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
273
|
+
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "t"], ["id", 3]]
|
274
|
+
[1m[35m (6.6ms)[0m [1m[36mcommit transaction[0m
|
275
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:01 +0000
|
276
|
+
Processing by ExampleController#restricted as HTML
|
277
|
+
[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]]
|
278
|
+
Authenticating with gds_sso strategy
|
279
|
+
Completed in 1ms (ActiveRecord: 0.1ms)
|
280
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-10-26 14:51:01 +0000
|
281
|
+
Started GET "/auth/gds/callback?code=eXlvYYRe2IqnS8eEnMRI7woLmtLres33w6NsssIPWfM&state=553b4734786e1342b14853bfac88a9c543fbe33785db4164" for 127.0.0.1 at 2020-10-26 14:51:01 +0000
|
692
282
|
Processing by AuthenticationsController#callback as HTML
|
693
|
-
Parameters: {"code"=>"
|
283
|
+
Parameters: {"code"=>"eXlvYYRe2IqnS8eEnMRI7woLmtLres33w6NsssIPWfM", "state"=>"553b4734786e1342b14853bfac88a9c543fbe33785db4164"}
|
694
284
|
Authenticating with gds_sso strategy
|
695
|
-
[1m[36mUser Load (0.
|
696
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
697
|
-
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
285
|
+
[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]]
|
698
286
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
699
|
-
[1m[35m (0.
|
287
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
288
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
289
|
+
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id", 3]]
|
290
|
+
[1m[35m (4.5ms)[0m [1m[36mcommit transaction[0m
|
700
291
|
Redirected to http://www.example-client.com/restricted
|
701
|
-
Completed 302 Found in
|
702
|
-
Started GET "/restricted" for 127.0.0.1 at
|
292
|
+
Completed 302 Found in 7ms (ActiveRecord: 4.9ms)
|
293
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:01 +0000
|
703
294
|
Processing by ExampleController#restricted as HTML
|
704
295
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
705
296
|
Rendering text template
|
706
297
|
Rendered text template (0.0ms)
|
707
|
-
Completed 200 OK in 1ms (Views: 0.
|
708
|
-
Started GET "/restricted" for 127.0.0.1 at
|
709
|
-
Processing by ExampleController#restricted as
|
710
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ?
|
298
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
299
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:01 +0000
|
300
|
+
Processing by ExampleController#restricted as JSON
|
301
|
+
[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]]
|
302
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
303
|
+
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "disabled" = ? WHERE "users"."id" = ?[0m [["disabled", nil], ["id", 3]]
|
304
|
+
[1m[35m (6.5ms)[0m [1m[36mcommit transaction[0m
|
305
|
+
[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]]
|
306
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
307
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
308
|
+
[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]]
|
309
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
310
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
311
|
+
[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]]
|
312
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
313
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
314
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
315
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
711
316
|
Rendering text template
|
712
317
|
Rendered text template (0.0ms)
|
713
|
-
Completed 200 OK in
|
714
|
-
Started GET "/restricted" for 127.0.0.1 at
|
715
|
-
Processing by ExampleController#restricted as
|
716
|
-
|
717
|
-
|
318
|
+
Completed 200 OK in 21ms (Views: 0.2ms | ActiveRecord: 7.1ms)
|
319
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:01 +0000
|
320
|
+
Processing by ExampleController#restricted as JSON
|
321
|
+
Completed in 12ms (ActiveRecord: 0.0ms)
|
322
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-10-26 14:51:01 +0000
|
323
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
324
|
+
[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]]
|
718
325
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
719
|
-
[1m[
|
720
|
-
[1m[
|
326
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
327
|
+
[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]]
|
721
328
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
722
|
-
[1m[
|
723
|
-
[1m[
|
724
|
-
Processing by Api::UserController#update as HTML
|
725
|
-
Parameters: {"uid"=>"a1s2d34228"}
|
726
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d34228"], ["LIMIT", 1]]
|
329
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
330
|
+
[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]]
|
727
331
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
728
|
-
[1m[
|
729
|
-
[1m[
|
730
|
-
|
731
|
-
[1m[
|
332
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
333
|
+
[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]]
|
334
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
335
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
336
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
337
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
338
|
+
Rendering text template
|
339
|
+
Rendered text template (0.0ms)
|
340
|
+
Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.4ms)
|
341
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:01 +0000
|
342
|
+
Processing by ExampleController#restricted as JSON
|
343
|
+
Completed in 7ms (ActiveRecord: 0.0ms)
|
344
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
345
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d36751"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
346
|
+
[1m[35m (7.0ms)[0m [1m[36mcommit transaction[0m
|
732
347
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
733
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "
|
348
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d37112"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
349
|
+
[1m[35m (6.0ms)[0m [1m[36mcommit transaction[0m
|
350
|
+
Processing by Api::UserController#reauth as HTML
|
351
|
+
Parameters: {"uid"=>"a1s2d36751"}
|
352
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d36751"], ["LIMIT", 1]]
|
353
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
354
|
+
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "t"], ["id", 4]]
|
355
|
+
[1m[35m (4.6ms)[0m [1m[36mcommit transaction[0m
|
356
|
+
Completed 200 OK in 6ms (ActiveRecord: 4.9ms)
|
357
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 4], ["LIMIT", 1]]
|
358
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
359
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d39451"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
360
|
+
[1m[35m (9.7ms)[0m [1m[36mcommit transaction[0m
|
361
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
362
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d38478"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
363
|
+
[1m[35m (15.0ms)[0m [1m[36mcommit transaction[0m
|
364
|
+
Processing by Api::UserController#reauth as HTML
|
365
|
+
Parameters: {"uid"=>"nonexistent-user"}
|
366
|
+
[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]]
|
367
|
+
Completed 200 OK in 1ms (ActiveRecord: 0.1ms)
|
368
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
369
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d36453"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
734
370
|
[1m[35m (4.2ms)[0m [1m[36mcommit transaction[0m
|
735
371
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
736
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "
|
737
|
-
[1m[35m (
|
738
|
-
Processing by Api::UserController#
|
739
|
-
Parameters: {"uid"=>"
|
372
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d3600"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
373
|
+
[1m[35m (4.5ms)[0m [1m[36mcommit transaction[0m
|
374
|
+
Processing by Api::UserController#reauth as HTML
|
375
|
+
Parameters: {"uid"=>"a1s2d36453"}
|
740
376
|
Rendering /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
741
377
|
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
742
378
|
Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
|
743
379
|
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
744
|
-
Completed 403 Forbidden in
|
380
|
+
Completed 403 Forbidden in 3ms (Views: 3.1ms | ActiveRecord: 0.0ms)
|
745
381
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
746
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "
|
747
|
-
[1m[35m (
|
382
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d37723"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
383
|
+
[1m[35m (5.4ms)[0m [1m[36mcommit transaction[0m
|
748
384
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
749
|
-
[1m[36mUser Create (0.
|
750
|
-
[1m[35m (
|
385
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d36478"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
386
|
+
[1m[35m (4.2ms)[0m [1m[36mcommit transaction[0m
|
387
|
+
Processing by Api::UserController#update as HTML
|
388
|
+
Parameters: {"uid"=>"a1s2d37723"}
|
389
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d37723"], ["LIMIT", 1]]
|
390
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
391
|
+
[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", 10]]
|
392
|
+
[1m[35m (4.2ms)[0m [1m[36mcommit transaction[0m
|
393
|
+
Completed 200 OK in 6ms (ActiveRecord: 4.5ms)
|
394
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 10], ["LIMIT", 1]]
|
395
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
396
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d31835"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
397
|
+
[1m[35m (5.2ms)[0m [1m[36mcommit transaction[0m
|
398
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
399
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d34167"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
400
|
+
[1m[35m (4.0ms)[0m [1m[36mcommit transaction[0m
|
401
|
+
Processing by Api::UserController#update as HTML
|
402
|
+
Parameters: {"uid"=>"a1s2d31835"}
|
403
|
+
Rendering /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
404
|
+
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
405
|
+
Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.1ms)
|
406
|
+
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
407
|
+
Completed 403 Forbidden in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
|
408
|
+
[1m[35m (1.0ms)[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 (8.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 (6.2ms)[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[35m (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", "2020-10-26 14:51:09.395508"], ["updated_at", "2020-10-26 14:51:09.395508"]]
|
416
|
+
[1m[35m (5.1ms)[0m [1m[36mcommit transaction[0m
|
417
|
+
[1m[35m (4.2ms)[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
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
420
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
421
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d3521"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
422
|
+
[1m[35m (8.8ms)[0m [1m[36mcommit transaction[0m
|
423
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
424
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d31612"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
425
|
+
[1m[35m (9.4ms)[0m [1m[36mcommit transaction[0m
|
751
426
|
Processing by Api::UserController#reauth as HTML
|
752
|
-
Parameters: {"uid"=>"
|
427
|
+
Parameters: {"uid"=>"a1s2d3521"}
|
753
428
|
Rendering /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
754
429
|
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
755
|
-
Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.
|
430
|
+
Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (Duration: 0.5ms | Allocations: 266)
|
756
431
|
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
757
|
-
Completed 403 Forbidden in
|
432
|
+
Completed 403 Forbidden in 5ms (Views: 3.6ms | ActiveRecord: 0.0ms | Allocations: 3270)
|
758
433
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
759
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "
|
760
|
-
[1m[35m (
|
434
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d35772"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
435
|
+
[1m[35m (5.7ms)[0m [1m[36mcommit transaction[0m
|
761
436
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
762
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "
|
763
|
-
[1m[35m (
|
437
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d39235"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
438
|
+
[1m[35m (7.3ms)[0m [1m[36mcommit transaction[0m
|
764
439
|
Processing by Api::UserController#reauth as HTML
|
765
|
-
Parameters: {"uid"=>"
|
766
|
-
[1m[36mUser Load (0.
|
767
|
-
Completed 200 OK in 1ms (ActiveRecord: 0.1ms)
|
768
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
769
|
-
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d35568"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
770
|
-
[1m[35m (3.9ms)[0m [1m[36mcommit transaction[0m
|
440
|
+
Parameters: {"uid"=>"a1s2d35772"}
|
441
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d35772"], ["LIMIT", 1]]
|
771
442
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
772
|
-
[1m[36mUser
|
773
|
-
[1m[35m (
|
443
|
+
[1m[36mUser Update (0.1ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", 1], ["id", 3]]
|
444
|
+
[1m[35m (7.3ms)[0m [1m[36mcommit transaction[0m
|
445
|
+
Completed 200 OK in 10ms (ActiveRecord: 7.7ms | Allocations: 1138)
|
446
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 3], ["LIMIT", 1]]
|
447
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
448
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d35156"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
449
|
+
[1m[35m (7.9ms)[0m [1m[36mcommit transaction[0m
|
450
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
451
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d34813"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
452
|
+
[1m[35m (5.1ms)[0m [1m[36mcommit transaction[0m
|
774
453
|
Processing by Api::UserController#reauth as HTML
|
775
|
-
Parameters: {"uid"=>"
|
776
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT
|
454
|
+
Parameters: {"uid"=>"nonexistent-user"}
|
455
|
+
[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]]
|
456
|
+
Completed 200 OK in 1ms (ActiveRecord: 0.1ms | Allocations: 521)
|
777
457
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
778
|
-
[1m[36mUser
|
779
|
-
[1m[35m (
|
780
|
-
Completed 200 OK in 6ms (ActiveRecord: 4.0ms)
|
781
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 11], ["LIMIT", 1]]
|
782
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "asd"], ["LIMIT", 1]]
|
783
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["email", "user@example.com"], ["LIMIT", 1]]
|
784
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
785
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions", "organisation_slug", "organisation_content_id", "disabled") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["name", "A Name"], ["uid", "asd"], ["email", "user@example.com"], ["permissions", "---\n- signin\n"], ["organisation_slug", "hmrc"], ["organisation_content_id", "67a2b78d-eee3-45b3-80e2-792e7f71cecc"], ["disabled", nil]]
|
786
|
-
[1m[35m (4.3ms)[0m [1m[36mcommit transaction[0m
|
787
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "asd"], ["LIMIT", 1]]
|
458
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d34405"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
459
|
+
[1m[35m (5.0ms)[0m [1m[36mcommit transaction[0m
|
788
460
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
789
|
-
[1m[
|
790
|
-
[1m[
|
791
|
-
|
792
|
-
|
793
|
-
[1m[
|
794
|
-
[1m[
|
795
|
-
[1m[
|
796
|
-
[1m[
|
797
|
-
|
798
|
-
[1m[
|
799
|
-
[1m[
|
800
|
-
[1m[
|
801
|
-
[1m[35m (
|
802
|
-
|
803
|
-
|
804
|
-
|
805
|
-
|
806
|
-
|
807
|
-
|
808
|
-
|
809
|
-
|
810
|
-
|
811
|
-
|
812
|
-
[1m[
|
813
|
-
[1m[
|
814
|
-
[1m[
|
815
|
-
[1m[
|
816
|
-
[1m[35m (0.
|
817
|
-
[1m[
|
818
|
-
[1m[
|
819
|
-
[1m[
|
820
|
-
[1m[
|
821
|
-
[1m[
|
822
|
-
[1m[
|
823
|
-
[1m[
|
824
|
-
|
825
|
-
|
826
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:45 +0000
|
827
|
-
Processing by ExampleController#restricted as JSON
|
828
|
-
Completed in 11ms (ActiveRecord: 0.0ms)
|
829
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:45 +0000
|
830
|
-
Processing by ExampleController#restricted as JSON
|
831
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
832
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
833
|
-
[1m[35m (0.0ms)[0m commit transaction
|
834
|
-
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
835
|
-
[1m[35m (0.1ms)[0m begin transaction
|
836
|
-
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
837
|
-
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
838
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
839
|
-
[1m[35m (0.0ms)[0m commit transaction
|
840
|
-
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
841
|
-
[1m[35m (0.1ms)[0m begin transaction
|
842
|
-
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
843
|
-
[1m[35m (0.0ms)[0m begin transaction
|
844
|
-
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
845
|
-
Rendered text template (0.0ms)
|
846
|
-
Completed 200 OK in 51ms (Views: 0.2ms | ActiveRecord: 0.7ms)
|
847
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:46 +0000
|
848
|
-
Processing by ExampleController#restricted as HTML
|
849
|
-
Authenticating with gds_sso strategy
|
850
|
-
Completed in 0ms (ActiveRecord: 0.0ms)
|
851
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-19 11:26:46 +0000
|
852
|
-
Started GET "/auth/gds/callback?code=46491738f1aaddfb6b3ea4738a6a7bdec78409001eb1fa35af500390d47874a5&state=893a3935dda233f21be1a28576524d7ba723084adcf2bcd3" for 127.0.0.1 at 2019-07-19 11:26:46 +0000
|
853
|
-
Processing by AuthenticationsController#callback as HTML
|
854
|
-
Parameters: {"code"=>"46491738f1aaddfb6b3ea4738a6a7bdec78409001eb1fa35af500390d47874a5", "state"=>"893a3935dda233f21be1a28576524d7ba723084adcf2bcd3"}
|
855
|
-
Authenticating with gds_sso strategy
|
856
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
857
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
858
|
-
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "disabled" = ? WHERE "users"."id" = ? [["disabled", "f"], ["id", 2]]
|
859
|
-
[1m[36m (3.5ms)[0m [1mcommit transaction[0m
|
860
|
-
[1m[35m (0.0ms)[0m begin transaction
|
861
|
-
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
862
|
-
Redirected to http://www.example-client.com/restricted
|
863
|
-
Completed 302 Found in 10ms (ActiveRecord: 4.8ms)
|
864
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:46 +0000
|
865
|
-
Processing by ExampleController#restricted as HTML
|
866
|
-
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
867
|
-
Rendered text template (0.0ms)
|
868
|
-
Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.2ms)
|
869
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:46 +0000
|
870
|
-
Processing by ExampleController#restricted as HTML
|
871
|
-
Authenticating with gds_sso strategy
|
872
|
-
Completed in 1ms (ActiveRecord: 0.0ms)
|
873
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-19 11:26:46 +0000
|
874
|
-
Started GET "/auth/gds/callback?code=278b47d54129f3dd2bad638d0a46a7053f2c7be1b862e8ddff5cf33a23dd98e8&state=31513a37b3ea74a950c3de0164cc26a17715c2847b201edf" for 127.0.0.1 at 2019-07-19 11:26:46 +0000
|
875
|
-
Processing by AuthenticationsController#callback as HTML
|
876
|
-
Parameters: {"code"=>"278b47d54129f3dd2bad638d0a46a7053f2c7be1b862e8ddff5cf33a23dd98e8", "state"=>"31513a37b3ea74a950c3de0164cc26a17715c2847b201edf"}
|
877
|
-
Authenticating with gds_sso strategy
|
878
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
879
|
-
[1m[35m (0.1ms)[0m begin transaction
|
880
|
-
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
881
|
-
[1m[35m (0.0ms)[0m begin transaction
|
882
|
-
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
883
|
-
Redirected to http://www.example-client.com/restricted
|
884
|
-
Completed 302 Found in 6ms (ActiveRecord: 0.3ms)
|
885
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:46 +0000
|
886
|
-
Processing by ExampleController#restricted as HTML
|
887
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
888
|
-
Rendered text template (0.0ms)
|
889
|
-
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
890
|
-
Started GET "/" for 127.0.0.1 at 2019-07-19 11:26:46 +0000
|
891
|
-
Processing by ExampleController#index as HTML
|
892
|
-
Rendered text template (0.0ms)
|
893
|
-
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
894
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-07-19 11:26:46 +0000
|
461
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d3951"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
462
|
+
[1m[35m (7.0ms)[0m [1m[36mcommit transaction[0m
|
463
|
+
Processing by Api::UserController#update as HTML
|
464
|
+
Parameters: {"uid"=>"a1s2d34405"}
|
465
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d34405"], ["LIMIT", 1]]
|
466
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
467
|
+
[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", 7]]
|
468
|
+
[1m[35m (6.3ms)[0m [1m[36mcommit transaction[0m
|
469
|
+
Completed 200 OK in 8ms (ActiveRecord: 6.6ms | Allocations: 1284)
|
470
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 7], ["LIMIT", 1]]
|
471
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
472
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d34335"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
473
|
+
[1m[35m (9.8ms)[0m [1m[36mcommit transaction[0m
|
474
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
475
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d39368"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
476
|
+
[1m[35m (7.4ms)[0m [1m[36mcommit transaction[0m
|
477
|
+
Processing by Api::UserController#update as HTML
|
478
|
+
Parameters: {"uid"=>"a1s2d34335"}
|
479
|
+
Rendering /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
480
|
+
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
481
|
+
Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (Duration: 0.1ms | Allocations: 56)
|
482
|
+
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
483
|
+
Completed 403 Forbidden in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms | Allocations: 514)
|
484
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["email", "dummyapiuser@domain.com"], ["LIMIT", 1]]
|
485
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
486
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Dummy API user created by gds-sso"], ["uid", "3749"], ["email", "dummyapiuser@domain.com"], ["permissions", "---\n- signin\n"]]
|
487
|
+
[1m[35m (11.3ms)[0m [1m[36mcommit transaction[0m
|
488
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
489
|
+
[1m[36mUser Update (0.1ms)[0m [1m[33mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = ?[0m [["permissions", "---\n- signin\n- extra_permission\n"], ["id", 11]]
|
490
|
+
[1m[35m (13.2ms)[0m [1m[36mcommit transaction[0m
|
491
|
+
[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]]
|
492
|
+
[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]]
|
493
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
494
|
+
[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]]
|
495
|
+
[1m[35m (6.9ms)[0m [1m[36mcommit transaction[0m
|
496
|
+
[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]]
|
497
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
|
895
498
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
896
499
|
Authenticating with gds_sso strategy
|
897
|
-
Completed in
|
898
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
899
|
-
Started GET "/auth/gds/callback?code=
|
500
|
+
Completed in 4ms (ActiveRecord: 0.0ms | Allocations: 161)
|
501
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
|
502
|
+
Started GET "/auth/gds/callback?code=CcfEoM1MpM4hcEeZL5WZUmoWjkNxiM0Oa1L7rWJLKBs&state=156fe842e93761b639e9a74480699111a72a9be4a4fc1e17" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
|
900
503
|
Processing by AuthenticationsController#callback as HTML
|
901
|
-
Parameters: {"code"=>"
|
504
|
+
Parameters: {"code"=>"CcfEoM1MpM4hcEeZL5WZUmoWjkNxiM0Oa1L7rWJLKBs", "state"=>"156fe842e93761b639e9a74480699111a72a9be4a4fc1e17"}
|
902
505
|
Authenticating with gds_sso strategy
|
903
|
-
[1m[36mUser Load (0.1ms)[0m [
|
904
|
-
[1m[
|
905
|
-
[1m[
|
906
|
-
[1m[
|
907
|
-
[1m[
|
506
|
+
[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]]
|
507
|
+
[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]]
|
508
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
509
|
+
[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"]]
|
510
|
+
[1m[35m (5.3ms)[0m [1m[36mcommit transaction[0m
|
511
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
512
|
+
[1m[36mUser Update (0.1ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", 0], ["id", 13]]
|
513
|
+
[1m[35m (4.2ms)[0m [1m[36mcommit transaction[0m
|
908
514
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
909
|
-
Completed 302 Found in
|
910
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at
|
515
|
+
Completed 302 Found in 13ms (ActiveRecord: 10.1ms | Allocations: 1593)
|
516
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
|
911
517
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
912
|
-
[1m[
|
913
|
-
|
914
|
-
|
915
|
-
|
518
|
+
[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]]
|
519
|
+
Rendering text template
|
520
|
+
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
521
|
+
Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.2ms | Allocations: 1054)
|
522
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
|
916
523
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
917
524
|
Authenticating with gds_sso strategy
|
918
|
-
Completed in 0ms (ActiveRecord: 0.0ms)
|
919
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
920
|
-
Started GET "/auth/gds/callback?code=
|
525
|
+
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 112)
|
526
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
|
527
|
+
Started GET "/auth/gds/callback?code=P_GEjdhe51Awp_rBVMBHcqmzzX64bBiYtbzHlOCLd1A&state=a3e67583ddbdc93e9a05d777b9f8f47211da874e1bf08a89" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
|
921
528
|
Processing by AuthenticationsController#callback as HTML
|
922
|
-
Parameters: {"code"=>"
|
529
|
+
Parameters: {"code"=>"P_GEjdhe51Awp_rBVMBHcqmzzX64bBiYtbzHlOCLd1A", "state"=>"a3e67583ddbdc93e9a05d777b9f8f47211da874e1bf08a89"}
|
923
530
|
Authenticating with gds_sso strategy
|
924
|
-
[1m[36mUser Load (0.1ms)[0m [
|
925
|
-
[1m[35m (0.1ms)[0m begin transaction
|
926
|
-
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
927
|
-
[1m[35m (0.0ms)[0m begin transaction
|
928
|
-
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
531
|
+
[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]]
|
929
532
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
930
|
-
Completed 302 Found in
|
931
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at
|
533
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 1019)
|
534
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
|
932
535
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
933
|
-
[1m[
|
934
|
-
|
935
|
-
|
936
|
-
|
536
|
+
[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]]
|
537
|
+
Rendering text template
|
538
|
+
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
539
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 709)
|
540
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
|
937
541
|
Processing by ExampleController#restricted as HTML
|
938
542
|
Authenticating with gds_sso strategy
|
939
|
-
Completed in 0ms (ActiveRecord: 0.0ms)
|
940
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
941
|
-
Started GET "/auth/gds/callback?code=
|
543
|
+
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 112)
|
544
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
|
545
|
+
Started GET "/auth/gds/callback?code=vw71a-deJx87P19bBjLXxD9r3B3vPQRW7movQkxVyg4&state=f086f068f227e08a5a6c23086c801305a3bf33eacae3c724" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
|
942
546
|
Processing by AuthenticationsController#callback as HTML
|
943
|
-
Parameters: {"code"=>"
|
547
|
+
Parameters: {"code"=>"vw71a-deJx87P19bBjLXxD9r3B3vPQRW7movQkxVyg4", "state"=>"f086f068f227e08a5a6c23086c801305a3bf33eacae3c724"}
|
944
548
|
Authenticating with gds_sso strategy
|
945
|
-
[1m[36mUser Load (0.
|
946
|
-
[1m[35m (0.0ms)[0m begin transaction
|
947
|
-
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
948
|
-
[1m[35m (0.0ms)[0m begin transaction
|
949
|
-
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
549
|
+
[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
550
|
Redirected to http://www.example-client.com/restricted
|
951
|
-
Completed 302 Found in
|
952
|
-
Started GET "/restricted" for 127.0.0.1 at
|
551
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 1015)
|
552
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
|
953
553
|
Processing by ExampleController#restricted as HTML
|
954
|
-
[1m[
|
955
|
-
|
956
|
-
|
957
|
-
|
554
|
+
[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]]
|
555
|
+
Rendering text template
|
556
|
+
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
557
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 706)
|
558
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
|
958
559
|
Processing by ExampleController#restricted as HTML
|
959
560
|
Authenticating with gds_sso strategy
|
960
|
-
Completed in 0ms (ActiveRecord: 0.0ms)
|
961
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
962
|
-
Started GET "/auth/gds/callback?code=
|
561
|
+
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 112)
|
562
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
|
563
|
+
Started GET "/auth/gds/callback?code=gKSQCO3T605t6Bd3ty3fTGxwcWnUBnKKQ0WS_qsE9Sg&state=85c6bc6df2137b74f313bcab3e7fe9a031c3961c98396d4b" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
|
963
564
|
Processing by AuthenticationsController#callback as HTML
|
964
|
-
Parameters: {"code"=>"
|
565
|
+
Parameters: {"code"=>"gKSQCO3T605t6Bd3ty3fTGxwcWnUBnKKQ0WS_qsE9Sg", "state"=>"85c6bc6df2137b74f313bcab3e7fe9a031c3961c98396d4b"}
|
965
566
|
Authenticating with gds_sso strategy
|
966
|
-
[1m[36mUser Load (0.1ms)[0m [
|
967
|
-
[1m[35m (0.1ms)[0m begin transaction
|
968
|
-
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
969
|
-
[1m[35m (0.0ms)[0m begin transaction
|
970
|
-
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
567
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
971
568
|
Redirected to http://www.example-client.com/restricted
|
972
|
-
Completed 302 Found in
|
973
|
-
Started GET "/restricted" for 127.0.0.1 at
|
569
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 1015)
|
570
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
|
974
571
|
Processing by ExampleController#restricted as HTML
|
975
|
-
[1m[
|
976
|
-
|
977
|
-
|
978
|
-
|
572
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
|
573
|
+
Rendering text template
|
574
|
+
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
575
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 706)
|
576
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
|
979
577
|
Processing by ExampleController#restricted as HTML
|
980
578
|
Authenticating with gds_sso strategy
|
981
|
-
Completed in 0ms (ActiveRecord: 0.0ms)
|
982
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
983
|
-
Started GET "/auth/gds/callback?code=
|
579
|
+
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 112)
|
580
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
|
581
|
+
Started GET "/auth/gds/callback?code=BnFkDrfN9Z2hyimBvnmSqcPfovbOQyFvaIG9cohTHfM&state=ebc1316410d9746f3da5be6009e776a648c23afa996ed286" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
|
984
582
|
Processing by AuthenticationsController#callback as HTML
|
985
|
-
Parameters: {"code"=>"
|
583
|
+
Parameters: {"code"=>"BnFkDrfN9Z2hyimBvnmSqcPfovbOQyFvaIG9cohTHfM", "state"=>"ebc1316410d9746f3da5be6009e776a648c23afa996ed286"}
|
986
584
|
Authenticating with gds_sso strategy
|
987
|
-
[1m[36mUser Load (0.1ms)[0m [
|
988
|
-
[1m[35m (0.1ms)[0m begin transaction
|
989
|
-
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
990
|
-
[1m[35m (0.1ms)[0m begin transaction
|
991
|
-
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
585
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
992
586
|
Redirected to http://www.example-client.com/restricted
|
993
|
-
Completed 302 Found in
|
994
|
-
Started GET "/restricted" for 127.0.0.1 at
|
587
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 1015)
|
588
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
|
995
589
|
Processing by ExampleController#restricted as HTML
|
996
|
-
[1m[
|
997
|
-
|
998
|
-
|
999
|
-
|
590
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
|
591
|
+
Rendering text template
|
592
|
+
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
593
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 706)
|
594
|
+
Started GET "/" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
|
595
|
+
Processing by ExampleController#index as HTML
|
596
|
+
Rendering text template
|
597
|
+
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
598
|
+
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms | Allocations: 153)
|
599
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
|
1000
600
|
Processing by ExampleController#restricted as HTML
|
1001
601
|
Authenticating with gds_sso strategy
|
1002
|
-
Completed in 0ms (ActiveRecord: 0.0ms)
|
1003
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1004
|
-
Started GET "/auth/gds/callback?code=
|
602
|
+
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 112)
|
603
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
|
604
|
+
Started GET "/auth/gds/callback?code=APoibDDfGWp4YOYOb-mlhAGZ4ddhM99vujOTRaNe8fM&state=31b2dd657ea3fb2f658a27903cd6731ae4b5a1b5e4a31a35" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
|
1005
605
|
Processing by AuthenticationsController#callback as HTML
|
1006
|
-
Parameters: {"code"=>"
|
606
|
+
Parameters: {"code"=>"APoibDDfGWp4YOYOb-mlhAGZ4ddhM99vujOTRaNe8fM", "state"=>"31b2dd657ea3fb2f658a27903cd6731ae4b5a1b5e4a31a35"}
|
1007
607
|
Authenticating with gds_sso strategy
|
1008
|
-
[1m[36mUser Load (0.1ms)[0m [
|
1009
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1010
|
-
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
1011
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1012
|
-
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
608
|
+
[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]]
|
1013
609
|
Redirected to http://www.example-client.com/restricted
|
1014
|
-
Completed 302 Found in
|
1015
|
-
Started GET "/restricted" for 127.0.0.1 at
|
610
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 1019)
|
611
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
|
1016
612
|
Processing by ExampleController#restricted as HTML
|
1017
|
-
[1m[
|
1018
|
-
|
1019
|
-
|
1020
|
-
|
613
|
+
[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]]
|
614
|
+
Rendering text template
|
615
|
+
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
616
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 709)
|
617
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-27 10:56:10 +0000
|
1021
618
|
Processing by ExampleController#restricted as HTML
|
1022
|
-
|
1023
|
-
|
1024
|
-
|
1025
|
-
Started GET "/
|
619
|
+
Authenticating with gds_sso strategy
|
620
|
+
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 498)
|
621
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-10-27 10:56:10 +0000
|
622
|
+
Started GET "/auth/gds/callback?code=7K72nCsn8CzZstyeITpn5_tqeSamkl20rDOAnjEAvhE&state=39077c375107ad6496606d3943549c493bdc6ed4fd38c558" for 127.0.0.1 at 2020-10-27 10:56:10 +0000
|
623
|
+
Processing by AuthenticationsController#callback as HTML
|
624
|
+
Parameters: {"code"=>"7K72nCsn8CzZstyeITpn5_tqeSamkl20rDOAnjEAvhE", "state"=>"39077c375107ad6496606d3943549c493bdc6ed4fd38c558"}
|
625
|
+
Authenticating with gds_sso strategy
|
626
|
+
[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]]
|
627
|
+
Redirected to http://www.example-client.com/restricted
|
628
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 1217)
|
629
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-27 10:56:10 +0000
|
630
|
+
Processing by ExampleController#restricted as HTML
|
631
|
+
[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]]
|
632
|
+
Rendering text template
|
633
|
+
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
634
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 931)
|
635
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
|
1026
636
|
Processing by ExampleController#restricted as HTML
|
1027
637
|
Authenticating with gds_sso strategy
|
1028
|
-
Completed in 0ms (ActiveRecord: 0.0ms)
|
1029
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1030
|
-
Started GET "/auth/gds/callback?code=
|
638
|
+
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 112)
|
639
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
|
640
|
+
Started GET "/auth/gds/callback?code=IT_etADQWF1aJWi9LF93q_RAkpAR81y52ZPecBrS4RE&state=4cdc532d5e0d6b31f8dd68839f3ab032ebf1396f521219a0" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
|
1031
641
|
Processing by AuthenticationsController#callback as HTML
|
1032
|
-
Parameters: {"code"=>"
|
642
|
+
Parameters: {"code"=>"IT_etADQWF1aJWi9LF93q_RAkpAR81y52ZPecBrS4RE", "state"=>"4cdc532d5e0d6b31f8dd68839f3ab032ebf1396f521219a0"}
|
1033
643
|
Authenticating with gds_sso strategy
|
1034
|
-
[1m[
|
1035
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1036
|
-
[1m[35m (0.1ms)[0m commit transaction
|
1037
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1038
|
-
[1m[35m (0.1ms)[0m commit transaction
|
644
|
+
[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]]
|
1039
645
|
Redirected to http://www.example-client.com/restricted
|
1040
|
-
Completed 302 Found in
|
1041
|
-
Started GET "/restricted" for 127.0.0.1 at
|
646
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 1015)
|
647
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
|
1042
648
|
Processing by ExampleController#restricted as HTML
|
1043
|
-
[1m[36mUser Load (0.1ms)[0m [
|
1044
|
-
|
1045
|
-
|
1046
|
-
|
649
|
+
[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]]
|
650
|
+
Rendering text template
|
651
|
+
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
652
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 706)
|
653
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-27 10:56:10 +0000
|
1047
654
|
Processing by ExampleController#restricted as HTML
|
1048
655
|
Authenticating with gds_sso strategy
|
1049
|
-
Completed in 0ms (ActiveRecord: 0.0ms)
|
1050
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1051
|
-
Started GET "/restricted" for 127.0.0.1 at
|
656
|
+
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 498)
|
657
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-10-27 10:56:10 +0000
|
658
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
|
1052
659
|
Processing by ExampleController#restricted as HTML
|
1053
660
|
Authenticating with gds_sso strategy
|
1054
|
-
Completed in 0ms (ActiveRecord: 0.0ms)
|
1055
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1056
|
-
Started GET "/auth/gds/callback?code=
|
661
|
+
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 112)
|
662
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
|
663
|
+
Started GET "/auth/gds/callback?code=O4wvIT3_l7tiliaqAACJZ20qbUqq_pVNmbXZ7LQb-nw&state=8485936984b0a357019f3679e1a0c3cb257b9125fe85d1c4" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
|
1057
664
|
Processing by AuthenticationsController#callback as HTML
|
1058
|
-
Parameters: {"code"=>"
|
665
|
+
Parameters: {"code"=>"O4wvIT3_l7tiliaqAACJZ20qbUqq_pVNmbXZ7LQb-nw", "state"=>"8485936984b0a357019f3679e1a0c3cb257b9125fe85d1c4"}
|
1059
666
|
Authenticating with gds_sso strategy
|
1060
|
-
[1m[
|
1061
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1062
|
-
[1m[35m (0.0ms)[0m commit transaction
|
1063
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1064
|
-
[1m[35m (0.1ms)[0m commit transaction
|
667
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1065
668
|
Redirected to http://www.example-client.com/restricted
|
1066
|
-
Completed 302 Found in
|
1067
|
-
Started GET "/restricted" for 127.0.0.1 at
|
669
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 1015)
|
670
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
|
1068
671
|
Processing by ExampleController#restricted as HTML
|
1069
|
-
[1m[36mUser Load (0.1ms)[0m [
|
1070
|
-
|
1071
|
-
|
1072
|
-
|
1073
|
-
|
1074
|
-
|
1075
|
-
[1m[
|
1076
|
-
|
672
|
+
[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
|
+
Rendering text template
|
674
|
+
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
675
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 706)
|
676
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-27 10:46:10 +0000
|
677
|
+
Processing by ExampleController#restricted as HTML
|
678
|
+
[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]]
|
679
|
+
Rendering text template
|
680
|
+
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
681
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 929)
|
682
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
|
1077
683
|
Processing by ExampleController#restricted as HTML
|
1078
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
1079
684
|
Authenticating with gds_sso strategy
|
1080
|
-
Completed in
|
1081
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1082
|
-
Started GET "/auth/gds/callback?code=
|
685
|
+
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 112)
|
686
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
|
687
|
+
Started GET "/auth/gds/callback?code=h5AvSzO9-B-1cin-UDSU-p1dIsEbFKeD7lweCROjrho&state=9e8442a545bde8802ef556f04e1c8fdde3db5c75819d3b4c" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
|
1083
688
|
Processing by AuthenticationsController#callback as HTML
|
1084
|
-
Parameters: {"code"=>"
|
1085
|
-
Authenticating with gds_sso strategy
|
1086
|
-
[1m[36mUser Load (0.1ms)[0m [
|
1087
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1088
|
-
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1089
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1090
|
-
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id", 2]]
|
1091
|
-
[1m[35m (4.5ms)[0m commit transaction
|
689
|
+
Parameters: {"code"=>"h5AvSzO9-B-1cin-UDSU-p1dIsEbFKeD7lweCROjrho", "state"=>"9e8442a545bde8802ef556f04e1c8fdde3db5c75819d3b4c"}
|
690
|
+
Authenticating with gds_sso strategy
|
691
|
+
[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]]
|
1092
692
|
Redirected to http://www.example-client.com/restricted
|
1093
|
-
Completed 302 Found in
|
1094
|
-
Started GET "/restricted" for 127.0.0.1 at
|
693
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 1019)
|
694
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
|
1095
695
|
Processing by ExampleController#restricted as HTML
|
1096
|
-
[1m[36mUser Load (0.1ms)[0m [
|
1097
|
-
|
1098
|
-
|
1099
|
-
|
696
|
+
[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]]
|
697
|
+
Rendering text template
|
698
|
+
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
699
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 708)
|
700
|
+
[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]]
|
701
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
702
|
+
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", 1], ["id", 13]]
|
703
|
+
[1m[35m (4.1ms)[0m [1m[36mcommit transaction[0m
|
704
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
|
1100
705
|
Processing by ExampleController#restricted as HTML
|
706
|
+
[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]]
|
1101
707
|
Authenticating with gds_sso strategy
|
1102
|
-
Completed in
|
1103
|
-
|
1104
|
-
|
1105
|
-
|
1106
|
-
|
1107
|
-
|
1108
|
-
[1m[
|
1109
|
-
Processing by Api::UserController#reauth as HTML
|
1110
|
-
Parameters: {"uid"=>"a1s2d35190"}
|
1111
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "a1s2d35190"]]
|
1112
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1113
|
-
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 3]]
|
1114
|
-
[1m[36m (4.1ms)[0m [1mcommit transaction[0m
|
1115
|
-
Completed 200 OK in 6ms (ActiveRecord: 4.4ms)
|
1116
|
-
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
|
1117
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1118
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d39409"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
1119
|
-
[1m[36m (4.0ms)[0m [1mcommit transaction[0m
|
1120
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1121
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d37934"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1122
|
-
[1m[35m (3.6ms)[0m commit transaction
|
1123
|
-
Processing by Api::UserController#reauth as HTML
|
1124
|
-
Parameters: {"uid"=>"a1s2d39409"}
|
1125
|
-
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
1126
|
-
Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
|
1127
|
-
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
1128
|
-
Completed 403 Forbidden in 6ms (Views: 6.0ms | ActiveRecord: 0.0ms)
|
1129
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1130
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d34378"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
1131
|
-
[1m[36m (3.5ms)[0m [1mcommit transaction[0m
|
1132
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1133
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d34681"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1134
|
-
[1m[35m (4.2ms)[0m commit transaction
|
1135
|
-
Processing by Api::UserController#reauth as HTML
|
1136
|
-
Parameters: {"uid"=>"nonexistent-user"}
|
1137
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "nonexistent-user"]]
|
1138
|
-
Completed 200 OK in 1ms (ActiveRecord: 0.1ms)
|
1139
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1140
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d38945"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
1141
|
-
[1m[35m (4.5ms)[0m commit transaction
|
1142
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1143
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d31389"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1144
|
-
[1m[36m (3.4ms)[0m [1mcommit transaction[0m
|
1145
|
-
Processing by Api::UserController#update as HTML
|
1146
|
-
Parameters: {"uid"=>"a1s2d38945"}
|
1147
|
-
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
1148
|
-
Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
|
1149
|
-
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
1150
|
-
Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
|
1151
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1152
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d31593"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
1153
|
-
[1m[35m (3.6ms)[0m commit transaction
|
1154
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1155
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d35797"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1156
|
-
[1m[36m (4.1ms)[0m [1mcommit transaction[0m
|
1157
|
-
Processing by Api::UserController#update as HTML
|
1158
|
-
Parameters: {"uid"=>"a1s2d31593"}
|
1159
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "a1s2d31593"]]
|
1160
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1161
|
-
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "email" = ?, "name" = ?, "permissions" = ?, "organisation_slug" = ?, "organisation_content_id" = ? WHERE "users"."id" = ? [["email", "user@domain.com"], ["name", "Joshua Marshall"], ["permissions", "---\n- signin\n- new permission\n"], ["organisation_slug", "justice-league"], ["organisation_content_id", "aae1319e-5788-4677-998c-f1a53af528d0"], ["id", 11]]
|
1162
|
-
[1m[36m (3.4ms)[0m [1mcommit transaction[0m
|
1163
|
-
Completed 200 OK in 6ms (ActiveRecord: 3.8ms)
|
1164
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 11]]
|
1165
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["email", "dummyapiuser@domain.com"]]
|
1166
|
-
[1m[35m (0.3ms)[0m begin transaction
|
1167
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "uid", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["email", "dummyapiuser@domain.com"], ["uid", "3224"], ["name", "Dummy API user created by gds-sso"], ["permissions", "---\n- signin\n"]]
|
1168
|
-
[1m[35m (3.9ms)[0m commit transaction
|
1169
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1170
|
-
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = ? [["permissions", "---\n- signin\n- extra_permission\n"], ["id", 13]]
|
1171
|
-
[1m[36m (4.5ms)[0m [1mcommit transaction[0m
|
1172
|
-
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "users"[0m
|
1173
|
-
[1m[35m (1.6ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
1174
|
-
[1m[35m (5.3ms)[0m [1m[35mCREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "uid" varchar NOT NULL, "email" varchar NOT NULL, "remotely_signed_out" boolean, "permissions" text, "organisation_slug" varchar, "organisation_content_id" varchar, "disabled" boolean DEFAULT 'f')[0m
|
1175
|
-
[1m[35m (5.9ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
1176
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
708
|
+
Completed in 1ms (ActiveRecord: 0.1ms | Allocations: 574)
|
709
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
|
710
|
+
Started GET "/auth/gds/callback?code=B40rOBHLorgUVjtPFZSVFMxf4QnH7ryN4p6tUQR1vtg&state=c6e381ce1a1c9c84ae78a3e18e447ad294b0ed65cf25130f" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
|
711
|
+
Processing by AuthenticationsController#callback as HTML
|
712
|
+
Parameters: {"code"=>"B40rOBHLorgUVjtPFZSVFMxf4QnH7ryN4p6tUQR1vtg", "state"=>"c6e381ce1a1c9c84ae78a3e18e447ad294b0ed65cf25130f"}
|
713
|
+
Authenticating with gds_sso strategy
|
714
|
+
[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]]
|
1177
715
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1178
|
-
[1m[
|
1179
|
-
[1m[35m (
|
716
|
+
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", 0], ["id", 13]]
|
717
|
+
[1m[35m (5.2ms)[0m [1m[36mcommit transaction[0m
|
718
|
+
Redirected to http://www.example-client.com/restricted
|
719
|
+
Completed 302 Found in 8ms (ActiveRecord: 5.5ms | Allocations: 1225)
|
720
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
|
721
|
+
Processing by ExampleController#restricted as HTML
|
722
|
+
[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]]
|
723
|
+
Rendering text template
|
724
|
+
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
725
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 704)
|
726
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
|
727
|
+
Processing by ExampleController#restricted as JSON
|
728
|
+
Completed in 14ms (ActiveRecord: 0.0ms | Allocations: 2116)
|
729
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
|
730
|
+
Processing by ExampleController#restricted as JSON
|
731
|
+
Completed in 7ms (ActiveRecord: 0.0ms | Allocations: 1871)
|
732
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
|
733
|
+
Processing by ExampleController#restricted as JSON
|
734
|
+
[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]]
|
735
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
736
|
+
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "disabled" = ? WHERE "users"."id" = ?[0m [["disabled", nil], ["id", 13]]
|
737
|
+
[1m[35m (5.2ms)[0m [1m[36mcommit transaction[0m
|
738
|
+
[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]]
|
739
|
+
[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]]
|
740
|
+
[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]]
|
741
|
+
Rendering text template
|
742
|
+
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
743
|
+
Completed 200 OK in 11ms (Views: 0.2ms | ActiveRecord: 5.7ms | Allocations: 3631)
|
744
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
|
745
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
746
|
+
[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]]
|
747
|
+
[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]]
|
748
|
+
[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]]
|
749
|
+
[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]]
|
750
|
+
Rendering text template
|
751
|
+
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
752
|
+
Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 3319)
|
753
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
|
754
|
+
Processing by ExampleController#restricted as HTML
|
755
|
+
Authenticating with gds_sso strategy
|
756
|
+
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 114)
|
757
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "users"[0m
|
758
|
+
[1m[35m (0.9ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
759
|
+
[1m[35m (17.8ms)[0m [1m[35mCREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "uid" varchar NOT NULL, "email" varchar NOT NULL, "remotely_signed_out" boolean, "permissions" text, "organisation_slug" varchar, "organisation_content_id" varchar, "disabled" boolean DEFAULT 'f')[0m
|
760
|
+
[1m[35m (8.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
|
761
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
762
|
+
[1m[35m (0.0ms)[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-10-26 14:51:15.152563"], ["updated_at", "2020-10-26 14:51:15.152563"]]
|
764
|
+
[1m[35m (5.6ms)[0m [1m[36mcommit transaction[0m
|
1180
765
|
[1m[35m (5.9ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
1181
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.
|
766
|
+
[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]]
|
1182
767
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1183
768
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1184
|
-
[1m[
|
1185
|
-
[1m[
|
769
|
+
[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]]
|
770
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
771
|
+
[1m[36mUser Create (1.0ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Dummy API user created by gds-sso"], ["uid", "2686"], ["email", "dummyapiuser@domain.com"], ["permissions", "---\n- signin\n"]]
|
1186
772
|
[1m[35m (5.2ms)[0m [1m[36mcommit transaction[0m
|
1187
|
-
[1m[35m (0.
|
1188
|
-
[1m[36mUser
|
1189
|
-
[1m[35m (
|
773
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
774
|
+
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = ?[0m [["permissions", "---\n- signin\n- extra_permission\n"], ["id", 1]]
|
775
|
+
[1m[35m (4.2ms)[0m [1m[36mcommit transaction[0m
|
776
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
777
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d31161"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
778
|
+
[1m[35m (4.7ms)[0m [1m[36mcommit transaction[0m
|
779
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
780
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d34234"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
781
|
+
[1m[35m (5.1ms)[0m [1m[36mcommit transaction[0m
|
1190
782
|
Processing by Api::UserController#update as HTML
|
1191
|
-
Parameters: {"uid"=>"
|
783
|
+
Parameters: {"uid"=>"a1s2d31161"}
|
1192
784
|
Rendering /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
1193
785
|
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
1194
|
-
Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (
|
786
|
+
Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (1.2ms)
|
1195
787
|
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
1196
|
-
Completed 403 Forbidden in
|
788
|
+
Completed 403 Forbidden in 7ms (Views: 6.6ms | ActiveRecord: 0.0ms)
|
1197
789
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1198
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "
|
1199
|
-
[1m[35m (
|
790
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d32959"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
791
|
+
[1m[35m (5.7ms)[0m [1m[36mcommit transaction[0m
|
1200
792
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1201
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "
|
1202
|
-
[1m[35m (
|
793
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d39467"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
794
|
+
[1m[35m (5.8ms)[0m [1m[36mcommit transaction[0m
|
1203
795
|
Processing by Api::UserController#update as HTML
|
1204
|
-
Parameters: {"uid"=>"
|
1205
|
-
[1m[36mUser Load (0.
|
1206
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1207
|
-
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "email" = ?, "name" = ?, "permissions" = ?, "organisation_slug" = ?, "organisation_content_id" = ? WHERE "users"."id" = ?[0m [["email", "user@domain.com"], ["name", "Joshua Marshall"], ["permissions", "---\n- signin\n- new permission\n"], ["organisation_slug", "justice-league"], ["organisation_content_id", "aae1319e-5788-4677-998c-f1a53af528d0"], ["id", 3]]
|
1208
|
-
[1m[35m (4.7ms)[0m [1m[36mcommit transaction[0m
|
1209
|
-
Completed 200 OK in 8ms (ActiveRecord: 5.2ms)
|
1210
|
-
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 3], ["LIMIT", 1]]
|
1211
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1212
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d37686"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1213
|
-
[1m[35m (4.6ms)[0m [1m[36mcommit transaction[0m
|
796
|
+
Parameters: {"uid"=>"a1s2d32959"}
|
797
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d32959"], ["LIMIT", 1]]
|
1214
798
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1215
|
-
[1m[36mUser
|
1216
|
-
[1m[35m (
|
1217
|
-
|
1218
|
-
|
1219
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d37686"], ["LIMIT", 1]]
|
1220
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1221
|
-
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "t"], ["id", 5]]
|
1222
|
-
[1m[35m (4.7ms)[0m [1m[36mcommit transaction[0m
|
1223
|
-
Completed 200 OK in 7ms (ActiveRecord: 5.1ms)
|
1224
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 5], ["LIMIT", 1]]
|
1225
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1226
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d37925"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1227
|
-
[1m[35m (4.7ms)[0m [1m[36mcommit transaction[0m
|
799
|
+
[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", 4]]
|
800
|
+
[1m[35m (5.1ms)[0m [1m[36mcommit transaction[0m
|
801
|
+
Completed 200 OK in 9ms (ActiveRecord: 5.4ms)
|
802
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 4], ["LIMIT", 1]]
|
1228
803
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1229
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "
|
1230
|
-
[1m[35m (
|
804
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d34570"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
805
|
+
[1m[35m (4.1ms)[0m [1m[36mcommit transaction[0m
|
806
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
807
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d39231"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
808
|
+
[1m[35m (4.2ms)[0m [1m[36mcommit transaction[0m
|
1231
809
|
Processing by Api::UserController#reauth as HTML
|
1232
|
-
Parameters: {"uid"=>"
|
810
|
+
Parameters: {"uid"=>"a1s2d34570"}
|
1233
811
|
Rendering /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
1234
812
|
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
1235
|
-
Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.
|
813
|
+
Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.1ms)
|
1236
814
|
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
1237
|
-
Completed 403 Forbidden in
|
1238
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1239
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d34735"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1240
|
-
[1m[35m (5.2ms)[0m [1m[36mcommit transaction[0m
|
815
|
+
Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
1241
816
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1242
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "
|
1243
|
-
[1m[35m (
|
817
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d314"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
818
|
+
[1m[35m (5.1ms)[0m [1m[36mcommit transaction[0m
|
819
|
+
[1m[35m (1.0ms)[0m [1m[36mbegin transaction[0m
|
820
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d35325"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
821
|
+
[1m[35m (5.1ms)[0m [1m[36mcommit transaction[0m
|
822
|
+
Processing by Api::UserController#reauth as HTML
|
823
|
+
Parameters: {"uid"=>"a1s2d314"}
|
824
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d314"], ["LIMIT", 1]]
|
825
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
826
|
+
[1m[36mUser Update (0.1ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "t"], ["id", 8]]
|
827
|
+
[1m[35m (5.1ms)[0m [1m[36mcommit transaction[0m
|
828
|
+
Completed 200 OK in 7ms (ActiveRecord: 5.3ms)
|
829
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 8], ["LIMIT", 1]]
|
830
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
831
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d37331"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
832
|
+
[1m[35m (4.8ms)[0m [1m[36mcommit transaction[0m
|
833
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
834
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d3677"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
835
|
+
[1m[35m (5.4ms)[0m [1m[36mcommit transaction[0m
|
1244
836
|
Processing by Api::UserController#reauth as HTML
|
1245
837
|
Parameters: {"uid"=>"nonexistent-user"}
|
1246
838
|
[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]]
|
1247
|
-
Completed 200 OK in
|
1248
|
-
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["email", "dummyapiuser@domain.com"], ["LIMIT", 1]]
|
1249
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1250
|
-
[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", "8130"], ["email", "dummyapiuser@domain.com"], ["permissions", "---\n- signin\n"]]
|
1251
|
-
[1m[35m (5.2ms)[0m [1m[36mcommit transaction[0m
|
1252
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1253
|
-
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = ?[0m [["permissions", "---\n- signin\n- extra_permission\n"], ["id", 11]]
|
1254
|
-
[1m[35m (5.4ms)[0m [1m[36mcommit transaction[0m
|
839
|
+
Completed 200 OK in 2ms (ActiveRecord: 0.1ms)
|
1255
840
|
[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]]
|
1256
841
|
[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]]
|
1257
|
-
[1m[35m (0.
|
1258
|
-
[1m[36mUser Create (0.
|
1259
|
-
[1m[35m (
|
842
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
843
|
+
[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]]
|
844
|
+
[1m[35m (4.6ms)[0m [1m[36mcommit transaction[0m
|
1260
845
|
[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]]
|
1261
|
-
[1m[35m (0.
|
1262
|
-
[1m[35m (0.
|
1263
|
-
Started GET "/" for 127.0.0.1 at
|
1264
|
-
Processing by ExampleController#
|
846
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
847
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
848
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:15 +0000
|
849
|
+
Processing by ExampleController#restricted as HTML
|
850
|
+
Authenticating with gds_sso strategy
|
851
|
+
Completed in 4ms (ActiveRecord: 0.0ms)
|
852
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-10-26 14:51:15 +0000
|
853
|
+
Started GET "/auth/gds/callback?code=Q9Xym_iQS39k93lYjTQmU_M46Qh7yfKef1UwVv273B8&state=a888e7930f94b3210e33ee38ef27f2f6c59989749a591104" for 127.0.0.1 at 2020-10-26 14:51:15 +0000
|
854
|
+
Processing by AuthenticationsController#callback as HTML
|
855
|
+
Parameters: {"code"=>"Q9Xym_iQS39k93lYjTQmU_M46Qh7yfKef1UwVv273B8", "state"=>"a888e7930f94b3210e33ee38ef27f2f6c59989749a591104"}
|
856
|
+
Authenticating with gds_sso strategy
|
857
|
+
[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]]
|
858
|
+
[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]]
|
859
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
860
|
+
[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"]]
|
861
|
+
[1m[35m (5.1ms)[0m [1m[36mcommit transaction[0m
|
862
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
863
|
+
[1m[36mUser Update (0.1ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id", 13]]
|
864
|
+
[1m[35m (4.2ms)[0m [1m[36mcommit transaction[0m
|
865
|
+
Redirected to http://www.example-client.com/restricted
|
866
|
+
Completed 302 Found in 13ms (ActiveRecord: 9.9ms)
|
867
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:15 +0000
|
868
|
+
Processing by ExampleController#restricted as HTML
|
869
|
+
[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]]
|
1265
870
|
Rendering text template
|
1266
871
|
Rendered text template (0.0ms)
|
1267
|
-
Completed 200 OK in 2ms (Views:
|
1268
|
-
Started GET "/restricted" for 127.0.0.1 at
|
872
|
+
Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.1ms)
|
873
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:15 +0000
|
1269
874
|
Processing by ExampleController#restricted as HTML
|
1270
875
|
Authenticating with gds_sso strategy
|
1271
|
-
Completed in
|
1272
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1273
|
-
Started GET "/auth/gds/callback?code=
|
876
|
+
Completed in 0ms (ActiveRecord: 0.0ms)
|
877
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-10-26 14:51:15 +0000
|
878
|
+
Started GET "/auth/gds/callback?code=sseENFS7d6YBWzqiG7fpzVhhedUEcvD5PY7jKg9lHzo&state=135f1b3de39cee89529dcae630868efd0e66c62948fe6fad" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
|
1274
879
|
Processing by AuthenticationsController#callback as HTML
|
1275
|
-
Parameters: {"code"=>"
|
880
|
+
Parameters: {"code"=>"sseENFS7d6YBWzqiG7fpzVhhedUEcvD5PY7jKg9lHzo", "state"=>"135f1b3de39cee89529dcae630868efd0e66c62948fe6fad"}
|
1276
881
|
Authenticating with gds_sso strategy
|
1277
|
-
[1m[36mUser Load (0.
|
1278
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["email", "test@example-client.com"], ["LIMIT", 1]]
|
1279
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1280
|
-
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Test User"], ["uid", "integration-uid"], ["email", "test@example-client.com"], ["permissions", "---\n- signin\n"]]
|
1281
|
-
[1m[35m (4.8ms)[0m [1m[36mcommit transaction[0m
|
882
|
+
[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]]
|
1282
883
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1283
|
-
[1m[
|
1284
|
-
[1m[35m (
|
884
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
885
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
886
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1285
887
|
Redirected to http://www.example-client.com/restricted
|
1286
|
-
Completed 302 Found in
|
1287
|
-
Started GET "/restricted" for 127.0.0.1 at
|
888
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
|
889
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
|
1288
890
|
Processing by ExampleController#restricted as HTML
|
1289
|
-
[1m[36mUser Load (0.
|
891
|
+
[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]]
|
1290
892
|
Rendering text template
|
1291
893
|
Rendered text template (0.0ms)
|
1292
|
-
Completed 200 OK in
|
1293
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at
|
894
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
895
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
|
1294
896
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
1295
897
|
Authenticating with gds_sso strategy
|
1296
898
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1297
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1298
|
-
Started GET "/auth/gds/callback?code=
|
899
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
|
900
|
+
Started GET "/auth/gds/callback?code=QID8NNYuBDTecvsjSiD-nYSJchn1zEou8UuDw9wfo5g&state=d42a09f463c9f9256d77595275b83baf607fc9f326a95764" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
|
1299
901
|
Processing by AuthenticationsController#callback as HTML
|
1300
|
-
Parameters: {"code"=>"
|
902
|
+
Parameters: {"code"=>"QID8NNYuBDTecvsjSiD-nYSJchn1zEou8UuDw9wfo5g", "state"=>"d42a09f463c9f9256d77595275b83baf607fc9f326a95764"}
|
1301
903
|
Authenticating with gds_sso strategy
|
1302
|
-
[1m[36mUser Load (0.
|
1303
|
-
[1m[35m (0.
|
904
|
+
[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]]
|
905
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1304
906
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1305
907
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1306
908
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1307
909
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
1308
|
-
Completed 302 Found in
|
1309
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at
|
910
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
|
911
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
|
1310
912
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
1311
913
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
1312
914
|
Rendering text template
|
1313
915
|
Rendered text template (0.0ms)
|
1314
|
-
Completed 200 OK in
|
1315
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at
|
916
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
917
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
|
1316
918
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
1317
919
|
Authenticating with gds_sso strategy
|
1318
920
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1319
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1320
|
-
Started GET "/auth/gds/callback?code=
|
921
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
|
922
|
+
Started GET "/auth/gds/callback?code=fRqwvJN7sEVyv-ak_G85JDH9aG72tj15sEfXqHMEVNo&state=4da89b2888a3812c467f79184df679a0fca58af49dbf8bef" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
|
1321
923
|
Processing by AuthenticationsController#callback as HTML
|
1322
|
-
Parameters: {"code"=>"
|
924
|
+
Parameters: {"code"=>"fRqwvJN7sEVyv-ak_G85JDH9aG72tj15sEfXqHMEVNo", "state"=>"4da89b2888a3812c467f79184df679a0fca58af49dbf8bef"}
|
1323
925
|
Authenticating with gds_sso strategy
|
1324
|
-
[1m[36mUser Load (0.
|
1325
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1326
|
-
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
926
|
+
[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]]
|
1327
927
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1328
|
-
[1m[35m (0.
|
928
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
929
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
930
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1329
931
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
1330
|
-
Completed 302 Found in
|
1331
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at
|
932
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
|
933
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
|
1332
934
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
1333
935
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
1334
936
|
Rendering text template
|
1335
937
|
Rendered text template (0.0ms)
|
1336
|
-
Completed 200 OK in 1ms (Views: 0.
|
1337
|
-
Started GET "/
|
938
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
939
|
+
Started GET "/" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
|
940
|
+
Processing by ExampleController#index as HTML
|
941
|
+
Rendering text template
|
942
|
+
Rendered text template (0.0ms)
|
943
|
+
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
944
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
|
1338
945
|
Processing by ExampleController#restricted as HTML
|
1339
946
|
Authenticating with gds_sso strategy
|
1340
947
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1341
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1342
|
-
Started GET "/auth/gds/callback?code=
|
948
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
|
949
|
+
Started GET "/auth/gds/callback?code=0my6EyJ18tST4xHWoxB70-9MIbZe4Y96U3eQuNLxMWA&state=b5a0ee528dcf895b4ca52d06b2e1a77b2d1b03913e412e65" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
|
1343
950
|
Processing by AuthenticationsController#callback as HTML
|
1344
|
-
Parameters: {"code"=>"
|
951
|
+
Parameters: {"code"=>"0my6EyJ18tST4xHWoxB70-9MIbZe4Y96U3eQuNLxMWA", "state"=>"b5a0ee528dcf895b4ca52d06b2e1a77b2d1b03913e412e65"}
|
1345
952
|
Authenticating with gds_sso strategy
|
1346
|
-
[1m[36mUser Load (0.
|
953
|
+
[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]]
|
1347
954
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1348
955
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1349
|
-
[1m[35m (0.
|
1350
|
-
[1m[35m (0.
|
956
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
957
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1351
958
|
Redirected to http://www.example-client.com/restricted
|
1352
959
|
Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
|
1353
|
-
Started GET "/restricted" for 127.0.0.1 at
|
960
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
|
1354
961
|
Processing by ExampleController#restricted as HTML
|
1355
962
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
1356
963
|
Rendering text template
|
1357
964
|
Rendered text template (0.0ms)
|
1358
|
-
Completed 200 OK in 1ms (Views: 0.
|
1359
|
-
Started GET "/restricted" for 127.0.0.1 at
|
965
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
966
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
|
1360
967
|
Processing by ExampleController#restricted as HTML
|
1361
968
|
Authenticating with gds_sso strategy
|
1362
969
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1363
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1364
|
-
Started GET "/auth/gds/callback?code=
|
970
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
|
971
|
+
Started GET "/auth/gds/callback?code=PMYkbsLpF3HdAt-tuGm2z7SZ9ql0Unbkm6JytGmT7k0&state=c5c3d7f8011877996153f7d94658f795bb7909298c18a0f6" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
|
1365
972
|
Processing by AuthenticationsController#callback as HTML
|
1366
|
-
Parameters: {"code"=>"
|
973
|
+
Parameters: {"code"=>"PMYkbsLpF3HdAt-tuGm2z7SZ9ql0Unbkm6JytGmT7k0", "state"=>"c5c3d7f8011877996153f7d94658f795bb7909298c18a0f6"}
|
1367
974
|
Authenticating with gds_sso strategy
|
1368
|
-
[1m[36mUser Load (0.
|
975
|
+
[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]]
|
1369
976
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1370
977
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1371
|
-
[1m[35m (0.
|
978
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1372
979
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1373
980
|
Redirected to http://www.example-client.com/restricted
|
1374
981
|
Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
|
1375
|
-
Started GET "/restricted" for 127.0.0.1 at
|
982
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
|
1376
983
|
Processing by ExampleController#restricted as HTML
|
1377
984
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
1378
985
|
Rendering text template
|
1379
986
|
Rendered text template (0.0ms)
|
1380
|
-
Completed 200 OK in
|
1381
|
-
Started GET "/restricted" for 127.0.0.1 at
|
987
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
988
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-27 10:56:16 +0000
|
1382
989
|
Processing by ExampleController#restricted as HTML
|
1383
990
|
Authenticating with gds_sso strategy
|
1384
|
-
Completed in
|
1385
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1386
|
-
Started GET "/
|
1387
|
-
Processing by AuthenticationsController#callback as HTML
|
1388
|
-
Parameters: {"code"=>"dcf7afaee1cf9dda09ad071b0dde16aef6f0311221c5816222b4df37dcab910c", "state"=>"1c7258e1dd0b5e5a44eded341edd52b57134b295727962dd"}
|
1389
|
-
Authenticating with gds_sso strategy
|
1390
|
-
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1391
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1392
|
-
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1393
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1394
|
-
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1395
|
-
Redirected to http://www.example-client.com/restricted
|
1396
|
-
Completed 302 Found in 4ms (ActiveRecord: 0.5ms)
|
1397
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:56 +0000
|
1398
|
-
Processing by ExampleController#restricted as HTML
|
1399
|
-
[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]]
|
1400
|
-
Rendering text template
|
1401
|
-
Rendered text template (0.0ms)
|
1402
|
-
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
1403
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-20 07:31:56 +0000
|
991
|
+
Completed in 1ms (ActiveRecord: 0.0ms)
|
992
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-10-27 10:56:16 +0000
|
993
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
|
1404
994
|
Processing by ExampleController#restricted as HTML
|
1405
995
|
Authenticating with gds_sso strategy
|
1406
|
-
Completed in
|
1407
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1408
|
-
Started GET "/auth/gds/callback?code=
|
996
|
+
Completed in 0ms (ActiveRecord: 0.0ms)
|
997
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
|
998
|
+
Started GET "/auth/gds/callback?code=Q_rMbceGZWd_zjBYuOFHd6NKfHBcHGgwVDcXV6UZI48&state=e65b340ea778029e7fbfe50f2b416bd2ddeee9460b159533" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
|
1409
999
|
Processing by AuthenticationsController#callback as HTML
|
1410
|
-
Parameters: {"code"=>"
|
1000
|
+
Parameters: {"code"=>"Q_rMbceGZWd_zjBYuOFHd6NKfHBcHGgwVDcXV6UZI48", "state"=>"e65b340ea778029e7fbfe50f2b416bd2ddeee9460b159533"}
|
1411
1001
|
Authenticating with gds_sso strategy
|
1412
1002
|
[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]]
|
1413
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1414
|
-
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1415
1003
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1416
1004
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1005
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1006
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1417
1007
|
Redirected to http://www.example-client.com/restricted
|
1418
1008
|
Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
|
1419
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1009
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
|
1420
1010
|
Processing by ExampleController#restricted as HTML
|
1421
1011
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
1422
1012
|
Rendering text template
|
1423
1013
|
Rendered text template (0.0ms)
|
1424
1014
|
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
1425
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1015
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-27 10:56:16 +0000
|
1426
1016
|
Processing by ExampleController#restricted as HTML
|
1427
1017
|
Authenticating with gds_sso strategy
|
1428
1018
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1429
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1430
|
-
Started GET "/auth/gds/callback?code=
|
1019
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-10-27 10:56:16 +0000
|
1020
|
+
Started GET "/auth/gds/callback?code=F1Azm4-OYL03Kgox-DnlpMRjNDOIEOXswvjl5JRie0U&state=857bddb98bab5f7375cfe3c884d90a4d4afbef44c9b6b702" for 127.0.0.1 at 2020-10-27 10:56:16 +0000
|
1431
1021
|
Processing by AuthenticationsController#callback as HTML
|
1432
|
-
Parameters: {"code"=>"
|
1022
|
+
Parameters: {"code"=>"F1Azm4-OYL03Kgox-DnlpMRjNDOIEOXswvjl5JRie0U", "state"=>"857bddb98bab5f7375cfe3c884d90a4d4afbef44c9b6b702"}
|
1433
1023
|
Authenticating with gds_sso strategy
|
1434
1024
|
[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]]
|
1435
|
-
[1m[35m (0.
|
1436
|
-
[1m[35m (0.
|
1437
|
-
[1m[35m (0.
|
1025
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1026
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1027
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1438
1028
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1439
1029
|
Redirected to http://www.example-client.com/restricted
|
1440
|
-
Completed 302 Found in
|
1441
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1030
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
|
1031
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-27 10:56:16 +0000
|
1442
1032
|
Processing by ExampleController#restricted as HTML
|
1443
|
-
[1m[36mUser Load (0.
|
1033
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
1444
1034
|
Rendering text template
|
1445
1035
|
Rendered text template (0.0ms)
|
1446
|
-
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.
|
1447
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1448
|
-
Processing by ExampleController#restricted as HTML
|
1449
|
-
Authenticating with gds_sso strategy
|
1450
|
-
Completed in 0ms (ActiveRecord: 0.0ms)
|
1451
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-20 07:31:56 +0000
|
1452
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 11:26:56 +0000
|
1036
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
1037
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
|
1453
1038
|
Processing by ExampleController#restricted as HTML
|
1454
1039
|
Authenticating with gds_sso strategy
|
1455
1040
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1456
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1457
|
-
Started GET "/auth/gds/callback?code=
|
1041
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
|
1042
|
+
Started GET "/auth/gds/callback?code=V5VabBRBYodhQsV5Yk7m5jo6ks4vj5FDHrZTlHnxBZ4&state=7756d177cb339841b9f792b67023ba169c9d08181456fb96" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
|
1458
1043
|
Processing by AuthenticationsController#callback as HTML
|
1459
|
-
Parameters: {"code"=>"
|
1044
|
+
Parameters: {"code"=>"V5VabBRBYodhQsV5Yk7m5jo6ks4vj5FDHrZTlHnxBZ4", "state"=>"7756d177cb339841b9f792b67023ba169c9d08181456fb96"}
|
1460
1045
|
Authenticating with gds_sso strategy
|
1461
|
-
[1m[36mUser Load (0.
|
1046
|
+
[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]]
|
1462
1047
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1463
|
-
[1m[35m (0.
|
1048
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1464
1049
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1465
|
-
[1m[35m (0.
|
1050
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1466
1051
|
Redirected to http://www.example-client.com/restricted
|
1467
|
-
Completed 302 Found in
|
1468
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1052
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
|
1053
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
|
1469
1054
|
Processing by ExampleController#restricted as HTML
|
1470
|
-
[1m[36mUser Load (0.
|
1055
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
1471
1056
|
Rendering text template
|
1472
1057
|
Rendered text template (0.0ms)
|
1473
|
-
Completed 200 OK in 1ms (Views: 0.
|
1474
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1058
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
1059
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-27 10:46:16 +0000
|
1475
1060
|
Processing by ExampleController#restricted as HTML
|
1476
1061
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
1477
1062
|
Rendering text template
|
1478
1063
|
Rendered text template (0.0ms)
|
1479
|
-
Completed 200 OK in 1ms (Views: 0.
|
1480
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1064
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
1065
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
|
1481
1066
|
Processing by ExampleController#restricted as HTML
|
1482
1067
|
Authenticating with gds_sso strategy
|
1483
1068
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1484
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1485
|
-
Started GET "/auth/gds/callback?code=
|
1069
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
|
1070
|
+
Started GET "/auth/gds/callback?code=Zv6qwzvfJxFkdQi6YdvVmQOnasH1DwSBT581CaKM3JI&state=c70be6f7328e80c7b899b0fcd0601cdcc7c1b57542ddc96f" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
|
1486
1071
|
Processing by AuthenticationsController#callback as HTML
|
1487
|
-
Parameters: {"code"=>"
|
1072
|
+
Parameters: {"code"=>"Zv6qwzvfJxFkdQi6YdvVmQOnasH1DwSBT581CaKM3JI", "state"=>"c70be6f7328e80c7b899b0fcd0601cdcc7c1b57542ddc96f"}
|
1488
1073
|
Authenticating with gds_sso strategy
|
1489
1074
|
[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]]
|
1490
|
-
[1m[35m (0.
|
1491
|
-
[1m[35m (0.
|
1492
|
-
[1m[35m (0.
|
1493
|
-
[1m[35m (0.
|
1075
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1076
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1077
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1078
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1494
1079
|
Redirected to http://www.example-client.com/restricted
|
1495
|
-
Completed 302 Found in
|
1496
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1080
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
|
1081
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
|
1497
1082
|
Processing by ExampleController#restricted as HTML
|
1498
1083
|
[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]]
|
1499
1084
|
Rendering text template
|
1500
1085
|
Rendered text template (0.0ms)
|
1501
|
-
Completed 200 OK in 1ms (Views: 0.
|
1086
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
1502
1087
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["email", "test@example-client.com"], ["LIMIT", 1]]
|
1503
1088
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1504
1089
|
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "t"], ["id", 13]]
|
1505
|
-
[1m[35m (
|
1506
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1090
|
+
[1m[35m (12.8ms)[0m [1m[36mcommit transaction[0m
|
1091
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
|
1507
1092
|
Processing by ExampleController#restricted as HTML
|
1508
1093
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
1509
1094
|
Authenticating with gds_sso strategy
|
1510
1095
|
Completed in 1ms (ActiveRecord: 0.1ms)
|
1511
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1512
|
-
Started GET "/auth/gds/callback?code=
|
1096
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
|
1097
|
+
Started GET "/auth/gds/callback?code=sc6BrE3I9al5FWLj-6W1Kimm3naOqZo-zhU3eDLeno0&state=e49cc60c6430580f953d5de40f1a7f3263d66e0d707adbbe" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
|
1513
1098
|
Processing by AuthenticationsController#callback as HTML
|
1514
|
-
Parameters: {"code"=>"
|
1099
|
+
Parameters: {"code"=>"sc6BrE3I9al5FWLj-6W1Kimm3naOqZo-zhU3eDLeno0", "state"=>"e49cc60c6430580f953d5de40f1a7f3263d66e0d707adbbe"}
|
1515
1100
|
Authenticating with gds_sso strategy
|
1516
1101
|
[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]]
|
1517
|
-
[1m[35m (0.
|
1518
|
-
[1m[35m (0.
|
1102
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1103
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1519
1104
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1520
1105
|
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id", 13]]
|
1521
|
-
[1m[35m (
|
1106
|
+
[1m[35m (6.5ms)[0m [1m[36mcommit transaction[0m
|
1522
1107
|
Redirected to http://www.example-client.com/restricted
|
1523
|
-
Completed 302 Found in 9ms (ActiveRecord:
|
1524
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1108
|
+
Completed 302 Found in 9ms (ActiveRecord: 6.9ms)
|
1109
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
|
1525
1110
|
Processing by ExampleController#restricted as HTML
|
1526
1111
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
1527
1112
|
Rendering text template
|
1528
1113
|
Rendered text template (0.0ms)
|
1529
|
-
Completed 200 OK in 1ms (Views: 0.
|
1530
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1114
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
1115
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
|
1531
1116
|
Processing by ExampleController#restricted as HTML
|
1532
1117
|
Authenticating with gds_sso strategy
|
1533
1118
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1534
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1119
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
|
1535
1120
|
Processing by ExampleController#restricted as JSON
|
1536
|
-
Completed in
|
1537
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1121
|
+
Completed in 9ms (ActiveRecord: 0.0ms)
|
1122
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
|
1538
1123
|
Processing by ExampleController#restricted as JSON
|
1539
|
-
|
1540
|
-
|
1541
|
-
Processing by ExampleController#restricted as JSON
|
1542
|
-
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1543
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1124
|
+
[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]]
|
1125
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1544
1126
|
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "disabled" = ? WHERE "users"."id" = ?[0m [["disabled", nil], ["id", 13]]
|
1545
|
-
[1m[35m (
|
1127
|
+
[1m[35m (6.0ms)[0m [1m[36mcommit transaction[0m
|
1546
1128
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1547
1129
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1548
|
-
[1m[35m (0.
|
1130
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1549
1131
|
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1550
|
-
[1m[35m (0.
|
1132
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1551
1133
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1552
1134
|
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1553
1135
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
@@ -1556,23 +1138,375 @@ Processing by ExampleController#restricted as JSON
|
|
1556
1138
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1557
1139
|
Rendering text template
|
1558
1140
|
Rendered text template (0.0ms)
|
1559
|
-
Completed 200 OK in
|
1560
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at
|
1141
|
+
Completed 200 OK in 13ms (Views: 0.2ms | ActiveRecord: 6.7ms)
|
1142
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
|
1561
1143
|
Processing by ExampleController#this_requires_signin_permission as JSON
|
1562
1144
|
[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]]
|
1563
1145
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1564
1146
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1565
1147
|
[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]]
|
1566
1148
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1567
|
-
[1m[35m (0.
|
1149
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1568
1150
|
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1569
1151
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1570
1152
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1571
1153
|
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1572
|
-
[1m[35m (0.
|
1154
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1573
1155
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1574
1156
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1575
1157
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1576
1158
|
Rendering text template
|
1577
1159
|
Rendered text template (0.0ms)
|
1578
|
-
Completed 200 OK in
|
1160
|
+
Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 0.4ms)
|
1161
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
|
1162
|
+
Processing by ExampleController#restricted as JSON
|
1163
|
+
Completed in 13ms (ActiveRecord: 0.0ms)
|
1164
|
+
[1m[35m (1.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
1165
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
1166
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "users"[0m
|
1167
|
+
[1m[35m (7.4ms)[0m [1m[35mCREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "uid" varchar NOT NULL, "email" varchar NOT NULL, "remotely_signed_out" boolean, "permissions" text, "organisation_slug" varchar, "organisation_content_id" varchar, "disabled" boolean DEFAULT 0)[0m
|
1168
|
+
[1m[35m (7.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
|
1169
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
1170
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1171
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.1ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2020-10-26 14:51:22.380901"], ["updated_at", "2020-10-26 14:51:22.380901"]]
|
1172
|
+
[1m[35m (5.6ms)[0m [1m[36mcommit transaction[0m
|
1173
|
+
[1m[35m (5.6ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
1174
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
1175
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
1176
|
+
[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]]
|
1177
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1178
|
+
[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", "9790"], ["email", "dummyapiuser@domain.com"], ["permissions", "---\n- signin\n"]]
|
1179
|
+
[1m[35m (5.0ms)[0m [1m[36mcommit transaction[0m
|
1180
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1181
|
+
[1m[36mUser Update (0.1ms)[0m [1m[33mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = ?[0m [["permissions", "---\n- signin\n- extra_permission\n"], ["id", 1]]
|
1182
|
+
[1m[35m (4.9ms)[0m [1m[36mcommit transaction[0m
|
1183
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:22 +0000
|
1184
|
+
Processing by ExampleController#restricted as HTML
|
1185
|
+
Authenticating with gds_sso strategy
|
1186
|
+
Completed in 4ms (ActiveRecord: 0.0ms | Allocations: 161)
|
1187
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-10-26 14:51:22 +0000
|
1188
|
+
Started GET "/auth/gds/callback?code=Sfl1PZlW0kvV7mxi_j7nipAK5PmuIIFupkzKfPqBx6M&state=25e69dbc146d2fd2aace060b8f407032b56e7c4445737afb" for 127.0.0.1 at 2020-10-26 14:51:22 +0000
|
1189
|
+
Processing by AuthenticationsController#callback as HTML
|
1190
|
+
Parameters: {"code"=>"Sfl1PZlW0kvV7mxi_j7nipAK5PmuIIFupkzKfPqBx6M", "state"=>"25e69dbc146d2fd2aace060b8f407032b56e7c4445737afb"}
|
1191
|
+
Authenticating with gds_sso strategy
|
1192
|
+
[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]]
|
1193
|
+
[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]]
|
1194
|
+
[1m[35m (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", "Test User"], ["uid", "integration-uid"], ["email", "test@example-client.com"], ["permissions", "---\n- signin\n"]]
|
1196
|
+
[1m[35m (5.3ms)[0m [1m[36mcommit transaction[0m
|
1197
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1198
|
+
[1m[36mUser Update (0.1ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", 0], ["id", 2]]
|
1199
|
+
[1m[35m (4.1ms)[0m [1m[36mcommit transaction[0m
|
1200
|
+
Redirected to http://www.example-client.com/restricted
|
1201
|
+
Completed 302 Found in 13ms (ActiveRecord: 10.1ms | Allocations: 1492)
|
1202
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
|
1203
|
+
Processing by ExampleController#restricted as HTML
|
1204
|
+
[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]]
|
1205
|
+
Rendering text template
|
1206
|
+
Rendered text template (Duration: 0.0ms | Allocations: 3)
|
1207
|
+
Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.1ms | Allocations: 1544)
|
1208
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
|
1209
|
+
Processing by ExampleController#restricted as HTML
|
1210
|
+
Authenticating with gds_sso strategy
|
1211
|
+
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 102)
|
1212
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
|
1213
|
+
Started GET "/auth/gds/callback?code=Y3O9Fs0VsVJtPNkQc-dpwaBjtkIiJhtNT5m_zdnF9uo&state=0ce4a4943aaf5319577dedf86e7f0cd1fefef2d247625374" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
|
1214
|
+
Processing by AuthenticationsController#callback as HTML
|
1215
|
+
Parameters: {"code"=>"Y3O9Fs0VsVJtPNkQc-dpwaBjtkIiJhtNT5m_zdnF9uo", "state"=>"0ce4a4943aaf5319577dedf86e7f0cd1fefef2d247625374"}
|
1216
|
+
Authenticating with gds_sso strategy
|
1217
|
+
[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]]
|
1218
|
+
Redirected to http://www.example-client.com/restricted
|
1219
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 913)
|
1220
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
|
1221
|
+
Processing by ExampleController#restricted as HTML
|
1222
|
+
[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]]
|
1223
|
+
Rendering text template
|
1224
|
+
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
1225
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 652)
|
1226
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
|
1227
|
+
Processing by ExampleController#restricted as HTML
|
1228
|
+
Authenticating with gds_sso strategy
|
1229
|
+
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 102)
|
1230
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
|
1231
|
+
Started GET "/auth/gds/callback?code=tBgDLG95eMGQSrnP0Qmbr546Wju9WyzjR5chjYSHocE&state=02d28e934929f9a54cab1f6b7fe669e40800080c4525eabc" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
|
1232
|
+
Processing by AuthenticationsController#callback as HTML
|
1233
|
+
Parameters: {"code"=>"tBgDLG95eMGQSrnP0Qmbr546Wju9WyzjR5chjYSHocE", "state"=>"02d28e934929f9a54cab1f6b7fe669e40800080c4525eabc"}
|
1234
|
+
Authenticating with gds_sso strategy
|
1235
|
+
[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]]
|
1236
|
+
Redirected to http://www.example-client.com/restricted
|
1237
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 914)
|
1238
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
|
1239
|
+
Processing by ExampleController#restricted as HTML
|
1240
|
+
[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]]
|
1241
|
+
Rendering text template
|
1242
|
+
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
1243
|
+
Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 655)
|
1244
|
+
Started GET "/" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
|
1245
|
+
Processing by ExampleController#index as HTML
|
1246
|
+
Rendering text template
|
1247
|
+
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
1248
|
+
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms | Allocations: 137)
|
1249
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
|
1250
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
1251
|
+
Authenticating with gds_sso strategy
|
1252
|
+
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 102)
|
1253
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
|
1254
|
+
Started GET "/auth/gds/callback?code=4Fy6FyFR9O4Mjg0kZCgjY-Pd-pHsJ8pZ_B-XAEA_jyY&state=fba83e14267eb214b07ddf5ed4ff10b3999734143bbbbcb3" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
|
1255
|
+
Processing by AuthenticationsController#callback as HTML
|
1256
|
+
Parameters: {"code"=>"4Fy6FyFR9O4Mjg0kZCgjY-Pd-pHsJ8pZ_B-XAEA_jyY", "state"=>"fba83e14267eb214b07ddf5ed4ff10b3999734143bbbbcb3"}
|
1257
|
+
Authenticating with gds_sso strategy
|
1258
|
+
[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]]
|
1259
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
1260
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 912)
|
1261
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
|
1262
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
1263
|
+
[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]]
|
1264
|
+
Rendering text template
|
1265
|
+
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
1266
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 652)
|
1267
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
|
1268
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
1269
|
+
Authenticating with gds_sso strategy
|
1270
|
+
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 102)
|
1271
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
|
1272
|
+
Started GET "/auth/gds/callback?code=Tf2X4Sb305VGS9ToUsyWoGwTMBPGT9v0421F6VARSHA&state=b5909fbb28df9acc65aca35853d83ac869485afc9dadf098" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
|
1273
|
+
Processing by AuthenticationsController#callback as HTML
|
1274
|
+
Parameters: {"code"=>"Tf2X4Sb305VGS9ToUsyWoGwTMBPGT9v0421F6VARSHA", "state"=>"b5909fbb28df9acc65aca35853d83ac869485afc9dadf098"}
|
1275
|
+
Authenticating with gds_sso strategy
|
1276
|
+
[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]]
|
1277
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
1278
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 912)
|
1279
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
|
1280
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
1281
|
+
[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]]
|
1282
|
+
Rendering text template
|
1283
|
+
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
1284
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 652)
|
1285
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
|
1286
|
+
Processing by ExampleController#restricted as HTML
|
1287
|
+
Authenticating with gds_sso strategy
|
1288
|
+
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 102)
|
1289
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
|
1290
|
+
Started GET "/auth/gds/callback?code=BDMiqmAhSUmubuek5f3fz92ekVUqSTd-igF_aeIbzbo&state=808869a9cd86784f5074bff81cc774ce9c98eea912a2d8c3" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
|
1291
|
+
Processing by AuthenticationsController#callback as HTML
|
1292
|
+
Parameters: {"code"=>"BDMiqmAhSUmubuek5f3fz92ekVUqSTd-igF_aeIbzbo", "state"=>"808869a9cd86784f5074bff81cc774ce9c98eea912a2d8c3"}
|
1293
|
+
Authenticating with gds_sso strategy
|
1294
|
+
[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]]
|
1295
|
+
Redirected to http://www.example-client.com/restricted
|
1296
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 912)
|
1297
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
|
1298
|
+
Processing by ExampleController#restricted as HTML
|
1299
|
+
[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]]
|
1300
|
+
Rendering text template
|
1301
|
+
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
1302
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 652)
|
1303
|
+
[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]]
|
1304
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1305
|
+
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", 1], ["id", 2]]
|
1306
|
+
[1m[35m (4.5ms)[0m [1m[36mcommit transaction[0m
|
1307
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
|
1308
|
+
Processing by ExampleController#restricted as HTML
|
1309
|
+
[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]]
|
1310
|
+
Authenticating with gds_sso strategy
|
1311
|
+
Completed in 1ms (ActiveRecord: 0.1ms | Allocations: 532)
|
1312
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
|
1313
|
+
Started GET "/auth/gds/callback?code=ULrH80fYJMjbZhFg7SM9pY9dwSD3DucnSyNFeNaOpNs&state=2b102c56bfc92b3e9d3abe9f8fb1d6fb85b982a5d9030ac8" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
|
1314
|
+
Processing by AuthenticationsController#callback as HTML
|
1315
|
+
Parameters: {"code"=>"ULrH80fYJMjbZhFg7SM9pY9dwSD3DucnSyNFeNaOpNs", "state"=>"2b102c56bfc92b3e9d3abe9f8fb1d6fb85b982a5d9030ac8"}
|
1316
|
+
Authenticating with gds_sso strategy
|
1317
|
+
[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]]
|
1318
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1319
|
+
[1m[36mUser Update (0.1ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", 0], ["id", 2]]
|
1320
|
+
[1m[35m (4.3ms)[0m [1m[36mcommit transaction[0m
|
1321
|
+
Redirected to http://www.example-client.com/restricted
|
1322
|
+
Completed 302 Found in 7ms (ActiveRecord: 4.5ms | Allocations: 1103)
|
1323
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
|
1324
|
+
Processing by ExampleController#restricted as HTML
|
1325
|
+
[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]]
|
1326
|
+
Rendering text template
|
1327
|
+
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
1328
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 650)
|
1329
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
|
1330
|
+
Processing by ExampleController#restricted as HTML
|
1331
|
+
Authenticating with gds_sso strategy
|
1332
|
+
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 102)
|
1333
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
|
1334
|
+
Started GET "/auth/gds/callback?code=1ii4HmDcFSY4Wbj9v79MrIVmenNGY7SxuyGLkaLYswA&state=40b1fbad4bc5be3f73a23dc92e5dc7a289db3d4cf2607dc2" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
|
1335
|
+
Processing by AuthenticationsController#callback as HTML
|
1336
|
+
Parameters: {"code"=>"1ii4HmDcFSY4Wbj9v79MrIVmenNGY7SxuyGLkaLYswA", "state"=>"40b1fbad4bc5be3f73a23dc92e5dc7a289db3d4cf2607dc2"}
|
1337
|
+
Authenticating with gds_sso strategy
|
1338
|
+
[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]]
|
1339
|
+
Redirected to http://www.example-client.com/restricted
|
1340
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 912)
|
1341
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
|
1342
|
+
Processing by ExampleController#restricted as HTML
|
1343
|
+
[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]]
|
1344
|
+
Rendering text template
|
1345
|
+
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
1346
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 652)
|
1347
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-27 10:56:23 +0000
|
1348
|
+
Processing by ExampleController#restricted as HTML
|
1349
|
+
Authenticating with gds_sso strategy
|
1350
|
+
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 479)
|
1351
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-10-27 10:56:23 +0000
|
1352
|
+
Started GET "/auth/gds/callback?code=CCRzd3loz6THeyHMYh5OoCj84uRMei8okdG6yBP7MUE&state=9ca840e746f47c54ae507bbafca211b0fd575c163c9f3435" for 127.0.0.1 at 2020-10-27 10:56:23 +0000
|
1353
|
+
Processing by AuthenticationsController#callback as HTML
|
1354
|
+
Parameters: {"code"=>"CCRzd3loz6THeyHMYh5OoCj84uRMei8okdG6yBP7MUE", "state"=>"9ca840e746f47c54ae507bbafca211b0fd575c163c9f3435"}
|
1355
|
+
Authenticating with gds_sso strategy
|
1356
|
+
[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]]
|
1357
|
+
Redirected to http://www.example-client.com/restricted
|
1358
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 1115)
|
1359
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-27 10:56:23 +0000
|
1360
|
+
Processing by ExampleController#restricted as HTML
|
1361
|
+
[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]]
|
1362
|
+
Rendering text template
|
1363
|
+
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
1364
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 879)
|
1365
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
|
1366
|
+
Processing by ExampleController#restricted as HTML
|
1367
|
+
Authenticating with gds_sso strategy
|
1368
|
+
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 102)
|
1369
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
|
1370
|
+
Started GET "/auth/gds/callback?code=b8s-kXAuetGtMPf0qd-evTQQebvXsS6juUttnUlj_KI&state=091092ef775a27a53d074af06150387698a9565ea7256204" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
|
1371
|
+
Processing by AuthenticationsController#callback as HTML
|
1372
|
+
Parameters: {"code"=>"b8s-kXAuetGtMPf0qd-evTQQebvXsS6juUttnUlj_KI", "state"=>"091092ef775a27a53d074af06150387698a9565ea7256204"}
|
1373
|
+
Authenticating with gds_sso strategy
|
1374
|
+
[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]]
|
1375
|
+
Redirected to http://www.example-client.com/restricted
|
1376
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 912)
|
1377
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
|
1378
|
+
Processing by ExampleController#restricted as HTML
|
1379
|
+
[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]]
|
1380
|
+
Rendering text template
|
1381
|
+
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
1382
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 653)
|
1383
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-27 10:56:23 +0000
|
1384
|
+
Processing by ExampleController#restricted as HTML
|
1385
|
+
Authenticating with gds_sso strategy
|
1386
|
+
Completed in 1ms (ActiveRecord: 0.0ms | Allocations: 479)
|
1387
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-10-27 10:56:23 +0000
|
1388
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
|
1389
|
+
Processing by ExampleController#restricted as HTML
|
1390
|
+
Authenticating with gds_sso strategy
|
1391
|
+
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 102)
|
1392
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
|
1393
|
+
Started GET "/auth/gds/callback?code=Pt3AQ4pm5niA5TlkSaosLd1ov8PreanA86IVVfHd9H8&state=92f7f73fd253c2f094bd594446565a95b5d4fdb8b46afbea" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
|
1394
|
+
Processing by AuthenticationsController#callback as HTML
|
1395
|
+
Parameters: {"code"=>"Pt3AQ4pm5niA5TlkSaosLd1ov8PreanA86IVVfHd9H8", "state"=>"92f7f73fd253c2f094bd594446565a95b5d4fdb8b46afbea"}
|
1396
|
+
Authenticating with gds_sso strategy
|
1397
|
+
[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]]
|
1398
|
+
Redirected to http://www.example-client.com/restricted
|
1399
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 912)
|
1400
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
|
1401
|
+
Processing by ExampleController#restricted as HTML
|
1402
|
+
[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]]
|
1403
|
+
Rendering text template
|
1404
|
+
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
1405
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 652)
|
1406
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-27 10:46:23 +0000
|
1407
|
+
Processing by ExampleController#restricted as HTML
|
1408
|
+
[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]]
|
1409
|
+
Rendering text template
|
1410
|
+
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
1411
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 875)
|
1412
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
|
1413
|
+
Processing by ExampleController#restricted as JSON
|
1414
|
+
Completed in 12ms (ActiveRecord: 0.0ms | Allocations: 1955)
|
1415
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
|
1416
|
+
Processing by ExampleController#restricted as JSON
|
1417
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1418
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1419
|
+
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "disabled" = ? WHERE "users"."id" = ?[0m [["disabled", nil], ["id", 2]]
|
1420
|
+
[1m[35m (5.7ms)[0m [1m[36mcommit transaction[0m
|
1421
|
+
[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]]
|
1422
|
+
[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]]
|
1423
|
+
[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]]
|
1424
|
+
Rendering text template
|
1425
|
+
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
1426
|
+
Completed 200 OK in 13ms (Views: 0.3ms | ActiveRecord: 6.1ms | Allocations: 3311)
|
1427
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
|
1428
|
+
Processing by ExampleController#restricted as JSON
|
1429
|
+
Completed in 7ms (ActiveRecord: 0.0ms | Allocations: 1776)
|
1430
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
|
1431
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
1432
|
+
[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]]
|
1433
|
+
[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]]
|
1434
|
+
[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]]
|
1435
|
+
[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]]
|
1436
|
+
Rendering text template
|
1437
|
+
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
1438
|
+
Completed 200 OK in 7ms (Views: 0.3ms | ActiveRecord: 0.2ms | Allocations: 3020)
|
1439
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
|
1440
|
+
Processing by ExampleController#restricted as HTML
|
1441
|
+
Authenticating with gds_sso strategy
|
1442
|
+
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 104)
|
1443
|
+
[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]]
|
1444
|
+
[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]]
|
1445
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1446
|
+
[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]]
|
1447
|
+
[1m[35m (5.7ms)[0m [1m[36mcommit transaction[0m
|
1448
|
+
[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]]
|
1449
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1450
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d35050"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1451
|
+
[1m[35m (4.3ms)[0m [1m[36mcommit transaction[0m
|
1452
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1453
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d38503"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1454
|
+
[1m[35m (5.8ms)[0m [1m[36mcommit transaction[0m
|
1455
|
+
Processing by Api::UserController#update as HTML
|
1456
|
+
Parameters: {"uid"=>"a1s2d35050"}
|
1457
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d35050"], ["LIMIT", 1]]
|
1458
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1459
|
+
[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", 4]]
|
1460
|
+
[1m[35m (5.1ms)[0m [1m[36mcommit transaction[0m
|
1461
|
+
Completed 200 OK in 7ms (ActiveRecord: 5.4ms | Allocations: 1266)
|
1462
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 4], ["LIMIT", 1]]
|
1463
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1464
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d34112"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1465
|
+
[1m[35m (5.2ms)[0m [1m[36mcommit transaction[0m
|
1466
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1467
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d36543"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1468
|
+
[1m[35m (3.7ms)[0m [1m[36mcommit transaction[0m
|
1469
|
+
Processing by Api::UserController#update as HTML
|
1470
|
+
Parameters: {"uid"=>"a1s2d34112"}
|
1471
|
+
Rendering /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
1472
|
+
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
1473
|
+
Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (Duration: 0.5ms | Allocations: 192)
|
1474
|
+
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
1475
|
+
Completed 403 Forbidden in 3ms (Views: 2.3ms | ActiveRecord: 0.0ms | Allocations: 1353)
|
1476
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1477
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d33647"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1478
|
+
[1m[35m (5.1ms)[0m [1m[36mcommit transaction[0m
|
1479
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1480
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d38442"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1481
|
+
[1m[35m (4.0ms)[0m [1m[36mcommit transaction[0m
|
1482
|
+
Processing by Api::UserController#reauth as HTML
|
1483
|
+
Parameters: {"uid"=>"a1s2d33647"}
|
1484
|
+
Rendering /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
1485
|
+
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
1486
|
+
Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (Duration: 0.1ms | Allocations: 46)
|
1487
|
+
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
1488
|
+
Completed 403 Forbidden in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms | Allocations: 508)
|
1489
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1490
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d3570"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1491
|
+
[1m[35m (5.0ms)[0m [1m[36mcommit transaction[0m
|
1492
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1493
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d33250"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1494
|
+
[1m[35m (3.9ms)[0m [1m[36mcommit transaction[0m
|
1495
|
+
Processing by Api::UserController#reauth as HTML
|
1496
|
+
Parameters: {"uid"=>"a1s2d3570"}
|
1497
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d3570"], ["LIMIT", 1]]
|
1498
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1499
|
+
[1m[36mUser Update (0.1ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", 1], ["id", 10]]
|
1500
|
+
[1m[35m (5.2ms)[0m [1m[36mcommit transaction[0m
|
1501
|
+
Completed 200 OK in 7ms (ActiveRecord: 5.5ms | Allocations: 882)
|
1502
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 10], ["LIMIT", 1]]
|
1503
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1504
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d39749"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1505
|
+
[1m[35m (5.0ms)[0m [1m[36mcommit transaction[0m
|
1506
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1507
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d38771"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1508
|
+
[1m[35m (3.8ms)[0m [1m[36mcommit transaction[0m
|
1509
|
+
Processing by Api::UserController#reauth as HTML
|
1510
|
+
Parameters: {"uid"=>"nonexistent-user"}
|
1511
|
+
[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]]
|
1512
|
+
Completed 200 OK in 1ms (ActiveRecord: 0.1ms | Allocations: 525)
|