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