gds-sso 13.0.0 → 13.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +10 -0
- data/lib/gds-sso/controller_methods.rb +32 -3
- data/lib/gds-sso/version.rb +1 -1
- data/spec/controller/controller_methods_spec.rb +71 -0
- data/spec/fixtures/integration/signonotron2.sql +1 -1
- data/spec/internal/db/combustion_test.sqlite +0 -0
- data/spec/internal/log/test.log +895 -895
- data/spec/support/signonotron2_integration_helpers.rb +1 -1
- metadata +16 -14
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5631ed3451bf7a920107d8c4824612ef3ca79d26
|
4
|
+
data.tar.gz: 9a9cf474fb50419c0f904d337a1a2fc50a345b39
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 917c719abe6c0274e0ff6fd21e10a2c7c905814e19e8ccc3d2750b7db65baa8e322bebcdf8c07e2650cb072cb169713ec31d4413347a00590f473f4ce028941a
|
7
|
+
data.tar.gz: a4382cf7d842114984ccb0292f0d6aa26746eaab57fda2258f7cb08b075f2ba458fbb2c43037ca75805d95843367cf902bd8f348388456bf3b3589faa64888c2
|
data/README.md
CHANGED
@@ -104,6 +104,16 @@ private
|
|
104
104
|
end
|
105
105
|
```
|
106
106
|
|
107
|
+
`authorise_user!` can be configured to check for multiple permissions:
|
108
|
+
|
109
|
+
```ruby
|
110
|
+
# fails unless the user has at least one of these permissions
|
111
|
+
authorise_user!(any_of: %w(edit create))
|
112
|
+
|
113
|
+
# fails unless the user has both of these permissions
|
114
|
+
authorise_user!(all_of: %w(edit create))
|
115
|
+
```
|
116
|
+
|
107
117
|
### Authorisation for API Users
|
108
118
|
|
109
119
|
In addition to the single-sign-on strategy, this gem also allows authorisation
|
@@ -13,13 +13,26 @@ module GDS
|
|
13
13
|
end
|
14
14
|
|
15
15
|
|
16
|
-
def authorise_user!(
|
16
|
+
def authorise_user!(permissions)
|
17
17
|
# Ensure that we're authenticated (and by extension that current_user is set).
|
18
18
|
# Otherwise current_user might be nil, and we'd error out
|
19
19
|
authenticate_user!
|
20
20
|
|
21
|
-
|
22
|
-
|
21
|
+
case permissions
|
22
|
+
when String
|
23
|
+
unless current_user.has_permission?(permissions)
|
24
|
+
raise PermissionDeniedException, "Sorry, you don't seem to have the #{permissions} permission for this app."
|
25
|
+
end
|
26
|
+
when Hash
|
27
|
+
raise ArgumentError, "Must be either `any_of` or `all_of`" unless permissions.keys.size == 1
|
28
|
+
|
29
|
+
if permissions[:any_of]
|
30
|
+
authorise_user_with_at_least_one_of_permissions!(permissions[:any_of])
|
31
|
+
elsif permissions[:all_of]
|
32
|
+
authorise_user_with_all_permissions!(permissions[:all_of])
|
33
|
+
else
|
34
|
+
raise ArgumentError, "Must be either `any_of` or `all_of`"
|
35
|
+
end
|
23
36
|
end
|
24
37
|
end
|
25
38
|
|
@@ -52,6 +65,22 @@ module GDS
|
|
52
65
|
def warden
|
53
66
|
request.env['warden']
|
54
67
|
end
|
68
|
+
|
69
|
+
private
|
70
|
+
|
71
|
+
def authorise_user_with_at_least_one_of_permissions!(permissions)
|
72
|
+
if permissions.none? { |permission| current_user.has_permission?(permission) }
|
73
|
+
raise PermissionDeniedException,
|
74
|
+
"Sorry, you don't seem to have any of the permissions: #{permissions.to_sentence} for this app."
|
75
|
+
end
|
76
|
+
end
|
77
|
+
|
78
|
+
def authorise_user_with_all_permissions!(permissions)
|
79
|
+
unless permissions.all? { |permission| current_user.has_permission?(permission) }
|
80
|
+
raise PermissionDeniedException,
|
81
|
+
"Sorry, you don't seem to have all of the permissions: #{permissions.to_sentence} for this app."
|
82
|
+
end
|
83
|
+
end
|
55
84
|
end
|
56
85
|
end
|
57
86
|
end
|
data/lib/gds-sso/version.rb
CHANGED
@@ -0,0 +1,71 @@
|
|
1
|
+
require 'spec_helper'
|
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
|
17
|
+
|
18
|
+
let(:current_user) { double }
|
19
|
+
let(:expected_error) { GDS::SSO::ControllerMethods::PermissionDeniedException }
|
20
|
+
|
21
|
+
context 'with a single string permission argument' do
|
22
|
+
it 'permits users with the required permission' do
|
23
|
+
allow(current_user).to receive(:has_permission?).with('good').and_return(true)
|
24
|
+
|
25
|
+
expect { ControllerSpy.new(current_user).authorise_user!('good') }.not_to raise_error
|
26
|
+
end
|
27
|
+
|
28
|
+
it 'does not permit the users without the required permission' do
|
29
|
+
allow(current_user).to receive(:has_permission?).with('good').and_return(false)
|
30
|
+
|
31
|
+
expect { ControllerSpy.new(current_user).authorise_user!('good') }.to raise_error(expected_error)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
context 'with the `all_of` option' do
|
36
|
+
it 'permits users with all of the required permissions' do
|
37
|
+
allow(current_user).to receive(:has_permission?).with('good').and_return(true)
|
38
|
+
allow(current_user).to receive(:has_permission?).with('bad').and_return(true)
|
39
|
+
|
40
|
+
expect { ControllerSpy.new(current_user).authorise_user!(all_of: %w(good bad)) }.not_to raise_error
|
41
|
+
end
|
42
|
+
|
43
|
+
it 'does not permit users without all of the required permissions' do
|
44
|
+
allow(current_user).to receive(:has_permission?).with('good').and_return(false)
|
45
|
+
allow(current_user).to receive(:has_permission?).with('bad').and_return(true)
|
46
|
+
|
47
|
+
expect { ControllerSpy.new(current_user).authorise_user!(all_of: %w(good bad)) }.to raise_error(expected_error)
|
48
|
+
end
|
49
|
+
end
|
50
|
+
|
51
|
+
context 'with the `any_of` option' do
|
52
|
+
it 'permits users with any of the required permissions' do
|
53
|
+
allow(current_user).to receive(:has_permission?).with('good').and_return(true)
|
54
|
+
allow(current_user).to receive(:has_permission?).with('bad').and_return(false)
|
55
|
+
|
56
|
+
expect { ControllerSpy.new(current_user).authorise_user!(any_of: %w(good bad)) }.not_to raise_error
|
57
|
+
end
|
58
|
+
|
59
|
+
it 'does not permit users without any of the required permissions' do
|
60
|
+
allow(current_user).to receive(:has_permission?).and_return(false)
|
61
|
+
|
62
|
+
expect { ControllerSpy.new(current_user).authorise_user!(any_of: %w(good bad)) }.to raise_error(expected_error)
|
63
|
+
end
|
64
|
+
end
|
65
|
+
|
66
|
+
context 'with none of `any_of` or `all_of`' do
|
67
|
+
it 'raises an `ArgumentError`' do
|
68
|
+
expect { ControllerSpy.new(current_user).authorise_user!(whoops: 'bad') }.to raise_error(ArgumentError)
|
69
|
+
end
|
70
|
+
end
|
71
|
+
end
|
@@ -18,7 +18,7 @@ INSERT INTO `supported_permissions` (id, application_id, name, created_at, updat
|
|
18
18
|
VALUES (2,2,'signin','2012-04-19 13:26:54','2012-04-19 13:26:54');
|
19
19
|
|
20
20
|
INSERT INTO `users` (id, email, encrypted_password, password_salt, created_at, updated_at, confirmed_at, name, uid, role, password_changed_at)
|
21
|
-
VALUES (1,'test@example-client.com','
|
21
|
+
VALUES (1,'test@example-client.com','3a890fe5e95b328b83f2ba57ea893cae595f4937291ff5550acb68f4a8dafeac22e5f8120c1e66be8f2b769df142dd3d111b404c5c1741595c9ecc9e7e6ad827','QCsZsJs7m5ojdgvysHSy','2012-04-19 13:26:54','2012-04-19 13:26:54','2012-04-19 13:26:54','Test User','integration-uid', "normal", NOW());
|
22
22
|
|
23
23
|
INSERT INTO `user_application_permissions` (user_id, application_id, supported_permission_id, created_at, updated_at)
|
24
24
|
VALUES (1,1,1,'2012-04-19 13:26:54','2012-04-19 13:26:54');
|
Binary file
|
data/spec/internal/log/test.log
CHANGED
@@ -1,86 +1,83 @@
|
|
1
|
-
[1m[36m (
|
2
|
-
[1m[35m (
|
1
|
+
[1m[36m (35.9ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "uid" varchar NOT NULL, "email" varchar NOT NULL, "remotely_signed_out" boolean, "permissions" text, "organisation_slug" varchar, "organisation_content_id" varchar, "disabled" boolean DEFAULT 'f') [0m
|
2
|
+
[1m[35m (12.9ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
3
3
|
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
4
|
-
[1m[35m (
|
4
|
+
[1m[35m (31.3ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
5
5
|
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "asd"]]
|
6
6
|
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "user@example.com"]]
|
7
7
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
8
|
-
[1m[35mSQL (0.
|
9
|
-
[1m[36m (
|
8
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions", "organisation_slug", "organisation_content_id", "disabled") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "asd"], ["email", "user@example.com"], ["name", "A Name"], ["permissions", "---\n- signin\n"], ["organisation_slug", "hmrc"], ["organisation_content_id", "67a2b78d-eee3-45b3-80e2-792e7f71cecc"], ["disabled", nil]]
|
9
|
+
[1m[36m (28.9ms)[0m [1mcommit transaction[0m
|
10
10
|
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "asd"]]
|
11
11
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12
12
|
[1m[35m (0.1ms)[0m commit transaction
|
13
13
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
14
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "
|
15
|
-
[1m[36m (
|
14
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d35531"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
15
|
+
[1m[36m (14.3ms)[0m [1mcommit transaction[0m
|
16
16
|
[1m[35m (0.1ms)[0m begin transaction
|
17
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "
|
18
|
-
[1m[35m (
|
17
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d35203"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
18
|
+
[1m[35m (11.2ms)[0m commit transaction
|
19
19
|
Processing by Api::UserController#update as HTML
|
20
|
-
Parameters: {"uid"=>"
|
21
|
-
|
20
|
+
Parameters: {"uid"=>"a1s2d35531"}
|
21
|
+
Rendered /home/jenkins/workspace/govuk_gds_sso/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.3ms)
|
22
|
+
Completed 403 Forbidden in 9ms (Views: 8.5ms | ActiveRecord: 0.0ms)
|
23
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d34549"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
25
|
+
[1m[36m (37.0ms)[0m [1mcommit transaction[0m
|
22
26
|
[1m[35m (0.2ms)[0m begin transaction
|
23
|
-
[1m[36mSQL (0.2ms)[0m [
|
24
|
-
[1m[35m (
|
25
|
-
|
26
|
-
|
27
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d34041"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
28
|
+
[1m[35m (25.5ms)[0m commit transaction
|
29
|
+
Processing by Api::UserController#update as HTML
|
30
|
+
Parameters: {"uid"=>"a1s2d34549"}
|
31
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "a1s2d34549"]]
|
32
|
+
[1m[35m (0.1ms)[0m begin transaction
|
33
|
+
[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", 4]]
|
34
|
+
[1m[35m (14.2ms)[0m commit transaction
|
35
|
+
Completed 200 OK in 20ms (ActiveRecord: 14.7ms)
|
36
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 4]]
|
27
37
|
[1m[35m (0.1ms)[0m begin transaction
|
28
|
-
[1m[36mSQL (0.
|
29
|
-
[1m[35m (
|
38
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d38988"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
39
|
+
[1m[35m (26.7ms)[0m commit transaction
|
30
40
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
31
|
-
[1m[35mSQL (0.
|
32
|
-
[1m[36m (
|
33
|
-
Processing by Api::UserController#
|
34
|
-
Parameters: {"uid"=>"
|
35
|
-
Rendered /home/jenkins/workspace/govuk_gds_sso/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.
|
36
|
-
Completed 403 Forbidden in
|
41
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d35119"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
42
|
+
[1m[36m (10.9ms)[0m [1mcommit transaction[0m
|
43
|
+
Processing by Api::UserController#reauth as HTML
|
44
|
+
Parameters: {"uid"=>"a1s2d38988"}
|
45
|
+
Rendered /home/jenkins/workspace/govuk_gds_sso/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.1ms)
|
46
|
+
Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
37
47
|
[1m[35m (0.1ms)[0m begin transaction
|
38
|
-
[1m[36mSQL (0.
|
39
|
-
[1m[35m (9.
|
48
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d39922"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
49
|
+
[1m[35m (9.1ms)[0m commit transaction
|
40
50
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
41
|
-
[1m[35mSQL (0.
|
42
|
-
[1m[36m (
|
51
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d3547"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
52
|
+
[1m[36m (9.2ms)[0m [1mcommit transaction[0m
|
43
53
|
Processing by Api::UserController#reauth as HTML
|
44
54
|
Parameters: {"uid"=>"nonexistent-user"}
|
45
55
|
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "nonexistent-user"]]
|
46
56
|
Completed 200 OK in 1ms (ActiveRecord: 0.1ms)
|
47
57
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
48
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "
|
49
|
-
[1m[36m (
|
50
|
-
[1m[35m (0.1ms)[0m begin transaction
|
51
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d33291"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
52
|
-
[1m[35m (10.2ms)[0m commit transaction
|
53
|
-
Processing by Api::UserController#reauth as HTML
|
54
|
-
Parameters: {"uid"=>"a1s2d37690"}
|
55
|
-
Rendered /home/jenkins/workspace/govuk_gds_sso/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.1ms)
|
56
|
-
Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
57
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
58
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d35548"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
59
|
-
[1m[36m (10.5ms)[0m [1mcommit transaction[0m
|
58
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d35459"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
59
|
+
[1m[36m (10.1ms)[0m [1mcommit transaction[0m
|
60
60
|
[1m[35m (0.1ms)[0m begin transaction
|
61
|
-
[1m[36mSQL (0.
|
62
|
-
[1m[35m (
|
61
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d34974"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
62
|
+
[1m[35m (10.4ms)[0m commit transaction
|
63
63
|
Processing by Api::UserController#reauth as HTML
|
64
|
-
Parameters: {"uid"=>"
|
65
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "
|
64
|
+
Parameters: {"uid"=>"a1s2d35459"}
|
65
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "a1s2d35459"]]
|
66
66
|
[1m[35m (0.1ms)[0m begin transaction
|
67
|
-
[1m[36mSQL (0.
|
68
|
-
[1m[35m (
|
69
|
-
Completed 200 OK in
|
67
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "t"], ["id", 10]]
|
68
|
+
[1m[35m (32.2ms)[0m commit transaction
|
69
|
+
Completed 200 OK in 35ms (ActiveRecord: 32.6ms)
|
70
70
|
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 10]]
|
71
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
72
|
-
Processing by ExampleController#restricted as JSON
|
73
|
-
Completed in 149ms (ActiveRecord: 0.0ms)
|
74
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-09-22 10:04:33 +0000
|
75
|
-
Processing by ExampleController#restricted as JSON
|
76
|
-
Completed in 33ms (ActiveRecord: 0.0ms)
|
77
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-09-22 10:04:33 +0000
|
71
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-11-25 13:43:28 +0000
|
78
72
|
Processing by ExampleController#restricted as JSON
|
73
|
+
Completed in 126ms (ActiveRecord: 0.0ms)
|
74
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2016-11-25 13:43:28 +0000
|
75
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
79
76
|
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
80
77
|
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["email", "test@example-client.com"]]
|
81
78
|
[1m[35m (0.1ms)[0m begin transaction
|
82
79
|
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions", "disabled") VALUES (?, ?, ?, ?, ?)[0m [["uid", "integration-uid"], ["email", "test@example-client.com"], ["name", "Test User"], ["permissions", "---\n- signin\n"], ["disabled", nil]]
|
83
|
-
[1m[35m (
|
80
|
+
[1m[35m (22.7ms)[0m commit transaction
|
84
81
|
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
85
82
|
[1m[35m (0.1ms)[0m begin transaction
|
86
83
|
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
@@ -90,13 +87,16 @@ Processing by ExampleController#restricted as JSON
|
|
90
87
|
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
91
88
|
[1m[35m (0.1ms)[0m begin transaction
|
92
89
|
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
93
|
-
[1m[35m (0.
|
90
|
+
[1m[35m (0.1ms)[0m begin transaction
|
94
91
|
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id", 12]]
|
95
|
-
[1m[35m (
|
92
|
+
[1m[35m (20.5ms)[0m commit transaction
|
96
93
|
Rendered text template (0.0ms)
|
97
|
-
Completed 200 OK in
|
98
|
-
Started GET "/
|
99
|
-
Processing by ExampleController#
|
94
|
+
Completed 200 OK in 238ms (Views: 1.5ms | ActiveRecord: 44.6ms)
|
95
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-11-25 13:43:28 +0000
|
96
|
+
Processing by ExampleController#restricted as JSON
|
97
|
+
Completed in 18ms (ActiveRecord: 0.0ms)
|
98
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-11-25 13:43:28 +0000
|
99
|
+
Processing by ExampleController#restricted as JSON
|
100
100
|
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
101
101
|
[1m[35m (0.1ms)[0m begin transaction
|
102
102
|
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
@@ -109,40 +109,40 @@ Processing by ExampleController#this_requires_signin_permission as JSON
|
|
109
109
|
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
110
110
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
111
111
|
[1m[35m (0.1ms)[0m commit transaction
|
112
|
-
[1m[36m (0.
|
113
|
-
[1m[35m (0.
|
112
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
113
|
+
[1m[35m (0.1ms)[0m commit transaction
|
114
114
|
Rendered text template (0.0ms)
|
115
|
-
Completed 200 OK in
|
116
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2016-
|
115
|
+
Completed 200 OK in 77ms (Views: 0.4ms | ActiveRecord: 1.0ms)
|
116
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2016-11-25 13:43:28 +0000
|
117
117
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
118
118
|
Authenticating with gds_sso strategy
|
119
|
-
Completed in
|
120
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2016-
|
121
|
-
Started GET "/auth/gds/callback?code=
|
119
|
+
Completed in 1ms (ActiveRecord: 0.0ms)
|
120
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2016-11-25 13:43:28 +0000
|
121
|
+
Started GET "/auth/gds/callback?code=0406dfb10516969c1d7102990e91b9550ed0e008047d796666d1ec39a2eaab84&state=3ee46c89f5795b1b78505adce93de7186356f53217a16f0f" for 127.0.0.1 at 2016-11-25 13:43:40 +0000
|
122
122
|
Processing by AuthenticationsController#callback as HTML
|
123
|
-
Parameters: {"code"=>"
|
123
|
+
Parameters: {"code"=>"0406dfb10516969c1d7102990e91b9550ed0e008047d796666d1ec39a2eaab84", "state"=>"3ee46c89f5795b1b78505adce93de7186356f53217a16f0f"}
|
124
124
|
Authenticating with gds_sso strategy
|
125
125
|
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
126
126
|
[1m[35m (0.1ms)[0m begin transaction
|
127
127
|
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "disabled" = ? WHERE "users"."id" = ?[0m [["disabled", "f"], ["id", 12]]
|
128
|
-
[1m[35m (
|
128
|
+
[1m[35m (14.3ms)[0m commit transaction
|
129
129
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
130
|
-
[1m[35m (0.
|
130
|
+
[1m[35m (0.1ms)[0m commit transaction
|
131
131
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
132
|
-
Completed 302 Found in
|
133
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2016-
|
132
|
+
Completed 302 Found in 20ms (ActiveRecord: 14.9ms)
|
133
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2016-11-25 13:43:40 +0000
|
134
134
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
135
135
|
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
136
136
|
Rendered text template (0.0ms)
|
137
137
|
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
138
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2016-
|
138
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2016-11-25 13:43:40 +0000
|
139
139
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
140
140
|
Authenticating with gds_sso strategy
|
141
141
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
142
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2016-
|
143
|
-
Started GET "/auth/gds/callback?code=
|
142
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2016-11-25 13:43:40 +0000
|
143
|
+
Started GET "/auth/gds/callback?code=fb325e6a959f5b4ceb5f764cc26ce406d4b9cc94eed40f9fa08ddddc0a15cdd5&state=89f87e3d60b0acb5331152ca5ab604dba94898cbcb0a9f2c" for 127.0.0.1 at 2016-11-25 13:43:40 +0000
|
144
144
|
Processing by AuthenticationsController#callback as HTML
|
145
|
-
Parameters: {"code"=>"
|
145
|
+
Parameters: {"code"=>"fb325e6a959f5b4ceb5f764cc26ce406d4b9cc94eed40f9fa08ddddc0a15cdd5", "state"=>"89f87e3d60b0acb5331152ca5ab604dba94898cbcb0a9f2c"}
|
146
146
|
Authenticating with gds_sso strategy
|
147
147
|
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
148
148
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
@@ -151,95 +151,95 @@ Authenticating with gds_sso strategy
|
|
151
151
|
[1m[35m (0.1ms)[0m commit transaction
|
152
152
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
153
153
|
Completed 302 Found in 5ms (ActiveRecord: 0.4ms)
|
154
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2016-
|
154
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2016-11-25 13:43:40 +0000
|
155
155
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
156
156
|
[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"]]
|
157
157
|
Rendered text template (0.0ms)
|
158
158
|
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
159
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
159
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-11-25 13:43:40 +0000
|
160
160
|
Processing by ExampleController#restricted as HTML
|
161
161
|
Authenticating with gds_sso strategy
|
162
162
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
163
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2016-
|
164
|
-
Started GET "/auth/gds/callback?code=
|
163
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2016-11-25 13:43:40 +0000
|
164
|
+
Started GET "/auth/gds/callback?code=711606807dc7895ccb50ecf6d9c24d870400cac80b29f2b478be367053266b80&state=5ef7eedc4153066bb139dd97e198fc8c0c47f7f24c6ad82a" for 127.0.0.1 at 2016-11-25 13:43:40 +0000
|
165
165
|
Processing by AuthenticationsController#callback as HTML
|
166
|
-
Parameters: {"code"=>"
|
166
|
+
Parameters: {"code"=>"711606807dc7895ccb50ecf6d9c24d870400cac80b29f2b478be367053266b80", "state"=>"5ef7eedc4153066bb139dd97e198fc8c0c47f7f24c6ad82a"}
|
167
167
|
Authenticating with gds_sso strategy
|
168
168
|
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
169
169
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
170
|
-
[1m[35m (0.
|
171
|
-
[1m[36m (0.
|
170
|
+
[1m[35m (0.1ms)[0m commit transaction
|
171
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
172
172
|
[1m[35m (0.1ms)[0m commit transaction
|
173
173
|
Redirected to http://www.example-client.com/restricted
|
174
|
-
Completed 302 Found in
|
175
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
174
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.4ms)
|
175
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-11-25 13:43:40 +0000
|
176
176
|
Processing by ExampleController#restricted as HTML
|
177
177
|
[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"]]
|
178
178
|
Rendered text template (0.0ms)
|
179
|
-
Completed 200 OK in 1ms (Views: 0.
|
180
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
179
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
180
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-11-25 13:43:40 +0000
|
181
181
|
Processing by ExampleController#restricted as HTML
|
182
182
|
Authenticating with gds_sso strategy
|
183
183
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
184
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2016-
|
185
|
-
Started GET "/auth/gds/callback?code=
|
184
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2016-11-25 13:43:40 +0000
|
185
|
+
Started GET "/auth/gds/callback?code=c7121cd1cea22a0d021cbdb4beef41fbeddc85b6bb0b8fd7268230456d5a573d&state=5eed248724c469fac15036a056c5d65e577790d7fe7b1e69" for 127.0.0.1 at 2016-11-25 13:43:40 +0000
|
186
186
|
Processing by AuthenticationsController#callback as HTML
|
187
|
-
Parameters: {"code"=>"
|
187
|
+
Parameters: {"code"=>"c7121cd1cea22a0d021cbdb4beef41fbeddc85b6bb0b8fd7268230456d5a573d", "state"=>"5eed248724c469fac15036a056c5d65e577790d7fe7b1e69"}
|
188
188
|
Authenticating with gds_sso strategy
|
189
189
|
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
190
190
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
191
191
|
[1m[35m (0.1ms)[0m commit transaction
|
192
|
-
[1m[36m (0.
|
193
|
-
[1m[35m (0.
|
192
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
193
|
+
[1m[35m (0.2ms)[0m commit transaction
|
194
194
|
Redirected to http://www.example-client.com/restricted
|
195
|
-
Completed 302 Found in
|
196
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
195
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.5ms)
|
196
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-11-25 13:43:40 +0000
|
197
197
|
Processing by ExampleController#restricted as HTML
|
198
198
|
[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"]]
|
199
199
|
Rendered text template (0.0ms)
|
200
|
-
Completed 200 OK in
|
201
|
-
Started GET "/
|
200
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
201
|
+
Started GET "/" for 127.0.0.1 at 2016-11-25 13:43:40 +0000
|
202
|
+
Processing by ExampleController#index as HTML
|
203
|
+
Rendered text template (0.0ms)
|
204
|
+
Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
205
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-11-25 13:43:40 +0000
|
202
206
|
Processing by ExampleController#restricted as HTML
|
203
207
|
Authenticating with gds_sso strategy
|
204
208
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
205
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2016-
|
206
|
-
Started GET "/auth/gds/callback?code=
|
209
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2016-11-25 13:43:40 +0000
|
210
|
+
Started GET "/auth/gds/callback?code=e273b6559260f3bd87eb3087e91a591c7902f3a7d089611b83811612afe110d7&state=b3fa9d11984ff8b4842f4e48662dd782783279dc6b99696b" for 127.0.0.1 at 2016-11-25 13:43:41 +0000
|
207
211
|
Processing by AuthenticationsController#callback as HTML
|
208
|
-
Parameters: {"code"=>"
|
212
|
+
Parameters: {"code"=>"e273b6559260f3bd87eb3087e91a591c7902f3a7d089611b83811612afe110d7", "state"=>"b3fa9d11984ff8b4842f4e48662dd782783279dc6b99696b"}
|
209
213
|
Authenticating with gds_sso strategy
|
210
214
|
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
211
215
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
212
216
|
[1m[35m (0.1ms)[0m commit transaction
|
213
|
-
[1m[36m (0.
|
214
|
-
[1m[35m (0.
|
217
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
218
|
+
[1m[35m (0.1ms)[0m commit transaction
|
215
219
|
Redirected to http://www.example-client.com/restricted
|
216
|
-
Completed 302 Found in 5ms (ActiveRecord: 0.
|
217
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
220
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.4ms)
|
221
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-11-25 13:43:41 +0000
|
218
222
|
Processing by ExampleController#restricted as HTML
|
219
223
|
[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"]]
|
220
224
|
Rendered text template (0.0ms)
|
221
|
-
Completed 200 OK in 2ms (Views: 0.
|
222
|
-
Started GET "/" for 127.0.0.1 at 2016-
|
223
|
-
Processing by ExampleController#index as HTML
|
224
|
-
Rendered text template (0.0ms)
|
225
|
-
Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
226
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-09-22 10:04:45 +0000
|
225
|
+
Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.1ms)
|
226
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-11-25 13:43:41 +0000
|
227
227
|
Processing by ExampleController#restricted as HTML
|
228
228
|
Authenticating with gds_sso strategy
|
229
229
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
230
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2016-
|
231
|
-
Started GET "/auth/gds/callback?code=
|
230
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2016-11-25 13:43:41 +0000
|
231
|
+
Started GET "/auth/gds/callback?code=c6a66a12344832afab9212d4e958f24b8afc11e916094fcd85c2e3f0a2c19ed0&state=ea7fb51110108ccc0bae549b117fdd085f59962ee2574d55" for 127.0.0.1 at 2016-11-25 13:43:41 +0000
|
232
232
|
Processing by AuthenticationsController#callback as HTML
|
233
|
-
Parameters: {"code"=>"
|
233
|
+
Parameters: {"code"=>"c6a66a12344832afab9212d4e958f24b8afc11e916094fcd85c2e3f0a2c19ed0", "state"=>"ea7fb51110108ccc0bae549b117fdd085f59962ee2574d55"}
|
234
234
|
Authenticating with gds_sso strategy
|
235
235
|
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
236
236
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
237
|
-
[1m[35m (0.
|
238
|
-
[1m[36m (0.
|
239
|
-
[1m[35m (0.
|
237
|
+
[1m[35m (0.1ms)[0m commit transaction
|
238
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
239
|
+
[1m[35m (0.1ms)[0m commit transaction
|
240
240
|
Redirected to http://www.example-client.com/restricted
|
241
|
-
Completed 302 Found in
|
242
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
241
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.4ms)
|
242
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-11-25 13:43:41 +0000
|
243
243
|
Processing by ExampleController#restricted as HTML
|
244
244
|
[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"]]
|
245
245
|
Rendered text template (0.0ms)
|
@@ -247,1224 +247,1224 @@ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
|
247
247
|
[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"]]
|
248
248
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
249
249
|
[1m[35mSQL (0.1ms)[0m UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 12]]
|
250
|
-
[1m[36m (
|
251
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
250
|
+
[1m[36m (32.1ms)[0m [1mcommit transaction[0m
|
251
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-11-25 13:43:41 +0000
|
252
252
|
Processing by ExampleController#restricted as HTML
|
253
253
|
[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"]]
|
254
254
|
Authenticating with gds_sso strategy
|
255
255
|
Completed in 1ms (ActiveRecord: 0.1ms)
|
256
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2016-
|
257
|
-
Started GET "/auth/gds/callback?code=
|
256
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2016-11-25 13:43:41 +0000
|
257
|
+
Started GET "/auth/gds/callback?code=91b37d0ce383321139a08eca982c84913d700302e93332efe20934390b11cefb&state=e31feeb10724049b767acdeb26b0e740815c99b933970a73" for 127.0.0.1 at 2016-11-25 13:43:41 +0000
|
258
258
|
Processing by AuthenticationsController#callback as HTML
|
259
|
-
Parameters: {"code"=>"
|
259
|
+
Parameters: {"code"=>"91b37d0ce383321139a08eca982c84913d700302e93332efe20934390b11cefb", "state"=>"e31feeb10724049b767acdeb26b0e740815c99b933970a73"}
|
260
260
|
Authenticating with gds_sso strategy
|
261
|
-
[1m[36mUser Load (0.
|
261
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
262
262
|
[1m[35m (0.1ms)[0m begin transaction
|
263
|
-
[1m[36m (0.
|
264
|
-
[1m[35m (0.
|
265
|
-
[1m[36mSQL (0.
|
266
|
-
[1m[35m (
|
263
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
264
|
+
[1m[35m (0.1ms)[0m begin transaction
|
265
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id", 12]]
|
266
|
+
[1m[35m (76.4ms)[0m commit transaction
|
267
267
|
Redirected to http://www.example-client.com/restricted
|
268
|
-
Completed 302 Found in
|
269
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
268
|
+
Completed 302 Found in 83ms (ActiveRecord: 77.0ms)
|
269
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-11-25 13:43:41 +0000
|
270
270
|
Processing by ExampleController#restricted as HTML
|
271
|
-
[1m[36mUser Load (0.
|
271
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
272
272
|
Rendered text template (0.0ms)
|
273
|
-
Completed 200 OK in
|
274
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
273
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
274
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-11-25 13:43:41 +0000
|
275
275
|
Processing by ExampleController#restricted as HTML
|
276
276
|
Authenticating with gds_sso strategy
|
277
|
-
Completed in
|
278
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2016-
|
279
|
-
Started GET "/auth/gds/callback?code=
|
277
|
+
Completed in 1ms (ActiveRecord: 0.0ms)
|
278
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2016-11-25 13:43:41 +0000
|
279
|
+
Started GET "/auth/gds/callback?code=3b99a00462a1dfe651f70163d62ebf212b8f2f1efd089c2a86ff37db4246ea63&state=5244721127270573b884a62a75f352bbc73b9ff910a58055" for 127.0.0.1 at 2016-11-25 13:43:42 +0000
|
280
280
|
Processing by AuthenticationsController#callback as HTML
|
281
|
-
Parameters: {"code"=>"
|
281
|
+
Parameters: {"code"=>"3b99a00462a1dfe651f70163d62ebf212b8f2f1efd089c2a86ff37db4246ea63", "state"=>"5244721127270573b884a62a75f352bbc73b9ff910a58055"}
|
282
282
|
Authenticating with gds_sso strategy
|
283
|
-
[1m[35mUser Load (0.
|
283
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
284
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
285
|
+
[1m[35m (0.1ms)[0m commit transaction
|
284
286
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
285
|
-
[1m[35m (0.
|
286
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
287
|
-
[1m[35m (0.0ms)[0m commit transaction
|
287
|
+
[1m[35m (0.1ms)[0m commit transaction
|
288
288
|
Redirected to http://www.example-client.com/restricted
|
289
|
-
Completed 302 Found in
|
290
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
289
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.6ms)
|
290
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-11-25 13:43:42 +0000
|
291
291
|
Processing by ExampleController#restricted as HTML
|
292
|
-
[1m[36mUser Load (0.
|
292
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
293
293
|
Rendered text template (0.0ms)
|
294
|
-
Completed 200 OK in
|
295
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
294
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
295
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-11-26 09:48:42 +0000
|
296
296
|
Processing by ExampleController#restricted as HTML
|
297
297
|
Authenticating with gds_sso strategy
|
298
298
|
Completed in 1ms (ActiveRecord: 0.0ms)
|
299
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2016-
|
300
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
299
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2016-11-26 09:48:42 +0000
|
300
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-11-25 13:43:42 +0000
|
301
301
|
Processing by ExampleController#restricted as HTML
|
302
302
|
Authenticating with gds_sso strategy
|
303
303
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
304
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2016-
|
305
|
-
Started GET "/auth/gds/callback?code=
|
304
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2016-11-25 13:43:42 +0000
|
305
|
+
Started GET "/auth/gds/callback?code=f28e50fefafb715670f3ddf85ead5a9fdf3164e254f40725781643754a7bd72e&state=e4fef793d433c8cbf96ea7ed2e6ce7c7a60a08a8947785ca" for 127.0.0.1 at 2016-11-25 13:43:42 +0000
|
306
306
|
Processing by AuthenticationsController#callback as HTML
|
307
|
-
Parameters: {"code"=>"
|
307
|
+
Parameters: {"code"=>"f28e50fefafb715670f3ddf85ead5a9fdf3164e254f40725781643754a7bd72e", "state"=>"e4fef793d433c8cbf96ea7ed2e6ce7c7a60a08a8947785ca"}
|
308
308
|
Authenticating with gds_sso strategy
|
309
309
|
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
310
310
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
311
|
-
[1m[35m (0.
|
312
|
-
[1m[36m (0.
|
313
|
-
[1m[35m (0.
|
311
|
+
[1m[35m (0.1ms)[0m commit transaction
|
312
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
313
|
+
[1m[35m (0.1ms)[0m commit transaction
|
314
314
|
Redirected to http://www.example-client.com/restricted
|
315
|
-
Completed 302 Found in
|
316
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
315
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.4ms)
|
316
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-11-25 13:43:42 +0000
|
317
317
|
Processing by ExampleController#restricted as HTML
|
318
318
|
[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"]]
|
319
319
|
Rendered text template (0.0ms)
|
320
|
-
Completed 200 OK in
|
321
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
320
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
321
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-11-26 09:38:42 +0000
|
322
|
+
Processing by ExampleController#restricted as HTML
|
323
|
+
[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"]]
|
324
|
+
Rendered text template (0.0ms)
|
325
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
326
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-11-25 13:43:42 +0000
|
322
327
|
Processing by ExampleController#restricted as HTML
|
323
328
|
Authenticating with gds_sso strategy
|
324
|
-
Completed in
|
325
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2016-
|
326
|
-
Started GET "/auth/gds/callback?code=
|
329
|
+
Completed in 0ms (ActiveRecord: 0.0ms)
|
330
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2016-11-25 13:43:42 +0000
|
331
|
+
Started GET "/auth/gds/callback?code=6f7d011b37482536e90ab3d297ba7577b3e4b6db2297f06d1da2b0af5e7cd630&state=79f487227727059b4a1f1f3c11e85c063f4c80673f1c91b2" for 127.0.0.1 at 2016-11-25 13:43:42 +0000
|
327
332
|
Processing by AuthenticationsController#callback as HTML
|
328
|
-
Parameters: {"code"=>"
|
333
|
+
Parameters: {"code"=>"6f7d011b37482536e90ab3d297ba7577b3e4b6db2297f06d1da2b0af5e7cd630", "state"=>"79f487227727059b4a1f1f3c11e85c063f4c80673f1c91b2"}
|
329
334
|
Authenticating with gds_sso strategy
|
330
|
-
[1m[
|
331
|
-
[1m[
|
332
|
-
[1m[
|
333
|
-
[1m[
|
334
|
-
[1m[
|
335
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
336
|
+
[1m[35m (0.1ms)[0m begin transaction
|
337
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
338
|
+
[1m[35m (0.1ms)[0m begin transaction
|
339
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
335
340
|
Redirected to http://www.example-client.com/restricted
|
336
|
-
Completed 302 Found in
|
337
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
341
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.5ms)
|
342
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-11-25 13:43:42 +0000
|
338
343
|
Processing by ExampleController#restricted as HTML
|
339
|
-
[1m[
|
344
|
+
[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"]]
|
340
345
|
Rendered text template (0.0ms)
|
341
346
|
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
342
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
347
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-11-26 09:48:42 +0000
|
343
348
|
Processing by ExampleController#restricted as HTML
|
344
349
|
Authenticating with gds_sso strategy
|
345
|
-
Completed in
|
346
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2016-
|
347
|
-
Started GET "/auth/gds/callback?code=
|
350
|
+
Completed in 1ms (ActiveRecord: 0.0ms)
|
351
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2016-11-26 09:48:42 +0000
|
352
|
+
Started GET "/auth/gds/callback?code=88adb4c72e3a5a871dc1ba32021f4e7d210e6fac394e386579b5d9f1c3fdd553&state=4fea53313bf70e131656e8dd79083d763d4332b7e17cf8d2" for 127.0.0.1 at 2016-11-26 09:48:42 +0000
|
348
353
|
Processing by AuthenticationsController#callback as HTML
|
349
|
-
Parameters: {"code"=>"
|
354
|
+
Parameters: {"code"=>"88adb4c72e3a5a871dc1ba32021f4e7d210e6fac394e386579b5d9f1c3fdd553", "state"=>"4fea53313bf70e131656e8dd79083d763d4332b7e17cf8d2"}
|
350
355
|
Authenticating with gds_sso strategy
|
351
|
-
[1m[
|
352
|
-
[1m[
|
353
|
-
[1m[
|
354
|
-
[1m[
|
355
|
-
[1m[
|
356
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
357
|
+
[1m[35m (0.1ms)[0m begin transaction
|
358
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
359
|
+
[1m[35m (0.1ms)[0m begin transaction
|
360
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
356
361
|
Redirected to http://www.example-client.com/restricted
|
357
|
-
Completed 302 Found in
|
358
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
359
|
-
Processing by ExampleController#restricted as HTML
|
360
|
-
[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"]]
|
361
|
-
Rendered text template (0.0ms)
|
362
|
-
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
363
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-09-23 05:59:47 +0000
|
362
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.5ms)
|
363
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-11-26 09:48:42 +0000
|
364
364
|
Processing by ExampleController#restricted as HTML
|
365
365
|
[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"]]
|
366
366
|
Rendered text template (0.0ms)
|
367
|
-
Completed 200 OK in
|
368
|
-
[1m[35m (
|
369
|
-
[1m[35m (
|
367
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
368
|
+
[1m[35m (29.8ms)[0m [1m[35mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "uid" varchar NOT NULL, "email" varchar NOT NULL, "remotely_signed_out" boolean, "permissions" text, "organisation_slug" varchar, "organisation_content_id" varchar, "disabled" boolean DEFAULT 'f')[0m
|
369
|
+
[1m[35m (17.4ms)[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
|
370
370
|
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", :environment], ["LIMIT", 1]]
|
371
371
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
372
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", 2016-
|
373
|
-
[1m[35m (
|
374
|
-
[1m[35m (
|
372
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", 2016-11-25 13:43:49 UTC], ["updated_at", 2016-11-25 13:43:49 UTC]]
|
373
|
+
[1m[35m (17.1ms)[0m [1m[36mcommit transaction[0m
|
374
|
+
[1m[35m (12.4ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
375
375
|
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", :environment], ["LIMIT", 1]]
|
376
376
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
377
377
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
378
|
-
[1m[36mUser Load (0.
|
378
|
+
[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]]
|
379
379
|
[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]]
|
380
380
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
381
381
|
[1m[35mSQL (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]]
|
382
|
-
[1m[35m (
|
382
|
+
[1m[35m (50.4ms)[0m [1m[36mcommit transaction[0m
|
383
383
|
[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]]
|
384
384
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
385
|
-
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
386
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-09-22 10:04:58 +0000
|
387
|
-
Processing by ExampleController#restricted as JSON
|
388
|
-
Completed in 29ms (ActiveRecord: 0.0ms)
|
389
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-09-22 10:04:58 +0000
|
390
|
-
Processing by ExampleController#restricted as JSON
|
391
|
-
[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]]
|
392
|
-
[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]]
|
393
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
394
|
-
[1m[35mSQL (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]]
|
395
|
-
[1m[35m (10.4ms)[0m [1m[36mcommit transaction[0m
|
396
|
-
[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]]
|
397
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
398
385
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
399
|
-
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
400
386
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
401
|
-
[1m[
|
402
|
-
[1m[
|
387
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d37643"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
388
|
+
[1m[35m (29.4ms)[0m [1m[36mcommit transaction[0m
|
403
389
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
404
|
-
[1m[
|
390
|
+
[1m[35mSQL (1.8ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d34253"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
391
|
+
[1m[35m (26.6ms)[0m [1m[36mcommit transaction[0m
|
392
|
+
Processing by Api::UserController#reauth as HTML
|
393
|
+
Parameters: {"uid"=>"a1s2d37643"}
|
394
|
+
Rendering /home/jenkins/workspace/govuk_gds_sso/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
395
|
+
Rendered /home/jenkins/workspace/govuk_gds_sso/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
|
396
|
+
Completed 403 Forbidden in 9ms (Views: 8.7ms | ActiveRecord: 0.0ms)
|
405
397
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
406
|
-
[1m[35mSQL (0.2ms)[0m [1m[
|
407
|
-
[1m[35m (
|
408
|
-
Rendering text template
|
409
|
-
Rendered text template (0.0ms)
|
410
|
-
Completed 200 OK in 90ms (Views: 2.9ms | ActiveRecord: 19.6ms)
|
411
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2016-09-22 10:04:58 +0000
|
412
|
-
Processing by ExampleController#this_requires_signin_permission as JSON
|
413
|
-
[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]]
|
398
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d39074"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
399
|
+
[1m[35m (12.7ms)[0m [1m[36mcommit transaction[0m
|
414
400
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
415
|
-
[1m[
|
416
|
-
[1m[
|
401
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d36182"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
402
|
+
[1m[35m (34.5ms)[0m [1m[36mcommit transaction[0m
|
403
|
+
Processing by Api::UserController#reauth as HTML
|
404
|
+
Parameters: {"uid"=>"nonexistent-user"}
|
405
|
+
[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]]
|
406
|
+
Completed 200 OK in 1ms (ActiveRecord: 0.1ms)
|
417
407
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
418
|
-
[1m[
|
419
|
-
[1m[
|
408
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d38554"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
409
|
+
[1m[35m (18.3ms)[0m [1m[36mcommit transaction[0m
|
420
410
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
421
|
-
[1m[
|
422
|
-
[1m[
|
411
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d39994"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
412
|
+
[1m[35m (29.3ms)[0m [1m[36mcommit transaction[0m
|
413
|
+
Processing by Api::UserController#reauth as HTML
|
414
|
+
Parameters: {"uid"=>"a1s2d38554"}
|
415
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d38554"], ["LIMIT", 1]]
|
423
416
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
424
|
-
[1m[
|
425
|
-
|
426
|
-
|
427
|
-
|
428
|
-
|
429
|
-
|
430
|
-
|
431
|
-
|
432
|
-
|
433
|
-
|
434
|
-
|
435
|
-
|
436
|
-
|
417
|
+
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", true], ["id", 6]]
|
418
|
+
[1m[35m (47.6ms)[0m [1m[36mcommit transaction[0m
|
419
|
+
Completed 200 OK in 52ms (ActiveRecord: 48.0ms)
|
420
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 6], ["LIMIT", 1]]
|
421
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
422
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d39438"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
423
|
+
[1m[35m (32.8ms)[0m [1m[36mcommit transaction[0m
|
424
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
425
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d32962"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
426
|
+
[1m[35m (22.7ms)[0m [1m[36mcommit transaction[0m
|
427
|
+
Processing by Api::UserController#update as HTML
|
428
|
+
Parameters: {"uid"=>"a1s2d39438"}
|
429
|
+
Rendering /home/jenkins/workspace/govuk_gds_sso/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
430
|
+
Rendered /home/jenkins/workspace/govuk_gds_sso/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.1ms)
|
431
|
+
Completed 403 Forbidden in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)
|
432
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
433
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d32517"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
434
|
+
[1m[35m (42.2ms)[0m [1m[36mcommit transaction[0m
|
435
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
436
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d32395"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
437
|
+
[1m[35m (59.3ms)[0m [1m[36mcommit transaction[0m
|
438
|
+
Processing by Api::UserController#update as HTML
|
439
|
+
Parameters: {"uid"=>"a1s2d32517"}
|
440
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d32517"], ["LIMIT", 1]]
|
441
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
442
|
+
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "users" SET "email" = ?, "name" = ?, "permissions" = ?, "organisation_slug" = ?, "organisation_content_id" = ? WHERE "users"."id" = ?[0m [["email", "user@domain.com"], ["name", "Joshua Marshall"], ["permissions", "---\n- signin\n- new permission\n"], ["organisation_slug", "justice-league"], ["organisation_content_id", "aae1319e-5788-4677-998c-f1a53af528d0"], ["id", 10]]
|
443
|
+
[1m[35m (41.8ms)[0m [1m[36mcommit transaction[0m
|
444
|
+
Completed 200 OK in 47ms (ActiveRecord: 42.3ms)
|
445
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 10], ["LIMIT", 1]]
|
446
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-11-25 13:43:50 +0000
|
437
447
|
Processing by ExampleController#restricted as HTML
|
438
448
|
Authenticating with gds_sso strategy
|
439
|
-
Completed in
|
440
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2016-
|
441
|
-
Started GET "/auth/gds/callback?code=
|
449
|
+
Completed in 9ms (ActiveRecord: 0.0ms)
|
450
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2016-11-25 13:43:50 +0000
|
451
|
+
Started GET "/auth/gds/callback?code=20e5974b28bfda5733c3cf3ee87d0f8ac998ae732db51dcbd2cc21f94db3a7ca&state=89a9ffe6907fbf149376136993a1a3dd5fe6d97223b5fa83" for 127.0.0.1 at 2016-11-25 13:43:50 +0000
|
442
452
|
Processing by AuthenticationsController#callback as HTML
|
443
|
-
Parameters: {"code"=>"
|
453
|
+
Parameters: {"code"=>"20e5974b28bfda5733c3cf3ee87d0f8ac998ae732db51dcbd2cc21f94db3a7ca", "state"=>"89a9ffe6907fbf149376136993a1a3dd5fe6d97223b5fa83"}
|
444
454
|
Authenticating with gds_sso strategy
|
445
|
-
[1m[36mUser Load (0.
|
455
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
456
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["email", "test@example-client.com"], ["LIMIT", 1]]
|
457
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
458
|
+
[1m[35mSQL (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"]]
|
459
|
+
[1m[35m (14.9ms)[0m [1m[36mcommit transaction[0m
|
446
460
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
447
|
-
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "users" SET "
|
448
|
-
[1m[35m (
|
461
|
+
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", false], ["id", 12]]
|
462
|
+
[1m[35m (30.0ms)[0m [1m[36mcommit transaction[0m
|
449
463
|
Redirected to http://www.example-client.com/restricted
|
450
|
-
Completed 302 Found in
|
451
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
464
|
+
Completed 302 Found in 52ms (ActiveRecord: 45.9ms)
|
465
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-11-25 13:43:50 +0000
|
452
466
|
Processing by ExampleController#restricted as HTML
|
453
|
-
[1m[36mUser Load (0.
|
467
|
+
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", false], ["LIMIT", 1]]
|
454
468
|
Rendering text template
|
455
469
|
Rendered text template (0.0ms)
|
456
|
-
Completed 200 OK in
|
457
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2016-
|
470
|
+
Completed 200 OK in 5ms (Views: 2.2ms | ActiveRecord: 0.4ms)
|
471
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2016-11-25 13:43:50 +0000
|
458
472
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
459
473
|
Authenticating with gds_sso strategy
|
460
|
-
Completed in
|
461
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2016-
|
462
|
-
Started GET "/auth/gds/callback?code=
|
474
|
+
Completed in 1ms (ActiveRecord: 0.0ms)
|
475
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2016-11-25 13:43:50 +0000
|
476
|
+
Started GET "/auth/gds/callback?code=d9fce11583aecbac87e2f6d47bb6e16808e7975493bdf51cfff2486ed0c3ee6f&state=a314d62a587f324f4677a42240877eeafb1aa2868a6e8add" for 127.0.0.1 at 2016-11-25 13:43:51 +0000
|
463
477
|
Processing by AuthenticationsController#callback as HTML
|
464
|
-
Parameters: {"code"=>"
|
478
|
+
Parameters: {"code"=>"d9fce11583aecbac87e2f6d47bb6e16808e7975493bdf51cfff2486ed0c3ee6f", "state"=>"a314d62a587f324f4677a42240877eeafb1aa2868a6e8add"}
|
465
479
|
Authenticating with gds_sso strategy
|
466
|
-
[1m[36mUser Load (0.
|
480
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
467
481
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
468
482
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
469
483
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
470
|
-
Completed 302 Found in
|
471
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2016-
|
484
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.4ms)
|
485
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2016-11-25 13:43:51 +0000
|
472
486
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
473
487
|
[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", false], ["LIMIT", 1]]
|
474
488
|
Rendering text template
|
475
489
|
Rendered text template (0.0ms)
|
476
|
-
Completed 200 OK in 2ms (Views: 0.
|
477
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2016-
|
490
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
491
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2016-11-25 13:43:51 +0000
|
478
492
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
479
493
|
Authenticating with gds_sso strategy
|
480
494
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
481
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2016-
|
482
|
-
Started GET "/auth/gds/callback?code=
|
495
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2016-11-25 13:43:51 +0000
|
496
|
+
Started GET "/auth/gds/callback?code=6e3eb4fa26ff4b043ec518a09c79e706aa089ed45f288298c49a230e5351d616&state=0c61be3bded0f5f657cd3d29653417788c385768c992d61d" for 127.0.0.1 at 2016-11-25 13:43:51 +0000
|
483
497
|
Processing by AuthenticationsController#callback as HTML
|
484
|
-
Parameters: {"code"=>"
|
498
|
+
Parameters: {"code"=>"6e3eb4fa26ff4b043ec518a09c79e706aa089ed45f288298c49a230e5351d616", "state"=>"0c61be3bded0f5f657cd3d29653417788c385768c992d61d"}
|
485
499
|
Authenticating with gds_sso strategy
|
486
|
-
[1m[36mUser Load (0.
|
487
|
-
[1m[35m (0.
|
488
|
-
[1m[35m (0.
|
500
|
+
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
501
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
502
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
489
503
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
490
|
-
Completed 302 Found in
|
491
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2016-
|
504
|
+
Completed 302 Found in 6ms (ActiveRecord: 0.6ms)
|
505
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2016-11-25 13:43:51 +0000
|
492
506
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
493
|
-
[1m[36mUser Load (0.
|
507
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", false], ["LIMIT", 1]]
|
494
508
|
Rendering text template
|
495
509
|
Rendered text template (0.0ms)
|
496
|
-
Completed 200 OK in
|
497
|
-
Started GET "/
|
510
|
+
Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.3ms)
|
511
|
+
Started GET "/" for 127.0.0.1 at 2016-11-25 13:43:51 +0000
|
512
|
+
Processing by ExampleController#index as HTML
|
513
|
+
Rendering text template
|
514
|
+
Rendered text template (0.0ms)
|
515
|
+
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
516
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-11-25 13:43:51 +0000
|
498
517
|
Processing by ExampleController#restricted as HTML
|
499
518
|
Authenticating with gds_sso strategy
|
500
519
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
501
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2016-
|
502
|
-
Started GET "/auth/gds/callback?code=
|
520
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2016-11-25 13:43:51 +0000
|
521
|
+
Started GET "/auth/gds/callback?code=fc3efc5ff3e6060cea9e71bb6e6f3e4a80fc3d949453918978e3f2438d96aa76&state=8841e8604f5e521c89e68560267b5ac26804f9f55030e105" for 127.0.0.1 at 2016-11-25 13:43:51 +0000
|
503
522
|
Processing by AuthenticationsController#callback as HTML
|
504
|
-
Parameters: {"code"=>"
|
523
|
+
Parameters: {"code"=>"fc3efc5ff3e6060cea9e71bb6e6f3e4a80fc3d949453918978e3f2438d96aa76", "state"=>"8841e8604f5e521c89e68560267b5ac26804f9f55030e105"}
|
505
524
|
Authenticating with gds_sso strategy
|
506
|
-
[1m[36mUser Load (0.
|
507
|
-
[1m[35m (0.
|
508
|
-
[1m[35m (0.
|
525
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
526
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
527
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
509
528
|
Redirected to http://www.example-client.com/restricted
|
510
|
-
Completed 302 Found in
|
511
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
529
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
530
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-11-25 13:43:51 +0000
|
512
531
|
Processing by ExampleController#restricted as HTML
|
513
|
-
[1m[36mUser Load (0.
|
532
|
+
[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", false], ["LIMIT", 1]]
|
514
533
|
Rendering text template
|
515
534
|
Rendered text template (0.0ms)
|
516
|
-
Completed 200 OK in
|
517
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
535
|
+
Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.2ms)
|
536
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-11-25 13:43:51 +0000
|
518
537
|
Processing by ExampleController#restricted as HTML
|
519
538
|
Authenticating with gds_sso strategy
|
520
539
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
521
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2016-
|
522
|
-
Started GET "/auth/gds/callback?code=
|
540
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2016-11-25 13:43:51 +0000
|
541
|
+
Started GET "/auth/gds/callback?code=37e4f12f3139b7f09ca5138a666348adbe2de9fef12018724e8c9b4599e50f1b&state=d0de14ea6a33f30df7db5659413a176dfc1e367582af40f6" for 127.0.0.1 at 2016-11-25 13:43:51 +0000
|
523
542
|
Processing by AuthenticationsController#callback as HTML
|
524
|
-
Parameters: {"code"=>"
|
543
|
+
Parameters: {"code"=>"37e4f12f3139b7f09ca5138a666348adbe2de9fef12018724e8c9b4599e50f1b", "state"=>"d0de14ea6a33f30df7db5659413a176dfc1e367582af40f6"}
|
525
544
|
Authenticating with gds_sso strategy
|
526
|
-
[1m[36mUser Load (0.
|
527
|
-
[1m[35m (0.
|
528
|
-
[1m[35m (0.
|
545
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
546
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
547
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
529
548
|
Redirected to http://www.example-client.com/restricted
|
530
|
-
Completed 302 Found in
|
531
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
549
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
550
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-11-25 13:43:51 +0000
|
532
551
|
Processing by ExampleController#restricted as HTML
|
533
|
-
[1m[36mUser Load (0.
|
552
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", false], ["LIMIT", 1]]
|
534
553
|
Rendering text template
|
535
554
|
Rendered text template (0.0ms)
|
536
|
-
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.
|
537
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
555
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.3ms)
|
556
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-11-25 13:43:51 +0000
|
538
557
|
Processing by ExampleController#restricted as HTML
|
539
558
|
Authenticating with gds_sso strategy
|
540
559
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
541
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2016-
|
542
|
-
Started GET "/auth/gds/callback?code=
|
560
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2016-11-25 13:43:51 +0000
|
561
|
+
Started GET "/auth/gds/callback?code=6c9bfeb102f4e0e1120398cfc1c1c31cba3f4cb3f85ff8ae0385a0f0e995ce04&state=9093f73a23bcecce0e2c374cdbf37f0108cae9bbc6754520" for 127.0.0.1 at 2016-11-25 13:43:52 +0000
|
543
562
|
Processing by AuthenticationsController#callback as HTML
|
544
|
-
Parameters: {"code"=>"
|
563
|
+
Parameters: {"code"=>"6c9bfeb102f4e0e1120398cfc1c1c31cba3f4cb3f85ff8ae0385a0f0e995ce04", "state"=>"9093f73a23bcecce0e2c374cdbf37f0108cae9bbc6754520"}
|
545
564
|
Authenticating with gds_sso strategy
|
546
|
-
[1m[36mUser Load (0.
|
565
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
547
566
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
548
|
-
[1m[35m (0.
|
567
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
549
568
|
Redirected to http://www.example-client.com/restricted
|
550
|
-
Completed 302 Found in 4ms (ActiveRecord: 0.
|
551
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
569
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
570
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-11-25 13:43:52 +0000
|
552
571
|
Processing by ExampleController#restricted as HTML
|
553
|
-
[1m[36mUser Load (0.
|
572
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", false], ["LIMIT", 1]]
|
554
573
|
Rendering text template
|
555
574
|
Rendered text template (0.0ms)
|
556
|
-
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.
|
557
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
575
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.3ms)
|
576
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-11-26 09:38:52 +0000
|
558
577
|
Processing by ExampleController#restricted as HTML
|
559
578
|
[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", false], ["LIMIT", 1]]
|
560
579
|
Rendering text template
|
561
580
|
Rendered text template (0.0ms)
|
562
|
-
Completed 200 OK in
|
563
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
581
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
582
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-11-25 13:43:52 +0000
|
564
583
|
Processing by ExampleController#restricted as HTML
|
565
584
|
Authenticating with gds_sso strategy
|
566
585
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
567
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2016-
|
568
|
-
Started GET "/auth/gds/callback?code=
|
586
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2016-11-25 13:43:52 +0000
|
587
|
+
Started GET "/auth/gds/callback?code=c63978b042d97f8a745efc08a3432c13a07692fbedbc4079044b7844dff0d7e8&state=6c8246395eb6eb3393b389ac551e2522b7d8e70684d8f22e" for 127.0.0.1 at 2016-11-25 13:43:52 +0000
|
569
588
|
Processing by AuthenticationsController#callback as HTML
|
570
|
-
Parameters: {"code"=>"
|
589
|
+
Parameters: {"code"=>"c63978b042d97f8a745efc08a3432c13a07692fbedbc4079044b7844dff0d7e8", "state"=>"6c8246395eb6eb3393b389ac551e2522b7d8e70684d8f22e"}
|
571
590
|
Authenticating with gds_sso strategy
|
572
|
-
[1m[36mUser Load (0.
|
591
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
573
592
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
574
|
-
[1m[35m (0.
|
593
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
575
594
|
Redirected to http://www.example-client.com/restricted
|
576
|
-
Completed 302 Found in
|
577
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
595
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
596
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-11-25 13:43:52 +0000
|
578
597
|
Processing by ExampleController#restricted as HTML
|
579
598
|
[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", false], ["LIMIT", 1]]
|
580
599
|
Rendering text template
|
581
600
|
Rendered text template (0.0ms)
|
582
|
-
Completed 200 OK in
|
583
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
601
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
602
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-11-26 09:48:52 +0000
|
603
|
+
Processing by ExampleController#restricted as HTML
|
604
|
+
Authenticating with gds_sso strategy
|
605
|
+
Completed in 1ms (ActiveRecord: 0.0ms)
|
606
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2016-11-26 09:48:52 +0000
|
607
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-11-25 13:43:52 +0000
|
584
608
|
Processing by ExampleController#restricted as HTML
|
585
609
|
Authenticating with gds_sso strategy
|
586
610
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
587
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2016-
|
588
|
-
Started GET "/auth/gds/callback?code=
|
611
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2016-11-25 13:43:52 +0000
|
612
|
+
Started GET "/auth/gds/callback?code=5229ba82ef286c3fde70ffe4fbef3a21d7c703461e48c72ddee14bcb62071076&state=333d26dd26654d38e2a6868b68a341568167fec3d698aa6e" for 127.0.0.1 at 2016-11-25 13:43:52 +0000
|
589
613
|
Processing by AuthenticationsController#callback as HTML
|
590
|
-
Parameters: {"code"=>"
|
614
|
+
Parameters: {"code"=>"5229ba82ef286c3fde70ffe4fbef3a21d7c703461e48c72ddee14bcb62071076", "state"=>"333d26dd26654d38e2a6868b68a341568167fec3d698aa6e"}
|
591
615
|
Authenticating with gds_sso strategy
|
592
|
-
[1m[36mUser Load (0.
|
616
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
593
617
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
594
618
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
595
619
|
Redirected to http://www.example-client.com/restricted
|
596
|
-
Completed 302 Found in
|
597
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
620
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.5ms)
|
621
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-11-25 13:43:52 +0000
|
598
622
|
Processing by ExampleController#restricted as HTML
|
599
623
|
[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", false], ["LIMIT", 1]]
|
600
624
|
Rendering text template
|
601
625
|
Rendered text template (0.0ms)
|
602
|
-
Completed 200 OK in 2ms (Views: 0.
|
603
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
626
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
627
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-11-26 09:48:52 +0000
|
604
628
|
Processing by ExampleController#restricted as HTML
|
605
629
|
Authenticating with gds_sso strategy
|
606
|
-
Completed in
|
607
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2016-
|
608
|
-
Started GET "/auth/gds/callback?code=
|
630
|
+
Completed in 1ms (ActiveRecord: 0.0ms)
|
631
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2016-11-26 09:48:52 +0000
|
632
|
+
Started GET "/auth/gds/callback?code=f05a8b4e9102c7eba4fcfcf26b7e9524a7d172427b7765b328cd52a0f107cd38&state=1f8e53a7b16af9400f9234ee26b862d0a56e7b78e8e8b39b" for 127.0.0.1 at 2016-11-26 09:48:52 +0000
|
609
633
|
Processing by AuthenticationsController#callback as HTML
|
610
|
-
Parameters: {"code"=>"
|
634
|
+
Parameters: {"code"=>"f05a8b4e9102c7eba4fcfcf26b7e9524a7d172427b7765b328cd52a0f107cd38", "state"=>"1f8e53a7b16af9400f9234ee26b862d0a56e7b78e8e8b39b"}
|
611
635
|
Authenticating with gds_sso strategy
|
612
|
-
[1m[36mUser Load (0.
|
613
|
-
[1m[35m (0.
|
614
|
-
[1m[35m (0.
|
636
|
+
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
637
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
638
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
615
639
|
Redirected to http://www.example-client.com/restricted
|
616
|
-
Completed 302 Found in
|
617
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
640
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.5ms)
|
641
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-11-26 09:48:52 +0000
|
618
642
|
Processing by ExampleController#restricted as HTML
|
619
|
-
[1m[36mUser Load (0.
|
643
|
+
[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", false], ["LIMIT", 1]]
|
620
644
|
Rendering text template
|
621
645
|
Rendered text template (0.0ms)
|
622
|
-
Completed 200 OK in
|
623
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
624
|
-
Processing by ExampleController#restricted as HTML
|
625
|
-
Authenticating with gds_sso strategy
|
626
|
-
Completed in 0ms (ActiveRecord: 0.0ms)
|
627
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2016-09-23 06:10:00 +0000
|
628
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-09-22 10:05:00 +0000
|
646
|
+
Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.2ms)
|
647
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-11-25 13:43:52 +0000
|
629
648
|
Processing by ExampleController#restricted as HTML
|
630
649
|
Authenticating with gds_sso strategy
|
631
650
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
632
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2016-
|
633
|
-
Started GET "/auth/gds/callback?code=
|
651
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2016-11-25 13:43:52 +0000
|
652
|
+
Started GET "/auth/gds/callback?code=7e818e1c5c01ac8cd30f5b96e84dcb6e0c72ed8b51e4d25ed4db93c9171ca963&state=a14348956a612958a57fd91a9a5624bdf87c587d20624e33" for 127.0.0.1 at 2016-11-25 13:43:52 +0000
|
634
653
|
Processing by AuthenticationsController#callback as HTML
|
635
|
-
Parameters: {"code"=>"
|
654
|
+
Parameters: {"code"=>"7e818e1c5c01ac8cd30f5b96e84dcb6e0c72ed8b51e4d25ed4db93c9171ca963", "state"=>"a14348956a612958a57fd91a9a5624bdf87c587d20624e33"}
|
636
655
|
Authenticating with gds_sso strategy
|
637
|
-
[1m[36mUser Load (0.
|
638
|
-
[1m[35m (0.
|
639
|
-
[1m[35m (0.
|
656
|
+
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
657
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
658
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
640
659
|
Redirected to http://www.example-client.com/restricted
|
641
|
-
Completed 302 Found in
|
642
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
660
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.6ms)
|
661
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-11-25 13:43:53 +0000
|
643
662
|
Processing by ExampleController#restricted as HTML
|
644
|
-
[1m[36mUser Load (0.
|
663
|
+
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", false], ["LIMIT", 1]]
|
645
664
|
Rendering text template
|
646
665
|
Rendered text template (0.0ms)
|
647
|
-
Completed 200 OK in
|
648
|
-
[1m[36mUser Load (0.
|
666
|
+
Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.7ms)
|
667
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["email", "test@example-client.com"], ["LIMIT", 1]]
|
649
668
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
650
|
-
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", true], ["id",
|
651
|
-
[1m[35m (
|
652
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
669
|
+
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", true], ["id", 12]]
|
670
|
+
[1m[35m (20.1ms)[0m [1m[36mcommit transaction[0m
|
671
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-11-25 13:43:53 +0000
|
653
672
|
Processing by ExampleController#restricted as HTML
|
654
673
|
[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", false], ["LIMIT", 1]]
|
655
674
|
Authenticating with gds_sso strategy
|
656
675
|
Completed in 2ms (ActiveRecord: 0.2ms)
|
657
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2016-
|
658
|
-
Started GET "/auth/gds/callback?code=
|
676
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2016-11-25 13:43:53 +0000
|
677
|
+
Started GET "/auth/gds/callback?code=5e28167f5be69dda4b0fe3984973b050e9bd032d369589588e6aeda3d3a5c0e1&state=997f9516ea7ec6ebfe79b80b62812c32aaa75d4a2db1015f" for 127.0.0.1 at 2016-11-25 13:43:53 +0000
|
659
678
|
Processing by AuthenticationsController#callback as HTML
|
660
|
-
Parameters: {"code"=>"
|
679
|
+
Parameters: {"code"=>"5e28167f5be69dda4b0fe3984973b050e9bd032d369589588e6aeda3d3a5c0e1", "state"=>"997f9516ea7ec6ebfe79b80b62812c32aaa75d4a2db1015f"}
|
661
680
|
Authenticating with gds_sso strategy
|
662
|
-
[1m[36mUser Load (0.
|
663
|
-
[1m[35m (0.
|
664
|
-
[1m[35m (0.
|
665
|
-
[1m[35m (0.
|
666
|
-
[1m[35mSQL (0.
|
667
|
-
[1m[35m (
|
681
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
682
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
683
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
684
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
685
|
+
[1m[35mSQL (0.5ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", false], ["id", 12]]
|
686
|
+
[1m[35m (27.5ms)[0m [1m[36mcommit transaction[0m
|
668
687
|
Redirected to http://www.example-client.com/restricted
|
669
|
-
Completed 302 Found in
|
670
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
688
|
+
Completed 302 Found in 34ms (ActiveRecord: 28.3ms)
|
689
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-11-25 13:43:53 +0000
|
671
690
|
Processing by ExampleController#restricted as HTML
|
672
|
-
[1m[36mUser Load (0.
|
691
|
+
[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", false], ["LIMIT", 1]]
|
673
692
|
Rendering text template
|
674
693
|
Rendered text template (0.0ms)
|
675
|
-
Completed 200 OK in 2ms (Views: 0.
|
676
|
-
|
677
|
-
|
678
|
-
[1m[
|
694
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
695
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2016-11-25 13:43:53 +0000
|
696
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
697
|
+
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
679
698
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
680
|
-
[1m[35mSQL (0.2ms)[0m [1m[
|
681
|
-
[1m[35m (
|
682
|
-
|
683
|
-
Parameters: {"uid"=>"a1s2d38606"}
|
684
|
-
Rendering /home/jenkins/workspace/govuk_gds_sso/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
685
|
-
Rendered /home/jenkins/workspace/govuk_gds_sso/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
|
686
|
-
Completed 403 Forbidden in 6ms (Views: 5.6ms | ActiveRecord: 0.0ms)
|
699
|
+
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "users" SET "disabled" = ? WHERE "users"."id" = ?[0m [["disabled", nil], ["id", 12]]
|
700
|
+
[1m[35m (20.6ms)[0m [1m[36mcommit transaction[0m
|
701
|
+
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
687
702
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
688
|
-
[1m[
|
689
|
-
[1m[
|
703
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
704
|
+
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
690
705
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
691
|
-
[1m[
|
692
|
-
[1m[
|
693
|
-
Processing by Api::UserController#reauth as HTML
|
694
|
-
Parameters: {"uid"=>"a1s2d35817"}
|
695
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d35817"], ["LIMIT", 1]]
|
706
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
707
|
+
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
696
708
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
697
|
-
[1m[
|
698
|
-
|
699
|
-
|
700
|
-
|
709
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
710
|
+
Rendering text template
|
711
|
+
Rendered text template (0.0ms)
|
712
|
+
Completed 200 OK in 99ms (Views: 0.6ms | ActiveRecord: 22.3ms)
|
713
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-11-25 13:43:53 +0000
|
714
|
+
Processing by ExampleController#restricted as JSON
|
715
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
716
|
+
[1m[35m (0.3ms)[0m [1m[36mbegin transaction[0m
|
717
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
718
|
+
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
701
719
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
702
|
-
[1m[
|
703
|
-
[1m[
|
720
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
721
|
+
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
704
722
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
705
|
-
[1m[
|
706
|
-
[1m[
|
707
|
-
Processing by Api::UserController#reauth as HTML
|
708
|
-
Parameters: {"uid"=>"nonexistent-user"}
|
709
|
-
[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]]
|
710
|
-
Completed 200 OK in 1ms (ActiveRecord: 0.1ms)
|
711
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
712
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d32961"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
713
|
-
[1m[35m (26.9ms)[0m [1m[36mcommit transaction[0m
|
714
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
715
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d36065"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
716
|
-
[1m[35m (12.9ms)[0m [1m[36mcommit transaction[0m
|
717
|
-
Processing by Api::UserController#update as HTML
|
718
|
-
Parameters: {"uid"=>"a1s2d32961"}
|
719
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d32961"], ["LIMIT", 1]]
|
720
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
721
|
-
[1m[35mSQL (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", 9]]
|
722
|
-
[1m[35m (27.2ms)[0m [1m[36mcommit transaction[0m
|
723
|
-
Completed 200 OK in 31ms (ActiveRecord: 27.5ms)
|
724
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 9], ["LIMIT", 1]]
|
725
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
726
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d3877"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
727
|
-
[1m[35m (30.0ms)[0m [1m[36mcommit transaction[0m
|
723
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
724
|
+
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
728
725
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
729
|
-
[1m[
|
730
|
-
|
731
|
-
|
732
|
-
|
733
|
-
|
734
|
-
|
735
|
-
Completed
|
736
|
-
|
737
|
-
|
738
|
-
|
739
|
-
[1m[
|
740
|
-
[1m[
|
741
|
-
[1m[
|
742
|
-
[1m[
|
743
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions", "organisation_slug", "organisation_content_id", "disabled") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "asd"], ["email", "user@example.com"], ["name", "A Name"], ["permissions", "---\n- signin\n"], ["organisation_slug", "hmrc"], ["organisation_content_id", "67a2b78d-eee3-45b3-80e2-792e7f71cecc"], ["disabled", nil]]
|
744
|
-
[1m[36m (26.2ms)[0m [1mcommit transaction[0m
|
745
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "asd"]]
|
746
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
747
|
-
[1m[35m (0.0ms)[0m commit transaction
|
726
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
727
|
+
Rendering text template
|
728
|
+
Rendered text template (0.0ms)
|
729
|
+
Completed 200 OK in 80ms (Views: 0.4ms | ActiveRecord: 1.2ms)
|
730
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-11-25 13:43:53 +0000
|
731
|
+
Processing by ExampleController#restricted as JSON
|
732
|
+
Completed in 18ms (ActiveRecord: 0.0ms)
|
733
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-11-25 13:43:53 +0000
|
734
|
+
Processing by ExampleController#restricted as JSON
|
735
|
+
Completed in 16ms (ActiveRecord: 0.0ms)
|
736
|
+
[1m[36m (200.3ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "uid" varchar NOT NULL, "email" varchar NOT NULL, "remotely_signed_out" boolean, "permissions" text, "organisation_slug" varchar, "organisation_content_id" varchar, "disabled" boolean DEFAULT 'f') [0m
|
737
|
+
[1m[35m (164.7ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
738
|
+
[1m[36m (0.4ms)[0m [1mselect sqlite_version(*)[0m
|
739
|
+
[1m[35m (138.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
748
740
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
749
|
-
[1m[35mSQL (0.
|
750
|
-
[1m[36m (
|
741
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d31425"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
742
|
+
[1m[36m (158.0ms)[0m [1mcommit transaction[0m
|
751
743
|
[1m[35m (0.1ms)[0m begin transaction
|
752
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "
|
753
|
-
[1m[35m (
|
754
|
-
Processing by Api::UserController#
|
755
|
-
Parameters: {"uid"=>"
|
756
|
-
Rendered /home/jenkins/workspace/govuk_gds_sso/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.
|
757
|
-
Completed 403 Forbidden in
|
744
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d39436"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
745
|
+
[1m[35m (132.1ms)[0m commit transaction
|
746
|
+
Processing by Api::UserController#reauth as HTML
|
747
|
+
Parameters: {"uid"=>"a1s2d31425"}
|
748
|
+
Rendered /home/jenkins/workspace/govuk_gds_sso/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.3ms)
|
749
|
+
Completed 403 Forbidden in 9ms (Views: 8.9ms | ActiveRecord: 0.0ms)
|
758
750
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
759
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "
|
760
|
-
[1m[36m (
|
751
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d36156"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
752
|
+
[1m[36m (226.6ms)[0m [1mcommit transaction[0m
|
761
753
|
[1m[35m (0.1ms)[0m begin transaction
|
762
|
-
[1m[36mSQL (0.
|
763
|
-
[1m[35m (
|
764
|
-
Processing by Api::UserController#update as HTML
|
765
|
-
Parameters: {"uid"=>"a1s2d3166"}
|
766
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "a1s2d3166"]]
|
767
|
-
[1m[35m (0.0ms)[0m begin transaction
|
768
|
-
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "email" = ?, "name" = ?, "permissions" = ?, "organisation_slug" = ?, "organisation_content_id" = ? WHERE "users"."id" = ?[0m [["email", "user@domain.com"], ["name", "Joshua Marshall"], ["permissions", "---\n- signin\n- new permission\n"], ["organisation_slug", "justice-league"], ["organisation_content_id", "aae1319e-5788-4677-998c-f1a53af528d0"], ["id", 4]]
|
769
|
-
[1m[35m (10.3ms)[0m commit transaction
|
770
|
-
Completed 200 OK in 14ms (ActiveRecord: 10.6ms)
|
771
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 4]]
|
772
|
-
[1m[35m (0.1ms)[0m begin transaction
|
773
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d39534"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
774
|
-
[1m[35m (15.5ms)[0m commit transaction
|
775
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
776
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d39063"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
777
|
-
[1m[36m (11.7ms)[0m [1mcommit transaction[0m
|
754
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d37890"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
755
|
+
[1m[35m (177.0ms)[0m commit transaction
|
778
756
|
Processing by Api::UserController#reauth as HTML
|
779
757
|
Parameters: {"uid"=>"nonexistent-user"}
|
780
|
-
[1m[
|
781
|
-
Completed 200 OK in
|
758
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "nonexistent-user"]]
|
759
|
+
Completed 200 OK in 6ms (ActiveRecord: 0.2ms)
|
760
|
+
[1m[35m (0.1ms)[0m begin transaction
|
761
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d38533"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
762
|
+
[1m[35m (126.1ms)[0m commit transaction
|
782
763
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
783
|
-
[1m[35mSQL (0.
|
784
|
-
[1m[36m (
|
785
|
-
[1m[35m (0.0ms)[0m begin transaction
|
786
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d32526"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
787
|
-
[1m[35m (12.4ms)[0m commit transaction
|
764
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d36126"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
765
|
+
[1m[36m (124.6ms)[0m [1mcommit transaction[0m
|
788
766
|
Processing by Api::UserController#reauth as HTML
|
789
|
-
Parameters: {"uid"=>"
|
790
|
-
|
791
|
-
|
767
|
+
Parameters: {"uid"=>"a1s2d38533"}
|
768
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "a1s2d38533"]]
|
769
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
770
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 5]]
|
771
|
+
[1m[36m (125.8ms)[0m [1mcommit transaction[0m
|
772
|
+
Completed 200 OK in 130ms (ActiveRecord: 126.2ms)
|
773
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]]
|
792
774
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
793
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "
|
794
|
-
[1m[36m (
|
775
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d32438"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
776
|
+
[1m[36m (184.0ms)[0m [1mcommit transaction[0m
|
795
777
|
[1m[35m (0.1ms)[0m begin transaction
|
796
|
-
[1m[36mSQL (0.
|
797
|
-
[1m[35m (
|
798
|
-
Processing by Api::UserController#
|
799
|
-
Parameters: {"uid"=>"
|
800
|
-
|
778
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d32890"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
779
|
+
[1m[35m (250.4ms)[0m commit transaction
|
780
|
+
Processing by Api::UserController#update as HTML
|
781
|
+
Parameters: {"uid"=>"a1s2d32438"}
|
782
|
+
Rendered /home/jenkins/workspace/govuk_gds_sso/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.1ms)
|
783
|
+
Completed 403 Forbidden in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
|
784
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
785
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d32914"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
786
|
+
[1m[36m (85.4ms)[0m [1mcommit transaction[0m
|
801
787
|
[1m[35m (0.1ms)[0m begin transaction
|
802
|
-
[1m[36mSQL (0.2ms)[0m [
|
803
|
-
[1m[35m (
|
804
|
-
|
805
|
-
|
806
|
-
|
807
|
-
Processing by ExampleController#restricted as JSON
|
808
|
-
Completed in 27ms (ActiveRecord: 0.0ms)
|
809
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2016-09-22 10:05:05 +0000
|
810
|
-
Processing by ExampleController#this_requires_signin_permission as JSON
|
811
|
-
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
812
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["email", "test@example-client.com"]]
|
788
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d33322"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
789
|
+
[1m[35m (121.6ms)[0m commit transaction
|
790
|
+
Processing by Api::UserController#update as HTML
|
791
|
+
Parameters: {"uid"=>"a1s2d32914"}
|
792
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "a1s2d32914"]]
|
813
793
|
[1m[35m (0.1ms)[0m begin transaction
|
814
|
-
[1m[36mSQL (0.2ms)[0m [
|
815
|
-
[1m[35m (
|
816
|
-
|
794
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "email" = ?, "name" = ?, "permissions" = ?, "organisation_slug" = ?, "organisation_content_id" = ? WHERE "users"."id" = ?[0m [["email", "user@domain.com"], ["name", "Joshua Marshall"], ["permissions", "---\n- signin\n- new permission\n"], ["organisation_slug", "justice-league"], ["organisation_content_id", "aae1319e-5788-4677-998c-f1a53af528d0"], ["id", 9]]
|
795
|
+
[1m[35m (83.7ms)[0m commit transaction
|
796
|
+
Completed 200 OK in 88ms (ActiveRecord: 84.1ms)
|
797
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 9]]
|
798
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "asd"]]
|
799
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["email", "user@example.com"]]
|
817
800
|
[1m[35m (0.1ms)[0m begin transaction
|
818
|
-
[1m[
|
819
|
-
[1m[
|
820
|
-
[1m[
|
821
|
-
[1m[35m (0.0ms)[0m commit transaction
|
822
|
-
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
801
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions", "organisation_slug", "organisation_content_id", "disabled") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["uid", "asd"], ["email", "user@example.com"], ["name", "A Name"], ["permissions", "---\n- signin\n"], ["organisation_slug", "hmrc"], ["organisation_content_id", "67a2b78d-eee3-45b3-80e2-792e7f71cecc"], ["disabled", nil]]
|
802
|
+
[1m[35m (66.5ms)[0m commit transaction
|
803
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "asd"]]
|
823
804
|
[1m[35m (0.1ms)[0m begin transaction
|
824
|
-
[1m[36m (0.
|
825
|
-
|
826
|
-
|
827
|
-
[1m[35m (33.0ms)[0m commit transaction
|
805
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
806
|
+
Started GET "/" for 127.0.0.1 at 2016-11-25 13:43:59 +0000
|
807
|
+
Processing by ExampleController#index as HTML
|
828
808
|
Rendered text template (0.0ms)
|
829
|
-
Completed 200 OK in
|
830
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
831
|
-
Processing by ExampleController#restricted as
|
832
|
-
|
833
|
-
|
834
|
-
|
835
|
-
|
836
|
-
|
837
|
-
|
838
|
-
|
809
|
+
Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)
|
810
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-11-25 13:43:59 +0000
|
811
|
+
Processing by ExampleController#restricted as HTML
|
812
|
+
Authenticating with gds_sso strategy
|
813
|
+
Completed in 9ms (ActiveRecord: 0.0ms)
|
814
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2016-11-25 13:43:59 +0000
|
815
|
+
Started GET "/auth/gds/callback?code=f26bab61e3821688dbabf19d7350ce7439de62c6234faac4c5576e87a30d76a4&state=3c86a804ac28c20971241bd0f80807ffe7d57bc37cf6bb9d" for 127.0.0.1 at 2016-11-25 13:44:00 +0000
|
816
|
+
Processing by AuthenticationsController#callback as HTML
|
817
|
+
Parameters: {"code"=>"f26bab61e3821688dbabf19d7350ce7439de62c6234faac4c5576e87a30d76a4", "state"=>"3c86a804ac28c20971241bd0f80807ffe7d57bc37cf6bb9d"}
|
818
|
+
Authenticating with gds_sso strategy
|
819
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
820
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["email", "test@example-client.com"]]
|
839
821
|
[1m[35m (0.1ms)[0m begin transaction
|
840
|
-
[1m[
|
841
|
-
[1m[
|
822
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "integration-uid"], ["email", "test@example-client.com"], ["name", "Test User"], ["permissions", "---\n- signin\n"]]
|
823
|
+
[1m[35m (252.9ms)[0m commit transaction
|
842
824
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
843
|
-
[1m[
|
844
|
-
[1m[36m (
|
845
|
-
|
825
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "f"], ["id", 12]]
|
826
|
+
[1m[36m (246.9ms)[0m [1mcommit transaction[0m
|
827
|
+
Redirected to http://www.example-client.com/restricted
|
828
|
+
Completed 302 Found in 507ms (ActiveRecord: 500.6ms)
|
829
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-11-25 13:44:00 +0000
|
830
|
+
Processing by ExampleController#restricted as HTML
|
831
|
+
[1m[35mUser Load (0.3ms)[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"]]
|
846
832
|
Rendered text template (0.0ms)
|
847
|
-
Completed 200 OK in
|
848
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
849
|
-
Processing by ExampleController#restricted as JSON
|
850
|
-
Completed in 17ms (ActiveRecord: 0.0ms)
|
851
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-09-22 10:05:05 +0000
|
833
|
+
Completed 200 OK in 4ms (Views: 0.6ms | ActiveRecord: 0.3ms)
|
834
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-11-25 13:44:00 +0000
|
852
835
|
Processing by ExampleController#restricted as HTML
|
853
836
|
Authenticating with gds_sso strategy
|
854
837
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
855
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2016-
|
856
|
-
Started GET "/auth/gds/callback?code=
|
838
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2016-11-25 13:44:00 +0000
|
839
|
+
Started GET "/auth/gds/callback?code=55112b3e0436989f0cc684e21124051dc9a0c4985ba5bd0c0a3377079f728642&state=9f2d78f675b870239ed1b7178276eedfd6c16aaea1d543e4" for 127.0.0.1 at 2016-11-25 13:44:00 +0000
|
857
840
|
Processing by AuthenticationsController#callback as HTML
|
858
|
-
Parameters: {"code"=>"
|
841
|
+
Parameters: {"code"=>"55112b3e0436989f0cc684e21124051dc9a0c4985ba5bd0c0a3377079f728642", "state"=>"9f2d78f675b870239ed1b7178276eedfd6c16aaea1d543e4"}
|
859
842
|
Authenticating with gds_sso strategy
|
860
|
-
[1m[36mUser Load (0.
|
843
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
861
844
|
[1m[35m (0.1ms)[0m begin transaction
|
862
|
-
[1m[
|
863
|
-
[1m[35m (
|
864
|
-
[1m[36m (0.1ms)[0m [
|
865
|
-
[1m[35m (0.0ms)[0m commit transaction
|
845
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
846
|
+
[1m[35m (0.1ms)[0m begin transaction
|
847
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
866
848
|
Redirected to http://www.example-client.com/restricted
|
867
|
-
Completed 302 Found in
|
868
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
849
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.4ms)
|
850
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-11-25 13:44:01 +0000
|
869
851
|
Processing by ExampleController#restricted as HTML
|
870
|
-
[1m[
|
852
|
+
[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"]]
|
871
853
|
Rendered text template (0.0ms)
|
872
|
-
Completed 200 OK in 2ms (Views: 0.
|
873
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
854
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
855
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-11-25 13:44:01 +0000
|
874
856
|
Processing by ExampleController#restricted as HTML
|
875
857
|
Authenticating with gds_sso strategy
|
876
858
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
877
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2016-
|
878
|
-
Started GET "/auth/gds/callback?code=
|
859
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2016-11-25 13:44:01 +0000
|
860
|
+
Started GET "/auth/gds/callback?code=97fe3c4a409a4abe1419ac55c829f11c81aafe6b9d2c649676c180aee5c24750&state=e48e84d3df03d4468e1ab954d55b0486b92fb3e20c979a6f" for 127.0.0.1 at 2016-11-25 13:44:01 +0000
|
879
861
|
Processing by AuthenticationsController#callback as HTML
|
880
|
-
Parameters: {"code"=>"
|
862
|
+
Parameters: {"code"=>"97fe3c4a409a4abe1419ac55c829f11c81aafe6b9d2c649676c180aee5c24750", "state"=>"e48e84d3df03d4468e1ab954d55b0486b92fb3e20c979a6f"}
|
881
863
|
Authenticating with gds_sso strategy
|
882
|
-
[1m[
|
883
|
-
[1m[
|
884
|
-
[1m[
|
885
|
-
[1m[
|
886
|
-
[1m[
|
864
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
865
|
+
[1m[35m (0.1ms)[0m begin transaction
|
866
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
867
|
+
[1m[35m (0.1ms)[0m begin transaction
|
868
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
887
869
|
Redirected to http://www.example-client.com/restricted
|
888
|
-
Completed 302 Found in 4ms (ActiveRecord: 0.
|
889
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
870
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
871
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-11-25 13:44:01 +0000
|
890
872
|
Processing by ExampleController#restricted as HTML
|
891
|
-
[1m[
|
873
|
+
[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"]]
|
892
874
|
Rendered text template (0.0ms)
|
893
|
-
Completed 200 OK in 1ms (Views: 0.
|
894
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2016-
|
875
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
876
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2016-11-25 13:44:01 +0000
|
895
877
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
896
878
|
Authenticating with gds_sso strategy
|
897
879
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
898
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2016-
|
899
|
-
Started GET "/auth/gds/callback?code=
|
880
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2016-11-25 13:44:01 +0000
|
881
|
+
Started GET "/auth/gds/callback?code=b720f5c47ad488aa3c2aa6a9c40b0d98685c585dd69abf70b5a096e9b027a5ec&state=e3797714256bd03d1b17dd097aba01c38ca2d39b404009fa" for 127.0.0.1 at 2016-11-25 13:44:01 +0000
|
900
882
|
Processing by AuthenticationsController#callback as HTML
|
901
|
-
Parameters: {"code"=>"
|
883
|
+
Parameters: {"code"=>"b720f5c47ad488aa3c2aa6a9c40b0d98685c585dd69abf70b5a096e9b027a5ec", "state"=>"e3797714256bd03d1b17dd097aba01c38ca2d39b404009fa"}
|
902
884
|
Authenticating with gds_sso strategy
|
903
|
-
[1m[
|
904
|
-
[1m[
|
905
|
-
[1m[
|
906
|
-
[1m[
|
907
|
-
[1m[
|
885
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
886
|
+
[1m[35m (0.1ms)[0m begin transaction
|
887
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
888
|
+
[1m[35m (0.1ms)[0m begin transaction
|
889
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
908
890
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
909
|
-
Completed 302 Found in
|
910
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2016-
|
891
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.4ms)
|
892
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2016-11-25 13:44:01 +0000
|
911
893
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
912
|
-
[1m[
|
894
|
+
[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"]]
|
913
895
|
Rendered text template (0.0ms)
|
914
|
-
Completed 200 OK in
|
915
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2016-
|
896
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
897
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2016-11-25 13:44:01 +0000
|
916
898
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
917
899
|
Authenticating with gds_sso strategy
|
918
900
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
919
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2016-
|
920
|
-
Started GET "/auth/gds/callback?code=
|
901
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2016-11-25 13:44:01 +0000
|
902
|
+
Started GET "/auth/gds/callback?code=1c66b2bc93853363593ce073ddc618681ff20b2bc038e1326e99088b0a7bb8ae&state=644fa6b26ac85fcbeaf539b0a3b42bdc98118ee7ad3a0fb0" for 127.0.0.1 at 2016-11-25 13:44:01 +0000
|
921
903
|
Processing by AuthenticationsController#callback as HTML
|
922
|
-
Parameters: {"code"=>"
|
904
|
+
Parameters: {"code"=>"1c66b2bc93853363593ce073ddc618681ff20b2bc038e1326e99088b0a7bb8ae", "state"=>"644fa6b26ac85fcbeaf539b0a3b42bdc98118ee7ad3a0fb0"}
|
923
905
|
Authenticating with gds_sso strategy
|
924
|
-
[1m[
|
925
|
-
[1m[
|
926
|
-
[1m[
|
927
|
-
[1m[
|
928
|
-
[1m[
|
906
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
907
|
+
[1m[35m (0.1ms)[0m begin transaction
|
908
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
909
|
+
[1m[35m (0.1ms)[0m begin transaction
|
910
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
929
911
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
930
|
-
Completed 302 Found in 4ms (ActiveRecord: 0.
|
931
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2016-
|
912
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
913
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2016-11-25 13:44:01 +0000
|
932
914
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
933
|
-
[1m[
|
915
|
+
[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"]]
|
934
916
|
Rendered text template (0.0ms)
|
935
|
-
Completed 200 OK in
|
936
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
917
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
918
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-11-25 13:44:01 +0000
|
937
919
|
Processing by ExampleController#restricted as HTML
|
938
920
|
Authenticating with gds_sso strategy
|
939
921
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
940
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2016-
|
941
|
-
Started GET "/auth/gds/callback?code=
|
922
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2016-11-25 13:44:01 +0000
|
923
|
+
Started GET "/auth/gds/callback?code=0eef37849744379db73f6df0c3a9c1ab11cc6c0454e8ec59f6c624edc9a3d83d&state=3fac31e26fef953d07e1ea1a622e890654fcd4be2be1971f" for 127.0.0.1 at 2016-11-25 13:44:01 +0000
|
942
924
|
Processing by AuthenticationsController#callback as HTML
|
943
|
-
Parameters: {"code"=>"
|
925
|
+
Parameters: {"code"=>"0eef37849744379db73f6df0c3a9c1ab11cc6c0454e8ec59f6c624edc9a3d83d", "state"=>"3fac31e26fef953d07e1ea1a622e890654fcd4be2be1971f"}
|
944
926
|
Authenticating with gds_sso strategy
|
945
|
-
[1m[
|
946
|
-
[1m[
|
947
|
-
[1m[
|
948
|
-
[1m[
|
949
|
-
[1m[
|
927
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
928
|
+
[1m[35m (0.1ms)[0m begin transaction
|
929
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
930
|
+
[1m[35m (0.1ms)[0m begin transaction
|
931
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
950
932
|
Redirected to http://www.example-client.com/restricted
|
951
|
-
Completed 302 Found in
|
952
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
933
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.4ms)
|
934
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-11-25 13:44:01 +0000
|
953
935
|
Processing by ExampleController#restricted as HTML
|
954
|
-
[1m[
|
955
|
-
Rendered text template (0.0ms)
|
956
|
-
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
957
|
-
Started GET "/" for 127.0.0.1 at 2016-09-22 10:05:06 +0000
|
958
|
-
Processing by ExampleController#index as HTML
|
936
|
+
[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"]]
|
959
937
|
Rendered text template (0.0ms)
|
960
|
-
Completed 200 OK in
|
961
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
938
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.1ms)
|
939
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-11-26 09:49:01 +0000
|
962
940
|
Processing by ExampleController#restricted as HTML
|
963
941
|
Authenticating with gds_sso strategy
|
964
|
-
Completed in
|
965
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2016-
|
966
|
-
Started GET "/auth/gds/callback?code=
|
942
|
+
Completed in 1ms (ActiveRecord: 0.0ms)
|
943
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2016-11-26 09:49:01 +0000
|
944
|
+
Started GET "/auth/gds/callback?code=4a535912bbaf726c29f2ba86838fa2508865787d2c2f97a34de60fc2db09577d&state=e2593e5b8190f1f67f5bb52ed37c69f96671e51442786701" for 127.0.0.1 at 2016-11-26 09:49:02 +0000
|
967
945
|
Processing by AuthenticationsController#callback as HTML
|
968
|
-
Parameters: {"code"=>"
|
946
|
+
Parameters: {"code"=>"4a535912bbaf726c29f2ba86838fa2508865787d2c2f97a34de60fc2db09577d", "state"=>"e2593e5b8190f1f67f5bb52ed37c69f96671e51442786701"}
|
969
947
|
Authenticating with gds_sso strategy
|
970
|
-
[1m[
|
971
|
-
[1m[
|
972
|
-
[1m[
|
973
|
-
[1m[
|
974
|
-
[1m[
|
948
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
949
|
+
[1m[35m (0.1ms)[0m begin transaction
|
950
|
+
[1m[36m (0.3ms)[0m [1mcommit transaction[0m
|
951
|
+
[1m[35m (0.1ms)[0m begin transaction
|
952
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
975
953
|
Redirected to http://www.example-client.com/restricted
|
976
|
-
Completed 302 Found in
|
977
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
978
|
-
Processing by ExampleController#restricted as HTML
|
979
|
-
[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"]]
|
980
|
-
Rendered text template (0.0ms)
|
981
|
-
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
982
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-09-23 06:10:07 +0000
|
954
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.7ms)
|
955
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-11-26 09:49:02 +0000
|
983
956
|
Processing by ExampleController#restricted as HTML
|
984
|
-
|
985
|
-
|
986
|
-
|
987
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
957
|
+
[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"]]
|
958
|
+
Rendered text template (0.1ms)
|
959
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.1ms)
|
960
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-11-25 13:44:02 +0000
|
988
961
|
Processing by ExampleController#restricted as HTML
|
989
962
|
Authenticating with gds_sso strategy
|
990
963
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
991
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2016-
|
992
|
-
Started GET "/auth/gds/callback?code=
|
964
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2016-11-25 13:44:02 +0000
|
965
|
+
Started GET "/auth/gds/callback?code=9f1f0a040a9a52aafc0f018f32e878ebe193a739f6da233a6d5ac70832085d5b&state=3e8d2364176666119009c02519aca7cdcd154c763e9e7f98" for 127.0.0.1 at 2016-11-25 13:44:02 +0000
|
993
966
|
Processing by AuthenticationsController#callback as HTML
|
994
|
-
Parameters: {"code"=>"
|
967
|
+
Parameters: {"code"=>"9f1f0a040a9a52aafc0f018f32e878ebe193a739f6da233a6d5ac70832085d5b", "state"=>"3e8d2364176666119009c02519aca7cdcd154c763e9e7f98"}
|
995
968
|
Authenticating with gds_sso strategy
|
996
|
-
[1m[
|
997
|
-
[1m[
|
998
|
-
[1m[
|
999
|
-
[1m[
|
1000
|
-
[1m[
|
969
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
970
|
+
[1m[35m (0.1ms)[0m begin transaction
|
971
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
972
|
+
[1m[35m (0.1ms)[0m begin transaction
|
973
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
1001
974
|
Redirected to http://www.example-client.com/restricted
|
1002
975
|
Completed 302 Found in 5ms (ActiveRecord: 0.4ms)
|
1003
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
976
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-11-25 13:44:02 +0000
|
1004
977
|
Processing by ExampleController#restricted as HTML
|
1005
|
-
[1m[
|
978
|
+
[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"]]
|
1006
979
|
Rendered text template (0.0ms)
|
1007
980
|
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
1008
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
981
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-11-26 09:49:02 +0000
|
1009
982
|
Processing by ExampleController#restricted as HTML
|
1010
983
|
Authenticating with gds_sso strategy
|
1011
984
|
Completed in 1ms (ActiveRecord: 0.0ms)
|
1012
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2016-
|
1013
|
-
Started GET "/
|
985
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2016-11-26 09:49:02 +0000
|
986
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-11-25 13:44:02 +0000
|
987
|
+
Processing by ExampleController#restricted as HTML
|
988
|
+
Authenticating with gds_sso strategy
|
989
|
+
Completed in 0ms (ActiveRecord: 0.0ms)
|
990
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2016-11-25 13:44:02 +0000
|
991
|
+
Started GET "/auth/gds/callback?code=e6182dd9a8a4c90de0bc3778feda841b03003ec8a1f0dcaed046d030468b0709&state=745b5439b70881cd8057544a5f32d6541adef54c55dd5ad2" for 127.0.0.1 at 2016-11-25 13:44:02 +0000
|
1014
992
|
Processing by AuthenticationsController#callback as HTML
|
1015
|
-
Parameters: {"code"=>"
|
993
|
+
Parameters: {"code"=>"e6182dd9a8a4c90de0bc3778feda841b03003ec8a1f0dcaed046d030468b0709", "state"=>"745b5439b70881cd8057544a5f32d6541adef54c55dd5ad2"}
|
1016
994
|
Authenticating with gds_sso strategy
|
1017
|
-
[1m[
|
1018
|
-
[1m[
|
1019
|
-
[1m[
|
1020
|
-
[1m[
|
1021
|
-
[1m[
|
995
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
996
|
+
[1m[35m (0.1ms)[0m begin transaction
|
997
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
998
|
+
[1m[35m (0.1ms)[0m begin transaction
|
999
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
1022
1000
|
Redirected to http://www.example-client.com/restricted
|
1023
|
-
Completed 302 Found in 5ms (ActiveRecord: 0.
|
1024
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
1001
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.4ms)
|
1002
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-11-25 13:44:02 +0000
|
1003
|
+
Processing by ExampleController#restricted as HTML
|
1004
|
+
[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"]]
|
1005
|
+
Rendered text template (0.0ms)
|
1006
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.1ms)
|
1007
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-11-26 09:39:02 +0000
|
1025
1008
|
Processing by ExampleController#restricted as HTML
|
1026
1009
|
[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"]]
|
1027
1010
|
Rendered text template (0.0ms)
|
1028
1011
|
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
1029
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
1012
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-11-25 13:44:02 +0000
|
1030
1013
|
Processing by ExampleController#restricted as HTML
|
1031
1014
|
Authenticating with gds_sso strategy
|
1032
1015
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1033
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2016-
|
1034
|
-
Started GET "/auth/gds/callback?code=
|
1016
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2016-11-25 13:44:02 +0000
|
1017
|
+
Started GET "/auth/gds/callback?code=ac6ea4384f64b9ff95c2684f4337e55fa0175f6b72600ca38778264694814fb3&state=23e2e2d01dfa08ccb5ed2fc4e734a847a5e11b7236ccf6e9" for 127.0.0.1 at 2016-11-25 13:44:02 +0000
|
1035
1018
|
Processing by AuthenticationsController#callback as HTML
|
1036
|
-
Parameters: {"code"=>"
|
1019
|
+
Parameters: {"code"=>"ac6ea4384f64b9ff95c2684f4337e55fa0175f6b72600ca38778264694814fb3", "state"=>"23e2e2d01dfa08ccb5ed2fc4e734a847a5e11b7236ccf6e9"}
|
1037
1020
|
Authenticating with gds_sso strategy
|
1038
|
-
[1m[35mUser Load (0.
|
1021
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
1022
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1023
|
+
[1m[35m (0.1ms)[0m commit transaction
|
1039
1024
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1040
1025
|
[1m[35m (0.1ms)[0m commit transaction
|
1041
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1042
|
-
[1m[35m (0.0ms)[0m commit transaction
|
1043
1026
|
Redirected to http://www.example-client.com/restricted
|
1044
|
-
Completed 302 Found in
|
1045
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
1027
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.4ms)
|
1028
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-11-25 13:44:02 +0000
|
1046
1029
|
Processing by ExampleController#restricted as HTML
|
1047
1030
|
[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"]]
|
1048
1031
|
Rendered text template (0.0ms)
|
1049
1032
|
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
1050
|
-
|
1051
|
-
|
1052
|
-
[1m[
|
1053
|
-
|
1054
|
-
|
1055
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-09-22 10:05:07 +0000
|
1033
|
+
[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"]]
|
1034
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1035
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 12]]
|
1036
|
+
[1m[36m (164.2ms)[0m [1mcommit transaction[0m
|
1037
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-11-25 13:44:03 +0000
|
1056
1038
|
Processing by ExampleController#restricted as HTML
|
1039
|
+
[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"]]
|
1057
1040
|
Authenticating with gds_sso strategy
|
1058
|
-
Completed in
|
1059
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2016-
|
1060
|
-
Started GET "/auth/gds/callback?code=
|
1041
|
+
Completed in 2ms (ActiveRecord: 0.1ms)
|
1042
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2016-11-25 13:44:03 +0000
|
1043
|
+
Started GET "/auth/gds/callback?code=63614c1ec3e831218c836cd59d6e2831e1001797e39509a7acae36083adab320&state=8d27838d7bb70a65ce13441a30b11400f817e91f9886cb7b" for 127.0.0.1 at 2016-11-25 13:44:03 +0000
|
1061
1044
|
Processing by AuthenticationsController#callback as HTML
|
1062
|
-
Parameters: {"code"=>"
|
1045
|
+
Parameters: {"code"=>"63614c1ec3e831218c836cd59d6e2831e1001797e39509a7acae36083adab320", "state"=>"8d27838d7bb70a65ce13441a30b11400f817e91f9886cb7b"}
|
1063
1046
|
Authenticating with gds_sso strategy
|
1064
|
-
[1m[36mUser Load (0.
|
1047
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
1065
1048
|
[1m[35m (0.1ms)[0m begin transaction
|
1066
|
-
[1m[36m (0.
|
1067
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1068
|
-
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1069
|
-
Redirected to http://www.example-client.com/restricted
|
1070
|
-
Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
|
1071
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-09-22 10:05:08 +0000
|
1072
|
-
Processing by ExampleController#restricted as HTML
|
1073
|
-
[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"]]
|
1074
|
-
Rendered text template (0.0ms)
|
1075
|
-
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
1076
|
-
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["email", "test@example-client.com"]]
|
1049
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
1077
1050
|
[1m[35m (0.1ms)[0m begin transaction
|
1078
|
-
[1m[36mSQL (0.
|
1079
|
-
[1m[35m (
|
1080
|
-
|
1051
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id", 12]]
|
1052
|
+
[1m[35m (163.5ms)[0m commit transaction
|
1053
|
+
Redirected to http://www.example-client.com/restricted
|
1054
|
+
Completed 302 Found in 169ms (ActiveRecord: 164.0ms)
|
1055
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-11-25 13:44:03 +0000
|
1081
1056
|
Processing by ExampleController#restricted as HTML
|
1082
1057
|
[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"]]
|
1083
|
-
|
1084
|
-
Completed
|
1085
|
-
Started GET "/
|
1086
|
-
|
1087
|
-
|
1088
|
-
|
1089
|
-
|
1058
|
+
Rendered text template (0.0ms)
|
1059
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
1060
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-11-25 13:44:03 +0000
|
1061
|
+
Processing by ExampleController#restricted as JSON
|
1062
|
+
Completed in 18ms (ActiveRecord: 0.0ms)
|
1063
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-11-25 13:44:03 +0000
|
1064
|
+
Processing by ExampleController#restricted as JSON
|
1090
1065
|
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
1091
1066
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1092
|
-
[1m[
|
1093
|
-
[1m[36m (
|
1094
|
-
[1m[
|
1095
|
-
[1m[36m (
|
1096
|
-
|
1097
|
-
|
1098
|
-
|
1099
|
-
|
1100
|
-
[1m[
|
1067
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "disabled" = ? WHERE "users"."id" = ? [["disabled", nil], ["id", 12]]
|
1068
|
+
[1m[36m (190.5ms)[0m [1mcommit transaction[0m
|
1069
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
1070
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
1071
|
+
[1m[35m (0.1ms)[0m commit transaction
|
1072
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
1073
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1074
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
1075
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
1076
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1077
|
+
[1m[35m (0.1ms)[0m commit transaction
|
1078
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1079
|
+
[1m[35m (0.1ms)[0m commit transaction
|
1101
1080
|
Rendered text template (0.0ms)
|
1102
|
-
Completed 200 OK in
|
1103
|
-
|
1104
|
-
|
1081
|
+
Completed 200 OK in 261ms (Views: 0.3ms | ActiveRecord: 191.8ms)
|
1082
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-11-25 13:44:03 +0000
|
1083
|
+
Processing by ExampleController#restricted as JSON
|
1084
|
+
Completed in 16ms (ActiveRecord: 0.0ms)
|
1085
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2016-11-25 13:44:03 +0000
|
1086
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
1087
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
1088
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1089
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
1090
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
1091
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1092
|
+
[1m[35m (0.1ms)[0m commit transaction
|
1093
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
1094
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1095
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
1096
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
1097
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1098
|
+
[1m[35m (0.1ms)[0m commit transaction
|
1099
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1100
|
+
[1m[35m (0.1ms)[0m commit transaction
|
1101
|
+
Rendered text template (0.0ms)
|
1102
|
+
Completed 200 OK in 69ms (Views: 0.3ms | ActiveRecord: 1.0ms)
|
1103
|
+
[1m[35m (134.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
|
1104
|
+
[1m[35m (115.1ms)[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
|
1105
1105
|
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", :environment], ["LIMIT", 1]]
|
1106
1106
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1107
|
-
[1m[35mSQL (0.
|
1108
|
-
[1m[35m (
|
1109
|
-
[1m[35m (
|
1110
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.
|
1111
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1112
|
-
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1113
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1114
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d34324"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1115
|
-
[1m[35m (22.4ms)[0m [1m[36mcommit transaction[0m
|
1116
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1117
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d32175"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1118
|
-
[1m[35m (41.7ms)[0m [1m[36mcommit transaction[0m
|
1119
|
-
Processing by Api::UserController#update as HTML
|
1120
|
-
Parameters: {"uid"=>"a1s2d34324"}
|
1121
|
-
Rendering /home/jenkins/workspace/govuk_gds_sso/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
1122
|
-
Rendered /home/jenkins/workspace/govuk_gds_sso/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
|
1123
|
-
Completed 403 Forbidden in 8ms (Views: 7.5ms | ActiveRecord: 0.0ms)
|
1124
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1125
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d34566"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1126
|
-
[1m[35m (19.1ms)[0m [1m[36mcommit transaction[0m
|
1127
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1128
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d39587"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1129
|
-
[1m[35m (25.3ms)[0m [1m[36mcommit transaction[0m
|
1130
|
-
Processing by Api::UserController#update as HTML
|
1131
|
-
Parameters: {"uid"=>"a1s2d34566"}
|
1132
|
-
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d34566"], ["LIMIT", 1]]
|
1133
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1134
|
-
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "users" SET "email" = ?, "name" = ?, "permissions" = ?, "organisation_slug" = ?, "organisation_content_id" = ? WHERE "users"."id" = ?[0m [["email", "user@domain.com"], ["name", "Joshua Marshall"], ["permissions", "---\n- signin\n- new permission\n"], ["organisation_slug", "justice-league"], ["organisation_content_id", "aae1319e-5788-4677-998c-f1a53af528d0"], ["id", 3]]
|
1135
|
-
[1m[35m (12.3ms)[0m [1m[36mcommit transaction[0m
|
1136
|
-
Completed 200 OK in 18ms (ActiveRecord: 12.8ms)
|
1137
|
-
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 3], ["LIMIT", 1]]
|
1138
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1139
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d35760"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1140
|
-
[1m[35m (18.0ms)[0m [1m[36mcommit transaction[0m
|
1141
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1142
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d32926"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1143
|
-
[1m[35m (18.2ms)[0m [1m[36mcommit transaction[0m
|
1144
|
-
Processing by Api::UserController#reauth as HTML
|
1145
|
-
Parameters: {"uid"=>"a1s2d35760"}
|
1146
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d35760"], ["LIMIT", 1]]
|
1147
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1148
|
-
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", true], ["id", 5]]
|
1149
|
-
[1m[35m (20.0ms)[0m [1m[36mcommit transaction[0m
|
1150
|
-
Completed 200 OK in 23ms (ActiveRecord: 20.3ms)
|
1151
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 5], ["LIMIT", 1]]
|
1152
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1153
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d32174"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1154
|
-
[1m[35m (7.3ms)[0m [1m[36mcommit transaction[0m
|
1155
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1156
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d32940"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1157
|
-
[1m[35m (19.0ms)[0m [1m[36mcommit transaction[0m
|
1158
|
-
Processing by Api::UserController#reauth as HTML
|
1159
|
-
Parameters: {"uid"=>"a1s2d32174"}
|
1160
|
-
Rendering /home/jenkins/workspace/govuk_gds_sso/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
1161
|
-
Rendered /home/jenkins/workspace/govuk_gds_sso/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.0ms)
|
1162
|
-
Completed 403 Forbidden in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
|
1163
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1164
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d37777"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1165
|
-
[1m[35m (22.2ms)[0m [1m[36mcommit transaction[0m
|
1166
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1167
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d374"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1168
|
-
[1m[35m (23.4ms)[0m [1m[36mcommit transaction[0m
|
1169
|
-
Processing by Api::UserController#reauth as HTML
|
1170
|
-
Parameters: {"uid"=>"nonexistent-user"}
|
1171
|
-
[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]]
|
1172
|
-
Completed 200 OK in 1ms (ActiveRecord: 0.1ms)
|
1173
|
-
[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]]
|
1174
|
-
[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]]
|
1175
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1176
|
-
[1m[35mSQL (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]]
|
1177
|
-
[1m[35m (26.1ms)[0m [1m[36mcommit transaction[0m
|
1178
|
-
[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]]
|
1107
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", 2016-11-25 13:44:07 UTC], ["updated_at", 2016-11-25 13:44:07 UTC]]
|
1108
|
+
[1m[35m (157.5ms)[0m [1m[36mcommit transaction[0m
|
1109
|
+
[1m[35m (70.9ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
1110
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", :environment], ["LIMIT", 1]]
|
1179
1111
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1180
1112
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1181
|
-
Started GET "/
|
1182
|
-
Processing by ExampleController#
|
1183
|
-
[1m[36mUser Load (0.
|
1113
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-11-25 13:44:08 +0000
|
1114
|
+
Processing by ExampleController#restricted as JSON
|
1115
|
+
[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]]
|
1184
1116
|
[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]]
|
1185
1117
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1186
|
-
[1m[35mSQL (0.
|
1187
|
-
[1m[35m (
|
1188
|
-
[1m[36mUser Load (0.
|
1189
|
-
[1m[35m (0.
|
1190
|
-
[1m[35m (0.
|
1118
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions", "disabled") VALUES (?, ?, ?, ?, ?)[0m [["name", "Test User"], ["uid", "integration-uid"], ["email", "test@example-client.com"], ["permissions", "---\n- signin\n"], ["disabled", nil]]
|
1119
|
+
[1m[35m (154.1ms)[0m [1m[36mcommit transaction[0m
|
1120
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1121
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1122
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1191
1123
|
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1192
1124
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1193
1125
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1194
1126
|
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1195
1127
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1196
|
-
[1m[35m (0.
|
1197
|
-
[1m[35m (0.
|
1198
|
-
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", false], ["id",
|
1199
|
-
[1m[35m (
|
1128
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1129
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1130
|
+
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", false], ["id", 1]]
|
1131
|
+
[1m[35m (131.7ms)[0m [1m[36mcommit transaction[0m
|
1200
1132
|
Rendering text template
|
1201
1133
|
Rendered text template (0.0ms)
|
1202
|
-
Completed 200 OK in
|
1203
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
1204
|
-
Processing by ExampleController#restricted as JSON
|
1205
|
-
Completed in 14ms (ActiveRecord: 0.0ms)
|
1206
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-09-22 10:05:12 +0000
|
1207
|
-
Processing by ExampleController#restricted as JSON
|
1208
|
-
Completed in 14ms (ActiveRecord: 0.0ms)
|
1209
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-09-22 10:05:12 +0000
|
1134
|
+
Completed 200 OK in 390ms (Views: 3.6ms | ActiveRecord: 288.2ms)
|
1135
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-11-25 13:44:08 +0000
|
1210
1136
|
Processing by ExampleController#restricted as JSON
|
1211
|
-
|
1212
|
-
|
1213
|
-
|
1137
|
+
Completed in 25ms (ActiveRecord: 0.0ms)
|
1138
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2016-11-25 13:44:08 +0000
|
1139
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
1140
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1141
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1142
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1214
1143
|
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1215
1144
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1216
1145
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1217
1146
|
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1218
1147
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1219
|
-
[1m[35m (0.
|
1148
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1220
1149
|
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1221
1150
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1222
|
-
[1m[35m (0.
|
1151
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1223
1152
|
Rendering text template
|
1224
1153
|
Rendered text template (0.0ms)
|
1225
|
-
Completed 200 OK in
|
1226
|
-
Started GET "/" for 127.0.0.1 at 2016-
|
1227
|
-
Processing by ExampleController#
|
1154
|
+
Completed 200 OK in 91ms (Views: 0.4ms | ActiveRecord: 1.0ms)
|
1155
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-11-25 13:44:08 +0000
|
1156
|
+
Processing by ExampleController#restricted as JSON
|
1157
|
+
Completed in 18ms (ActiveRecord: 0.0ms)
|
1158
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-11-25 13:44:08 +0000
|
1159
|
+
Processing by ExampleController#restricted as HTML
|
1160
|
+
Authenticating with gds_sso strategy
|
1161
|
+
Completed in 1ms (ActiveRecord: 0.0ms)
|
1162
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2016-11-25 13:44:08 +0000
|
1163
|
+
Started GET "/auth/gds/callback?code=c0a84b9848298a9f262a09a67e03b82a3ddb2e11d32349af67a134f2a8c1df54&state=785ca430b12fe07e5ebbd5d2576cf8d9adaaec586d9b8741" for 127.0.0.1 at 2016-11-25 13:44:08 +0000
|
1164
|
+
Processing by AuthenticationsController#callback as HTML
|
1165
|
+
Parameters: {"code"=>"c0a84b9848298a9f262a09a67e03b82a3ddb2e11d32349af67a134f2a8c1df54", "state"=>"785ca430b12fe07e5ebbd5d2576cf8d9adaaec586d9b8741"}
|
1166
|
+
Authenticating with gds_sso strategy
|
1167
|
+
[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]]
|
1168
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1169
|
+
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "users" SET "disabled" = ? WHERE "users"."id" = ?[0m [["disabled", false], ["id", 1]]
|
1170
|
+
[1m[35m (104.4ms)[0m [1m[36mcommit transaction[0m
|
1171
|
+
Redirected to http://www.example-client.com/restricted
|
1172
|
+
Completed 302 Found in 109ms (ActiveRecord: 104.9ms)
|
1173
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-11-25 13:44:09 +0000
|
1174
|
+
Processing by ExampleController#restricted as HTML
|
1175
|
+
[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", false], ["LIMIT", 1]]
|
1228
1176
|
Rendering text template
|
1229
1177
|
Rendered text template (0.0ms)
|
1230
|
-
Completed 200 OK in
|
1231
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2016-
|
1178
|
+
Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
1179
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2016-11-25 13:44:09 +0000
|
1232
1180
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
1233
1181
|
Authenticating with gds_sso strategy
|
1234
1182
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1235
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2016-
|
1236
|
-
Started GET "/auth/gds/callback?code=
|
1183
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2016-11-25 13:44:09 +0000
|
1184
|
+
Started GET "/auth/gds/callback?code=bf76d7f035ac8073a3a23d377ad10f341fd99cb317858d7c202b232a4fbf8ee8&state=4c6e9f8c2ab2cf114c8af1aa29e839c88763904579134b18" for 127.0.0.1 at 2016-11-25 13:44:09 +0000
|
1237
1185
|
Processing by AuthenticationsController#callback as HTML
|
1238
|
-
Parameters: {"code"=>"
|
1186
|
+
Parameters: {"code"=>"bf76d7f035ac8073a3a23d377ad10f341fd99cb317858d7c202b232a4fbf8ee8", "state"=>"4c6e9f8c2ab2cf114c8af1aa29e839c88763904579134b18"}
|
1239
1187
|
Authenticating with gds_sso strategy
|
1240
1188
|
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1241
1189
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1242
|
-
[1m[
|
1243
|
-
[1m[35m (32.8ms)[0m [1m[36mcommit transaction[0m
|
1190
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1244
1191
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
1245
|
-
Completed 302 Found in
|
1246
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2016-
|
1192
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
1193
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2016-11-25 13:44:09 +0000
|
1247
1194
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
1248
1195
|
[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", false], ["LIMIT", 1]]
|
1249
1196
|
Rendering text template
|
1250
1197
|
Rendered text template (0.0ms)
|
1251
1198
|
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
1252
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2016-
|
1199
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2016-11-25 13:44:09 +0000
|
1253
1200
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
1254
1201
|
Authenticating with gds_sso strategy
|
1255
1202
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1256
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2016-
|
1257
|
-
Started GET "/auth/gds/callback?code=
|
1203
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2016-11-25 13:44:09 +0000
|
1204
|
+
Started GET "/auth/gds/callback?code=3a117361caf80c06abc97a5c61eeef6d1b530ab6838b74848703417769f377df&state=37ba9999028828876033494d9ef60de447771819b102f542" for 127.0.0.1 at 2016-11-25 13:44:09 +0000
|
1258
1205
|
Processing by AuthenticationsController#callback as HTML
|
1259
|
-
Parameters: {"code"=>"
|
1206
|
+
Parameters: {"code"=>"3a117361caf80c06abc97a5c61eeef6d1b530ab6838b74848703417769f377df", "state"=>"37ba9999028828876033494d9ef60de447771819b102f542"}
|
1260
1207
|
Authenticating with gds_sso strategy
|
1261
|
-
[1m[36mUser Load (0.
|
1262
|
-
[1m[35m (0.
|
1208
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1209
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1263
1210
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1264
1211
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
1265
|
-
Completed 302 Found in
|
1266
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2016-
|
1212
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
1213
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2016-11-25 13:44:09 +0000
|
1267
1214
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
1268
1215
|
[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", false], ["LIMIT", 1]]
|
1269
1216
|
Rendering text template
|
1270
1217
|
Rendered text template (0.0ms)
|
1271
1218
|
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
1272
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
1219
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-11-25 13:44:09 +0000
|
1273
1220
|
Processing by ExampleController#restricted as HTML
|
1274
1221
|
Authenticating with gds_sso strategy
|
1275
1222
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1276
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2016-
|
1277
|
-
Started GET "/auth/gds/callback?code=
|
1223
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2016-11-25 13:44:09 +0000
|
1224
|
+
Started GET "/auth/gds/callback?code=b7eae245485328e121e9325ae16ed83aa90f00cecccb5a12e8e16d96602811f0&state=6e18b7da44b64322b9feebfd747f8ab38f8b988ce94a6d66" for 127.0.0.1 at 2016-11-25 13:44:09 +0000
|
1278
1225
|
Processing by AuthenticationsController#callback as HTML
|
1279
|
-
Parameters: {"code"=>"
|
1226
|
+
Parameters: {"code"=>"b7eae245485328e121e9325ae16ed83aa90f00cecccb5a12e8e16d96602811f0", "state"=>"6e18b7da44b64322b9feebfd747f8ab38f8b988ce94a6d66"}
|
1280
1227
|
Authenticating with gds_sso strategy
|
1281
|
-
[1m[36mUser Load (0.
|
1228
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1282
1229
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1283
1230
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1284
1231
|
Redirected to http://www.example-client.com/restricted
|
1285
1232
|
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
1286
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
1233
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-11-25 13:44:09 +0000
|
1287
1234
|
Processing by ExampleController#restricted as HTML
|
1288
1235
|
[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", false], ["LIMIT", 1]]
|
1289
1236
|
Rendering text template
|
1290
1237
|
Rendered text template (0.0ms)
|
1291
1238
|
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
1292
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
1239
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-11-25 13:44:09 +0000
|
1293
1240
|
Processing by ExampleController#restricted as HTML
|
1294
1241
|
Authenticating with gds_sso strategy
|
1295
1242
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1296
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2016-
|
1297
|
-
Started GET "/auth/gds/callback?code=
|
1243
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2016-11-25 13:44:09 +0000
|
1244
|
+
Started GET "/auth/gds/callback?code=2b981d35b8370b19479ffec3ca76bfbce2e8e96b5625373767de621054930664&state=c20b030e32057395dc69e18b12c5590d943a9c21c905e5fe" for 127.0.0.1 at 2016-11-25 13:44:10 +0000
|
1298
1245
|
Processing by AuthenticationsController#callback as HTML
|
1299
|
-
Parameters: {"code"=>"
|
1246
|
+
Parameters: {"code"=>"2b981d35b8370b19479ffec3ca76bfbce2e8e96b5625373767de621054930664", "state"=>"c20b030e32057395dc69e18b12c5590d943a9c21c905e5fe"}
|
1300
1247
|
Authenticating with gds_sso strategy
|
1301
|
-
[1m[36mUser Load (0.
|
1248
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1302
1249
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1303
|
-
[1m[35m (0.
|
1250
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1304
1251
|
Redirected to http://www.example-client.com/restricted
|
1305
|
-
Completed 302 Found in
|
1306
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
1252
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
1253
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-11-25 13:44:10 +0000
|
1307
1254
|
Processing by ExampleController#restricted as HTML
|
1308
|
-
[1m[36mUser Load (0.
|
1255
|
+
[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", false], ["LIMIT", 1]]
|
1256
|
+
Rendering text template
|
1257
|
+
Rendered text template (0.0ms)
|
1258
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
1259
|
+
Started GET "/" for 127.0.0.1 at 2016-11-25 13:44:10 +0000
|
1260
|
+
Processing by ExampleController#index as HTML
|
1309
1261
|
Rendering text template
|
1310
1262
|
Rendered text template (0.0ms)
|
1311
|
-
Completed 200 OK in
|
1312
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
1263
|
+
Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
1264
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-11-25 13:44:10 +0000
|
1313
1265
|
Processing by ExampleController#restricted as HTML
|
1314
1266
|
Authenticating with gds_sso strategy
|
1315
1267
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1316
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2016-
|
1317
|
-
Started GET "/auth/gds/callback?code=
|
1268
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2016-11-25 13:44:10 +0000
|
1269
|
+
Started GET "/auth/gds/callback?code=a64ee593600313a329104a3a301b885c4de72ca20bbe395c228a31d5637084ac&state=75e9cc0fb0abcde491c545a4ba1f08a2bf1d3c680c80d08d" for 127.0.0.1 at 2016-11-25 13:44:10 +0000
|
1318
1270
|
Processing by AuthenticationsController#callback as HTML
|
1319
|
-
Parameters: {"code"=>"
|
1271
|
+
Parameters: {"code"=>"a64ee593600313a329104a3a301b885c4de72ca20bbe395c228a31d5637084ac", "state"=>"75e9cc0fb0abcde491c545a4ba1f08a2bf1d3c680c80d08d"}
|
1320
1272
|
Authenticating with gds_sso strategy
|
1321
1273
|
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1322
1274
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1323
|
-
[1m[35m (0.
|
1275
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1324
1276
|
Redirected to http://www.example-client.com/restricted
|
1325
|
-
Completed 302 Found in
|
1326
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
1277
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
1278
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-11-25 13:44:10 +0000
|
1327
1279
|
Processing by ExampleController#restricted as HTML
|
1328
|
-
[1m[36mUser Load (0.
|
1280
|
+
[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", false], ["LIMIT", 1]]
|
1329
1281
|
Rendering text template
|
1330
1282
|
Rendered text template (0.0ms)
|
1331
|
-
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.
|
1332
|
-
|
1283
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
1284
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["email", "test@example-client.com"], ["LIMIT", 1]]
|
1285
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1286
|
+
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", true], ["id", 1]]
|
1287
|
+
[1m[35m (165.7ms)[0m [1m[36mcommit transaction[0m
|
1288
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-11-25 13:44:10 +0000
|
1333
1289
|
Processing by ExampleController#restricted as HTML
|
1290
|
+
[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", false], ["LIMIT", 1]]
|
1334
1291
|
Authenticating with gds_sso strategy
|
1335
|
-
Completed in
|
1336
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2016-
|
1337
|
-
Started GET "/auth/gds/callback?code=
|
1292
|
+
Completed in 2ms (ActiveRecord: 0.2ms)
|
1293
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2016-11-25 13:44:10 +0000
|
1294
|
+
Started GET "/auth/gds/callback?code=199a427dacb6ebb4bf71a3f78b261a7f56023326646be791b959f8facbd9674f&state=9c1046561c80184c37b0816b5b556aaae34b9472253dc571" for 127.0.0.1 at 2016-11-25 13:44:10 +0000
|
1338
1295
|
Processing by AuthenticationsController#callback as HTML
|
1339
|
-
Parameters: {"code"=>"
|
1296
|
+
Parameters: {"code"=>"199a427dacb6ebb4bf71a3f78b261a7f56023326646be791b959f8facbd9674f", "state"=>"9c1046561c80184c37b0816b5b556aaae34b9472253dc571"}
|
1340
1297
|
Authenticating with gds_sso strategy
|
1341
1298
|
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1342
1299
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1343
1300
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1301
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1302
|
+
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", false], ["id", 1]]
|
1303
|
+
[1m[35m (127.2ms)[0m [1m[36mcommit transaction[0m
|
1344
1304
|
Redirected to http://www.example-client.com/restricted
|
1345
|
-
Completed 302 Found in
|
1346
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
1305
|
+
Completed 302 Found in 133ms (ActiveRecord: 127.9ms)
|
1306
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-11-25 13:44:10 +0000
|
1347
1307
|
Processing by ExampleController#restricted as HTML
|
1348
|
-
[1m[36mUser Load (0.
|
1349
|
-
Rendering text template
|
1350
|
-
Rendered text template (0.0ms)
|
1351
|
-
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
1352
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-09-23 06:00:13 +0000
|
1353
|
-
Processing by ExampleController#restricted as HTML
|
1354
|
-
[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", false], ["LIMIT", 1]]
|
1308
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", false], ["LIMIT", 1]]
|
1355
1309
|
Rendering text template
|
1356
1310
|
Rendered text template (0.0ms)
|
1357
|
-
Completed 200 OK in 2ms (Views: 0.
|
1358
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
1311
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.3ms)
|
1312
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-11-25 13:44:10 +0000
|
1359
1313
|
Processing by ExampleController#restricted as HTML
|
1360
1314
|
Authenticating with gds_sso strategy
|
1361
1315
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1362
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2016-
|
1363
|
-
Started GET "/auth/gds/callback?code=
|
1316
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2016-11-25 13:44:10 +0000
|
1317
|
+
Started GET "/auth/gds/callback?code=ba207418b730acd401f90e2ab7767fea110b029de02e40b28b4f5cfb6229a568&state=a58aef958e400d846df3c30d2ac822763d9b1af234c5ae37" for 127.0.0.1 at 2016-11-25 13:44:11 +0000
|
1364
1318
|
Processing by AuthenticationsController#callback as HTML
|
1365
|
-
Parameters: {"code"=>"
|
1319
|
+
Parameters: {"code"=>"ba207418b730acd401f90e2ab7767fea110b029de02e40b28b4f5cfb6229a568", "state"=>"a58aef958e400d846df3c30d2ac822763d9b1af234c5ae37"}
|
1366
1320
|
Authenticating with gds_sso strategy
|
1367
|
-
[1m[36mUser Load (0.
|
1321
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1368
1322
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1369
|
-
[1m[35m (0.
|
1323
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1370
1324
|
Redirected to http://www.example-client.com/restricted
|
1371
|
-
Completed 302 Found in
|
1372
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
1325
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
1326
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-11-25 13:44:11 +0000
|
1373
1327
|
Processing by ExampleController#restricted as HTML
|
1374
1328
|
[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", false], ["LIMIT", 1]]
|
1375
1329
|
Rendering text template
|
1376
1330
|
Rendered text template (0.0ms)
|
1377
|
-
Completed 200 OK in
|
1378
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
1331
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
1332
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-11-26 09:49:11 +0000
|
1379
1333
|
Processing by ExampleController#restricted as HTML
|
1380
1334
|
Authenticating with gds_sso strategy
|
1381
1335
|
Completed in 1ms (ActiveRecord: 0.0ms)
|
1382
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2016-
|
1383
|
-
Started GET "/
|
1384
|
-
Processing by ExampleController#restricted as HTML
|
1385
|
-
Authenticating with gds_sso strategy
|
1386
|
-
Completed in 0ms (ActiveRecord: 0.0ms)
|
1387
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2016-09-22 10:05:14 +0000
|
1388
|
-
Started GET "/auth/gds/callback?code=a9c626ac742d02e21c3cd5c7e61c8b38c871b61598050213aed8c1807272bf09&state=3be98684f80c4dfe2532cde67df50755bf8abe4696c2cea9" for 127.0.0.1 at 2016-09-22 10:05:14 +0000
|
1336
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2016-11-26 09:49:11 +0000
|
1337
|
+
Started GET "/auth/gds/callback?code=ba733aaa5e6f5cfd68f43b6d4dcac0b56dc9a824902757b03989f0333dd4929c&state=ab9b252c55e0213badba6ab4d9edd9ea658515cd496c6793" for 127.0.0.1 at 2016-11-26 09:49:11 +0000
|
1389
1338
|
Processing by AuthenticationsController#callback as HTML
|
1390
|
-
Parameters: {"code"=>"
|
1339
|
+
Parameters: {"code"=>"ba733aaa5e6f5cfd68f43b6d4dcac0b56dc9a824902757b03989f0333dd4929c", "state"=>"ab9b252c55e0213badba6ab4d9edd9ea658515cd496c6793"}
|
1391
1340
|
Authenticating with gds_sso strategy
|
1392
1341
|
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1393
1342
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1394
1343
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1395
1344
|
Redirected to http://www.example-client.com/restricted
|
1396
|
-
Completed 302 Found in
|
1397
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
1345
|
+
Completed 302 Found in 12ms (ActiveRecord: 0.4ms)
|
1346
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-11-26 09:49:11 +0000
|
1398
1347
|
Processing by ExampleController#restricted as HTML
|
1399
1348
|
[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", false], ["LIMIT", 1]]
|
1400
1349
|
Rendering text template
|
1401
1350
|
Rendered text template (0.0ms)
|
1402
|
-
Completed 200 OK in
|
1403
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
1351
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
1352
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-11-25 13:44:11 +0000
|
1404
1353
|
Processing by ExampleController#restricted as HTML
|
1405
1354
|
Authenticating with gds_sso strategy
|
1406
1355
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1407
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2016-
|
1408
|
-
Started GET "/auth/gds/callback?code=
|
1356
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2016-11-25 13:44:11 +0000
|
1357
|
+
Started GET "/auth/gds/callback?code=cadac2fc142b359cec8bce949fe53f95466e5f47dc876f961f2588ae806888a0&state=43710693a55e9165b8307f7c12d7a9fdd4cc03b5a63281ed" for 127.0.0.1 at 2016-11-25 13:44:11 +0000
|
1409
1358
|
Processing by AuthenticationsController#callback as HTML
|
1410
|
-
Parameters: {"code"=>"
|
1359
|
+
Parameters: {"code"=>"cadac2fc142b359cec8bce949fe53f95466e5f47dc876f961f2588ae806888a0", "state"=>"43710693a55e9165b8307f7c12d7a9fdd4cc03b5a63281ed"}
|
1411
1360
|
Authenticating with gds_sso strategy
|
1412
|
-
[1m[36mUser Load (0.
|
1361
|
+
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1413
1362
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1414
1363
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1415
1364
|
Redirected to http://www.example-client.com/restricted
|
1416
|
-
Completed 302 Found in
|
1417
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
1365
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.5ms)
|
1366
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-11-25 13:44:11 +0000
|
1418
1367
|
Processing by ExampleController#restricted as HTML
|
1419
|
-
[1m[36mUser Load (0.
|
1368
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", false], ["LIMIT", 1]]
|
1420
1369
|
Rendering text template
|
1421
1370
|
Rendered text template (0.0ms)
|
1422
|
-
Completed 200 OK in 2ms (Views: 0.
|
1423
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
1371
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.3ms)
|
1372
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-11-26 09:49:11 +0000
|
1373
|
+
Processing by ExampleController#restricted as HTML
|
1374
|
+
Authenticating with gds_sso strategy
|
1375
|
+
Completed in 1ms (ActiveRecord: 0.0ms)
|
1376
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2016-11-26 09:49:11 +0000
|
1377
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-11-25 13:44:11 +0000
|
1424
1378
|
Processing by ExampleController#restricted as HTML
|
1425
1379
|
Authenticating with gds_sso strategy
|
1426
1380
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1427
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2016-
|
1428
|
-
Started GET "/auth/gds/callback?code=
|
1381
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2016-11-25 13:44:11 +0000
|
1382
|
+
Started GET "/auth/gds/callback?code=e97c1923e96ebde4a13a7f6c5bac17afdacae87a877be9cf19b2dacb2bbf008b&state=bbf26cdc855f5873a40f06c8f4806ce2de391f64600ef839" for 127.0.0.1 at 2016-11-25 13:44:11 +0000
|
1429
1383
|
Processing by AuthenticationsController#callback as HTML
|
1430
|
-
Parameters: {"code"=>"
|
1384
|
+
Parameters: {"code"=>"e97c1923e96ebde4a13a7f6c5bac17afdacae87a877be9cf19b2dacb2bbf008b", "state"=>"bbf26cdc855f5873a40f06c8f4806ce2de391f64600ef839"}
|
1431
1385
|
Authenticating with gds_sso strategy
|
1432
1386
|
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1433
1387
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1434
1388
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1435
1389
|
Redirected to http://www.example-client.com/restricted
|
1436
|
-
Completed 302 Found in
|
1437
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
1390
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
1391
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-11-25 13:44:11 +0000
|
1438
1392
|
Processing by ExampleController#restricted as HTML
|
1439
1393
|
[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", false], ["LIMIT", 1]]
|
1440
1394
|
Rendering text template
|
1441
1395
|
Rendered text template (0.0ms)
|
1442
|
-
Completed 200 OK in 2ms (Views: 0.
|
1443
|
-
|
1444
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1445
|
-
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", true], ["id", 12]]
|
1446
|
-
[1m[35m (34.0ms)[0m [1m[36mcommit transaction[0m
|
1447
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-09-22 10:05:14 +0000
|
1448
|
-
Processing by ExampleController#restricted as HTML
|
1449
|
-
[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", false], ["LIMIT", 1]]
|
1450
|
-
Authenticating with gds_sso strategy
|
1451
|
-
Completed in 2ms (ActiveRecord: 0.2ms)
|
1452
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2016-09-22 10:05:14 +0000
|
1453
|
-
Started GET "/auth/gds/callback?code=c08a54ca8860f7ab30f460e8e09fabb3b0acb0f140b0cc0f989bbf434411d52e&state=9c9ddc73d062a327ae1367a206cbdbd5c27069e5e9bc38fb" for 127.0.0.1 at 2016-09-22 10:05:14 +0000
|
1454
|
-
Processing by AuthenticationsController#callback as HTML
|
1455
|
-
Parameters: {"code"=>"c08a54ca8860f7ab30f460e8e09fabb3b0acb0f140b0cc0f989bbf434411d52e", "state"=>"9c9ddc73d062a327ae1367a206cbdbd5c27069e5e9bc38fb"}
|
1456
|
-
Authenticating with gds_sso strategy
|
1457
|
-
[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]]
|
1458
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1459
|
-
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1460
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1461
|
-
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", false], ["id", 12]]
|
1462
|
-
[1m[35m (31.8ms)[0m [1m[36mcommit transaction[0m
|
1463
|
-
Redirected to http://www.example-client.com/restricted
|
1464
|
-
Completed 302 Found in 37ms (ActiveRecord: 32.3ms)
|
1465
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-09-22 10:05:14 +0000
|
1396
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
1397
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-11-26 09:39:11 +0000
|
1466
1398
|
Processing by ExampleController#restricted as HTML
|
1467
1399
|
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", false], ["LIMIT", 1]]
|
1468
1400
|
Rendering text template
|
1469
1401
|
Rendered text template (0.0ms)
|
1470
1402
|
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
1403
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1404
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d39"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1405
|
+
[1m[35m (107.7ms)[0m [1m[36mcommit transaction[0m
|
1406
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1407
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d38982"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1408
|
+
[1m[35m (136.9ms)[0m [1m[36mcommit transaction[0m
|
1409
|
+
Processing by Api::UserController#update as HTML
|
1410
|
+
Parameters: {"uid"=>"a1s2d39"}
|
1411
|
+
Rendering /home/jenkins/workspace/govuk_gds_sso/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
1412
|
+
Rendered /home/jenkins/workspace/govuk_gds_sso/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.3ms)
|
1413
|
+
Completed 403 Forbidden in 8ms (Views: 6.9ms | ActiveRecord: 0.0ms)
|
1414
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1415
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d36889"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1416
|
+
[1m[35m (87.2ms)[0m [1m[36mcommit transaction[0m
|
1417
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1418
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d31361"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1419
|
+
[1m[35m (83.9ms)[0m [1m[36mcommit transaction[0m
|
1420
|
+
Processing by Api::UserController#update as HTML
|
1421
|
+
Parameters: {"uid"=>"a1s2d36889"}
|
1422
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d36889"], ["LIMIT", 1]]
|
1423
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1424
|
+
[1m[35mSQL (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", 4]]
|
1425
|
+
[1m[35m (70.7ms)[0m [1m[36mcommit transaction[0m
|
1426
|
+
Completed 200 OK in 76ms (ActiveRecord: 71.2ms)
|
1427
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 4], ["LIMIT", 1]]
|
1428
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1429
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d34414"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1430
|
+
[1m[35m (100.0ms)[0m [1m[36mcommit transaction[0m
|
1431
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1432
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d33706"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1433
|
+
[1m[35m (81.0ms)[0m [1m[36mcommit transaction[0m
|
1434
|
+
Processing by Api::UserController#reauth as HTML
|
1435
|
+
Parameters: {"uid"=>"a1s2d34414"}
|
1436
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d34414"], ["LIMIT", 1]]
|
1437
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1438
|
+
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", true], ["id", 6]]
|
1439
|
+
[1m[35m (165.0ms)[0m [1m[36mcommit transaction[0m
|
1440
|
+
Completed 200 OK in 169ms (ActiveRecord: 165.5ms)
|
1441
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 6], ["LIMIT", 1]]
|
1442
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1443
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d37344"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1444
|
+
[1m[35m (92.8ms)[0m [1m[36mcommit transaction[0m
|
1445
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1446
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d36432"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1447
|
+
[1m[35m (129.2ms)[0m [1m[36mcommit transaction[0m
|
1448
|
+
Processing by Api::UserController#reauth as HTML
|
1449
|
+
Parameters: {"uid"=>"nonexistent-user"}
|
1450
|
+
[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]]
|
1451
|
+
Completed 200 OK in 2ms (ActiveRecord: 0.1ms)
|
1452
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1453
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d33449"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1454
|
+
[1m[35m (144.5ms)[0m [1m[36mcommit transaction[0m
|
1455
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1456
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d32843"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1457
|
+
[1m[35m (164.9ms)[0m [1m[36mcommit transaction[0m
|
1458
|
+
Processing by Api::UserController#reauth as HTML
|
1459
|
+
Parameters: {"uid"=>"a1s2d33449"}
|
1460
|
+
Rendering /home/jenkins/workspace/govuk_gds_sso/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
1461
|
+
Rendered /home/jenkins/workspace/govuk_gds_sso/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.1ms)
|
1462
|
+
Completed 403 Forbidden in 2ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
1463
|
+
[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]]
|
1464
|
+
[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]]
|
1465
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1466
|
+
[1m[35mSQL (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]]
|
1467
|
+
[1m[35m (273.2ms)[0m [1m[36mcommit transaction[0m
|
1468
|
+
[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]]
|
1469
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1470
|
+
[1m[35m (0.3ms)[0m [1m[36mcommit transaction[0m
|