gds-sso 13.5.1 → 13.6.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 +14 -0
- data/lib/gds-sso/bearer_token.rb +6 -2
- data/lib/gds-sso/config.rb +6 -0
- data/lib/gds-sso/lint/user_spec.rb +21 -0
- data/lib/gds-sso/user.rb +8 -0
- data/lib/gds-sso/version.rb +1 -1
- data/spec/internal/db/combustion_test.sqlite +0 -0
- data/spec/internal/log/test.log +1554 -1512
- data/spec/unit/config_spec.rb +28 -0
- data/spec/unit/mock_bearer_token_spec.rb +22 -0
- metadata +23 -19
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 65a4fcbf1648eb48c5d242e5e215a962f480038d
|
4
|
+
data.tar.gz: f1ca91a7017fd9f8e6f42eadeec97de37aa55ff3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1446bb1a2f1abc78e47930ed8aa252ebb3f498651afe2a45bd1fa09bfaca0acbae876a8a9b067af9ccfc2942c474a2687db91d9f16e9e3644cd3cd90c7201bb9
|
7
|
+
data.tar.gz: 95d9db08ac05f26e3f9235b7c56af5c17a5287b261063fc44cffd021d37abb477e83e845719b6d9a6c6eff0d9c36b5ace1d0861ef451a152839afa11250c9574
|
data/README.md
CHANGED
@@ -163,6 +163,20 @@ Once that's done, set an environment variable when you run your app. e.g.:
|
|
163
163
|
GDS_SSO_STRATEGY=real bundle exec rails s
|
164
164
|
```
|
165
165
|
|
166
|
+
### Extra permissions for api users
|
167
|
+
|
168
|
+
By default the mock strategies will create a user with `signin` permission.
|
169
|
+
|
170
|
+
If your application needs different or extra permissions for access, you can specify this by adding the following to your config:
|
171
|
+
|
172
|
+
```ruby
|
173
|
+
GDS::SSO.config do |config|
|
174
|
+
# other config here
|
175
|
+
config.additional_mock_permissions_required = ["array", "of", "permissions"]
|
176
|
+
```
|
177
|
+
|
178
|
+
The mock bearer token will then ensure that the dummy api user has the required permission.
|
179
|
+
|
166
180
|
### Testing in your application
|
167
181
|
|
168
182
|
If your app is using `test-unit` or `minitest`, there is a linting test that can verify your `User` model is compatible with `GDS:SSO::User`:
|
data/lib/gds-sso/bearer_token.rb
CHANGED
@@ -56,9 +56,13 @@ module GDS
|
|
56
56
|
dummy_api_user.email = "dummyapiuser@domain.com"
|
57
57
|
dummy_api_user.uid = "#{rand(10000)}"
|
58
58
|
dummy_api_user.name = "Dummy API user created by gds-sso"
|
59
|
-
dummy_api_user.permissions = ["signin"]
|
60
|
-
dummy_api_user.save!
|
61
59
|
end
|
60
|
+
|
61
|
+
unless dummy_api_user.has_all_permissions?(GDS::SSO::Config.permissions_for_dummy_api_user)
|
62
|
+
dummy_api_user.permissions = GDS::SSO::Config.permissions_for_dummy_api_user
|
63
|
+
end
|
64
|
+
|
65
|
+
dummy_api_user.save!
|
62
66
|
dummy_api_user
|
63
67
|
end
|
64
68
|
end
|
data/lib/gds-sso/config.rb
CHANGED
@@ -25,6 +25,12 @@ module GDS
|
|
25
25
|
|
26
26
|
mattr_writer :api_only
|
27
27
|
|
28
|
+
mattr_accessor :additional_mock_permissions_required
|
29
|
+
|
30
|
+
def self.permissions_for_dummy_api_user
|
31
|
+
["signin"].push(*additional_mock_permissions_required)
|
32
|
+
end
|
33
|
+
|
28
34
|
def self.user_klass
|
29
35
|
user_model.to_s.constantize
|
30
36
|
end
|
@@ -28,6 +28,27 @@ RSpec.shared_examples "a gds-sso user class" do
|
|
28
28
|
expect(subject).to respond_to(:remotely_signed_out?)
|
29
29
|
end
|
30
30
|
|
31
|
+
describe "#has_all_permissions?" do
|
32
|
+
it "is false when there are no permissions" do
|
33
|
+
subject.update_attributes(permissions: nil)
|
34
|
+
required_permissions = ["signin"]
|
35
|
+
expect(subject.has_all_permissions?(required_permissions)).to be_falsy
|
36
|
+
end
|
37
|
+
|
38
|
+
it "is false when it does not have all required permissions" do
|
39
|
+
subject.update_attributes(permissions: ["signin"])
|
40
|
+
required_permissions = ["signin", "not_granted_permission_one", "not_granted_permission_two"]
|
41
|
+
expect(subject.has_all_permissions?(required_permissions)).to be false
|
42
|
+
end
|
43
|
+
|
44
|
+
it "is true when it has all required permissions" do
|
45
|
+
subject.update_attributes(permissions: ["signin", "internal_app"])
|
46
|
+
required_permissions = ["signin", "internal_app"]
|
47
|
+
expect(subject.has_all_permissions?(required_permissions)).to be true
|
48
|
+
end
|
49
|
+
|
50
|
+
end
|
51
|
+
|
31
52
|
specify "the User class and GDS::SSO::User mixin work together" do
|
32
53
|
auth_hash = {
|
33
54
|
'uid' => '12345',
|
data/lib/gds-sso/user.rb
CHANGED
@@ -11,6 +11,14 @@ module GDS
|
|
11
11
|
end
|
12
12
|
end
|
13
13
|
|
14
|
+
def has_all_permissions?(required_permissions)
|
15
|
+
if permissions
|
16
|
+
required_permissions.all? do |required_permission|
|
17
|
+
permissions.include?(required_permission)
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
21
|
+
|
14
22
|
def self.user_params_from_auth_hash(auth_hash)
|
15
23
|
{
|
16
24
|
'uid' => auth_hash['uid'],
|
data/lib/gds-sso/version.rb
CHANGED
Binary file
|
data/spec/internal/log/test.log
CHANGED
@@ -1,81 +1,29 @@
|
|
1
|
-
[1m[36m (
|
2
|
-
[1m[35m (
|
1
|
+
[1m[36m (6.8ms)[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 (5.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
3
3
|
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
4
|
-
[1m[35m (5.
|
5
|
-
[1m[36mUser Load (0.
|
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
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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 (7.8ms)[0m [1mcommit transaction[0m
|
10
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "asd"]]
|
11
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
12
|
-
[1m[35m (0.0ms)[0m commit transaction
|
13
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
14
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d34983"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
15
|
-
[1m[36m (8.0ms)[0m [1mcommit transaction[0m
|
16
|
-
[1m[35m (0.0ms)[0m begin transaction
|
17
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d36880"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
18
|
-
[1m[35m (4.2ms)[0m commit transaction
|
19
|
-
Processing by Api::UserController#reauth as HTML
|
20
|
-
Parameters: {"uid"=>"a1s2d34983"}
|
21
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "a1s2d34983"]]
|
22
|
-
[1m[35m (0.0ms)[0m begin transaction
|
23
|
-
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "t"], ["id", 2]]
|
24
|
-
[1m[35m (6.3ms)[0m commit transaction
|
25
|
-
Completed 200 OK in 10ms (ActiveRecord: 6.6ms)
|
26
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 2]]
|
27
|
-
[1m[35m (0.1ms)[0m begin transaction
|
28
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d334"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
29
|
-
[1m[35m (7.2ms)[0m commit transaction
|
30
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
31
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d35232"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
32
|
-
[1m[36m (6.2ms)[0m [1mcommit transaction[0m
|
33
|
-
Processing by Api::UserController#reauth as HTML
|
34
|
-
Parameters: {"uid"=>"a1s2d334"}
|
35
|
-
Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
|
36
|
-
Completed 403 Forbidden in 12ms (Views: 11.5ms | ActiveRecord: 0.0ms)
|
4
|
+
[1m[35m (5.7ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
5
|
+
[1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["email", "dummyapiuser@domain.com"]]
|
37
6
|
[1m[35m (0.1ms)[0m begin transaction
|
38
|
-
[1m[36mSQL (0.
|
39
|
-
[1m[35m (
|
40
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d39363"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
42
|
-
[1m[36m (6.3ms)[0m [1mcommit transaction[0m
|
43
|
-
Processing by Api::UserController#reauth as HTML
|
44
|
-
Parameters: {"uid"=>"nonexistent-user"}
|
45
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "nonexistent-user"]]
|
46
|
-
Completed 200 OK in 1ms (ActiveRecord: 0.1ms)
|
47
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
48
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d38845"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
49
|
-
[1m[36m (6.8ms)[0m [1mcommit transaction[0m
|
50
|
-
[1m[35m (0.1ms)[0m begin transaction
|
51
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d31699"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
52
|
-
[1m[35m (3.9ms)[0m commit transaction
|
53
|
-
Processing by Api::UserController#update as HTML
|
54
|
-
Parameters: {"uid"=>"a1s2d38845"}
|
55
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "a1s2d38845"]]
|
56
|
-
[1m[35m (0.0ms)[0m begin transaction
|
57
|
-
[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", 8]]
|
58
|
-
[1m[35m (6.2ms)[0m commit transaction
|
59
|
-
Completed 200 OK in 10ms (ActiveRecord: 6.5ms)
|
60
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 8]]
|
61
|
-
[1m[35m (0.1ms)[0m begin transaction
|
62
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d35812"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
63
|
-
[1m[35m (4.2ms)[0m commit transaction
|
7
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("email", "uid", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["email", "dummyapiuser@domain.com"], ["uid", "6869"], ["name", "Dummy API user created by gds-sso"], ["permissions", "---\n- signin\n"]]
|
8
|
+
[1m[35m (9.8ms)[0m commit transaction
|
64
9
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
65
|
-
[1m[35mSQL (0.
|
66
|
-
[1m[36m (
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
Completed
|
71
|
-
Started GET "/
|
10
|
+
[1m[35mSQL (0.4ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = ? [["permissions", "---\n- signin\n- extra_permission\n"], ["id", 1]]
|
11
|
+
[1m[36m (4.9ms)[0m [1mcommit transaction[0m
|
12
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-08 12:34:05 +0000
|
13
|
+
Processing by ExampleController#restricted as HTML
|
14
|
+
Authenticating with gds_sso strategy
|
15
|
+
Completed in 17ms (ActiveRecord: 0.0ms)
|
16
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-08 12:34:05 +0000
|
17
|
+
Processing by ExampleController#restricted as JSON
|
18
|
+
Completed in 583ms (ActiveRecord: 0.0ms)
|
19
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2018-02-08 12:34:06 +0000
|
72
20
|
Processing by ExampleController#this_requires_signin_permission as JSON
|
73
|
-
[1m[35mUser Load (0.
|
21
|
+
[1m[35mUser Load (0.4ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
74
22
|
[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"]]
|
75
23
|
[1m[35m (0.1ms)[0m begin transaction
|
76
|
-
[1m[36mSQL (0.
|
77
|
-
[1m[35m (
|
78
|
-
[1m[36mUser Load (0.
|
24
|
+
[1m[36mSQL (0.4ms)[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]]
|
25
|
+
[1m[35m (7.6ms)[0m commit transaction
|
26
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
79
27
|
[1m[35m (0.1ms)[0m begin transaction
|
80
28
|
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
81
29
|
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
@@ -84,226 +32,218 @@ Processing by ExampleController#this_requires_signin_permission as JSON
|
|
84
32
|
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
85
33
|
[1m[35m (0.1ms)[0m begin transaction
|
86
34
|
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
87
|
-
[1m[35m (0.
|
88
|
-
[1m[36mSQL (0.
|
89
|
-
[1m[35m (
|
35
|
+
[1m[35m (0.1ms)[0m begin transaction
|
36
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id", 2]]
|
37
|
+
[1m[35m (6.5ms)[0m commit transaction
|
90
38
|
Rendered text template (0.0ms)
|
91
|
-
Completed 200 OK in
|
92
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-
|
93
|
-
Processing by ExampleController#restricted as JSON
|
94
|
-
Completed in 31ms (ActiveRecord: 0.0ms)
|
95
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:15:52 +0000
|
39
|
+
Completed 200 OK in 220ms (Views: 19.2ms | ActiveRecord: 16.6ms)
|
40
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-08 12:34:06 +0000
|
96
41
|
Processing by ExampleController#restricted as JSON
|
97
|
-
[1m[36mUser Load (0.
|
98
|
-
[1m[35m (0.
|
99
|
-
[1m[36m (0.
|
42
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
43
|
+
[1m[35m (0.2ms)[0m begin transaction
|
44
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
100
45
|
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
101
46
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
102
|
-
[1m[35m (0.
|
47
|
+
[1m[35m (0.1ms)[0m commit transaction
|
103
48
|
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
104
49
|
[1m[35m (0.1ms)[0m begin transaction
|
105
50
|
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
106
51
|
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
107
52
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
108
53
|
[1m[35m (0.1ms)[0m commit transaction
|
109
|
-
[1m[36m (0.
|
110
|
-
[1m[35m (0.
|
54
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
55
|
+
[1m[35m (0.2ms)[0m commit transaction
|
111
56
|
Rendered text template (0.0ms)
|
112
|
-
Completed 200 OK in
|
113
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-
|
57
|
+
Completed 200 OK in 129ms (Views: 0.5ms | ActiveRecord: 1.5ms)
|
58
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-08 12:34:06 +0000
|
114
59
|
Processing by ExampleController#restricted as JSON
|
115
|
-
Completed in
|
116
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-
|
60
|
+
Completed in 51ms (ActiveRecord: 0.0ms)
|
61
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-08 12:34:06 +0000
|
117
62
|
Processing by ExampleController#restricted as HTML
|
118
63
|
Authenticating with gds_sso strategy
|
119
64
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
120
|
-
Started GET "/
|
121
|
-
|
122
|
-
Authenticating with gds_sso strategy
|
123
|
-
Completed in 0ms (ActiveRecord: 0.0ms)
|
124
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2018-01-23 17:15:52 +0000
|
125
|
-
Started GET "/auth/gds/callback?code=403fb0d1ec97649af51d34a0885922c8cf07debe7344a56dc9aa84ee676cabc8&state=748a66d055257f50dd6e45a1ff8c850d158ba585519fedff" for 127.0.0.1 at 2018-01-23 17:16:02 +0000
|
65
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-02-08 12:34:06 +0000
|
66
|
+
Started GET "/auth/gds/callback?code=65c210224f2cc0e5f97baa1963eacb30556d2585d220da71804ff3ef2af033d4&state=9e2243f1b60a6447c2e807f293fb59fb54e7cf30e1daeb18" for 127.0.0.1 at 2018-02-08 12:34:17 +0000
|
126
67
|
Processing by AuthenticationsController#callback as HTML
|
127
|
-
Parameters: {"code"=>"
|
68
|
+
Parameters: {"code"=>"65c210224f2cc0e5f97baa1963eacb30556d2585d220da71804ff3ef2af033d4", "state"=>"9e2243f1b60a6447c2e807f293fb59fb54e7cf30e1daeb18"}
|
128
69
|
Authenticating with gds_sso strategy
|
129
|
-
[1m[36mUser Load (0.
|
130
|
-
[1m[35m (0.
|
131
|
-
[1m[36mSQL (0.
|
132
|
-
[1m[35m (8.
|
133
|
-
[1m[36m (0.
|
134
|
-
[1m[35m (0.
|
135
|
-
Redirected to http://www.example-client.com/
|
136
|
-
Completed 302 Found in
|
137
|
-
Started GET "/
|
138
|
-
Processing by ExampleController#
|
139
|
-
[1m[36mUser Load (0.
|
70
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
71
|
+
[1m[35m (0.1ms)[0m begin transaction
|
72
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "disabled" = ? WHERE "users"."id" = ?[0m [["disabled", "f"], ["id", 2]]
|
73
|
+
[1m[35m (8.4ms)[0m commit transaction
|
74
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
75
|
+
[1m[35m (0.1ms)[0m commit transaction
|
76
|
+
Redirected to http://www.example-client.com/restricted
|
77
|
+
Completed 302 Found in 17ms (ActiveRecord: 9.2ms)
|
78
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-08 12:34:17 +0000
|
79
|
+
Processing by ExampleController#restricted as HTML
|
80
|
+
[1m[36mUser Load (0.3ms)[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"]]
|
140
81
|
Rendered text template (0.0ms)
|
141
|
-
Completed 200 OK in 3ms (Views: 0.
|
142
|
-
Started GET "/
|
143
|
-
Processing by ExampleController#
|
82
|
+
Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.3ms)
|
83
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-08 12:34:17 +0000
|
84
|
+
Processing by ExampleController#restricted as HTML
|
144
85
|
Authenticating with gds_sso strategy
|
145
86
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
146
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2018-
|
147
|
-
Started GET "/auth/gds/callback?code=
|
87
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-02-08 12:34:17 +0000
|
88
|
+
Started GET "/auth/gds/callback?code=08b9446297e4e10e27f139d6e9509cb71689aa53ab3d84dc88c71e42340b7793&state=4d196b447420f5b1b4796ba876000f63e5f2e516fff1b19a" for 127.0.0.1 at 2018-02-08 12:34:17 +0000
|
148
89
|
Processing by AuthenticationsController#callback as HTML
|
149
|
-
Parameters: {"code"=>"
|
90
|
+
Parameters: {"code"=>"08b9446297e4e10e27f139d6e9509cb71689aa53ab3d84dc88c71e42340b7793", "state"=>"4d196b447420f5b1b4796ba876000f63e5f2e516fff1b19a"}
|
150
91
|
Authenticating with gds_sso strategy
|
151
|
-
[1m[35mUser Load (0.
|
92
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
152
93
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
153
94
|
[1m[35m (0.1ms)[0m commit transaction
|
154
|
-
[1m[36m (0.
|
155
|
-
[1m[35m (0.
|
156
|
-
Redirected to http://www.example-client.com/
|
157
|
-
Completed 302 Found in
|
158
|
-
Started GET "/
|
159
|
-
Processing by ExampleController#
|
160
|
-
[1m[36mUser Load (0.
|
161
|
-
Rendered text template (0.
|
162
|
-
Completed 200 OK in
|
163
|
-
Started GET "/" for 127.0.0.1 at 2018-
|
164
|
-
Processing by ExampleController#index as HTML
|
165
|
-
Rendered text template (0.0ms)
|
166
|
-
Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
167
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:02 +0000
|
95
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
96
|
+
[1m[35m (0.1ms)[0m commit transaction
|
97
|
+
Redirected to http://www.example-client.com/restricted
|
98
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.7ms)
|
99
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-08 12:34:17 +0000
|
100
|
+
Processing by ExampleController#restricted as HTML
|
101
|
+
[1m[36mUser Load (0.3ms)[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"]]
|
102
|
+
Rendered text template (0.1ms)
|
103
|
+
Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.3ms)
|
104
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-08 12:34:17 +0000
|
168
105
|
Processing by ExampleController#restricted as HTML
|
169
106
|
Authenticating with gds_sso strategy
|
170
107
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
171
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2018-
|
172
|
-
Started GET "/auth/gds/callback?code=
|
108
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-02-08 12:34:17 +0000
|
109
|
+
Started GET "/auth/gds/callback?code=54884d39203d875aa0833a58f2000c78c8d752cc7b0a782546164dcc22881a2e&state=173be65563cdd9b7451328bc104b925f0d66d5e2332c1dc6" for 127.0.0.1 at 2018-02-08 12:34:18 +0000
|
173
110
|
Processing by AuthenticationsController#callback as HTML
|
174
|
-
Parameters: {"code"=>"
|
111
|
+
Parameters: {"code"=>"54884d39203d875aa0833a58f2000c78c8d752cc7b0a782546164dcc22881a2e", "state"=>"173be65563cdd9b7451328bc104b925f0d66d5e2332c1dc6"}
|
175
112
|
Authenticating with gds_sso strategy
|
176
113
|
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
177
114
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
178
115
|
[1m[35m (0.1ms)[0m commit transaction
|
179
|
-
[1m[36m (0.
|
116
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
180
117
|
[1m[35m (0.1ms)[0m commit transaction
|
181
118
|
Redirected to http://www.example-client.com/restricted
|
182
|
-
Completed 302 Found in
|
183
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-
|
119
|
+
Completed 302 Found in 8ms (ActiveRecord: 0.6ms)
|
120
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-08 12:34:18 +0000
|
184
121
|
Processing by ExampleController#restricted as HTML
|
185
|
-
[1m[36mUser Load (0.
|
122
|
+
[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"]]
|
186
123
|
Rendered text template (0.0ms)
|
187
|
-
Completed 200 OK in
|
188
|
-
Started GET "/
|
189
|
-
Processing by ExampleController#
|
124
|
+
Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.2ms)
|
125
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2018-02-08 12:34:18 +0000
|
126
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
190
127
|
Authenticating with gds_sso strategy
|
191
|
-
Completed in
|
192
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2018-
|
193
|
-
Started GET "/auth/gds/callback?code=
|
128
|
+
Completed in 1ms (ActiveRecord: 0.0ms)
|
129
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-02-08 12:34:18 +0000
|
130
|
+
Started GET "/auth/gds/callback?code=7bcf5c9c74154d09cb47b95ff6d6605a44fd93319b63da88921f808a4545c9ec&state=f91eaab3004d810ef14cebf48e326e612b1ae2863f0ca86b" for 127.0.0.1 at 2018-02-08 12:34:18 +0000
|
194
131
|
Processing by AuthenticationsController#callback as HTML
|
195
|
-
Parameters: {"code"=>"
|
132
|
+
Parameters: {"code"=>"7bcf5c9c74154d09cb47b95ff6d6605a44fd93319b63da88921f808a4545c9ec", "state"=>"f91eaab3004d810ef14cebf48e326e612b1ae2863f0ca86b"}
|
196
133
|
Authenticating with gds_sso strategy
|
197
|
-
[1m[35mUser Load (0.
|
134
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
135
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
136
|
+
[1m[35m (0.2ms)[0m commit transaction
|
198
137
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
199
138
|
[1m[35m (0.1ms)[0m commit transaction
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
Processing by ExampleController#restricted as HTML
|
206
|
-
[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"]]
|
139
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
140
|
+
Completed 302 Found in 8ms (ActiveRecord: 0.8ms)
|
141
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2018-02-08 12:34:18 +0000
|
142
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
143
|
+
[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"]]
|
207
144
|
Rendered text template (0.0ms)
|
208
|
-
Completed 200 OK in
|
209
|
-
Started GET "/
|
210
|
-
Processing by ExampleController#
|
145
|
+
Completed 200 OK in 4ms (Views: 0.6ms | ActiveRecord: 0.2ms)
|
146
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2018-02-08 12:34:18 +0000
|
147
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
211
148
|
Authenticating with gds_sso strategy
|
212
149
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
213
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2018-
|
214
|
-
Started GET "/auth/gds/callback?code=
|
150
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-02-08 12:34:18 +0000
|
151
|
+
Started GET "/auth/gds/callback?code=dbf128b0e88cf1c90d3451c37afe4e68d5602e5660ad410f044d7b119ff6958c&state=0d69ec9e284f40d94bcda0fcb9b5e1618b62a155185e663c" for 127.0.0.1 at 2018-02-08 12:34:18 +0000
|
215
152
|
Processing by AuthenticationsController#callback as HTML
|
216
|
-
Parameters: {"code"=>"
|
153
|
+
Parameters: {"code"=>"dbf128b0e88cf1c90d3451c37afe4e68d5602e5660ad410f044d7b119ff6958c", "state"=>"0d69ec9e284f40d94bcda0fcb9b5e1618b62a155185e663c"}
|
217
154
|
Authenticating with gds_sso strategy
|
218
|
-
[1m[35mUser Load (0.
|
155
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
219
156
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
220
|
-
[1m[35m (0.
|
221
|
-
[1m[36m (0.
|
222
|
-
[1m[35m (0.
|
223
|
-
Redirected to http://www.example-client.com/
|
224
|
-
Completed 302 Found in
|
225
|
-
Started GET "/
|
226
|
-
Processing by ExampleController#
|
227
|
-
[1m[36mUser Load (0.
|
157
|
+
[1m[35m (0.1ms)[0m commit transaction
|
158
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
159
|
+
[1m[35m (0.1ms)[0m commit transaction
|
160
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
161
|
+
Completed 302 Found in 8ms (ActiveRecord: 0.7ms)
|
162
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2018-02-08 12:34:18 +0000
|
163
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
164
|
+
[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"]]
|
165
|
+
Rendered text template (0.0ms)
|
166
|
+
Completed 200 OK in 4ms (Views: 0.5ms | ActiveRecord: 0.2ms)
|
167
|
+
Started GET "/" for 127.0.0.1 at 2018-02-08 12:34:18 +0000
|
168
|
+
Processing by ExampleController#index as HTML
|
228
169
|
Rendered text template (0.0ms)
|
229
|
-
Completed 200 OK in 1ms (Views: 0.
|
230
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-
|
170
|
+
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
|
171
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-08 12:34:18 +0000
|
231
172
|
Processing by ExampleController#restricted as HTML
|
232
173
|
Authenticating with gds_sso strategy
|
233
|
-
Completed in
|
234
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2018-
|
235
|
-
Started GET "/auth/gds/callback?code=
|
174
|
+
Completed in 1ms (ActiveRecord: 0.0ms)
|
175
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-02-08 12:34:18 +0000
|
176
|
+
Started GET "/auth/gds/callback?code=a4970d280569ba78d0c83800d21853f7115c325a33880f9815f44cd6576d12a1&state=74bfb029303fca3b79d5b8ffaded0a832c5fa818cb23ed6b" for 127.0.0.1 at 2018-02-08 12:34:19 +0000
|
236
177
|
Processing by AuthenticationsController#callback as HTML
|
237
|
-
Parameters: {"code"=>"
|
178
|
+
Parameters: {"code"=>"a4970d280569ba78d0c83800d21853f7115c325a33880f9815f44cd6576d12a1", "state"=>"74bfb029303fca3b79d5b8ffaded0a832c5fa818cb23ed6b"}
|
238
179
|
Authenticating with gds_sso strategy
|
239
|
-
[1m[35mUser Load (0.
|
180
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
240
181
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
241
|
-
[1m[35m (0.
|
242
|
-
[1m[36m (0.
|
243
|
-
[1m[35m (0.
|
182
|
+
[1m[35m (0.1ms)[0m commit transaction
|
183
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
184
|
+
[1m[35m (0.1ms)[0m commit transaction
|
244
185
|
Redirected to http://www.example-client.com/restricted
|
245
|
-
Completed 302 Found in
|
246
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-
|
186
|
+
Completed 302 Found in 8ms (ActiveRecord: 0.7ms)
|
187
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-08 12:34:19 +0000
|
247
188
|
Processing by ExampleController#restricted as HTML
|
248
|
-
[1m[36mUser Load (0.
|
189
|
+
[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"]]
|
249
190
|
Rendered text template (0.0ms)
|
250
|
-
Completed 200 OK in
|
251
|
-
|
252
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
253
|
-
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 12]]
|
254
|
-
[1m[36m (8.4ms)[0m [1mcommit transaction[0m
|
255
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:03 +0000
|
191
|
+
Completed 200 OK in 3ms (Views: 0.7ms | ActiveRecord: 0.2ms)
|
192
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-09 08:39:19 +0000
|
256
193
|
Processing by ExampleController#restricted as HTML
|
257
|
-
[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"]]
|
258
194
|
Authenticating with gds_sso strategy
|
259
|
-
Completed in 1ms (ActiveRecord: 0.
|
260
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2018-
|
261
|
-
Started GET "/auth/gds/callback?code=
|
195
|
+
Completed in 1ms (ActiveRecord: 0.0ms)
|
196
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-02-09 08:39:19 +0000
|
197
|
+
Started GET "/auth/gds/callback?code=dfa9b80b8d6e5b8e542d0158fb3bcb3b54c91ba9f3b939eb7692e14deed29a82&state=53fa98b39f8c811018a7f1f1b0018643fb8caa6cb3cf12ae" for 127.0.0.1 at 2018-02-09 08:39:19 +0000
|
262
198
|
Processing by AuthenticationsController#callback as HTML
|
263
|
-
Parameters: {"code"=>"
|
199
|
+
Parameters: {"code"=>"dfa9b80b8d6e5b8e542d0158fb3bcb3b54c91ba9f3b939eb7692e14deed29a82", "state"=>"53fa98b39f8c811018a7f1f1b0018643fb8caa6cb3cf12ae"}
|
264
200
|
Authenticating with gds_sso strategy
|
265
|
-
[1m[
|
266
|
-
[1m[
|
267
|
-
[1m[
|
268
|
-
[1m[
|
269
|
-
[1m[
|
270
|
-
[1m[35m (7.3ms)[0m commit transaction
|
201
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
202
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
203
|
+
[1m[35m (0.1ms)[0m commit transaction
|
204
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
205
|
+
[1m[35m (0.1ms)[0m commit transaction
|
271
206
|
Redirected to http://www.example-client.com/restricted
|
272
|
-
Completed 302 Found in
|
273
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-
|
207
|
+
Completed 302 Found in 8ms (ActiveRecord: 0.7ms)
|
208
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-09 08:39:19 +0000
|
274
209
|
Processing by ExampleController#restricted as HTML
|
275
|
-
[1m[36mUser Load (0.
|
210
|
+
[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"]]
|
276
211
|
Rendered text template (0.0ms)
|
277
|
-
Completed 200 OK in
|
278
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-
|
212
|
+
Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.2ms)
|
213
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-08 12:34:19 +0000
|
279
214
|
Processing by ExampleController#restricted as HTML
|
280
215
|
Authenticating with gds_sso strategy
|
281
|
-
Completed in
|
282
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2018-
|
283
|
-
Started GET "/auth/gds/callback?code=
|
216
|
+
Completed in 1ms (ActiveRecord: 0.0ms)
|
217
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-02-08 12:34:19 +0000
|
218
|
+
Started GET "/auth/gds/callback?code=8c27064bbb90991fc55e8fe9a680b6618b62f28afba8d703a07639f9c48125b9&state=93cef03fda0d081d6810eaa7239a522b56e56b842b0ad20a" for 127.0.0.1 at 2018-02-08 12:34:19 +0000
|
284
219
|
Processing by AuthenticationsController#callback as HTML
|
285
|
-
Parameters: {"code"=>"
|
220
|
+
Parameters: {"code"=>"8c27064bbb90991fc55e8fe9a680b6618b62f28afba8d703a07639f9c48125b9", "state"=>"93cef03fda0d081d6810eaa7239a522b56e56b842b0ad20a"}
|
286
221
|
Authenticating with gds_sso strategy
|
287
|
-
[1m[35mUser Load (0.
|
222
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
223
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
224
|
+
[1m[35m (0.1ms)[0m commit transaction
|
288
225
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
289
226
|
[1m[35m (0.1ms)[0m commit transaction
|
290
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
291
|
-
[1m[35m (0.0ms)[0m commit transaction
|
292
227
|
Redirected to http://www.example-client.com/restricted
|
293
|
-
Completed 302 Found in
|
294
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-
|
228
|
+
Completed 302 Found in 16ms (ActiveRecord: 0.8ms)
|
229
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-08 12:34:19 +0000
|
295
230
|
Processing by ExampleController#restricted as HTML
|
296
|
-
[1m[36mUser Load (0.
|
231
|
+
[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"]]
|
297
232
|
Rendered text template (0.0ms)
|
298
|
-
Completed 200 OK in
|
299
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-
|
233
|
+
Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.2ms)
|
234
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-09 08:39:20 +0000
|
300
235
|
Processing by ExampleController#restricted as HTML
|
301
236
|
Authenticating with gds_sso strategy
|
302
|
-
Completed in
|
303
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2018-
|
304
|
-
Started GET "/
|
237
|
+
Completed in 1ms (ActiveRecord: 0.0ms)
|
238
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-02-09 08:39:20 +0000
|
239
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-08 12:34:20 +0000
|
240
|
+
Processing by ExampleController#restricted as HTML
|
241
|
+
Authenticating with gds_sso strategy
|
242
|
+
Completed in 1ms (ActiveRecord: 0.0ms)
|
243
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-02-08 12:34:20 +0000
|
244
|
+
Started GET "/auth/gds/callback?code=3dcb9b256028bf4da62c53911c8d8b35685376ef45320942eaf247500d1fce52&state=47376d3faf4b3746053131991260b33874e5fa42ef899feb" for 127.0.0.1 at 2018-02-08 12:34:20 +0000
|
305
245
|
Processing by AuthenticationsController#callback as HTML
|
306
|
-
Parameters: {"code"=>"
|
246
|
+
Parameters: {"code"=>"3dcb9b256028bf4da62c53911c8d8b35685376ef45320942eaf247500d1fce52", "state"=>"47376d3faf4b3746053131991260b33874e5fa42ef899feb"}
|
307
247
|
Authenticating with gds_sso strategy
|
308
248
|
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
309
249
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
@@ -311,159 +251,221 @@ Authenticating with gds_sso strategy
|
|
311
251
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
312
252
|
[1m[35m (0.1ms)[0m commit transaction
|
313
253
|
Redirected to http://www.example-client.com/restricted
|
314
|
-
Completed 302 Found in
|
315
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-
|
254
|
+
Completed 302 Found in 8ms (ActiveRecord: 0.6ms)
|
255
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-08 12:34:20 +0000
|
256
|
+
Processing by ExampleController#restricted as HTML
|
257
|
+
[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"]]
|
258
|
+
Rendered text template (0.0ms)
|
259
|
+
Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.2ms)
|
260
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-09 08:29:20 +0000
|
316
261
|
Processing by ExampleController#restricted as HTML
|
317
|
-
[1m[
|
262
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
318
263
|
Rendered text template (0.0ms)
|
319
|
-
Completed 200 OK in
|
320
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-
|
264
|
+
Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.2ms)
|
265
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-08 12:34:20 +0000
|
321
266
|
Processing by ExampleController#restricted as HTML
|
322
267
|
Authenticating with gds_sso strategy
|
323
|
-
Completed in
|
324
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2018-
|
325
|
-
Started GET "/auth/gds/callback?code=
|
268
|
+
Completed in 1ms (ActiveRecord: 0.0ms)
|
269
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-02-08 12:34:20 +0000
|
270
|
+
Started GET "/auth/gds/callback?code=88c9b1c257952abd27a98131c1af9dd4b28ea84dd1a23a2d99ad3b84dc56b2ac&state=60ab5b1a2af4a62308f6879e994eea656cc3628fe542b013" for 127.0.0.1 at 2018-02-08 12:34:20 +0000
|
326
271
|
Processing by AuthenticationsController#callback as HTML
|
327
|
-
Parameters: {"code"=>"
|
272
|
+
Parameters: {"code"=>"88c9b1c257952abd27a98131c1af9dd4b28ea84dd1a23a2d99ad3b84dc56b2ac", "state"=>"60ab5b1a2af4a62308f6879e994eea656cc3628fe542b013"}
|
328
273
|
Authenticating with gds_sso strategy
|
329
|
-
[1m[
|
330
|
-
[1m[
|
331
|
-
[1m[
|
332
|
-
[1m[
|
333
|
-
[1m[
|
274
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
275
|
+
[1m[35m (0.1ms)[0m begin transaction
|
276
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
277
|
+
[1m[35m (0.1ms)[0m begin transaction
|
278
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
334
279
|
Redirected to http://www.example-client.com/restricted
|
335
|
-
Completed 302 Found in
|
336
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-
|
280
|
+
Completed 302 Found in 8ms (ActiveRecord: 0.7ms)
|
281
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-08 12:34:20 +0000
|
337
282
|
Processing by ExampleController#restricted as HTML
|
338
|
-
[1m[
|
283
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
339
284
|
Rendered text template (0.0ms)
|
340
|
-
Completed 200 OK in
|
341
|
-
|
342
|
-
|
343
|
-
|
344
|
-
|
345
|
-
Started GET "/
|
346
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:04 +0000
|
285
|
+
Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.2ms)
|
286
|
+
[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"]]
|
287
|
+
[1m[35m (0.1ms)[0m begin transaction
|
288
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "t"], ["id", 2]]
|
289
|
+
[1m[35m (9.1ms)[0m commit transaction
|
290
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-08 12:34:20 +0000
|
347
291
|
Processing by ExampleController#restricted as HTML
|
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"]]
|
348
293
|
Authenticating with gds_sso strategy
|
349
|
-
Completed in
|
350
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2018-
|
351
|
-
Started GET "/auth/gds/callback?code=
|
294
|
+
Completed in 2ms (ActiveRecord: 0.2ms)
|
295
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-02-08 12:34:20 +0000
|
296
|
+
Started GET "/auth/gds/callback?code=190aa18b2f5f7046dda45e446bde5e8e1be0ac7c79d018ba7f5c5e722bf1a000&state=8134d556b3938fd77ff5425cb0e011a180418fa8b8929366" for 127.0.0.1 at 2018-02-08 12:34:21 +0000
|
352
297
|
Processing by AuthenticationsController#callback as HTML
|
353
|
-
Parameters: {"code"=>"
|
298
|
+
Parameters: {"code"=>"190aa18b2f5f7046dda45e446bde5e8e1be0ac7c79d018ba7f5c5e722bf1a000", "state"=>"8134d556b3938fd77ff5425cb0e011a180418fa8b8929366"}
|
354
299
|
Authenticating with gds_sso strategy
|
355
300
|
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
356
301
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
357
|
-
[1m[35m (0.
|
358
|
-
[1m[36m (0.
|
359
|
-
[1m[
|
302
|
+
[1m[35m (0.1ms)[0m commit transaction
|
303
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
304
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "f"], ["id", 2]]
|
305
|
+
[1m[36m (8.1ms)[0m [1mcommit transaction[0m
|
360
306
|
Redirected to http://www.example-client.com/restricted
|
361
|
-
Completed 302 Found in
|
362
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-
|
307
|
+
Completed 302 Found in 17ms (ActiveRecord: 9.0ms)
|
308
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-08 12:34:21 +0000
|
363
309
|
Processing by ExampleController#restricted as HTML
|
364
|
-
[1m[
|
310
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
365
311
|
Rendered text template (0.0ms)
|
366
|
-
Completed 200 OK in
|
367
|
-
|
368
|
-
|
369
|
-
[1m[
|
370
|
-
|
371
|
-
|
372
|
-
[1m[
|
373
|
-
[1m[
|
374
|
-
[1m[35m (
|
375
|
-
[1m[
|
376
|
-
[1m[
|
377
|
-
[1m[
|
378
|
-
[1m[
|
379
|
-
[1m[
|
380
|
-
[1m[35m (
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
[1m[
|
386
|
-
[1m[
|
387
|
-
[1m[
|
388
|
-
[1m[35m (
|
389
|
-
[1m[
|
312
|
+
Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.2ms)
|
313
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "asd"]]
|
314
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "user@example.com"]]
|
315
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
316
|
+
[1m[35mSQL (0.4ms)[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]]
|
317
|
+
[1m[36m (6.9ms)[0m [1mcommit transaction[0m
|
318
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "asd"]]
|
319
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
320
|
+
[1m[35m (0.1ms)[0m commit transaction
|
321
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
322
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d39460"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
323
|
+
[1m[36m (5.8ms)[0m [1mcommit transaction[0m
|
324
|
+
[1m[35m (0.1ms)[0m begin transaction
|
325
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d34554"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
326
|
+
[1m[35m (5.9ms)[0m commit transaction
|
327
|
+
Processing by Api::UserController#update as HTML
|
328
|
+
Parameters: {"uid"=>"a1s2d39460"}
|
329
|
+
Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.5ms)
|
330
|
+
Completed 403 Forbidden in 19ms (Views: 18.3ms | ActiveRecord: 0.0ms)
|
331
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
332
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d36563"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
333
|
+
[1m[36m (6.5ms)[0m [1mcommit transaction[0m
|
334
|
+
[1m[35m (0.1ms)[0m begin transaction
|
335
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d36416"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
336
|
+
[1m[35m (5.1ms)[0m commit transaction
|
337
|
+
Processing by Api::UserController#update as HTML
|
338
|
+
Parameters: {"uid"=>"a1s2d36563"}
|
339
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "a1s2d36563"]]
|
340
|
+
[1m[35m (0.1ms)[0m begin transaction
|
341
|
+
[1m[36mSQL (0.5ms)[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", 6]]
|
342
|
+
[1m[35m (5.0ms)[0m commit transaction
|
343
|
+
Completed 200 OK in 13ms (ActiveRecord: 5.8ms)
|
344
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 6]]
|
345
|
+
[1m[35m (0.1ms)[0m begin transaction
|
346
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d31730"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
347
|
+
[1m[35m (5.9ms)[0m commit transaction
|
348
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
349
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d31989"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
350
|
+
[1m[36m (5.9ms)[0m [1mcommit transaction[0m
|
351
|
+
Processing by Api::UserController#reauth as HTML
|
352
|
+
Parameters: {"uid"=>"a1s2d31730"}
|
353
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "a1s2d31730"]]
|
354
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
355
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 8]]
|
356
|
+
[1m[36m (5.8ms)[0m [1mcommit transaction[0m
|
357
|
+
Completed 200 OK in 10ms (ActiveRecord: 6.3ms)
|
358
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 8]]
|
359
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
360
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d36110"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
361
|
+
[1m[36m (6.2ms)[0m [1mcommit transaction[0m
|
362
|
+
[1m[35m (0.1ms)[0m begin transaction
|
363
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d34771"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
364
|
+
[1m[35m (6.0ms)[0m commit transaction
|
365
|
+
Processing by Api::UserController#reauth as HTML
|
366
|
+
Parameters: {"uid"=>"nonexistent-user"}
|
367
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "nonexistent-user"]]
|
368
|
+
Completed 200 OK in 2ms (ActiveRecord: 0.2ms)
|
369
|
+
[1m[35m (0.1ms)[0m begin transaction
|
370
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d33124"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
371
|
+
[1m[35m (6.6ms)[0m commit transaction
|
372
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
373
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d32382"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
374
|
+
[1m[36m (5.8ms)[0m [1mcommit transaction[0m
|
375
|
+
Processing by Api::UserController#reauth as HTML
|
376
|
+
Parameters: {"uid"=>"a1s2d33124"}
|
377
|
+
Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.1ms)
|
378
|
+
Completed 403 Forbidden in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)
|
379
|
+
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "users"[0m
|
380
|
+
[1m[35m (2.6ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
381
|
+
[1m[35m (7.7ms)[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
|
382
|
+
[1m[35m (7.0ms)[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
|
383
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
384
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
385
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2018-02-08 12:34:32.318384"], ["updated_at", "2018-02-08 12:34:32.318384"]]
|
386
|
+
[1m[35m (5.7ms)[0m [1m[36mcommit transaction[0m
|
387
|
+
[1m[35m (5.6ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
388
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
390
389
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
391
390
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
392
391
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
393
|
-
[1m[35mSQL (0.
|
392
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d33957"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
394
393
|
[1m[35m (6.3ms)[0m [1m[36mcommit transaction[0m
|
395
394
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
396
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "
|
397
|
-
[1m[35m (
|
395
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d34705"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
396
|
+
[1m[35m (4.3ms)[0m [1m[36mcommit transaction[0m
|
398
397
|
Processing by Api::UserController#update as HTML
|
399
|
-
Parameters: {"uid"=>"
|
398
|
+
Parameters: {"uid"=>"a1s2d33957"}
|
400
399
|
Rendering /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
401
|
-
Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.
|
402
|
-
Completed 403 Forbidden in
|
400
|
+
Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.3ms)
|
401
|
+
Completed 403 Forbidden in 14ms (Views: 13.4ms | ActiveRecord: 0.0ms)
|
403
402
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
404
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "
|
405
|
-
[1m[35m (
|
403
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d39964"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
404
|
+
[1m[35m (5.6ms)[0m [1m[36mcommit transaction[0m
|
406
405
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
407
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "
|
408
|
-
[1m[35m (
|
406
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d37065"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
407
|
+
[1m[35m (4.1ms)[0m [1m[36mcommit transaction[0m
|
409
408
|
Processing by Api::UserController#update as HTML
|
410
|
-
Parameters: {"uid"=>"
|
411
|
-
[1m[36mUser Load (0.
|
412
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
413
|
-
[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]]
|
414
|
-
[1m[35m (5.5ms)[0m [1m[36mcommit transaction[0m
|
415
|
-
Completed 200 OK in 11ms (ActiveRecord: 5.9ms)
|
416
|
-
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 4], ["LIMIT", 1]]
|
417
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
418
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d35667"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
419
|
-
[1m[35m (6.3ms)[0m [1m[36mcommit transaction[0m
|
420
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
421
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d37841"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
422
|
-
[1m[35m (6.0ms)[0m [1m[36mcommit transaction[0m
|
423
|
-
Processing by Api::UserController#reauth as HTML
|
424
|
-
Parameters: {"uid"=>"a1s2d35667"}
|
425
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d35667"], ["LIMIT", 1]]
|
409
|
+
Parameters: {"uid"=>"a1s2d39964"}
|
410
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d39964"], ["LIMIT", 1]]
|
426
411
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
427
|
-
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "users" SET "
|
412
|
+
[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]]
|
428
413
|
[1m[35m (5.3ms)[0m [1m[36mcommit transaction[0m
|
429
|
-
Completed 200 OK in
|
430
|
-
[1m[36mUser Load (0.
|
414
|
+
Completed 200 OK in 11ms (ActiveRecord: 5.8ms)
|
415
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 3], ["LIMIT", 1]]
|
431
416
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
432
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "
|
433
|
-
[1m[35m (
|
417
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d31005"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
418
|
+
[1m[35m (4.3ms)[0m [1m[36mcommit transaction[0m
|
434
419
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
435
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "
|
436
|
-
[1m[35m (
|
420
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d32809"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
421
|
+
[1m[35m (5.4ms)[0m [1m[36mcommit transaction[0m
|
437
422
|
Processing by Api::UserController#reauth as HTML
|
438
|
-
Parameters: {"uid"=>"
|
423
|
+
Parameters: {"uid"=>"a1s2d31005"}
|
439
424
|
Rendering /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
440
425
|
Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.0ms)
|
441
426
|
Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
|
442
427
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
443
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "
|
444
|
-
[1m[35m (
|
445
|
-
[1m[35m (0.
|
446
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "
|
447
|
-
[1m[35m (6.
|
428
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d31434"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
429
|
+
[1m[35m (4.2ms)[0m [1m[36mcommit transaction[0m
|
430
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
431
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d38288"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
432
|
+
[1m[35m (6.4ms)[0m [1m[36mcommit transaction[0m
|
433
|
+
Processing by Api::UserController#reauth as HTML
|
434
|
+
Parameters: {"uid"=>"a1s2d31434"}
|
435
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d31434"], ["LIMIT", 1]]
|
436
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
437
|
+
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "t"], ["id", 7]]
|
438
|
+
[1m[35m (4.0ms)[0m [1m[36mcommit transaction[0m
|
439
|
+
Completed 200 OK in 7ms (ActiveRecord: 4.4ms)
|
440
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 7], ["LIMIT", 1]]
|
441
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
442
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d39300"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
443
|
+
[1m[35m (4.5ms)[0m [1m[36mcommit transaction[0m
|
444
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
445
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d32754"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
446
|
+
[1m[35m (4.1ms)[0m [1m[36mcommit transaction[0m
|
448
447
|
Processing by Api::UserController#reauth as HTML
|
449
448
|
Parameters: {"uid"=>"nonexistent-user"}
|
450
|
-
[1m[36mUser Load (0.
|
451
|
-
Completed 200 OK in
|
452
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-
|
449
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "nonexistent-user"], ["LIMIT", 1]]
|
450
|
+
Completed 200 OK in 2ms (ActiveRecord: 0.2ms)
|
451
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-08 12:34:33 +0000
|
453
452
|
Processing by ExampleController#restricted as HTML
|
454
453
|
Authenticating with gds_sso strategy
|
455
|
-
Completed in
|
456
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-
|
454
|
+
Completed in 12ms (ActiveRecord: 0.0ms)
|
455
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-08 12:34:33 +0000
|
457
456
|
Processing by ExampleController#restricted as JSON
|
458
|
-
Completed in
|
459
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-
|
457
|
+
Completed in 42ms (ActiveRecord: 0.0ms)
|
458
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-08 12:34:33 +0000
|
460
459
|
Processing by ExampleController#restricted as JSON
|
461
|
-
|
462
|
-
|
460
|
+
Completed in 52ms (ActiveRecord: 0.0ms)
|
461
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2018-02-08 12:34:33 +0000
|
462
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
463
|
+
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
464
|
+
[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]]
|
463
465
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
464
|
-
[1m[35mSQL (0.
|
465
|
-
[1m[35m (
|
466
|
-
[1m[36mUser Load (0.
|
466
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions", "disabled") VALUES (?, ?, ?, ?, ?)[0m [["name", "Test User"], ["uid", "integration-uid"], ["email", "test@example-client.com"], ["permissions", "---\n- signin\n"], ["disabled", nil]]
|
467
|
+
[1m[35m (6.6ms)[0m [1m[36mcommit transaction[0m
|
468
|
+
[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]]
|
467
469
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
468
470
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
469
471
|
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
@@ -473,18 +475,18 @@ Processing by ExampleController#restricted as JSON
|
|
473
475
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
474
476
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
475
477
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
476
|
-
[1m[35mSQL (0.
|
477
|
-
[1m[35m (5.
|
478
|
+
[1m[35mSQL (0.4ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id", 11]]
|
479
|
+
[1m[35m (5.3ms)[0m [1m[36mcommit transaction[0m
|
478
480
|
Rendering text template
|
479
481
|
Rendered text template (0.0ms)
|
480
|
-
Completed 200 OK in
|
481
|
-
Started GET "/
|
482
|
-
Processing by ExampleController#
|
483
|
-
[1m[36mUser Load (
|
482
|
+
Completed 200 OK in 177ms (Views: 3.4ms | ActiveRecord: 14.9ms)
|
483
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-08 12:34:33 +0000
|
484
|
+
Processing by ExampleController#restricted as JSON
|
485
|
+
[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]]
|
484
486
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
485
487
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
486
|
-
[1m[36mCACHE User Load (0.
|
487
|
-
[1m[35m (0.
|
488
|
+
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
489
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
488
490
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
489
491
|
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
490
492
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
@@ -494,897 +496,995 @@ Processing by ExampleController#this_requires_signin_permission as JSON
|
|
494
496
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
495
497
|
Rendering text template
|
496
498
|
Rendered text template (0.0ms)
|
497
|
-
Completed 200 OK in
|
498
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-
|
499
|
-
Processing by ExampleController#restricted as JSON
|
500
|
-
Completed in 17ms (ActiveRecord: 0.0ms)
|
501
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:14 +0000
|
499
|
+
Completed 200 OK in 139ms (Views: 0.6ms | ActiveRecord: 1.4ms)
|
500
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-08 12:34:33 +0000
|
502
501
|
Processing by ExampleController#restricted as HTML
|
503
502
|
Authenticating with gds_sso strategy
|
504
|
-
Completed in
|
505
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2018-
|
506
|
-
Started GET "/auth/gds/callback?code=
|
503
|
+
Completed in 1ms (ActiveRecord: 0.0ms)
|
504
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-02-08 12:34:33 +0000
|
505
|
+
Started GET "/auth/gds/callback?code=1d4e530ad728f05fb9610e420abf4920c2e10a2c572422afbe6ebe4dbb8bd26b&state=2fa77d7e5569a6dd37c5e97ecdeed137e838b97b3ca59268" for 127.0.0.1 at 2018-02-08 12:34:34 +0000
|
507
506
|
Processing by AuthenticationsController#callback as HTML
|
508
|
-
Parameters: {"code"=>"
|
507
|
+
Parameters: {"code"=>"1d4e530ad728f05fb9610e420abf4920c2e10a2c572422afbe6ebe4dbb8bd26b", "state"=>"2fa77d7e5569a6dd37c5e97ecdeed137e838b97b3ca59268"}
|
509
508
|
Authenticating with gds_sso strategy
|
510
|
-
[1m[36mUser Load (0.
|
509
|
+
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
511
510
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
512
|
-
[1m[35mSQL (0.
|
513
|
-
[1m[35m (
|
511
|
+
[1m[35mSQL (0.4ms)[0m [1m[33mUPDATE "users" SET "disabled" = ? WHERE "users"."id" = ?[0m [["disabled", "f"], ["id", 11]]
|
512
|
+
[1m[35m (6.3ms)[0m [1m[36mcommit transaction[0m
|
514
513
|
Redirected to http://www.example-client.com/restricted
|
515
|
-
Completed 302 Found in
|
516
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-
|
514
|
+
Completed 302 Found in 15ms (ActiveRecord: 7.3ms)
|
515
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-08 12:34:34 +0000
|
517
516
|
Processing by ExampleController#restricted as HTML
|
518
|
-
[1m[36mUser Load (0.
|
519
|
-
Rendering text template
|
520
|
-
Rendered text template (0.0ms)
|
521
|
-
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
522
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2018-01-23 17:16:14 +0000
|
523
|
-
Processing by ExampleController#this_requires_signin_permission as HTML
|
524
|
-
Authenticating with gds_sso strategy
|
525
|
-
Completed in 0ms (ActiveRecord: 0.0ms)
|
526
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2018-01-23 17:16:14 +0000
|
527
|
-
Started GET "/auth/gds/callback?code=0b04d8c48e5fd2478fb8b3af84309f559c1ad05d1b1c21a11b833ce1593c6e39&state=e96239537c0c2f74d1dc27e2afb4bae334eaacb43215638c" for 127.0.0.1 at 2018-01-23 17:16:14 +0000
|
528
|
-
Processing by AuthenticationsController#callback as HTML
|
529
|
-
Parameters: {"code"=>"0b04d8c48e5fd2478fb8b3af84309f559c1ad05d1b1c21a11b833ce1593c6e39", "state"=>"e96239537c0c2f74d1dc27e2afb4bae334eaacb43215638c"}
|
530
|
-
Authenticating with gds_sso strategy
|
531
|
-
[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]]
|
532
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
533
|
-
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
534
|
-
Redirected to http://www.example-client.com/this_requires_signin_permission
|
535
|
-
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
536
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2018-01-23 17:16:15 +0000
|
537
|
-
Processing by ExampleController#this_requires_signin_permission as HTML
|
538
|
-
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
539
|
-
Rendering text template
|
540
|
-
Rendered text template (0.0ms)
|
541
|
-
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
542
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2018-01-23 17:16:15 +0000
|
543
|
-
Processing by ExampleController#this_requires_signin_permission as HTML
|
544
|
-
Authenticating with gds_sso strategy
|
545
|
-
Completed in 0ms (ActiveRecord: 0.0ms)
|
546
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2018-01-23 17:16:15 +0000
|
547
|
-
Started GET "/auth/gds/callback?code=6c400a531253b352933fa50caceeedd633c1a374f09dd76a3105e407f0e4446c&state=765e268bd9ca801419b7e71627eabed18c4ce8aa5c238e8e" for 127.0.0.1 at 2018-01-23 17:16:15 +0000
|
548
|
-
Processing by AuthenticationsController#callback as HTML
|
549
|
-
Parameters: {"code"=>"6c400a531253b352933fa50caceeedd633c1a374f09dd76a3105e407f0e4446c", "state"=>"765e268bd9ca801419b7e71627eabed18c4ce8aa5c238e8e"}
|
550
|
-
Authenticating with gds_sso strategy
|
551
|
-
[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]]
|
552
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
553
|
-
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
554
|
-
Redirected to http://www.example-client.com/this_requires_signin_permission
|
555
|
-
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
556
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2018-01-23 17:16:15 +0000
|
557
|
-
Processing by ExampleController#this_requires_signin_permission as HTML
|
558
|
-
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
517
|
+
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
559
518
|
Rendering text template
|
560
519
|
Rendered text template (0.0ms)
|
561
|
-
Completed 200 OK in
|
562
|
-
Started GET "/" for 127.0.0.1 at 2018-
|
520
|
+
Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.4ms)
|
521
|
+
Started GET "/" for 127.0.0.1 at 2018-02-08 12:34:34 +0000
|
563
522
|
Processing by ExampleController#index as HTML
|
564
523
|
Rendering text template
|
565
524
|
Rendered text template (0.0ms)
|
566
|
-
Completed 200 OK in 1ms (Views: 0.
|
567
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-
|
525
|
+
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
|
526
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-08 12:34:34 +0000
|
568
527
|
Processing by ExampleController#restricted as HTML
|
569
528
|
Authenticating with gds_sso strategy
|
570
|
-
Completed in
|
571
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2018-
|
572
|
-
Started GET "/auth/gds/callback?code=
|
529
|
+
Completed in 1ms (ActiveRecord: 0.0ms)
|
530
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-02-08 12:34:34 +0000
|
531
|
+
Started GET "/auth/gds/callback?code=0f74076b646e2d722ca5e5e57756fb0ca120aeb23eb74e209550c9621dd30e84&state=926444cec95118f3c97a745f362e04c7e13f92b1fee29fe1" for 127.0.0.1 at 2018-02-08 12:34:34 +0000
|
573
532
|
Processing by AuthenticationsController#callback as HTML
|
574
|
-
Parameters: {"code"=>"
|
533
|
+
Parameters: {"code"=>"0f74076b646e2d722ca5e5e57756fb0ca120aeb23eb74e209550c9621dd30e84", "state"=>"926444cec95118f3c97a745f362e04c7e13f92b1fee29fe1"}
|
575
534
|
Authenticating with gds_sso strategy
|
576
|
-
[1m[36mUser Load (0.
|
535
|
+
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
577
536
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
578
537
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
579
538
|
Redirected to http://www.example-client.com/restricted
|
580
|
-
Completed 302 Found in
|
581
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-
|
539
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.7ms)
|
540
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-08 12:34:34 +0000
|
582
541
|
Processing by ExampleController#restricted as HTML
|
583
|
-
[1m[36mUser Load (0.
|
542
|
+
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
584
543
|
Rendering text template
|
585
544
|
Rendered text template (0.0ms)
|
586
|
-
Completed 200 OK in 3ms (Views: 0.
|
587
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-
|
545
|
+
Completed 200 OK in 3ms (Views: 0.7ms | ActiveRecord: 0.4ms)
|
546
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-08 12:34:34 +0000
|
588
547
|
Processing by ExampleController#restricted as HTML
|
589
548
|
Authenticating with gds_sso strategy
|
590
549
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
591
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2018-
|
592
|
-
Started GET "/auth/gds/callback?code=
|
550
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-02-08 12:34:34 +0000
|
551
|
+
Started GET "/auth/gds/callback?code=0a931600e113e0f0916d5759bdf9155e664840d5a6abfdf8638191ffc446b413&state=d736d515ff987bd90fd1b83045cfb2ae2bb86d76da2d8307" for 127.0.0.1 at 2018-02-08 12:34:34 +0000
|
593
552
|
Processing by AuthenticationsController#callback as HTML
|
594
|
-
Parameters: {"code"=>"
|
553
|
+
Parameters: {"code"=>"0a931600e113e0f0916d5759bdf9155e664840d5a6abfdf8638191ffc446b413", "state"=>"d736d515ff987bd90fd1b83045cfb2ae2bb86d76da2d8307"}
|
595
554
|
Authenticating with gds_sso strategy
|
596
|
-
[1m[36mUser Load (0.
|
555
|
+
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
597
556
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
598
557
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
599
558
|
Redirected to http://www.example-client.com/restricted
|
600
|
-
Completed 302 Found in
|
601
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-
|
559
|
+
Completed 302 Found in 6ms (ActiveRecord: 0.7ms)
|
560
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-08 12:34:34 +0000
|
602
561
|
Processing by ExampleController#restricted as HTML
|
603
|
-
[1m[36mUser Load (0.
|
562
|
+
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
604
563
|
Rendering text template
|
605
564
|
Rendered text template (0.0ms)
|
606
|
-
Completed 200 OK in
|
607
|
-
Started GET "/
|
608
|
-
Processing by ExampleController#
|
565
|
+
Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.4ms)
|
566
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2018-02-08 12:34:34 +0000
|
567
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
609
568
|
Authenticating with gds_sso strategy
|
610
|
-
Completed in
|
611
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2018-
|
612
|
-
Started GET "/auth/gds/callback?code=
|
569
|
+
Completed in 1ms (ActiveRecord: 0.0ms)
|
570
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-02-08 12:34:34 +0000
|
571
|
+
Started GET "/auth/gds/callback?code=b901872a1f093240a877cb3316be30b92d99d77db3198dd42b40c679758a6cee&state=1bdd936f2a7618eb2390833632a3d6421191c4e809c5b948" for 127.0.0.1 at 2018-02-08 12:34:35 +0000
|
613
572
|
Processing by AuthenticationsController#callback as HTML
|
614
|
-
Parameters: {"code"=>"
|
573
|
+
Parameters: {"code"=>"b901872a1f093240a877cb3316be30b92d99d77db3198dd42b40c679758a6cee", "state"=>"1bdd936f2a7618eb2390833632a3d6421191c4e809c5b948"}
|
615
574
|
Authenticating with gds_sso strategy
|
616
|
-
[1m[36mUser Load (0.
|
575
|
+
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
617
576
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
618
577
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
619
|
-
Redirected to http://www.example-client.com/
|
620
|
-
Completed 302 Found in
|
621
|
-
Started GET "/
|
622
|
-
Processing by ExampleController#
|
623
|
-
[1m[36mUser Load (0.
|
578
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
579
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.8ms)
|
580
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2018-02-08 12:34:35 +0000
|
581
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
582
|
+
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
624
583
|
Rendering text template
|
625
584
|
Rendered text template (0.0ms)
|
626
|
-
Completed 200 OK in
|
627
|
-
Started GET "/
|
628
|
-
Processing by ExampleController#
|
585
|
+
Completed 200 OK in 4ms (Views: 0.6ms | ActiveRecord: 0.4ms)
|
586
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2018-02-08 12:34:35 +0000
|
587
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
629
588
|
Authenticating with gds_sso strategy
|
630
589
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
631
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2018-
|
632
|
-
Started GET "/auth/gds/callback?code=
|
590
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-02-08 12:34:35 +0000
|
591
|
+
Started GET "/auth/gds/callback?code=4976153c13193f07010ae49224509456baa1f0bef0e5b46123a32f24fc60eeaa&state=58a02b65a85e0bfa6b66b933dddf3107389e106a3b8a6c9a" for 127.0.0.1 at 2018-02-08 12:34:35 +0000
|
592
|
+
Processing by AuthenticationsController#callback as HTML
|
593
|
+
Parameters: {"code"=>"4976153c13193f07010ae49224509456baa1f0bef0e5b46123a32f24fc60eeaa", "state"=>"58a02b65a85e0bfa6b66b933dddf3107389e106a3b8a6c9a"}
|
594
|
+
Authenticating with gds_sso strategy
|
595
|
+
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
596
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
597
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
598
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
599
|
+
Completed 302 Found in 6ms (ActiveRecord: 0.7ms)
|
600
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2018-02-08 12:34:35 +0000
|
601
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
602
|
+
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
603
|
+
Rendering text template
|
604
|
+
Rendered text template (0.0ms)
|
605
|
+
Completed 200 OK in 4ms (Views: 0.7ms | ActiveRecord: 0.4ms)
|
606
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-08 12:34:35 +0000
|
607
|
+
Processing by ExampleController#restricted as HTML
|
608
|
+
Authenticating with gds_sso strategy
|
609
|
+
Completed in 1ms (ActiveRecord: 0.0ms)
|
610
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-02-08 12:34:35 +0000
|
611
|
+
Started GET "/auth/gds/callback?code=cef27d6bd299b129b8e391f9885438fa3fb8eb8a8706c05327ed00b792c9a9e3&state=21a2bd01233c5f374ab27c6fe7edc38ed95fb5573d15bb19" for 127.0.0.1 at 2018-02-08 12:34:35 +0000
|
633
612
|
Processing by AuthenticationsController#callback as HTML
|
634
|
-
Parameters: {"code"=>"
|
613
|
+
Parameters: {"code"=>"cef27d6bd299b129b8e391f9885438fa3fb8eb8a8706c05327ed00b792c9a9e3", "state"=>"21a2bd01233c5f374ab27c6fe7edc38ed95fb5573d15bb19"}
|
635
614
|
Authenticating with gds_sso strategy
|
636
|
-
[1m[36mUser Load (0.
|
615
|
+
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
637
616
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
638
617
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
639
618
|
Redirected to http://www.example-client.com/restricted
|
640
|
-
Completed 302 Found in
|
641
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-
|
619
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.7ms)
|
620
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-08 12:34:35 +0000
|
642
621
|
Processing by ExampleController#restricted as HTML
|
643
622
|
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
644
623
|
Rendering text template
|
645
|
-
Rendered text template (0.
|
646
|
-
Completed 200 OK in
|
647
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-
|
624
|
+
Rendered text template (0.0ms)
|
625
|
+
Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.4ms)
|
626
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-09 08:39:35 +0000
|
648
627
|
Processing by ExampleController#restricted as HTML
|
649
628
|
Authenticating with gds_sso strategy
|
650
|
-
Completed in
|
651
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2018-
|
652
|
-
Started GET "/
|
629
|
+
Completed in 1ms (ActiveRecord: 0.0ms)
|
630
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-02-09 08:39:35 +0000
|
631
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-08 12:34:35 +0000
|
632
|
+
Processing by ExampleController#restricted as HTML
|
633
|
+
Authenticating with gds_sso strategy
|
634
|
+
Completed in 1ms (ActiveRecord: 0.0ms)
|
635
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-02-08 12:34:35 +0000
|
636
|
+
Started GET "/auth/gds/callback?code=733c566ec281b48841390fb5ce1a4367870c25e03716a8e9e72d262fcd0e69a1&state=6fea4856f5aaff154af8312dae04ac8ed36fb24293f49d0b" for 127.0.0.1 at 2018-02-08 12:34:36 +0000
|
653
637
|
Processing by AuthenticationsController#callback as HTML
|
654
|
-
Parameters: {"code"=>"
|
638
|
+
Parameters: {"code"=>"733c566ec281b48841390fb5ce1a4367870c25e03716a8e9e72d262fcd0e69a1", "state"=>"6fea4856f5aaff154af8312dae04ac8ed36fb24293f49d0b"}
|
655
639
|
Authenticating with gds_sso strategy
|
656
|
-
[1m[36mUser Load (0.
|
640
|
+
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
657
641
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
658
642
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
659
643
|
Redirected to http://www.example-client.com/restricted
|
660
|
-
Completed 302 Found in
|
661
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-
|
644
|
+
Completed 302 Found in 6ms (ActiveRecord: 0.7ms)
|
645
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-08 12:34:36 +0000
|
662
646
|
Processing by ExampleController#restricted as HTML
|
663
|
-
[1m[36mUser Load (0.
|
647
|
+
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
664
648
|
Rendering text template
|
665
649
|
Rendered text template (0.0ms)
|
666
|
-
Completed 200 OK in
|
667
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-
|
650
|
+
Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.5ms)
|
651
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-09 08:29:36 +0000
|
668
652
|
Processing by ExampleController#restricted as HTML
|
669
|
-
[1m[36mUser Load (0.
|
653
|
+
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
670
654
|
Rendering text template
|
671
655
|
Rendered text template (0.0ms)
|
672
|
-
Completed 200 OK in
|
673
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-
|
656
|
+
Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.4ms)
|
657
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-08 12:34:36 +0000
|
674
658
|
Processing by ExampleController#restricted as HTML
|
675
659
|
Authenticating with gds_sso strategy
|
676
|
-
Completed in
|
677
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2018-
|
678
|
-
Started GET "/auth/gds/callback?code=
|
660
|
+
Completed in 1ms (ActiveRecord: 0.0ms)
|
661
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-02-08 12:34:36 +0000
|
662
|
+
Started GET "/auth/gds/callback?code=6f6978c67e21a365bf30c9e64644c60995b4766ea9de384219d75403dd0ee549&state=c0a080b178d8f3cc4a1b379142a2668477d05d4f12c6a80c" for 127.0.0.1 at 2018-02-08 12:34:36 +0000
|
679
663
|
Processing by AuthenticationsController#callback as HTML
|
680
|
-
Parameters: {"code"=>"
|
664
|
+
Parameters: {"code"=>"6f6978c67e21a365bf30c9e64644c60995b4766ea9de384219d75403dd0ee549", "state"=>"c0a080b178d8f3cc4a1b379142a2668477d05d4f12c6a80c"}
|
681
665
|
Authenticating with gds_sso strategy
|
682
|
-
[1m[36mUser Load (0.
|
666
|
+
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
683
667
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
684
668
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
685
669
|
Redirected to http://www.example-client.com/restricted
|
686
|
-
Completed 302 Found in
|
687
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-
|
670
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.8ms)
|
671
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-08 12:34:36 +0000
|
688
672
|
Processing by ExampleController#restricted as HTML
|
689
|
-
[1m[36mUser Load (0.
|
673
|
+
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
690
674
|
Rendering text template
|
691
675
|
Rendered text template (0.0ms)
|
692
|
-
Completed 200 OK in
|
693
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-
|
676
|
+
Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.4ms)
|
677
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-09 08:39:36 +0000
|
694
678
|
Processing by ExampleController#restricted as HTML
|
695
679
|
Authenticating with gds_sso strategy
|
696
|
-
Completed in
|
697
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2018-
|
698
|
-
Started GET "/
|
680
|
+
Completed in 9ms (ActiveRecord: 0.0ms)
|
681
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-02-09 08:39:36 +0000
|
682
|
+
Started GET "/auth/gds/callback?code=7e2345c293dffd0c7d0859f5cc909c55f8c3cdcc7c9176514d995ee773b9cb7d&state=41867359d8536ed1992ee2643b0308c38a95d150d8b324cf" for 127.0.0.1 at 2018-02-09 08:39:36 +0000
|
683
|
+
Processing by AuthenticationsController#callback as HTML
|
684
|
+
Parameters: {"code"=>"7e2345c293dffd0c7d0859f5cc909c55f8c3cdcc7c9176514d995ee773b9cb7d", "state"=>"41867359d8536ed1992ee2643b0308c38a95d150d8b324cf"}
|
685
|
+
Authenticating with gds_sso strategy
|
686
|
+
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
687
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
688
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
689
|
+
Redirected to http://www.example-client.com/restricted
|
690
|
+
Completed 302 Found in 6ms (ActiveRecord: 0.7ms)
|
691
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-09 08:39:36 +0000
|
692
|
+
Processing by ExampleController#restricted as HTML
|
693
|
+
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
694
|
+
Rendering text template
|
695
|
+
Rendered text template (0.0ms)
|
696
|
+
Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.4ms)
|
697
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-08 12:34:36 +0000
|
699
698
|
Processing by ExampleController#restricted as HTML
|
700
699
|
Authenticating with gds_sso strategy
|
701
700
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
702
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2018-
|
703
|
-
Started GET "/auth/gds/callback?code=
|
701
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-02-08 12:34:36 +0000
|
702
|
+
Started GET "/auth/gds/callback?code=e943059dd3c1bb27c3f8da43006cedcbf4da44a8251d4cd2ae6a5e416588efce&state=199d5e963fb2d0c67d8a338dde4d1e8d122c5e288585f928" for 127.0.0.1 at 2018-02-08 12:34:36 +0000
|
704
703
|
Processing by AuthenticationsController#callback as HTML
|
705
|
-
Parameters: {"code"=>"
|
704
|
+
Parameters: {"code"=>"e943059dd3c1bb27c3f8da43006cedcbf4da44a8251d4cd2ae6a5e416588efce", "state"=>"199d5e963fb2d0c67d8a338dde4d1e8d122c5e288585f928"}
|
706
705
|
Authenticating with gds_sso strategy
|
707
|
-
[1m[36mUser Load (0.
|
706
|
+
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
708
707
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
709
708
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
710
709
|
Redirected to http://www.example-client.com/restricted
|
711
|
-
Completed 302 Found in
|
712
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-
|
710
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.7ms)
|
711
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-08 12:34:37 +0000
|
713
712
|
Processing by ExampleController#restricted as HTML
|
714
|
-
[1m[36mUser Load (0.
|
713
|
+
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
715
714
|
Rendering text template
|
716
715
|
Rendered text template (0.0ms)
|
717
|
-
Completed 200 OK in
|
718
|
-
[1m[36mUser Load (0.
|
719
|
-
[1m[35m (0.
|
720
|
-
[1m[35mSQL (0.
|
721
|
-
[1m[35m (
|
722
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-
|
716
|
+
Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.4ms)
|
717
|
+
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["email", "test@example-client.com"], ["LIMIT", 1]]
|
718
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
719
|
+
[1m[35mSQL (0.4ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "t"], ["id", 11]]
|
720
|
+
[1m[35m (5.2ms)[0m [1m[36mcommit transaction[0m
|
721
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-08 12:34:37 +0000
|
723
722
|
Processing by ExampleController#restricted as HTML
|
724
|
-
[1m[36mUser Load (0.
|
723
|
+
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
725
724
|
Authenticating with gds_sso strategy
|
726
|
-
Completed in
|
727
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2018-
|
728
|
-
Started GET "/auth/gds/callback?code=
|
725
|
+
Completed in 2ms (ActiveRecord: 0.4ms)
|
726
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-02-08 12:34:37 +0000
|
727
|
+
Started GET "/auth/gds/callback?code=9df48c2400444f28c50d4caa59f8cd72e4b41d4822326547d1f9d37bf9686d8e&state=d3ee4db37f3b45c976d5599a33b06f031e7e1160c3847d46" for 127.0.0.1 at 2018-02-08 12:34:37 +0000
|
729
728
|
Processing by AuthenticationsController#callback as HTML
|
730
|
-
Parameters: {"code"=>"
|
729
|
+
Parameters: {"code"=>"9df48c2400444f28c50d4caa59f8cd72e4b41d4822326547d1f9d37bf9686d8e", "state"=>"d3ee4db37f3b45c976d5599a33b06f031e7e1160c3847d46"}
|
731
730
|
Authenticating with gds_sso strategy
|
732
|
-
[1m[36mUser Load (0.
|
731
|
+
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
733
732
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
734
733
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
735
734
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
736
|
-
[1m[35mSQL (0.
|
737
|
-
[1m[35m (
|
735
|
+
[1m[35mSQL (0.4ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id", 11]]
|
736
|
+
[1m[35m (10.7ms)[0m [1m[36mcommit transaction[0m
|
738
737
|
Redirected to http://www.example-client.com/restricted
|
739
|
-
Completed 302 Found in
|
740
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-
|
738
|
+
Completed 302 Found in 20ms (ActiveRecord: 11.9ms)
|
739
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-08 12:34:37 +0000
|
741
740
|
Processing by ExampleController#restricted as HTML
|
742
|
-
[1m[36mUser Load (0.
|
741
|
+
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
743
742
|
Rendering text template
|
744
743
|
Rendered text template (0.0ms)
|
745
|
-
Completed 200 OK in
|
746
|
-
[1m[
|
747
|
-
[1m[35m (
|
744
|
+
Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.4ms)
|
745
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["email", "dummyapiuser@domain.com"], ["LIMIT", 1]]
|
746
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
747
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Dummy API user created by gds-sso"], ["uid", "7439"], ["email", "dummyapiuser@domain.com"], ["permissions", "---\n- signin\n"]]
|
748
|
+
[1m[35m (5.4ms)[0m [1m[36mcommit transaction[0m
|
749
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
750
|
+
[1m[35mSQL (0.4ms)[0m [1m[33mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = ?[0m [["permissions", "---\n- signin\n- extra_permission\n"], ["id", 12]]
|
751
|
+
[1m[35m (6.3ms)[0m [1m[36mcommit transaction[0m
|
752
|
+
[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]]
|
753
|
+
[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]]
|
754
|
+
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
755
|
+
[1m[35mSQL (0.4ms)[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]]
|
756
|
+
[1m[35m (5.5ms)[0m [1m[36mcommit transaction[0m
|
757
|
+
[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]]
|
758
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
759
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
760
|
+
[1m[36m (8.6ms)[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
|
761
|
+
[1m[35m (6.1ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
748
762
|
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
749
|
-
[1m[35m (
|
750
|
-
[1m[36mUser Load (0.
|
751
|
-
[1m[35mUser Load (0.
|
763
|
+
[1m[35m (5.8ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
764
|
+
[1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "asd"]]
|
765
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "user@example.com"]]
|
752
766
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
753
|
-
[1m[35mSQL (0.
|
754
|
-
[1m[36m (
|
755
|
-
[1m[35mUser Load (0.
|
756
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
757
|
-
[1m[35m (0.0ms)[0m commit transaction
|
767
|
+
[1m[35mSQL (0.4ms)[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]]
|
768
|
+
[1m[36m (8.4ms)[0m [1mcommit transaction[0m
|
769
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "asd"]]
|
758
770
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
759
|
-
[1m[
|
760
|
-
[1m[36m (6.5ms)[0m [1mcommit transaction[0m
|
761
|
-
[1m[35m (0.0ms)[0m begin transaction
|
762
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d3478"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
763
|
-
[1m[35m (6.5ms)[0m commit transaction
|
764
|
-
Processing by Api::UserController#reauth as HTML
|
765
|
-
Parameters: {"uid"=>"a1s2d3205"}
|
766
|
-
Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
|
767
|
-
Completed 403 Forbidden in 13ms (Views: 12.9ms | ActiveRecord: 0.0ms)
|
771
|
+
[1m[35m (0.1ms)[0m commit transaction
|
768
772
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
769
|
-
[1m[35mSQL (0.
|
770
|
-
[1m[36m (5.
|
773
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d35219"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
774
|
+
[1m[36m (5.8ms)[0m [1mcommit transaction[0m
|
771
775
|
[1m[35m (0.1ms)[0m begin transaction
|
772
|
-
[1m[36mSQL (0.
|
773
|
-
[1m[35m (5.
|
774
|
-
Processing by Api::UserController#
|
775
|
-
Parameters: {"uid"=>"
|
776
|
-
[1m[36mUser Load (0.
|
776
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d33293"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
777
|
+
[1m[35m (5.5ms)[0m commit transaction
|
778
|
+
Processing by Api::UserController#update as HTML
|
779
|
+
Parameters: {"uid"=>"a1s2d35219"}
|
780
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "a1s2d35219"]]
|
777
781
|
[1m[35m (0.1ms)[0m begin transaction
|
778
|
-
[1m[36mSQL (0.
|
779
|
-
[1m[35m (
|
780
|
-
Completed 200 OK in
|
781
|
-
[1m[36mUser Load (0.
|
782
|
+
[1m[36mSQL (0.4ms)[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", 2]]
|
783
|
+
[1m[35m (5.5ms)[0m commit transaction
|
784
|
+
Completed 200 OK in 13ms (ActiveRecord: 6.1ms)
|
785
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 2]]
|
782
786
|
[1m[35m (0.1ms)[0m begin transaction
|
783
|
-
[1m[36mSQL (0.
|
787
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d32016"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
784
788
|
[1m[35m (5.6ms)[0m commit transaction
|
785
789
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
786
|
-
[1m[35mSQL (0.
|
790
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d35282"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
791
|
+
[1m[36m (4.4ms)[0m [1mcommit transaction[0m
|
792
|
+
Processing by Api::UserController#update as HTML
|
793
|
+
Parameters: {"uid"=>"a1s2d32016"}
|
794
|
+
Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.5ms)
|
795
|
+
Completed 403 Forbidden in 27ms (Views: 26.8ms | ActiveRecord: 0.0ms)
|
796
|
+
[1m[35m (0.1ms)[0m begin transaction
|
797
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d38304"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
798
|
+
[1m[35m (5.5ms)[0m commit transaction
|
799
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
800
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d32811"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
787
801
|
[1m[36m (6.9ms)[0m [1mcommit transaction[0m
|
788
802
|
Processing by Api::UserController#reauth as HTML
|
789
|
-
Parameters: {"uid"=>"
|
790
|
-
[1m[35mUser Load (0.
|
791
|
-
Completed 200 OK in 1ms (ActiveRecord: 0.1ms)
|
803
|
+
Parameters: {"uid"=>"a1s2d38304"}
|
804
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "a1s2d38304"]]
|
792
805
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
793
|
-
[1m[35mSQL (0.
|
806
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 6]]
|
794
807
|
[1m[36m (6.2ms)[0m [1mcommit transaction[0m
|
808
|
+
Completed 200 OK in 10ms (ActiveRecord: 6.9ms)
|
809
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 6]]
|
810
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
811
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d3801"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
812
|
+
[1m[36m (5.5ms)[0m [1mcommit transaction[0m
|
795
813
|
[1m[35m (0.1ms)[0m begin transaction
|
796
|
-
[1m[36mSQL (0.
|
797
|
-
[1m[35m (
|
798
|
-
Processing by Api::UserController#
|
799
|
-
Parameters: {"uid"=>"
|
800
|
-
Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.
|
801
|
-
Completed 403 Forbidden in 1ms (Views: 0.
|
814
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d32770"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
815
|
+
[1m[35m (6.7ms)[0m commit transaction
|
816
|
+
Processing by Api::UserController#reauth as HTML
|
817
|
+
Parameters: {"uid"=>"a1s2d3801"}
|
818
|
+
Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.1ms)
|
819
|
+
Completed 403 Forbidden in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)
|
802
820
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
803
|
-
[1m[35mSQL (0.
|
804
|
-
[1m[36m (
|
821
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d32379"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
822
|
+
[1m[36m (7.1ms)[0m [1mcommit transaction[0m
|
805
823
|
[1m[35m (0.1ms)[0m begin transaction
|
806
|
-
[1m[36mSQL (0.
|
807
|
-
[1m[35m (
|
808
|
-
Processing by Api::UserController#
|
809
|
-
Parameters: {"uid"=>"
|
810
|
-
[1m[36mUser Load (0.
|
824
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d37249"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
825
|
+
[1m[35m (5.3ms)[0m commit transaction
|
826
|
+
Processing by Api::UserController#reauth as HTML
|
827
|
+
Parameters: {"uid"=>"nonexistent-user"}
|
828
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "nonexistent-user"]]
|
829
|
+
Completed 200 OK in 1ms (ActiveRecord: 0.2ms)
|
830
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "dummyapiuser@domain.com"]]
|
831
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
832
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("email", "uid", "name", "permissions") VALUES (?, ?, ?, ?) [["email", "dummyapiuser@domain.com"], ["uid", "7434"], ["name", "Dummy API user created by gds-sso"], ["permissions", "---\n- signin\n"]]
|
833
|
+
[1m[36m (6.5ms)[0m [1mcommit transaction[0m
|
811
834
|
[1m[35m (0.1ms)[0m begin transaction
|
812
|
-
[1m[36mSQL (0.
|
813
|
-
[1m[35m (
|
814
|
-
|
815
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 10]]
|
816
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:23 +0000
|
835
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = ?[0m [["permissions", "---\n- signin\n- extra_permission\n"], ["id", 12]]
|
836
|
+
[1m[35m (6.1ms)[0m commit transaction
|
837
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-08 12:34:46 +0000
|
817
838
|
Processing by ExampleController#restricted as HTML
|
818
839
|
Authenticating with gds_sso strategy
|
819
|
-
Completed in
|
820
|
-
Started GET "/
|
821
|
-
|
822
|
-
|
823
|
-
|
824
|
-
|
825
|
-
|
826
|
-
|
827
|
-
Processing by ExampleController#restricted as JSON
|
828
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
829
|
-
[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"]]
|
830
|
-
[1m[35m (0.1ms)[0m begin transaction
|
831
|
-
[1m[36mSQL (0.3ms)[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]]
|
832
|
-
[1m[35m (7.2ms)[0m commit transaction
|
833
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
834
|
-
[1m[35m (0.1ms)[0m begin transaction
|
835
|
-
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
836
|
-
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
837
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
838
|
-
[1m[35m (0.1ms)[0m commit transaction
|
839
|
-
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
840
|
-
[1m[35m (0.1ms)[0m begin transaction
|
841
|
-
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
842
|
-
[1m[35m (0.0ms)[0m begin transaction
|
843
|
-
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id", 12]]
|
844
|
-
[1m[35m (7.0ms)[0m commit transaction
|
845
|
-
Rendered text template (0.0ms)
|
846
|
-
Completed 200 OK in 92ms (Views: 3.5ms | ActiveRecord: 15.5ms)
|
847
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2018-01-23 17:16:23 +0000
|
848
|
-
Processing by ExampleController#this_requires_signin_permission as JSON
|
849
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
850
|
-
[1m[35m (0.1ms)[0m begin transaction
|
851
|
-
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
852
|
-
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
840
|
+
Completed in 19ms (ActiveRecord: 0.0ms)
|
841
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-02-08 12:34:46 +0000
|
842
|
+
Started GET "/auth/gds/callback?code=4739a11f483abcd8ebdf64170ad790eb8eeebc84098ce50108a8e7dd41479708&state=940a69fd2083600a978032d9255b9b2c91a4383c479d2c3f" for 127.0.0.1 at 2018-02-08 12:34:46 +0000
|
843
|
+
Processing by AuthenticationsController#callback as HTML
|
844
|
+
Parameters: {"code"=>"4739a11f483abcd8ebdf64170ad790eb8eeebc84098ce50108a8e7dd41479708", "state"=>"940a69fd2083600a978032d9255b9b2c91a4383c479d2c3f"}
|
845
|
+
Authenticating with gds_sso strategy
|
846
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
847
|
+
[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"]]
|
853
848
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
854
|
-
[1m[
|
855
|
-
[1m[
|
849
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "integration-uid"], ["email", "test@example-client.com"], ["name", "Test User"], ["permissions", "---\n- signin\n"]]
|
850
|
+
[1m[36m (6.9ms)[0m [1mcommit transaction[0m
|
856
851
|
[1m[35m (0.1ms)[0m begin transaction
|
857
|
-
[1m[
|
858
|
-
[1m[
|
859
|
-
|
860
|
-
|
861
|
-
|
862
|
-
|
852
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id", 13]]
|
853
|
+
[1m[35m (6.0ms)[0m commit transaction
|
854
|
+
Redirected to http://www.example-client.com/restricted
|
855
|
+
Completed 302 Found in 24ms (ActiveRecord: 14.2ms)
|
856
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-08 12:34:46 +0000
|
857
|
+
Processing by ExampleController#restricted as HTML
|
858
|
+
[1m[36mUser Load (0.4ms)[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"]]
|
863
859
|
Rendered text template (0.0ms)
|
864
|
-
Completed 200 OK in
|
865
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-
|
860
|
+
Completed 200 OK in 11ms (Views: 5.8ms | ActiveRecord: 0.4ms)
|
861
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-08 12:34:46 +0000
|
866
862
|
Processing by ExampleController#restricted as HTML
|
867
863
|
Authenticating with gds_sso strategy
|
868
864
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
869
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2018-
|
870
|
-
Started GET "/auth/gds/callback?code=
|
865
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-02-08 12:34:46 +0000
|
866
|
+
Started GET "/auth/gds/callback?code=785d0b7a0fded9437df515778d1ecf901b9993da2beaf54e13a0fb8b6d65520c&state=875294be1e77af2e910108e3f3fab42d9d555dad808481fe" for 127.0.0.1 at 2018-02-08 12:34:47 +0000
|
871
867
|
Processing by AuthenticationsController#callback as HTML
|
872
|
-
Parameters: {"code"=>"
|
868
|
+
Parameters: {"code"=>"785d0b7a0fded9437df515778d1ecf901b9993da2beaf54e13a0fb8b6d65520c", "state"=>"875294be1e77af2e910108e3f3fab42d9d555dad808481fe"}
|
873
869
|
Authenticating with gds_sso strategy
|
874
|
-
[1m[
|
875
|
-
[1m[
|
876
|
-
[1m[
|
877
|
-
[1m[
|
878
|
-
[1m[
|
879
|
-
[1m[35m (0.0ms)[0m commit transaction
|
870
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
871
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
872
|
+
[1m[35m (0.1ms)[0m commit transaction
|
873
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
874
|
+
[1m[35m (0.1ms)[0m commit transaction
|
880
875
|
Redirected to http://www.example-client.com/restricted
|
881
|
-
Completed 302 Found in
|
882
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-
|
876
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.6ms)
|
877
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-08 12:34:47 +0000
|
883
878
|
Processing by ExampleController#restricted as HTML
|
884
879
|
[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"]]
|
885
880
|
Rendered text template (0.0ms)
|
886
|
-
Completed 200 OK in
|
887
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2018-
|
881
|
+
Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.2ms)
|
882
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2018-02-08 12:34:47 +0000
|
888
883
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
889
884
|
Authenticating with gds_sso strategy
|
890
885
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
891
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2018-
|
892
|
-
Started GET "/auth/gds/callback?code=
|
886
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-02-08 12:34:47 +0000
|
887
|
+
Started GET "/auth/gds/callback?code=b1727727e652ae5815c0edc5159a888adf1bf4472df5b3ff84f152248770d34f&state=9075c5146f572de2503977f0c3921a095389f49e27da2c67" for 127.0.0.1 at 2018-02-08 12:34:47 +0000
|
893
888
|
Processing by AuthenticationsController#callback as HTML
|
894
|
-
Parameters: {"code"=>"
|
889
|
+
Parameters: {"code"=>"b1727727e652ae5815c0edc5159a888adf1bf4472df5b3ff84f152248770d34f", "state"=>"9075c5146f572de2503977f0c3921a095389f49e27da2c67"}
|
895
890
|
Authenticating with gds_sso strategy
|
896
|
-
[1m[35mUser Load (0.
|
891
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
892
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
893
|
+
[1m[35m (0.1ms)[0m commit transaction
|
897
894
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
898
|
-
[1m[35m (0.
|
899
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
900
|
-
[1m[35m (0.0ms)[0m commit transaction
|
895
|
+
[1m[35m (0.1ms)[0m commit transaction
|
901
896
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
902
|
-
Completed 302 Found in
|
903
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2018-
|
897
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.7ms)
|
898
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2018-02-08 12:34:47 +0000
|
904
899
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
905
|
-
[1m[36mUser Load (0.
|
900
|
+
[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"]]
|
906
901
|
Rendered text template (0.0ms)
|
907
|
-
Completed 200 OK in
|
908
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2018-
|
902
|
+
Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.2ms)
|
903
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2018-02-08 12:34:47 +0000
|
909
904
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
910
905
|
Authenticating with gds_sso strategy
|
911
906
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
912
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2018-
|
913
|
-
Started GET "/auth/gds/callback?code=
|
907
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-02-08 12:34:47 +0000
|
908
|
+
Started GET "/auth/gds/callback?code=85ff6441fd1098c23254cf7bae6e316dd99368d6f8a9ec5f4552492a4cfe435b&state=385878b9b638cd5e6db311e244bc6119b49d58da08a77648" for 127.0.0.1 at 2018-02-08 12:34:47 +0000
|
914
909
|
Processing by AuthenticationsController#callback as HTML
|
915
|
-
Parameters: {"code"=>"
|
910
|
+
Parameters: {"code"=>"85ff6441fd1098c23254cf7bae6e316dd99368d6f8a9ec5f4552492a4cfe435b", "state"=>"385878b9b638cd5e6db311e244bc6119b49d58da08a77648"}
|
916
911
|
Authenticating with gds_sso strategy
|
917
|
-
[1m[35mUser Load (0.
|
912
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
913
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
914
|
+
[1m[35m (0.2ms)[0m commit transaction
|
918
915
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
919
916
|
[1m[35m (0.1ms)[0m commit transaction
|
920
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
921
|
-
[1m[35m (0.0ms)[0m commit transaction
|
922
917
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
923
|
-
Completed 302 Found in
|
924
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2018-
|
918
|
+
Completed 302 Found in 11ms (ActiveRecord: 0.8ms)
|
919
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2018-02-08 12:34:47 +0000
|
925
920
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
926
|
-
[1m[36mUser Load (0.
|
921
|
+
[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"]]
|
927
922
|
Rendered text template (0.0ms)
|
928
|
-
Completed 200 OK in
|
929
|
-
Started GET "/
|
930
|
-
Processing by ExampleController#
|
931
|
-
Authenticating with gds_sso strategy
|
932
|
-
Completed in 0ms (ActiveRecord: 0.0ms)
|
933
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2018-01-23 17:16:24 +0000
|
934
|
-
Started GET "/auth/gds/callback?code=975e5f50712651ecbef9c61594d6754bdd527da25fd8be5631e207c984cb2ccc&state=1aac7d835f566e4fb96f4f33527a0279f5481ebd839014c0" for 127.0.0.1 at 2018-01-23 17:16:24 +0000
|
935
|
-
Processing by AuthenticationsController#callback as HTML
|
936
|
-
Parameters: {"code"=>"975e5f50712651ecbef9c61594d6754bdd527da25fd8be5631e207c984cb2ccc", "state"=>"1aac7d835f566e4fb96f4f33527a0279f5481ebd839014c0"}
|
937
|
-
Authenticating with gds_sso strategy
|
938
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
939
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
940
|
-
[1m[35m (0.0ms)[0m commit transaction
|
941
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
942
|
-
[1m[35m (0.0ms)[0m commit transaction
|
943
|
-
Redirected to http://www.example-client.com/restricted
|
944
|
-
Completed 302 Found in 5ms (ActiveRecord: 0.4ms)
|
945
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:24 +0000
|
946
|
-
Processing by ExampleController#restricted as HTML
|
947
|
-
[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"]]
|
923
|
+
Completed 200 OK in 4ms (Views: 0.5ms | ActiveRecord: 0.2ms)
|
924
|
+
Started GET "/" for 127.0.0.1 at 2018-02-08 12:34:47 +0000
|
925
|
+
Processing by ExampleController#index as HTML
|
948
926
|
Rendered text template (0.0ms)
|
949
|
-
Completed 200 OK in
|
950
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-
|
927
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
928
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-08 12:34:47 +0000
|
951
929
|
Processing by ExampleController#restricted as HTML
|
952
930
|
Authenticating with gds_sso strategy
|
953
|
-
Completed in
|
954
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2018-
|
955
|
-
Started GET "/auth/gds/callback?code=
|
931
|
+
Completed in 1ms (ActiveRecord: 0.0ms)
|
932
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-02-08 12:34:47 +0000
|
933
|
+
Started GET "/auth/gds/callback?code=af1183090f7c86b04c2eb46f86d742fffebc164d242cf768dcb05be96ce09c3f&state=d6ec8faab9a27c43cb4fe93ccb6cc44c98367a91381ce36d" for 127.0.0.1 at 2018-02-08 12:34:48 +0000
|
956
934
|
Processing by AuthenticationsController#callback as HTML
|
957
|
-
Parameters: {"code"=>"
|
935
|
+
Parameters: {"code"=>"af1183090f7c86b04c2eb46f86d742fffebc164d242cf768dcb05be96ce09c3f", "state"=>"d6ec8faab9a27c43cb4fe93ccb6cc44c98367a91381ce36d"}
|
958
936
|
Authenticating with gds_sso strategy
|
959
|
-
[1m[35mUser Load (0.
|
937
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
938
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
939
|
+
[1m[35m (0.1ms)[0m commit transaction
|
960
940
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
961
|
-
[1m[35m (0.
|
962
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
963
|
-
[1m[35m (0.0ms)[0m commit transaction
|
941
|
+
[1m[35m (0.1ms)[0m commit transaction
|
964
942
|
Redirected to http://www.example-client.com/restricted
|
965
|
-
Completed 302 Found in
|
966
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-
|
943
|
+
Completed 302 Found in 8ms (ActiveRecord: 0.7ms)
|
944
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-08 12:34:48 +0000
|
967
945
|
Processing by ExampleController#restricted as HTML
|
968
|
-
[1m[36mUser Load (0.
|
969
|
-
Rendered text template (0.0ms)
|
970
|
-
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
971
|
-
Started GET "/" for 127.0.0.1 at 2018-01-23 17:16:24 +0000
|
972
|
-
Processing by ExampleController#index as HTML
|
946
|
+
[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"]]
|
973
947
|
Rendered text template (0.0ms)
|
974
|
-
Completed 200 OK in
|
975
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-
|
948
|
+
Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.2ms)
|
949
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-08 12:34:48 +0000
|
976
950
|
Processing by ExampleController#restricted as HTML
|
977
951
|
Authenticating with gds_sso strategy
|
978
|
-
Completed in
|
979
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2018-
|
980
|
-
Started GET "/auth/gds/callback?code=
|
952
|
+
Completed in 1ms (ActiveRecord: 0.0ms)
|
953
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-02-08 12:34:48 +0000
|
954
|
+
Started GET "/auth/gds/callback?code=9bdc3e80ba7e32a893a8794eace25f48c26a8d9f3de1b53a12c58e524c071943&state=bcb2ff281280fc94511636156e69852a5908a201334041b9" for 127.0.0.1 at 2018-02-08 12:34:48 +0000
|
981
955
|
Processing by AuthenticationsController#callback as HTML
|
982
|
-
Parameters: {"code"=>"
|
956
|
+
Parameters: {"code"=>"9bdc3e80ba7e32a893a8794eace25f48c26a8d9f3de1b53a12c58e524c071943", "state"=>"bcb2ff281280fc94511636156e69852a5908a201334041b9"}
|
983
957
|
Authenticating with gds_sso strategy
|
984
958
|
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
959
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
960
|
+
[1m[35m (0.1ms)[0m commit transaction
|
985
961
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
986
|
-
[1m[35m (0.
|
987
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
988
|
-
[1m[35m (0.0ms)[0m commit transaction
|
962
|
+
[1m[35m (0.1ms)[0m commit transaction
|
989
963
|
Redirected to http://www.example-client.com/restricted
|
990
|
-
Completed 302 Found in
|
991
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-
|
964
|
+
Completed 302 Found in 8ms (ActiveRecord: 0.7ms)
|
965
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-08 12:34:48 +0000
|
992
966
|
Processing by ExampleController#restricted as HTML
|
993
|
-
[1m[36mUser Load (0.
|
967
|
+
[1m[36mUser Load (0.3ms)[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"]]
|
994
968
|
Rendered text template (0.0ms)
|
995
|
-
Completed 200 OK in
|
969
|
+
Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.3ms)
|
996
970
|
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "test@example-client.com"]]
|
997
971
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
998
|
-
[1m[35mSQL (0.
|
999
|
-
[1m[36m (
|
1000
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-
|
972
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 13]]
|
973
|
+
[1m[36m (4.9ms)[0m [1mcommit transaction[0m
|
974
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-08 12:34:48 +0000
|
1001
975
|
Processing by ExampleController#restricted as HTML
|
1002
|
-
[1m[35mUser Load (0.
|
976
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
1003
977
|
Authenticating with gds_sso strategy
|
1004
|
-
Completed in
|
1005
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2018-
|
1006
|
-
Started GET "/auth/gds/callback?code=
|
978
|
+
Completed in 2ms (ActiveRecord: 0.2ms)
|
979
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-02-08 12:34:48 +0000
|
980
|
+
Started GET "/auth/gds/callback?code=445e139a698170bc331dea278fb7946f0836ae4c13fc1f8b7a1969ff995b1812&state=757eb97322ee40bf9b9ca670f411111c372391900bc5f538" for 127.0.0.1 at 2018-02-08 12:34:48 +0000
|
1007
981
|
Processing by AuthenticationsController#callback as HTML
|
1008
|
-
Parameters: {"code"=>"
|
982
|
+
Parameters: {"code"=>"445e139a698170bc331dea278fb7946f0836ae4c13fc1f8b7a1969ff995b1812", "state"=>"757eb97322ee40bf9b9ca670f411111c372391900bc5f538"}
|
1009
983
|
Authenticating with gds_sso strategy
|
1010
|
-
[1m[36mUser Load (0.
|
984
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
1011
985
|
[1m[35m (0.1ms)[0m begin transaction
|
1012
986
|
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
1013
|
-
[1m[35m (0.
|
1014
|
-
[1m[36mSQL (0.
|
1015
|
-
[1m[35m (
|
987
|
+
[1m[35m (0.1ms)[0m begin transaction
|
988
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id", 13]]
|
989
|
+
[1m[35m (7.1ms)[0m commit transaction
|
1016
990
|
Redirected to http://www.example-client.com/restricted
|
1017
|
-
Completed 302 Found in
|
1018
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-
|
991
|
+
Completed 302 Found in 18ms (ActiveRecord: 7.9ms)
|
992
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-08 12:34:48 +0000
|
1019
993
|
Processing by ExampleController#restricted as HTML
|
1020
|
-
[1m[36mUser Load (0.
|
994
|
+
[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"]]
|
1021
995
|
Rendered text template (0.0ms)
|
1022
|
-
Completed 200 OK in
|
1023
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-
|
996
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
997
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-08 12:34:48 +0000
|
1024
998
|
Processing by ExampleController#restricted as HTML
|
1025
999
|
Authenticating with gds_sso strategy
|
1026
1000
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1027
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2018-
|
1028
|
-
Started GET "/auth/gds/callback?code=
|
1001
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-02-08 12:34:48 +0000
|
1002
|
+
Started GET "/auth/gds/callback?code=d20f54aa80721efc5f8d0b3d0356940f375763fd44addc5f78646d62ee2b3edf&state=4078967dec1dd01dcf7910f84813af0671fa40d3c43abe07" for 127.0.0.1 at 2018-02-08 12:34:49 +0000
|
1029
1003
|
Processing by AuthenticationsController#callback as HTML
|
1030
|
-
Parameters: {"code"=>"
|
1004
|
+
Parameters: {"code"=>"d20f54aa80721efc5f8d0b3d0356940f375763fd44addc5f78646d62ee2b3edf", "state"=>"4078967dec1dd01dcf7910f84813af0671fa40d3c43abe07"}
|
1031
1005
|
Authenticating with gds_sso strategy
|
1032
1006
|
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
1033
1007
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1034
1008
|
[1m[35m (0.1ms)[0m commit transaction
|
1035
1009
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1036
|
-
[1m[35m (0.
|
1010
|
+
[1m[35m (0.1ms)[0m commit transaction
|
1037
1011
|
Redirected to http://www.example-client.com/restricted
|
1038
|
-
Completed 302 Found in
|
1039
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-
|
1012
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.6ms)
|
1013
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-08 12:34:49 +0000
|
1014
|
+
Processing by ExampleController#restricted as HTML
|
1015
|
+
[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"]]
|
1016
|
+
Rendered text template (0.1ms)
|
1017
|
+
Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.2ms)
|
1018
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-09 08:29:49 +0000
|
1040
1019
|
Processing by ExampleController#restricted as HTML
|
1041
|
-
[1m[
|
1020
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
1042
1021
|
Rendered text template (0.0ms)
|
1043
|
-
Completed 200 OK in
|
1044
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-
|
1022
|
+
Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
1023
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-08 12:34:49 +0000
|
1045
1024
|
Processing by ExampleController#restricted as HTML
|
1046
1025
|
Authenticating with gds_sso strategy
|
1047
1026
|
Completed in 1ms (ActiveRecord: 0.0ms)
|
1048
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2018-
|
1049
|
-
Started GET "/
|
1050
|
-
Processing by ExampleController#restricted as HTML
|
1051
|
-
Authenticating with gds_sso strategy
|
1052
|
-
Completed in 0ms (ActiveRecord: 0.0ms)
|
1053
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2018-01-23 17:16:25 +0000
|
1054
|
-
Started GET "/auth/gds/callback?code=d54a02d6befb119141bb82cd97f557576a575fb38635d0c1ed794a97884b1771&state=27889d6abe3e8df526d95349b3ef8a426266d11d4e4c02a9" for 127.0.0.1 at 2018-01-23 17:16:25 +0000
|
1027
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-02-08 12:34:49 +0000
|
1028
|
+
Started GET "/auth/gds/callback?code=345be22bc7f3c8eb219d50db560dc0aa63177cf4cbc7bc81dfed10dd1be9d375&state=78b8b0e61a0097c42309286f29d57eb4861d48ed59dc9f82" for 127.0.0.1 at 2018-02-08 12:34:49 +0000
|
1055
1029
|
Processing by AuthenticationsController#callback as HTML
|
1056
|
-
Parameters: {"code"=>"
|
1030
|
+
Parameters: {"code"=>"345be22bc7f3c8eb219d50db560dc0aa63177cf4cbc7bc81dfed10dd1be9d375", "state"=>"78b8b0e61a0097c42309286f29d57eb4861d48ed59dc9f82"}
|
1057
1031
|
Authenticating with gds_sso strategy
|
1058
|
-
[1m[
|
1059
|
-
[1m[
|
1060
|
-
[1m[
|
1061
|
-
[1m[
|
1062
|
-
[1m[
|
1032
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
1033
|
+
[1m[35m (0.3ms)[0m begin transaction
|
1034
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
1035
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1036
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
1063
1037
|
Redirected to http://www.example-client.com/restricted
|
1064
|
-
Completed 302 Found in
|
1065
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-
|
1038
|
+
Completed 302 Found in 8ms (ActiveRecord: 0.9ms)
|
1039
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-08 12:34:49 +0000
|
1066
1040
|
Processing by ExampleController#restricted as HTML
|
1067
|
-
[1m[
|
1041
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
1068
1042
|
Rendered text template (0.0ms)
|
1069
|
-
Completed 200 OK in
|
1070
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-
|
1043
|
+
Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.2ms)
|
1044
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-09 08:39:49 +0000
|
1071
1045
|
Processing by ExampleController#restricted as HTML
|
1072
|
-
|
1073
|
-
|
1074
|
-
|
1075
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-
|
1046
|
+
Authenticating with gds_sso strategy
|
1047
|
+
Completed in 1ms (ActiveRecord: 0.0ms)
|
1048
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-02-09 08:39:49 +0000
|
1049
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-08 12:34:49 +0000
|
1076
1050
|
Processing by ExampleController#restricted as HTML
|
1077
1051
|
Authenticating with gds_sso strategy
|
1078
1052
|
Completed in 1ms (ActiveRecord: 0.0ms)
|
1079
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2018-
|
1080
|
-
Started GET "/auth/gds/callback?code=
|
1053
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-02-08 12:34:49 +0000
|
1054
|
+
Started GET "/auth/gds/callback?code=102433edeec079b6f80533cb3a99233a34fcfe760dab94605f5d4b02cafc3d98&state=ccbe1f5c927d6a6438a4047cc631333ddeeb5a9a08ab0955" for 127.0.0.1 at 2018-02-08 12:34:49 +0000
|
1081
1055
|
Processing by AuthenticationsController#callback as HTML
|
1082
|
-
Parameters: {"code"=>"
|
1056
|
+
Parameters: {"code"=>"102433edeec079b6f80533cb3a99233a34fcfe760dab94605f5d4b02cafc3d98", "state"=>"ccbe1f5c927d6a6438a4047cc631333ddeeb5a9a08ab0955"}
|
1083
1057
|
Authenticating with gds_sso strategy
|
1084
|
-
[1m[36mUser Load (0.
|
1058
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
1059
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1060
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
1085
1061
|
[1m[35m (0.1ms)[0m begin transaction
|
1086
|
-
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1087
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1088
1062
|
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
1089
1063
|
Redirected to http://www.example-client.com/restricted
|
1090
|
-
Completed 302 Found in
|
1091
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-
|
1064
|
+
Completed 302 Found in 8ms (ActiveRecord: 0.6ms)
|
1065
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-08 12:34:49 +0000
|
1092
1066
|
Processing by ExampleController#restricted as HTML
|
1093
|
-
[1m[35mUser Load (0.
|
1067
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
1094
1068
|
Rendered text template (0.0ms)
|
1095
|
-
Completed 200 OK in
|
1096
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-
|
1069
|
+
Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.2ms)
|
1070
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-09 08:39:49 +0000
|
1097
1071
|
Processing by ExampleController#restricted as HTML
|
1098
1072
|
Authenticating with gds_sso strategy
|
1099
|
-
Completed in
|
1100
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2018-
|
1101
|
-
Started GET "/auth/gds/callback?code=
|
1073
|
+
Completed in 1ms (ActiveRecord: 0.0ms)
|
1074
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-02-09 08:39:49 +0000
|
1075
|
+
Started GET "/auth/gds/callback?code=ee1c93ab7d9de16f5b62325fcba1d3ef0cf137bbf621c531bca87b76d68b6d98&state=14b024ca931e2f383884cede11e8615857b1003b3675bb14" for 127.0.0.1 at 2018-02-09 08:39:49 +0000
|
1102
1076
|
Processing by AuthenticationsController#callback as HTML
|
1103
|
-
Parameters: {"code"=>"
|
1077
|
+
Parameters: {"code"=>"ee1c93ab7d9de16f5b62325fcba1d3ef0cf137bbf621c531bca87b76d68b6d98", "state"=>"14b024ca931e2f383884cede11e8615857b1003b3675bb14"}
|
1104
1078
|
Authenticating with gds_sso strategy
|
1105
|
-
[1m[36mUser Load (0.
|
1079
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
1106
1080
|
[1m[35m (0.1ms)[0m begin transaction
|
1107
1081
|
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
1108
1082
|
[1m[35m (0.1ms)[0m begin transaction
|
1109
1083
|
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
1110
1084
|
Redirected to http://www.example-client.com/restricted
|
1111
|
-
Completed 302 Found in
|
1112
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-
|
1085
|
+
Completed 302 Found in 9ms (ActiveRecord: 0.7ms)
|
1086
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-09 08:39:50 +0000
|
1113
1087
|
Processing by ExampleController#restricted as HTML
|
1114
|
-
[1m[35mUser Load (0.
|
1115
|
-
Rendered text template (0.0ms)
|
1116
|
-
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
1117
|
-
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "users"[0m
|
1118
|
-
[1m[35m (0.9ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
1119
|
-
[1m[35m (8.0ms)[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
|
1120
|
-
[1m[35m (8.3ms)[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
|
1121
|
-
[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]]
|
1122
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1123
|
-
[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", "2018-01-23 17:16:31.586695"], ["updated_at", "2018-01-23 17:16:31.586695"]]
|
1124
|
-
[1m[35m (8.6ms)[0m [1m[36mcommit transaction[0m
|
1125
|
-
[1m[35m (17.0ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
1126
|
-
[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]]
|
1127
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1128
|
-
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1129
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2018-01-23 17:16:32 +0000
|
1130
|
-
Processing by ExampleController#this_requires_signin_permission as HTML
|
1131
|
-
Authenticating with gds_sso strategy
|
1132
|
-
Completed in 6ms (ActiveRecord: 0.0ms)
|
1133
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2018-01-23 17:16:32 +0000
|
1134
|
-
Started GET "/auth/gds/callback?code=17a42fba0db9edb71043d23222be66b12729b473e38d0eba0489fcbc4d155a89&state=24233b213f99d33722d9bee469977a232036881722922f4e" for 127.0.0.1 at 2018-01-23 17:16:32 +0000
|
1135
|
-
Processing by AuthenticationsController#callback as HTML
|
1136
|
-
Parameters: {"code"=>"17a42fba0db9edb71043d23222be66b12729b473e38d0eba0489fcbc4d155a89", "state"=>"24233b213f99d33722d9bee469977a232036881722922f4e"}
|
1137
|
-
Authenticating with gds_sso strategy
|
1138
|
-
[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]]
|
1139
|
-
[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]]
|
1140
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1141
|
-
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Test User"], ["uid", "integration-uid"], ["email", "test@example-client.com"], ["permissions", "---\n- signin\n"]]
|
1142
|
-
[1m[35m (10.1ms)[0m [1m[36mcommit transaction[0m
|
1143
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1144
|
-
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id", 1]]
|
1145
|
-
[1m[35m (6.5ms)[0m [1m[36mcommit transaction[0m
|
1146
|
-
Redirected to http://www.example-client.com/this_requires_signin_permission
|
1147
|
-
Completed 302 Found in 38ms (ActiveRecord: 18.9ms)
|
1148
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2018-01-23 17:16:32 +0000
|
1149
|
-
Processing by ExampleController#this_requires_signin_permission as HTML
|
1150
|
-
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
1151
|
-
Rendering text template
|
1088
|
+
[1m[35mUser Load (0.6ms)[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"]]
|
1152
1089
|
Rendered text template (0.0ms)
|
1153
|
-
Completed 200 OK in
|
1154
|
-
Started GET "/
|
1155
|
-
Processing by ExampleController#this_requires_signin_permission as HTML
|
1156
|
-
Authenticating with gds_sso strategy
|
1157
|
-
Completed in 0ms (ActiveRecord: 0.0ms)
|
1158
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2018-01-23 17:16:32 +0000
|
1159
|
-
Started GET "/auth/gds/callback?code=2a080321a878353fead65147fe47492be7bf440103035213c313b29cd27440f0&state=0a33c40eac3b37546674a109884d471362f840df31e9c4f4" for 127.0.0.1 at 2018-01-23 17:16:32 +0000
|
1160
|
-
Processing by AuthenticationsController#callback as HTML
|
1161
|
-
Parameters: {"code"=>"2a080321a878353fead65147fe47492be7bf440103035213c313b29cd27440f0", "state"=>"0a33c40eac3b37546674a109884d471362f840df31e9c4f4"}
|
1162
|
-
Authenticating with gds_sso strategy
|
1163
|
-
[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]]
|
1164
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1165
|
-
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1166
|
-
Redirected to http://www.example-client.com/this_requires_signin_permission
|
1167
|
-
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
1168
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2018-01-23 17:16:32 +0000
|
1169
|
-
Processing by ExampleController#this_requires_signin_permission as HTML
|
1170
|
-
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
1171
|
-
Rendering text template
|
1172
|
-
Rendered text template (0.0ms)
|
1173
|
-
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
1174
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:32 +0000
|
1090
|
+
Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.6ms)
|
1091
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-08 12:34:50 +0000
|
1175
1092
|
Processing by ExampleController#restricted as HTML
|
1176
1093
|
Authenticating with gds_sso strategy
|
1177
1094
|
Completed in 1ms (ActiveRecord: 0.0ms)
|
1178
|
-
Started GET "/
|
1179
|
-
|
1180
|
-
|
1181
|
-
|
1182
|
-
|
1183
|
-
[1m[
|
1184
|
-
[1m[
|
1185
|
-
[1m[35m (0.
|
1186
|
-
|
1187
|
-
|
1188
|
-
|
1189
|
-
|
1190
|
-
[1m[
|
1191
|
-
|
1095
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-08 12:34:50 +0000
|
1096
|
+
Processing by ExampleController#restricted as JSON
|
1097
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
1098
|
+
[1m[35m (0.2ms)[0m begin transaction
|
1099
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "disabled" = ? WHERE "users"."id" = ?[0m [["disabled", nil], ["id", 13]]
|
1100
|
+
[1m[35m (6.5ms)[0m commit transaction
|
1101
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
1102
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1103
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
1104
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
1105
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1106
|
+
[1m[35m (0.1ms)[0m commit transaction
|
1107
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
1108
|
+
[1m[35m (0.4ms)[0m begin transaction
|
1109
|
+
[1m[36m (0.4ms)[0m [1mcommit transaction[0m
|
1110
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1111
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
1192
1112
|
Rendered text template (0.0ms)
|
1193
|
-
Completed 200 OK in
|
1194
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-
|
1195
|
-
Processing by ExampleController#restricted as
|
1196
|
-
|
1197
|
-
|
1198
|
-
|
1199
|
-
|
1200
|
-
|
1201
|
-
|
1113
|
+
Completed 200 OK in 161ms (Views: 0.6ms | ActiveRecord: 9.0ms)
|
1114
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-08 12:34:50 +0000
|
1115
|
+
Processing by ExampleController#restricted as JSON
|
1116
|
+
Completed in 50ms (ActiveRecord: 0.0ms)
|
1117
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-08 12:34:50 +0000
|
1118
|
+
Processing by ExampleController#restricted as JSON
|
1119
|
+
Completed in 26ms (ActiveRecord: 0.0ms)
|
1120
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2018-02-08 12:34:50 +0000
|
1121
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
1122
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
1123
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1124
|
+
[1m[35m (0.1ms)[0m commit transaction
|
1125
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
1126
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1127
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
1128
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
1129
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1130
|
+
[1m[35m (0.1ms)[0m commit transaction
|
1131
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
1132
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1133
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
1134
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1135
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
1136
|
+
Rendered text template (0.0ms)
|
1137
|
+
Completed 200 OK in 140ms (Views: 0.6ms | ActiveRecord: 1.5ms)
|
1138
|
+
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "users"[0m
|
1139
|
+
[1m[35m (2.2ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
1140
|
+
[1m[35m (6.3ms)[0m [1m[35mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "uid" varchar NOT NULL, "email" varchar NOT NULL, "remotely_signed_out" boolean, "permissions" text, "organisation_slug" varchar, "organisation_content_id" varchar, "disabled" boolean DEFAULT 'f')[0m
|
1141
|
+
[1m[35m (5.7ms)[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
|
1142
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
1143
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1144
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2018-02-08 12:34:56.576582"], ["updated_at", "2018-02-08 12:34:56.576582"]]
|
1145
|
+
[1m[35m (5.8ms)[0m [1m[36mcommit transaction[0m
|
1146
|
+
[1m[35m (6.1ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
1147
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
1148
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1149
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1150
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["email", "dummyapiuser@domain.com"], ["LIMIT", 1]]
|
1151
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1152
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Dummy API user created by gds-sso"], ["uid", "3861"], ["email", "dummyapiuser@domain.com"], ["permissions", "---\n- signin\n"]]
|
1153
|
+
[1m[35m (6.5ms)[0m [1m[36mcommit transaction[0m
|
1154
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1155
|
+
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = ?[0m [["permissions", "---\n- signin\n- extra_permission\n"], ["id", 1]]
|
1156
|
+
[1m[35m (4.4ms)[0m [1m[36mcommit transaction[0m
|
1157
|
+
[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]]
|
1158
|
+
[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]]
|
1159
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1160
|
+
[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]]
|
1161
|
+
[1m[35m (4.4ms)[0m [1m[36mcommit transaction[0m
|
1162
|
+
[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]]
|
1163
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1164
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1165
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1166
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d34287"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1167
|
+
[1m[35m (6.6ms)[0m [1m[36mcommit transaction[0m
|
1168
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1169
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d36951"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1170
|
+
[1m[35m (4.4ms)[0m [1m[36mcommit transaction[0m
|
1171
|
+
Processing by Api::UserController#update as HTML
|
1172
|
+
Parameters: {"uid"=>"a1s2d34287"}
|
1173
|
+
Rendering /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
1174
|
+
Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.3ms)
|
1175
|
+
Completed 403 Forbidden in 13ms (Views: 12.2ms | ActiveRecord: 0.0ms)
|
1176
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1177
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d31849"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1178
|
+
[1m[35m (5.6ms)[0m [1m[36mcommit transaction[0m
|
1179
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1180
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d38290"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1181
|
+
[1m[35m (5.2ms)[0m [1m[36mcommit transaction[0m
|
1182
|
+
Processing by Api::UserController#update as HTML
|
1183
|
+
Parameters: {"uid"=>"a1s2d31849"}
|
1184
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d31849"], ["LIMIT", 1]]
|
1185
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1186
|
+
[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", 5]]
|
1187
|
+
[1m[35m (4.4ms)[0m [1m[36mcommit transaction[0m
|
1188
|
+
Completed 200 OK in 8ms (ActiveRecord: 4.9ms)
|
1189
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 5], ["LIMIT", 1]]
|
1190
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1191
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d32707"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1192
|
+
[1m[35m (6.6ms)[0m [1m[36mcommit transaction[0m
|
1193
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1194
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d36330"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1195
|
+
[1m[35m (5.6ms)[0m [1m[36mcommit transaction[0m
|
1196
|
+
Processing by Api::UserController#reauth as HTML
|
1197
|
+
Parameters: {"uid"=>"a1s2d32707"}
|
1198
|
+
Rendering /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
1199
|
+
Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.0ms)
|
1200
|
+
Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
|
1201
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1202
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d35739"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1203
|
+
[1m[35m (5.7ms)[0m [1m[36mcommit transaction[0m
|
1204
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1205
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d3413"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1206
|
+
[1m[35m (5.2ms)[0m [1m[36mcommit transaction[0m
|
1207
|
+
Processing by Api::UserController#reauth as HTML
|
1208
|
+
Parameters: {"uid"=>"a1s2d35739"}
|
1209
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d35739"], ["LIMIT", 1]]
|
1210
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1211
|
+
[1m[35mSQL (0.3ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "t"], ["id", 9]]
|
1212
|
+
[1m[35m (5.6ms)[0m [1m[36mcommit transaction[0m
|
1213
|
+
Completed 200 OK in 10ms (ActiveRecord: 6.2ms)
|
1214
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 9], ["LIMIT", 1]]
|
1215
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1216
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d37118"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1217
|
+
[1m[35m (5.7ms)[0m [1m[36mcommit transaction[0m
|
1218
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1219
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d39642"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1220
|
+
[1m[35m (5.8ms)[0m [1m[36mcommit transaction[0m
|
1221
|
+
Processing by Api::UserController#reauth as HTML
|
1222
|
+
Parameters: {"uid"=>"nonexistent-user"}
|
1223
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "nonexistent-user"], ["LIMIT", 1]]
|
1224
|
+
Completed 200 OK in 2ms (ActiveRecord: 0.2ms)
|
1225
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2018-02-08 12:34:57 +0000
|
1226
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
1227
|
+
Authenticating with gds_sso strategy
|
1228
|
+
Completed in 11ms (ActiveRecord: 0.0ms)
|
1229
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-02-08 12:34:57 +0000
|
1230
|
+
Started GET "/auth/gds/callback?code=9af7243c1ac724bfeeda182a5f25fadd8d47c03ddbc96ac1899e3c4ae7d32a59&state=26d434db4ecc9a77e5ce47dfff041811d85dbd4f15088b89" for 127.0.0.1 at 2018-02-08 12:34:57 +0000
|
1231
|
+
Processing by AuthenticationsController#callback as HTML
|
1232
|
+
Parameters: {"code"=>"9af7243c1ac724bfeeda182a5f25fadd8d47c03ddbc96ac1899e3c4ae7d32a59", "state"=>"26d434db4ecc9a77e5ce47dfff041811d85dbd4f15088b89"}
|
1233
|
+
Authenticating with gds_sso strategy
|
1234
|
+
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1235
|
+
[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]]
|
1236
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1237
|
+
[1m[35mSQL (0.4ms)[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"]]
|
1238
|
+
[1m[35m (6.4ms)[0m [1m[36mcommit transaction[0m
|
1239
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1240
|
+
[1m[35mSQL (0.4ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id", 13]]
|
1241
|
+
[1m[35m (4.6ms)[0m [1m[36mcommit transaction[0m
|
1242
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
1243
|
+
Completed 302 Found in 23ms (ActiveRecord: 12.9ms)
|
1244
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2018-02-08 12:34:57 +0000
|
1245
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
1246
|
+
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
1247
|
+
Rendering text template
|
1248
|
+
Rendered text template (0.0ms)
|
1249
|
+
Completed 200 OK in 6ms (Views: 2.3ms | ActiveRecord: 0.4ms)
|
1250
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2018-02-08 12:34:57 +0000
|
1251
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
1252
|
+
Authenticating with gds_sso strategy
|
1253
|
+
Completed in 0ms (ActiveRecord: 0.0ms)
|
1254
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-02-08 12:34:57 +0000
|
1255
|
+
Started GET "/auth/gds/callback?code=ef7ecf0f3e00b6e3b3ec52ab51701d6666c98ca428744612cb6181822a970558&state=03c36bd4f2d3ce8838266eb3de8515c5850e45231f529f18" for 127.0.0.1 at 2018-02-08 12:34:58 +0000
|
1256
|
+
Processing by AuthenticationsController#callback as HTML
|
1257
|
+
Parameters: {"code"=>"ef7ecf0f3e00b6e3b3ec52ab51701d6666c98ca428744612cb6181822a970558", "state"=>"03c36bd4f2d3ce8838266eb3de8515c5850e45231f529f18"}
|
1258
|
+
Authenticating with gds_sso strategy
|
1259
|
+
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1260
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1261
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1262
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
1263
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.7ms)
|
1264
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2018-02-08 12:34:58 +0000
|
1265
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
1266
|
+
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
1267
|
+
Rendering text template
|
1268
|
+
Rendered text template (0.0ms)
|
1269
|
+
Completed 200 OK in 4ms (Views: 0.6ms | ActiveRecord: 0.4ms)
|
1270
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-08 12:34:58 +0000
|
1271
|
+
Processing by ExampleController#restricted as HTML
|
1202
1272
|
Authenticating with gds_sso strategy
|
1203
|
-
|
1204
|
-
|
1205
|
-
|
1273
|
+
Completed in 1ms (ActiveRecord: 0.0ms)
|
1274
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-02-08 12:34:58 +0000
|
1275
|
+
Started GET "/auth/gds/callback?code=cf796aed477875c71ffb7fc64921620f91b12bb794165afac3ee69c83b52809b&state=cd5d7ece9a1bd24010805d148e353641f8c58cffda4ec127" for 127.0.0.1 at 2018-02-08 12:34:58 +0000
|
1276
|
+
Processing by AuthenticationsController#callback as HTML
|
1277
|
+
Parameters: {"code"=>"cf796aed477875c71ffb7fc64921620f91b12bb794165afac3ee69c83b52809b", "state"=>"cd5d7ece9a1bd24010805d148e353641f8c58cffda4ec127"}
|
1278
|
+
Authenticating with gds_sso strategy
|
1279
|
+
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1280
|
+
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
1281
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1206
1282
|
Redirected to http://www.example-client.com/restricted
|
1207
|
-
Completed 302 Found in
|
1208
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-
|
1283
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.8ms)
|
1284
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-08 12:34:58 +0000
|
1209
1285
|
Processing by ExampleController#restricted as HTML
|
1210
|
-
[1m[36mUser Load (0.
|
1286
|
+
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
1211
1287
|
Rendering text template
|
1212
1288
|
Rendered text template (0.0ms)
|
1213
|
-
Completed 200 OK in
|
1214
|
-
Started GET "/" for 127.0.0.1 at 2018-
|
1289
|
+
Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.4ms)
|
1290
|
+
Started GET "/" for 127.0.0.1 at 2018-02-08 12:34:58 +0000
|
1215
1291
|
Processing by ExampleController#index as HTML
|
1216
1292
|
Rendering text template
|
1217
1293
|
Rendered text template (0.0ms)
|
1218
|
-
Completed 200 OK in 1ms (Views: 0.
|
1219
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-
|
1294
|
+
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
|
1295
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-08 12:34:58 +0000
|
1296
|
+
Processing by ExampleController#restricted as HTML
|
1297
|
+
Authenticating with gds_sso strategy
|
1298
|
+
Completed in 1ms (ActiveRecord: 0.0ms)
|
1299
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-02-08 12:34:58 +0000
|
1300
|
+
Started GET "/auth/gds/callback?code=06eb6ce45a8b70ba29e781a64dd2283da3946b92c754ce19325e56026f2b233e&state=25d9a2c9d384ee8a223185d5581554287be3acaf8c73cf0d" for 127.0.0.1 at 2018-02-08 12:34:58 +0000
|
1301
|
+
Processing by AuthenticationsController#callback as HTML
|
1302
|
+
Parameters: {"code"=>"06eb6ce45a8b70ba29e781a64dd2283da3946b92c754ce19325e56026f2b233e", "state"=>"25d9a2c9d384ee8a223185d5581554287be3acaf8c73cf0d"}
|
1303
|
+
Authenticating with gds_sso strategy
|
1304
|
+
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1305
|
+
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
1306
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1307
|
+
Redirected to http://www.example-client.com/restricted
|
1308
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.8ms)
|
1309
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-08 12:34:58 +0000
|
1310
|
+
Processing by ExampleController#restricted as HTML
|
1311
|
+
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
1312
|
+
Rendering text template
|
1313
|
+
Rendered text template (0.0ms)
|
1314
|
+
Completed 200 OK in 4ms (Views: 0.6ms | ActiveRecord: 0.4ms)
|
1315
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-08 12:34:58 +0000
|
1220
1316
|
Processing by ExampleController#restricted as HTML
|
1221
1317
|
Authenticating with gds_sso strategy
|
1222
1318
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1223
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2018-
|
1224
|
-
Started GET "/auth/gds/callback?code=
|
1319
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-02-08 12:34:58 +0000
|
1320
|
+
Started GET "/auth/gds/callback?code=8c3abefcaba41b602083524884e7253fda99bd6cf6abd5a0290cc6f4d2d756be&state=5d73527d853731d05753dd87e86acfb9fe3356ff656224c5" for 127.0.0.1 at 2018-02-08 12:34:59 +0000
|
1225
1321
|
Processing by AuthenticationsController#callback as HTML
|
1226
|
-
Parameters: {"code"=>"
|
1322
|
+
Parameters: {"code"=>"8c3abefcaba41b602083524884e7253fda99bd6cf6abd5a0290cc6f4d2d756be", "state"=>"5d73527d853731d05753dd87e86acfb9fe3356ff656224c5"}
|
1227
1323
|
Authenticating with gds_sso strategy
|
1228
|
-
[1m[36mUser Load (0.
|
1324
|
+
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1229
1325
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1230
|
-
[1m[35m (0.
|
1326
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1231
1327
|
Redirected to http://www.example-client.com/restricted
|
1232
|
-
Completed 302 Found in
|
1233
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-
|
1328
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.7ms)
|
1329
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-08 12:34:59 +0000
|
1234
1330
|
Processing by ExampleController#restricted as HTML
|
1235
|
-
[1m[36mUser Load (0.
|
1331
|
+
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
1236
1332
|
Rendering text template
|
1237
1333
|
Rendered text template (0.0ms)
|
1238
|
-
Completed 200 OK in
|
1239
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-
|
1334
|
+
Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.5ms)
|
1335
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-08 12:34:59 +0000
|
1240
1336
|
Processing by ExampleController#restricted as HTML
|
1241
1337
|
Authenticating with gds_sso strategy
|
1242
1338
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1243
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2018-
|
1244
|
-
Started GET "/auth/gds/callback?code=
|
1339
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-02-08 12:34:59 +0000
|
1340
|
+
Started GET "/auth/gds/callback?code=9d78b2e636bda2d1da65cdd7ec4cd32e353a2b40ca1d3b1e50f58a0b03c03261&state=2756c214f6c38f31d25cf897a432ffbc04d5de5ff802751d" for 127.0.0.1 at 2018-02-08 12:34:59 +0000
|
1245
1341
|
Processing by AuthenticationsController#callback as HTML
|
1246
|
-
Parameters: {"code"=>"
|
1342
|
+
Parameters: {"code"=>"9d78b2e636bda2d1da65cdd7ec4cd32e353a2b40ca1d3b1e50f58a0b03c03261", "state"=>"2756c214f6c38f31d25cf897a432ffbc04d5de5ff802751d"}
|
1247
1343
|
Authenticating with gds_sso strategy
|
1248
|
-
[1m[36mUser Load (0.
|
1344
|
+
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1249
1345
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1250
|
-
[1m[35m (0.
|
1346
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1251
1347
|
Redirected to http://www.example-client.com/restricted
|
1252
|
-
Completed 302 Found in
|
1253
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-
|
1348
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.8ms)
|
1349
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-08 12:34:59 +0000
|
1254
1350
|
Processing by ExampleController#restricted as HTML
|
1255
|
-
[1m[36mUser Load (0.
|
1351
|
+
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
1256
1352
|
Rendering text template
|
1257
1353
|
Rendered text template (0.0ms)
|
1258
|
-
Completed 200 OK in
|
1259
|
-
[1m[36mUser Load (0.
|
1354
|
+
Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.4ms)
|
1355
|
+
[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]]
|
1260
1356
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1261
|
-
[1m[35mSQL (0.
|
1262
|
-
[1m[35m (
|
1263
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-
|
1357
|
+
[1m[35mSQL (0.5ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "t"], ["id", 13]]
|
1358
|
+
[1m[35m (8.5ms)[0m [1m[36mcommit transaction[0m
|
1359
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-08 12:34:59 +0000
|
1264
1360
|
Processing by ExampleController#restricted as HTML
|
1265
|
-
[1m[36mUser Load (0.
|
1361
|
+
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
1266
1362
|
Authenticating with gds_sso strategy
|
1267
|
-
Completed in
|
1268
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2018-
|
1269
|
-
Started GET "/auth/gds/callback?code=
|
1363
|
+
Completed in 4ms (ActiveRecord: 0.4ms)
|
1364
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-02-08 12:34:59 +0000
|
1365
|
+
Started GET "/auth/gds/callback?code=8d75295dee950d4e27afb5fa3c74a74bd3d9b49e5ae678e0150299178346ab05&state=f0683ba6b322a00e1b8fa85d417a4d04d318e01c80beb86d" for 127.0.0.1 at 2018-02-08 12:34:59 +0000
|
1270
1366
|
Processing by AuthenticationsController#callback as HTML
|
1271
|
-
Parameters: {"code"=>"
|
1367
|
+
Parameters: {"code"=>"8d75295dee950d4e27afb5fa3c74a74bd3d9b49e5ae678e0150299178346ab05", "state"=>"f0683ba6b322a00e1b8fa85d417a4d04d318e01c80beb86d"}
|
1272
1368
|
Authenticating with gds_sso strategy
|
1273
|
-
[1m[36mUser Load (0.
|
1369
|
+
[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]]
|
1274
1370
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1275
|
-
[1m[35m (0.
|
1276
|
-
[1m[35m (0.
|
1277
|
-
[1m[35mSQL (0.
|
1278
|
-
[1m[35m (
|
1371
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1372
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1373
|
+
[1m[35mSQL (0.4ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id", 13]]
|
1374
|
+
[1m[35m (6.9ms)[0m [1m[36mcommit transaction[0m
|
1279
1375
|
Redirected to http://www.example-client.com/restricted
|
1280
|
-
Completed 302 Found in
|
1281
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-
|
1376
|
+
Completed 302 Found in 16ms (ActiveRecord: 8.3ms)
|
1377
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-08 12:35:00 +0000
|
1282
1378
|
Processing by ExampleController#restricted as HTML
|
1283
|
-
[1m[36mUser Load (0.
|
1379
|
+
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
1284
1380
|
Rendering text template
|
1285
1381
|
Rendered text template (0.0ms)
|
1286
|
-
Completed 200 OK in
|
1287
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-
|
1382
|
+
Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.5ms)
|
1383
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-08 12:35:00 +0000
|
1288
1384
|
Processing by ExampleController#restricted as HTML
|
1289
1385
|
Authenticating with gds_sso strategy
|
1290
|
-
Completed in
|
1291
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2018-
|
1292
|
-
Started GET "/auth/gds/callback?code=
|
1386
|
+
Completed in 1ms (ActiveRecord: 0.0ms)
|
1387
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-02-08 12:35:00 +0000
|
1388
|
+
Started GET "/auth/gds/callback?code=1cb565292a6e21dd952e56386530d3f8ce14acfcbca26d453cd1934514037dee&state=3651845c88c128768aaeeff81019c1c5a11c1f1ccd5e71b2" for 127.0.0.1 at 2018-02-08 12:35:00 +0000
|
1293
1389
|
Processing by AuthenticationsController#callback as HTML
|
1294
|
-
Parameters: {"code"=>"
|
1390
|
+
Parameters: {"code"=>"1cb565292a6e21dd952e56386530d3f8ce14acfcbca26d453cd1934514037dee", "state"=>"3651845c88c128768aaeeff81019c1c5a11c1f1ccd5e71b2"}
|
1295
1391
|
Authenticating with gds_sso strategy
|
1296
|
-
[1m[36mUser Load (0.
|
1392
|
+
[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]]
|
1297
1393
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1298
1394
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1299
1395
|
Redirected to http://www.example-client.com/restricted
|
1300
|
-
Completed 302 Found in
|
1301
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-
|
1396
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.8ms)
|
1397
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-08 12:35:00 +0000
|
1302
1398
|
Processing by ExampleController#restricted as HTML
|
1303
|
-
[1m[36mUser Load (0.
|
1399
|
+
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
1304
1400
|
Rendering text template
|
1305
|
-
Rendered text template (0.
|
1306
|
-
Completed 200 OK in
|
1307
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-
|
1401
|
+
Rendered text template (0.1ms)
|
1402
|
+
Completed 200 OK in 4ms (Views: 0.7ms | ActiveRecord: 0.4ms)
|
1403
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-09 08:40:00 +0000
|
1308
1404
|
Processing by ExampleController#restricted as HTML
|
1309
1405
|
Authenticating with gds_sso strategy
|
1310
1406
|
Completed in 1ms (ActiveRecord: 0.0ms)
|
1311
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2018-
|
1312
|
-
Started GET "/auth/gds/callback?code=
|
1407
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-02-09 08:40:00 +0000
|
1408
|
+
Started GET "/auth/gds/callback?code=0e20b04eec25e1573d0d08b65a0ed3ae33ed0124df1978ea689eca17029c028b&state=7f34d518ad87ceafbeb42f5defb4c0d61be49aab536a21eb" for 127.0.0.1 at 2018-02-09 08:40:00 +0000
|
1313
1409
|
Processing by AuthenticationsController#callback as HTML
|
1314
|
-
Parameters: {"code"=>"
|
1410
|
+
Parameters: {"code"=>"0e20b04eec25e1573d0d08b65a0ed3ae33ed0124df1978ea689eca17029c028b", "state"=>"7f34d518ad87ceafbeb42f5defb4c0d61be49aab536a21eb"}
|
1315
1411
|
Authenticating with gds_sso strategy
|
1316
|
-
[1m[36mUser Load (0.
|
1317
|
-
[1m[35m (0.
|
1412
|
+
[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]]
|
1413
|
+
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
1318
1414
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1319
1415
|
Redirected to http://www.example-client.com/restricted
|
1320
|
-
Completed 302 Found in
|
1321
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-
|
1416
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.9ms)
|
1417
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-09 08:40:00 +0000
|
1322
1418
|
Processing by ExampleController#restricted as HTML
|
1323
|
-
[1m[36mUser Load (0.
|
1419
|
+
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
1324
1420
|
Rendering text template
|
1325
|
-
Rendered text template (0.
|
1326
|
-
Completed 200 OK in
|
1327
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-
|
1421
|
+
Rendered text template (0.1ms)
|
1422
|
+
Completed 200 OK in 4ms (Views: 0.7ms | ActiveRecord: 0.5ms)
|
1423
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-08 12:35:00 +0000
|
1328
1424
|
Processing by ExampleController#restricted as HTML
|
1329
1425
|
Authenticating with gds_sso strategy
|
1330
1426
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1331
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2018-
|
1332
|
-
Started GET "/auth/gds/callback?code=
|
1427
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-02-08 12:35:00 +0000
|
1428
|
+
Started GET "/auth/gds/callback?code=fd4be11484b5c5f77758ca697ed201dfa003a4fdfe5b3ce90c5cfc88587f8b01&state=1f0bb77e1b40c1bbbd2f85a383be0c97edc82d5e2e9e023f" for 127.0.0.1 at 2018-02-08 12:35:00 +0000
|
1333
1429
|
Processing by AuthenticationsController#callback as HTML
|
1334
|
-
Parameters: {"code"=>"
|
1430
|
+
Parameters: {"code"=>"fd4be11484b5c5f77758ca697ed201dfa003a4fdfe5b3ce90c5cfc88587f8b01", "state"=>"1f0bb77e1b40c1bbbd2f85a383be0c97edc82d5e2e9e023f"}
|
1335
1431
|
Authenticating with gds_sso strategy
|
1336
|
-
[1m[36mUser Load (0.
|
1432
|
+
[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]]
|
1337
1433
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1338
1434
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1339
1435
|
Redirected to http://www.example-client.com/restricted
|
1340
|
-
Completed 302 Found in
|
1341
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-
|
1436
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.9ms)
|
1437
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-08 12:35:00 +0000
|
1342
1438
|
Processing by ExampleController#restricted as HTML
|
1343
|
-
[1m[36mUser Load (0.
|
1439
|
+
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
1344
1440
|
Rendering text template
|
1345
1441
|
Rendered text template (0.0ms)
|
1346
|
-
Completed 200 OK in
|
1347
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-
|
1442
|
+
Completed 200 OK in 3ms (Views: 0.7ms | ActiveRecord: 0.4ms)
|
1443
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-09 08:30:00 +0000
|
1348
1444
|
Processing by ExampleController#restricted as HTML
|
1349
|
-
|
1350
|
-
|
1351
|
-
|
1352
|
-
|
1445
|
+
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
1446
|
+
Rendering text template
|
1447
|
+
Rendered text template (0.0ms)
|
1448
|
+
Completed 200 OK in 4ms (Views: 0.9ms | ActiveRecord: 0.4ms)
|
1449
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-08 12:35:00 +0000
|
1353
1450
|
Processing by ExampleController#restricted as HTML
|
1354
1451
|
Authenticating with gds_sso strategy
|
1355
1452
|
Completed in 1ms (ActiveRecord: 0.0ms)
|
1356
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2018-
|
1357
|
-
Started GET "/auth/gds/callback?code=
|
1453
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-02-08 12:35:00 +0000
|
1454
|
+
Started GET "/auth/gds/callback?code=84d6dd0567baf355853b3293a09241568f2afed1ded51bc2f110dfed92454548&state=49c3760f413ce5079b460207ea298b94f6fc73475094cb12" for 127.0.0.1 at 2018-02-08 12:35:01 +0000
|
1358
1455
|
Processing by AuthenticationsController#callback as HTML
|
1359
|
-
Parameters: {"code"=>"
|
1456
|
+
Parameters: {"code"=>"84d6dd0567baf355853b3293a09241568f2afed1ded51bc2f110dfed92454548", "state"=>"49c3760f413ce5079b460207ea298b94f6fc73475094cb12"}
|
1360
1457
|
Authenticating with gds_sso strategy
|
1361
|
-
[1m[36mUser Load (0.
|
1458
|
+
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1362
1459
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1363
|
-
[1m[35m (0.
|
1460
|
+
[1m[35m (0.2ms)[0m [1m[36mcommit transaction[0m
|
1364
1461
|
Redirected to http://www.example-client.com/restricted
|
1365
|
-
Completed 302 Found in
|
1366
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-
|
1462
|
+
Completed 302 Found in 9ms (ActiveRecord: 0.8ms)
|
1463
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-08 12:35:01 +0000
|
1367
1464
|
Processing by ExampleController#restricted as HTML
|
1368
|
-
[1m[36mUser Load (0.
|
1465
|
+
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
1369
1466
|
Rendering text template
|
1370
1467
|
Rendered text template (0.0ms)
|
1371
|
-
Completed 200 OK in
|
1372
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-
|
1468
|
+
Completed 200 OK in 4ms (Views: 0.6ms | ActiveRecord: 0.5ms)
|
1469
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-09 08:40:01 +0000
|
1373
1470
|
Processing by ExampleController#restricted as HTML
|
1374
|
-
|
1375
|
-
|
1376
|
-
|
1377
|
-
|
1378
|
-
|
1379
|
-
|
1380
|
-
Completed in
|
1381
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-
|
1471
|
+
Authenticating with gds_sso strategy
|
1472
|
+
Completed in 1ms (ActiveRecord: 0.0ms)
|
1473
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-02-09 08:40:01 +0000
|
1474
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-08 12:35:01 +0000
|
1475
|
+
Processing by ExampleController#restricted as HTML
|
1476
|
+
Authenticating with gds_sso strategy
|
1477
|
+
Completed in 1ms (ActiveRecord: 0.0ms)
|
1478
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-08 12:35:01 +0000
|
1382
1479
|
Processing by ExampleController#restricted as JSON
|
1383
|
-
|
1384
|
-
|
1385
|
-
|
1386
|
-
[1m[
|
1387
|
-
[1m[
|
1480
|
+
Completed in 30ms (ActiveRecord: 0.0ms)
|
1481
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2018-02-08 12:35:01 +0000
|
1482
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
1483
|
+
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1484
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1485
|
+
[1m[35mSQL (0.4ms)[0m [1m[33mUPDATE "users" SET "disabled" = ? WHERE "users"."id" = ?[0m [["disabled", nil], ["id", 13]]
|
1486
|
+
[1m[35m (6.5ms)[0m [1m[36mcommit transaction[0m
|
1487
|
+
[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]]
|
1388
1488
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1389
1489
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1390
1490
|
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
@@ -1395,10 +1495,13 @@ Processing by ExampleController#restricted as JSON
|
|
1395
1495
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1396
1496
|
Rendering text template
|
1397
1497
|
Rendered text template (0.0ms)
|
1398
|
-
Completed 200 OK in
|
1399
|
-
Started GET "/
|
1400
|
-
Processing by ExampleController#
|
1401
|
-
|
1498
|
+
Completed 200 OK in 131ms (Views: 0.6ms | ActiveRecord: 8.7ms)
|
1499
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-08 12:35:01 +0000
|
1500
|
+
Processing by ExampleController#restricted as JSON
|
1501
|
+
Completed in 47ms (ActiveRecord: 0.0ms)
|
1502
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-08 12:35:01 +0000
|
1503
|
+
Processing by ExampleController#restricted as JSON
|
1504
|
+
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1402
1505
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1403
1506
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1404
1507
|
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
@@ -1412,438 +1515,363 @@ Processing by ExampleController#this_requires_signin_permission as JSON
|
|
1412
1515
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1413
1516
|
Rendering text template
|
1414
1517
|
Rendered text template (0.0ms)
|
1415
|
-
Completed 200 OK in
|
1416
|
-
|
1417
|
-
|
1418
|
-
|
1419
|
-
|
1420
|
-
|
1421
|
-
|
1422
|
-
|
1423
|
-
[1m[
|
1424
|
-
[1m[
|
1425
|
-
[1m[35m (
|
1426
|
-
[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]]
|
1427
|
-
[1m[35m (6.8ms)[0m [1m[36mcommit transaction[0m
|
1428
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "asd"], ["LIMIT", 1]]
|
1429
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1430
|
-
[1m[35m (0.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", "Moshua Jarshall"], ["uid", "a1s2d36378"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1433
|
-
[1m[35m (6.8ms)[0m [1m[36mcommit transaction[0m
|
1434
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1435
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d3113"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1436
|
-
[1m[35m (5.2ms)[0m [1m[36mcommit transaction[0m
|
1437
|
-
Processing by Api::UserController#reauth as HTML
|
1438
|
-
Parameters: {"uid"=>"a1s2d36378"}
|
1439
|
-
Rendering /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
1440
|
-
Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.3ms)
|
1441
|
-
Completed 403 Forbidden in 11ms (Views: 9.7ms | ActiveRecord: 0.0ms)
|
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", "a1s2d38646"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1444
|
-
[1m[35m (7.6ms)[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", "a1s2d36943"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1447
|
-
[1m[35m (5.6ms)[0m [1m[36mcommit transaction[0m
|
1448
|
-
Processing by Api::UserController#reauth as HTML
|
1449
|
-
Parameters: {"uid"=>"a1s2d38646"}
|
1450
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d38646"], ["LIMIT", 1]]
|
1451
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1452
|
-
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "t"], ["id", 5]]
|
1453
|
-
[1m[35m (8.4ms)[0m [1m[36mcommit transaction[0m
|
1454
|
-
Completed 200 OK in 12ms (ActiveRecord: 8.8ms)
|
1455
|
-
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 5], ["LIMIT", 1]]
|
1456
|
-
[1m[35m (0.6ms)[0m [1m[36mbegin transaction[0m
|
1457
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d39704"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1458
|
-
[1m[35m (7.9ms)[0m [1m[36mcommit transaction[0m
|
1459
|
-
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
1460
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d39238"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1461
|
-
[1m[35m (6.5ms)[0m [1m[36mcommit transaction[0m
|
1462
|
-
Processing by Api::UserController#reauth as HTML
|
1463
|
-
Parameters: {"uid"=>"nonexistent-user"}
|
1464
|
-
[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]]
|
1465
|
-
Completed 200 OK in 1ms (ActiveRecord: 0.1ms)
|
1466
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1467
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d32434"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1468
|
-
[1m[35m (6.3ms)[0m [1m[36mcommit transaction[0m
|
1469
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1470
|
-
[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"]]
|
1471
|
-
[1m[35m (5.3ms)[0m [1m[36mcommit transaction[0m
|
1518
|
+
Completed 200 OK in 130ms (Views: 0.6ms | ActiveRecord: 1.4ms)
|
1519
|
+
[1m[36m (9.7ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "uid" varchar NOT NULL, "email" varchar NOT NULL, "remotely_signed_out" boolean, "permissions" text, "organisation_slug" varchar, "organisation_content_id" varchar, "disabled" boolean DEFAULT 'f') [0m
|
1520
|
+
[1m[35m (6.6ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
1521
|
+
[1m[36m (0.2ms)[0m [1mselect sqlite_version(*)[0m
|
1522
|
+
[1m[35m (6.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
1523
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
1524
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d38779"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
1525
|
+
[1m[36m (7.3ms)[0m [1mcommit transaction[0m
|
1526
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1527
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d31167"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1528
|
+
[1m[35m (5.0ms)[0m commit transaction
|
1472
1529
|
Processing by Api::UserController#update as HTML
|
1473
|
-
Parameters: {"uid"=>"
|
1474
|
-
|
1475
|
-
|
1476
|
-
[1m[
|
1477
|
-
[1m[
|
1478
|
-
|
1479
|
-
[1m[
|
1480
|
-
[1m[
|
1481
|
-
[1m[
|
1482
|
-
[1m[35m (7.5ms)[0m [1m[36mcommit transaction[0m
|
1483
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1484
|
-
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d32479"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1485
|
-
[1m[35m (9.4ms)[0m [1m[36mcommit transaction[0m
|
1530
|
+
Parameters: {"uid"=>"a1s2d38779"}
|
1531
|
+
Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.4ms)
|
1532
|
+
Completed 403 Forbidden in 27ms (Views: 26.4ms | ActiveRecord: 0.0ms)
|
1533
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1534
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d36167"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
1535
|
+
[1m[36m (5.4ms)[0m [1mcommit transaction[0m
|
1536
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1537
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d38152"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1538
|
+
[1m[35m (5.7ms)[0m commit transaction
|
1486
1539
|
Processing by Api::UserController#update as HTML
|
1487
|
-
Parameters: {"uid"=>"
|
1488
|
-
|
1489
|
-
|
1490
|
-
|
1491
|
-
[1m[
|
1492
|
-
|
1493
|
-
[1m[
|
1494
|
-
[1m[35m (
|
1540
|
+
Parameters: {"uid"=>"a1s2d36167"}
|
1541
|
+
[1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "a1s2d36167"]]
|
1542
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1543
|
+
[1m[36mSQL (0.4ms)[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", 3]]
|
1544
|
+
[1m[35m (6.1ms)[0m commit transaction
|
1545
|
+
Completed 200 OK in 26ms (ActiveRecord: 7.0ms)
|
1546
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 3]]
|
1547
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1548
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d39125"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
1549
|
+
[1m[35m (5.7ms)[0m commit transaction
|
1495
1550
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1496
|
-
[1m[35mSQL (0.
|
1497
|
-
[1m[36m (6.
|
1498
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1499
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d34488"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1500
|
-
[1m[35m (6.9ms)[0m commit transaction
|
1551
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d3868"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1552
|
+
[1m[36m (6.2ms)[0m [1mcommit transaction[0m
|
1501
1553
|
Processing by Api::UserController#reauth as HTML
|
1502
|
-
Parameters: {"uid"=>"
|
1503
|
-
|
1504
|
-
Completed
|
1554
|
+
Parameters: {"uid"=>"a1s2d39125"}
|
1555
|
+
Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.1ms)
|
1556
|
+
Completed 403 Forbidden in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)
|
1505
1557
|
[1m[35m (0.1ms)[0m begin transaction
|
1506
|
-
[1m[36mSQL (0.
|
1507
|
-
[1m[35m (
|
1508
|
-
[1m[36m (0.
|
1509
|
-
[1m[35mSQL (0.
|
1510
|
-
[1m[36m (
|
1558
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d33167"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
1559
|
+
[1m[35m (5.9ms)[0m commit transaction
|
1560
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
1561
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d31544"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1562
|
+
[1m[36m (6.2ms)[0m [1mcommit transaction[0m
|
1511
1563
|
Processing by Api::UserController#reauth as HTML
|
1512
|
-
Parameters: {"uid"=>"
|
1513
|
-
[1m[35mUser Load (0.
|
1564
|
+
Parameters: {"uid"=>"a1s2d33167"}
|
1565
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "a1s2d33167"]]
|
1514
1566
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1515
|
-
[1m[35mSQL (0.
|
1516
|
-
[1m[36m (6.
|
1517
|
-
Completed 200 OK in
|
1518
|
-
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id",
|
1567
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 7]]
|
1568
|
+
[1m[36m (6.5ms)[0m [1mcommit transaction[0m
|
1569
|
+
Completed 200 OK in 11ms (ActiveRecord: 7.1ms)
|
1570
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 7]]
|
1519
1571
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1520
|
-
[1m[35mSQL (0.
|
1521
|
-
[1m[36m (
|
1572
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d36820"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
1573
|
+
[1m[36m (4.9ms)[0m [1mcommit transaction[0m
|
1522
1574
|
[1m[35m (0.1ms)[0m begin transaction
|
1523
|
-
[1m[36mSQL (0.
|
1524
|
-
[1m[35m (5.
|
1575
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d32742"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1576
|
+
[1m[35m (5.7ms)[0m commit transaction
|
1525
1577
|
Processing by Api::UserController#reauth as HTML
|
1526
|
-
Parameters: {"uid"=>"
|
1527
|
-
|
1528
|
-
Completed
|
1529
|
-
[1m[
|
1530
|
-
[1m[
|
1531
|
-
[1m[36m (7.6ms)[0m [1mcommit transaction[0m
|
1532
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1533
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d31852"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1534
|
-
[1m[35m (9.7ms)[0m commit transaction
|
1535
|
-
Processing by Api::UserController#update as HTML
|
1536
|
-
Parameters: {"uid"=>"a1s2d31359"}
|
1537
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "a1s2d31359"]]
|
1578
|
+
Parameters: {"uid"=>"nonexistent-user"}
|
1579
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "nonexistent-user"]]
|
1580
|
+
Completed 200 OK in 2ms (ActiveRecord: 0.2ms)
|
1581
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "asd"]]
|
1582
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["email", "user@example.com"]]
|
1538
1583
|
[1m[35m (0.1ms)[0m begin transaction
|
1539
|
-
[1m[36mSQL (0.
|
1540
|
-
[1m[35m (
|
1541
|
-
|
1542
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 7]]
|
1584
|
+
[1m[36mSQL (0.4ms)[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]]
|
1585
|
+
[1m[35m (5.5ms)[0m commit transaction
|
1586
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "asd"]]
|
1543
1587
|
[1m[35m (0.1ms)[0m begin transaction
|
1544
|
-
[1m[
|
1545
|
-
[1m[
|
1588
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
1589
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "dummyapiuser@domain.com"]]
|
1546
1590
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1547
|
-
[1m[35mSQL (0.
|
1548
|
-
[1m[36m (
|
1549
|
-
Processing by Api::UserController#update as HTML
|
1550
|
-
Parameters: {"uid"=>"a1s2d32067"}
|
1551
|
-
Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.1ms)
|
1552
|
-
Completed 403 Forbidden in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
|
1553
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "asd"]]
|
1554
|
-
[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"]]
|
1555
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1556
|
-
[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]]
|
1557
|
-
[1m[35m (8.1ms)[0m commit transaction
|
1558
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "asd"]]
|
1591
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("email", "uid", "name", "permissions") VALUES (?, ?, ?, ?) [["email", "dummyapiuser@domain.com"], ["uid", "4995"], ["name", "Dummy API user created by gds-sso"], ["permissions", "---\n- signin\n"]]
|
1592
|
+
[1m[36m (7.3ms)[0m [1mcommit transaction[0m
|
1559
1593
|
[1m[35m (0.1ms)[0m begin transaction
|
1560
|
-
[1m[
|
1561
|
-
|
1594
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = ?[0m [["permissions", "---\n- signin\n- extra_permission\n"], ["id", 12]]
|
1595
|
+
[1m[35m (5.9ms)[0m commit transaction
|
1596
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-08 12:35:10 +0000
|
1562
1597
|
Processing by ExampleController#restricted as HTML
|
1563
1598
|
Authenticating with gds_sso strategy
|
1564
|
-
Completed in
|
1565
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2018-
|
1566
|
-
Started GET "/auth/gds/callback?code=
|
1599
|
+
Completed in 17ms (ActiveRecord: 0.0ms)
|
1600
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-02-08 12:35:10 +0000
|
1601
|
+
Started GET "/auth/gds/callback?code=922fadee30090cbdcebda4d1db90e6501dcf38d45cd64253d613ad57c50768f6&state=1bd747ab2b82ee6a79ee5eb8e2bffea45c341903e92b0798" for 127.0.0.1 at 2018-02-08 12:35:10 +0000
|
1567
1602
|
Processing by AuthenticationsController#callback as HTML
|
1568
|
-
Parameters: {"code"=>"
|
1603
|
+
Parameters: {"code"=>"922fadee30090cbdcebda4d1db90e6501dcf38d45cd64253d613ad57c50768f6", "state"=>"1bd747ab2b82ee6a79ee5eb8e2bffea45c341903e92b0798"}
|
1569
1604
|
Authenticating with gds_sso strategy
|
1570
|
-
[1m[
|
1571
|
-
[1m[
|
1572
|
-
[1m[
|
1573
|
-
[1m[
|
1574
|
-
[1m[
|
1575
|
-
[1m[
|
1576
|
-
[1m[
|
1577
|
-
[1m[
|
1605
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
1606
|
+
[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"]]
|
1607
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
1608
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "integration-uid"], ["email", "test@example-client.com"], ["name", "Test User"], ["permissions", "---\n- signin\n"]]
|
1609
|
+
[1m[36m (6.9ms)[0m [1mcommit transaction[0m
|
1610
|
+
[1m[35m (0.2ms)[0m begin transaction
|
1611
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id", 13]]
|
1612
|
+
[1m[35m (6.1ms)[0m commit transaction
|
1578
1613
|
Redirected to http://www.example-client.com/restricted
|
1579
|
-
Completed 302 Found in
|
1580
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-
|
1614
|
+
Completed 302 Found in 25ms (ActiveRecord: 14.2ms)
|
1615
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-08 12:35:10 +0000
|
1581
1616
|
Processing by ExampleController#restricted as HTML
|
1582
|
-
[1m[
|
1617
|
+
[1m[36mUser Load (0.4ms)[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"]]
|
1583
1618
|
Rendered text template (0.0ms)
|
1584
|
-
Completed 200 OK in
|
1585
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-
|
1619
|
+
Completed 200 OK in 8ms (Views: 6.1ms | ActiveRecord: 0.4ms)
|
1620
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-08 12:35:10 +0000
|
1586
1621
|
Processing by ExampleController#restricted as HTML
|
1587
1622
|
Authenticating with gds_sso strategy
|
1588
1623
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1589
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2018-
|
1590
|
-
Started GET "/auth/gds/callback?code=
|
1624
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-02-08 12:35:10 +0000
|
1625
|
+
Started GET "/auth/gds/callback?code=3cc116f044a0f1a5b73daa3fc2010923fd5cd407da471079c46b5ddfc16947cd&state=ce604ba4fd4c8f5492c81fb1a8793a206e70ead154bd5daf" for 127.0.0.1 at 2018-02-08 12:35:10 +0000
|
1591
1626
|
Processing by AuthenticationsController#callback as HTML
|
1592
|
-
Parameters: {"code"=>"
|
1627
|
+
Parameters: {"code"=>"3cc116f044a0f1a5b73daa3fc2010923fd5cd407da471079c46b5ddfc16947cd", "state"=>"ce604ba4fd4c8f5492c81fb1a8793a206e70ead154bd5daf"}
|
1593
1628
|
Authenticating with gds_sso strategy
|
1594
|
-
[1m[
|
1595
|
-
[1m[
|
1596
|
-
[1m[
|
1597
|
-
[1m[
|
1598
|
-
[1m[
|
1629
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
1630
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1631
|
+
[1m[35m (0.1ms)[0m commit transaction
|
1632
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1633
|
+
[1m[35m (0.1ms)[0m commit transaction
|
1599
1634
|
Redirected to http://www.example-client.com/restricted
|
1600
|
-
Completed 302 Found in
|
1601
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-
|
1635
|
+
Completed 302 Found in 8ms (ActiveRecord: 0.6ms)
|
1636
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-08 12:35:10 +0000
|
1602
1637
|
Processing by ExampleController#restricted as HTML
|
1603
|
-
[1m[
|
1604
|
-
Rendered text template (0.0ms)
|
1605
|
-
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
1606
|
-
Started GET "/" for 127.0.0.1 at 2018-01-23 17:16:41 +0000
|
1607
|
-
Processing by ExampleController#index as HTML
|
1638
|
+
[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"]]
|
1608
1639
|
Rendered text template (0.0ms)
|
1609
|
-
Completed 200 OK in
|
1610
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-
|
1640
|
+
Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.2ms)
|
1641
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-08 12:35:10 +0000
|
1611
1642
|
Processing by ExampleController#restricted as HTML
|
1612
1643
|
Authenticating with gds_sso strategy
|
1613
1644
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1614
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2018-
|
1615
|
-
Started GET "/auth/gds/callback?code=
|
1645
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-02-08 12:35:10 +0000
|
1646
|
+
Started GET "/auth/gds/callback?code=9e92cc0e05edcf84fa2fbfce736bf7826cbaa5c08387a20255f5ca7c170ec762&state=be34c97b502d163149879b9e84035490fd74561d5904d1a2" for 127.0.0.1 at 2018-02-08 12:35:11 +0000
|
1616
1647
|
Processing by AuthenticationsController#callback as HTML
|
1617
|
-
Parameters: {"code"=>"
|
1648
|
+
Parameters: {"code"=>"9e92cc0e05edcf84fa2fbfce736bf7826cbaa5c08387a20255f5ca7c170ec762", "state"=>"be34c97b502d163149879b9e84035490fd74561d5904d1a2"}
|
1618
1649
|
Authenticating with gds_sso strategy
|
1619
|
-
[1m[
|
1620
|
-
[1m[
|
1621
|
-
[1m[
|
1622
|
-
[1m[
|
1623
|
-
[1m[
|
1650
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
1651
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1652
|
+
[1m[35m (0.1ms)[0m commit transaction
|
1653
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1654
|
+
[1m[35m (0.1ms)[0m commit transaction
|
1624
1655
|
Redirected to http://www.example-client.com/restricted
|
1625
|
-
Completed 302 Found in
|
1626
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-
|
1656
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.6ms)
|
1657
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-08 12:35:11 +0000
|
1627
1658
|
Processing by ExampleController#restricted as HTML
|
1628
|
-
[1m[
|
1659
|
+
[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"]]
|
1629
1660
|
Rendered text template (0.0ms)
|
1630
|
-
Completed 200 OK in
|
1631
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2018-
|
1661
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
1662
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2018-02-08 12:35:11 +0000
|
1632
1663
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
1633
1664
|
Authenticating with gds_sso strategy
|
1634
1665
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1635
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2018-
|
1636
|
-
Started GET "/auth/gds/callback?code=
|
1666
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-02-08 12:35:11 +0000
|
1667
|
+
Started GET "/auth/gds/callback?code=678dfb75630433aacb9bc9eb92d7d42478df658a8272f7f7d410f153b256d5bd&state=ea15ee062a93e39372d8e1e5468fa45abbbd028830c39aae" for 127.0.0.1 at 2018-02-08 12:35:11 +0000
|
1637
1668
|
Processing by AuthenticationsController#callback as HTML
|
1638
|
-
Parameters: {"code"=>"
|
1669
|
+
Parameters: {"code"=>"678dfb75630433aacb9bc9eb92d7d42478df658a8272f7f7d410f153b256d5bd", "state"=>"ea15ee062a93e39372d8e1e5468fa45abbbd028830c39aae"}
|
1639
1670
|
Authenticating with gds_sso strategy
|
1640
|
-
[1m[
|
1641
|
-
[1m[
|
1642
|
-
[1m[
|
1643
|
-
[1m[
|
1644
|
-
[1m[
|
1671
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
1672
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1673
|
+
[1m[35m (0.1ms)[0m commit transaction
|
1674
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1675
|
+
[1m[35m (0.1ms)[0m commit transaction
|
1645
1676
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
1646
|
-
Completed 302 Found in
|
1647
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2018-
|
1677
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.6ms)
|
1678
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2018-02-08 12:35:11 +0000
|
1648
1679
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
1649
|
-
[1m[
|
1680
|
+
[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"]]
|
1650
1681
|
Rendered text template (0.0ms)
|
1651
|
-
Completed 200 OK in
|
1652
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2018-
|
1682
|
+
Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.2ms)
|
1683
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2018-02-08 12:35:11 +0000
|
1653
1684
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
1654
1685
|
Authenticating with gds_sso strategy
|
1655
1686
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1656
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2018-
|
1657
|
-
Started GET "/auth/gds/callback?code=
|
1687
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-02-08 12:35:11 +0000
|
1688
|
+
Started GET "/auth/gds/callback?code=9f18d90444de6194014b4aadc03307939b4f41372cbe3e27e180a07ad891d2f2&state=1c1397b30ccbbc9d8eae9b0ceeac969c802271b4d5bed10d" for 127.0.0.1 at 2018-02-08 12:35:11 +0000
|
1658
1689
|
Processing by AuthenticationsController#callback as HTML
|
1659
|
-
Parameters: {"code"=>"
|
1690
|
+
Parameters: {"code"=>"9f18d90444de6194014b4aadc03307939b4f41372cbe3e27e180a07ad891d2f2", "state"=>"1c1397b30ccbbc9d8eae9b0ceeac969c802271b4d5bed10d"}
|
1660
1691
|
Authenticating with gds_sso strategy
|
1661
|
-
[1m[
|
1662
|
-
[1m[
|
1663
|
-
[1m[
|
1664
|
-
[1m[
|
1665
|
-
[1m[
|
1692
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
1693
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1694
|
+
[1m[35m (0.1ms)[0m commit transaction
|
1695
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1696
|
+
[1m[35m (0.1ms)[0m commit transaction
|
1666
1697
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
1667
|
-
Completed 302 Found in
|
1668
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2018-
|
1698
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.6ms)
|
1699
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2018-02-08 12:35:11 +0000
|
1669
1700
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
1670
|
-
[1m[
|
1701
|
+
[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"]]
|
1671
1702
|
Rendered text template (0.0ms)
|
1672
|
-
Completed 200 OK in
|
1673
|
-
Started GET "/
|
1703
|
+
Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
1704
|
+
Started GET "/" for 127.0.0.1 at 2018-02-08 12:35:11 +0000
|
1705
|
+
Processing by ExampleController#index as HTML
|
1706
|
+
Rendered text template (0.1ms)
|
1707
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
1708
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-08 12:35:11 +0000
|
1674
1709
|
Processing by ExampleController#restricted as HTML
|
1675
1710
|
Authenticating with gds_sso strategy
|
1676
1711
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1677
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2018-
|
1678
|
-
Started GET "/auth/gds/callback?code=
|
1712
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-02-08 12:35:11 +0000
|
1713
|
+
Started GET "/auth/gds/callback?code=cbf7bbeef9b1e602db3d2867cbebb35827a5679a49e5914adc28a94f806b9d4d&state=10608cad5cd2c8c0d6c0e74f8bebd848e66a1c611727f430" for 127.0.0.1 at 2018-02-08 12:35:12 +0000
|
1679
1714
|
Processing by AuthenticationsController#callback as HTML
|
1680
|
-
Parameters: {"code"=>"
|
1715
|
+
Parameters: {"code"=>"cbf7bbeef9b1e602db3d2867cbebb35827a5679a49e5914adc28a94f806b9d4d", "state"=>"10608cad5cd2c8c0d6c0e74f8bebd848e66a1c611727f430"}
|
1681
1716
|
Authenticating with gds_sso strategy
|
1682
|
-
[1m[
|
1683
|
-
[1m[
|
1684
|
-
[1m[
|
1685
|
-
[1m[
|
1686
|
-
[1m[
|
1717
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
1718
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1719
|
+
[1m[35m (0.1ms)[0m commit transaction
|
1720
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1721
|
+
[1m[35m (0.1ms)[0m commit transaction
|
1687
1722
|
Redirected to http://www.example-client.com/restricted
|
1688
|
-
Completed 302 Found in
|
1689
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-
|
1690
|
-
Processing by ExampleController#restricted as HTML
|
1691
|
-
[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"]]
|
1692
|
-
Rendered text template (0.0ms)
|
1693
|
-
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
1694
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-01-24 13:11:42 +0000
|
1723
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.6ms)
|
1724
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-08 12:35:12 +0000
|
1695
1725
|
Processing by ExampleController#restricted as HTML
|
1696
|
-
[1m[36mUser Load (0.
|
1726
|
+
[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"]]
|
1697
1727
|
Rendered text template (0.0ms)
|
1698
|
-
Completed 200 OK in
|
1699
|
-
|
1728
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
1729
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "test@example-client.com"]]
|
1730
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1731
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 13]]
|
1732
|
+
[1m[36m (6.6ms)[0m [1mcommit transaction[0m
|
1733
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-08 12:35:12 +0000
|
1700
1734
|
Processing by ExampleController#restricted as HTML
|
1735
|
+
[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"]]
|
1701
1736
|
Authenticating with gds_sso strategy
|
1702
|
-
Completed in
|
1703
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2018-
|
1704
|
-
Started GET "/auth/gds/callback?code=
|
1737
|
+
Completed in 2ms (ActiveRecord: 0.1ms)
|
1738
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-02-08 12:35:12 +0000
|
1739
|
+
Started GET "/auth/gds/callback?code=f39e57f5ec4fb1e28cde28599e288c92d097da75b49d14c68f84b797e0896cd8&state=e370235bfce5e63ef45ea4b056484aa44cf8397c4aa898bb" for 127.0.0.1 at 2018-02-08 12:35:12 +0000
|
1705
1740
|
Processing by AuthenticationsController#callback as HTML
|
1706
|
-
Parameters: {"code"=>"
|
1741
|
+
Parameters: {"code"=>"f39e57f5ec4fb1e28cde28599e288c92d097da75b49d14c68f84b797e0896cd8", "state"=>"e370235bfce5e63ef45ea4b056484aa44cf8397c4aa898bb"}
|
1707
1742
|
Authenticating with gds_sso strategy
|
1708
|
-
[1m[
|
1709
|
-
[1m[
|
1710
|
-
[1m[
|
1711
|
-
[1m[
|
1712
|
-
[1m[
|
1743
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
1744
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1745
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
1746
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1747
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id", 13]]
|
1748
|
+
[1m[35m (20.7ms)[0m commit transaction
|
1713
1749
|
Redirected to http://www.example-client.com/restricted
|
1714
|
-
Completed 302 Found in
|
1715
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-
|
1750
|
+
Completed 302 Found in 28ms (ActiveRecord: 21.5ms)
|
1751
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-08 12:35:12 +0000
|
1716
1752
|
Processing by ExampleController#restricted as HTML
|
1717
|
-
[1m[36mUser Load (0.
|
1753
|
+
[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"]]
|
1718
1754
|
Rendered text template (0.0ms)
|
1719
|
-
Completed 200 OK in
|
1720
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-
|
1755
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
1756
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-08 12:35:12 +0000
|
1721
1757
|
Processing by ExampleController#restricted as HTML
|
1722
1758
|
Authenticating with gds_sso strategy
|
1723
1759
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1724
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2018-
|
1725
|
-
Started GET "/auth/gds/callback?code=
|
1760
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-02-08 12:35:12 +0000
|
1761
|
+
Started GET "/auth/gds/callback?code=5c7add1bb87111e8229f3b0af67cd1744ab750f21abcc3aa0bfb2c1e60ba7100&state=3d02f060cb789adf9b948dd34fbfbf211566b712889d5a27" for 127.0.0.1 at 2018-02-08 12:35:12 +0000
|
1726
1762
|
Processing by AuthenticationsController#callback as HTML
|
1727
|
-
Parameters: {"code"=>"
|
1763
|
+
Parameters: {"code"=>"5c7add1bb87111e8229f3b0af67cd1744ab750f21abcc3aa0bfb2c1e60ba7100", "state"=>"3d02f060cb789adf9b948dd34fbfbf211566b712889d5a27"}
|
1728
1764
|
Authenticating with gds_sso strategy
|
1729
|
-
[1m[35mUser Load (0.
|
1765
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
1730
1766
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1731
1767
|
[1m[35m (0.1ms)[0m commit transaction
|
1732
1768
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1733
1769
|
[1m[35m (0.1ms)[0m commit transaction
|
1734
1770
|
Redirected to http://www.example-client.com/restricted
|
1735
|
-
Completed 302 Found in
|
1736
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-
|
1771
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.6ms)
|
1772
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-08 12:35:12 +0000
|
1737
1773
|
Processing by ExampleController#restricted as HTML
|
1738
|
-
[1m[36mUser Load (0.
|
1774
|
+
[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"]]
|
1739
1775
|
Rendered text template (0.0ms)
|
1740
|
-
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.
|
1741
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-
|
1776
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
1777
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-09 08:40:12 +0000
|
1778
|
+
Processing by ExampleController#restricted as HTML
|
1779
|
+
Authenticating with gds_sso strategy
|
1780
|
+
Completed in 1ms (ActiveRecord: 0.0ms)
|
1781
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-02-09 08:40:12 +0000
|
1782
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-08 12:35:12 +0000
|
1742
1783
|
Processing by ExampleController#restricted as HTML
|
1743
1784
|
Authenticating with gds_sso strategy
|
1744
1785
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1745
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2018-
|
1746
|
-
Started GET "/auth/gds/callback?code=
|
1786
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-02-08 12:35:12 +0000
|
1787
|
+
Started GET "/auth/gds/callback?code=d9af6b7311360a4d09e6beffa720f23dd1abf696bd543eb54bfdfe3aa3aa29f3&state=054693995d098c042a0409a7df5bc738ad39dd74305c8878" for 127.0.0.1 at 2018-02-08 12:35:13 +0000
|
1747
1788
|
Processing by AuthenticationsController#callback as HTML
|
1748
|
-
Parameters: {"code"=>"
|
1789
|
+
Parameters: {"code"=>"d9af6b7311360a4d09e6beffa720f23dd1abf696bd543eb54bfdfe3aa3aa29f3", "state"=>"054693995d098c042a0409a7df5bc738ad39dd74305c8878"}
|
1749
1790
|
Authenticating with gds_sso strategy
|
1750
1791
|
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
1751
1792
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1752
|
-
[1m[35m (0.
|
1793
|
+
[1m[35m (0.1ms)[0m commit transaction
|
1753
1794
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1754
|
-
[1m[35m (0.
|
1795
|
+
[1m[35m (0.1ms)[0m commit transaction
|
1755
1796
|
Redirected to http://www.example-client.com/restricted
|
1756
|
-
Completed 302 Found in
|
1757
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-
|
1797
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.6ms)
|
1798
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-08 12:35:13 +0000
|
1758
1799
|
Processing by ExampleController#restricted as HTML
|
1759
|
-
[1m[36mUser Load (0.
|
1800
|
+
[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"]]
|
1760
1801
|
Rendered text template (0.0ms)
|
1761
|
-
Completed 200 OK in
|
1762
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-
|
1802
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
1803
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-09 08:30:13 +0000
|
1763
1804
|
Processing by ExampleController#restricted as HTML
|
1764
|
-
|
1765
|
-
|
1766
|
-
|
1767
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-
|
1805
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
1806
|
+
Rendered text template (0.0ms)
|
1807
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
1808
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-08 12:35:13 +0000
|
1768
1809
|
Processing by ExampleController#restricted as HTML
|
1769
1810
|
Authenticating with gds_sso strategy
|
1770
1811
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1771
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2018-
|
1772
|
-
Started GET "/auth/gds/callback?code=
|
1812
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-02-08 12:35:13 +0000
|
1813
|
+
Started GET "/auth/gds/callback?code=554f6372219e0526f841246a888938fdb280266920c5713688387e100ee8c2e3&state=4867f16b47e36e99d7ce17ec09c5d8ed1e72348e3aab9771" for 127.0.0.1 at 2018-02-08 12:35:13 +0000
|
1773
1814
|
Processing by AuthenticationsController#callback as HTML
|
1774
|
-
Parameters: {"code"=>"
|
1815
|
+
Parameters: {"code"=>"554f6372219e0526f841246a888938fdb280266920c5713688387e100ee8c2e3", "state"=>"4867f16b47e36e99d7ce17ec09c5d8ed1e72348e3aab9771"}
|
1775
1816
|
Authenticating with gds_sso strategy
|
1776
|
-
[1m[
|
1777
|
-
[1m[
|
1778
|
-
[1m[
|
1779
|
-
[1m[
|
1780
|
-
[1m[
|
1817
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
1818
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1819
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
1820
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1821
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
1781
1822
|
Redirected to http://www.example-client.com/restricted
|
1782
|
-
Completed 302 Found in
|
1783
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-
|
1823
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.6ms)
|
1824
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-08 12:35:13 +0000
|
1784
1825
|
Processing by ExampleController#restricted as HTML
|
1785
|
-
[1m[
|
1826
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
1786
1827
|
Rendered text template (0.0ms)
|
1787
|
-
Completed 200 OK in
|
1788
|
-
|
1789
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1790
|
-
[1m[35mSQL (0.1ms)[0m UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 12]]
|
1791
|
-
[1m[36m (10.6ms)[0m [1mcommit transaction[0m
|
1792
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:43 +0000
|
1828
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
1829
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-09 08:40:13 +0000
|
1793
1830
|
Processing by ExampleController#restricted as HTML
|
1794
|
-
[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"]]
|
1795
1831
|
Authenticating with gds_sso strategy
|
1796
|
-
Completed in 1ms (ActiveRecord: 0.
|
1797
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2018-
|
1798
|
-
Started GET "/auth/gds/callback?code=
|
1832
|
+
Completed in 1ms (ActiveRecord: 0.0ms)
|
1833
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-02-09 08:40:13 +0000
|
1834
|
+
Started GET "/auth/gds/callback?code=887524eabd650c84d480a9b860d0264a5e0a40e1dc6b080d7ea38290a2f8d815&state=c73bc03a1883b7a940b6c85b30a328b649653918d8aea5f5" for 127.0.0.1 at 2018-02-09 08:40:13 +0000
|
1799
1835
|
Processing by AuthenticationsController#callback as HTML
|
1800
|
-
Parameters: {"code"=>"
|
1836
|
+
Parameters: {"code"=>"887524eabd650c84d480a9b860d0264a5e0a40e1dc6b080d7ea38290a2f8d815", "state"=>"c73bc03a1883b7a940b6c85b30a328b649653918d8aea5f5"}
|
1801
1837
|
Authenticating with gds_sso strategy
|
1802
|
-
[1m[36mUser Load (0.
|
1838
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
1839
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1840
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
1803
1841
|
[1m[35m (0.1ms)[0m begin transaction
|
1804
1842
|
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
1805
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1806
|
-
[1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id", 12]]
|
1807
|
-
[1m[35m (7.0ms)[0m commit transaction
|
1808
1843
|
Redirected to http://www.example-client.com/restricted
|
1809
|
-
Completed 302 Found in
|
1810
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-
|
1844
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.7ms)
|
1845
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-09 08:40:13 +0000
|
1811
1846
|
Processing by ExampleController#restricted as HTML
|
1812
|
-
[1m[
|
1847
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
1813
1848
|
Rendered text template (0.0ms)
|
1814
|
-
Completed 200 OK in 2ms (Views: 0.
|
1815
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-
|
1816
|
-
Processing by ExampleController#restricted as HTML
|
1817
|
-
Authenticating with gds_sso strategy
|
1818
|
-
Completed in 0ms (ActiveRecord: 0.0ms)
|
1819
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:44 +0000
|
1849
|
+
Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.2ms)
|
1850
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-08 12:35:13 +0000
|
1820
1851
|
Processing by ExampleController#restricted as JSON
|
1821
|
-
|
1822
|
-
|
1823
|
-
|
1824
|
-
[1m[
|
1825
|
-
[1m[
|
1826
|
-
[1m[
|
1827
|
-
[1m[35m (
|
1828
|
-
[1m[
|
1852
|
+
Completed in 51ms (ActiveRecord: 0.0ms)
|
1853
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2018-02-08 12:35:13 +0000
|
1854
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
1855
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
1856
|
+
[1m[35m (0.2ms)[0m begin transaction
|
1857
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "disabled" = ? WHERE "users"."id" = ?[0m [["disabled", nil], ["id", 13]]
|
1858
|
+
[1m[35m (6.3ms)[0m commit transaction
|
1859
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
1829
1860
|
[1m[35m (0.1ms)[0m begin transaction
|
1830
1861
|
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
1831
1862
|
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
1832
1863
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1833
|
-
[1m[35m (0.
|
1834
|
-
[1m[
|
1835
|
-
[1m[35m (0.
|
1864
|
+
[1m[35m (0.1ms)[0m commit transaction
|
1865
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
1866
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1867
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
1868
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1869
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
1836
1870
|
Rendered text template (0.0ms)
|
1837
|
-
Completed 200 OK in
|
1838
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-
|
1871
|
+
Completed 200 OK in 129ms (Views: 0.6ms | ActiveRecord: 8.1ms)
|
1872
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-08 12:35:13 +0000
|
1839
1873
|
Processing by ExampleController#restricted as JSON
|
1840
|
-
|
1841
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2018-01-23 17:16:44 +0000
|
1842
|
-
Processing by ExampleController#this_requires_signin_permission as JSON
|
1843
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
1844
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1845
|
-
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1846
|
-
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
1874
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
1847
1875
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1848
1876
|
[1m[35m (0.1ms)[0m commit transaction
|
1849
1877
|
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
@@ -1851,385 +1879,399 @@ Processing by ExampleController#this_requires_signin_permission as JSON
|
|
1851
1879
|
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
1852
1880
|
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
1853
1881
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1854
|
-
[1m[35m (0.
|
1855
|
-
[1m[
|
1856
|
-
[1m[35m (0.
|
1882
|
+
[1m[35m (0.1ms)[0m commit transaction
|
1883
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
1884
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1885
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
1886
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1887
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
1857
1888
|
Rendered text template (0.0ms)
|
1858
|
-
Completed 200 OK in
|
1859
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-
|
1889
|
+
Completed 200 OK in 116ms (Views: 0.4ms | ActiveRecord: 1.3ms)
|
1890
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-08 12:35:14 +0000
|
1860
1891
|
Processing by ExampleController#restricted as JSON
|
1861
1892
|
Completed in 24ms (ActiveRecord: 0.0ms)
|
1862
|
-
|
1863
|
-
|
1864
|
-
|
1865
|
-
|
1866
|
-
[1m[
|
1893
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-08 12:35:14 +0000
|
1894
|
+
Processing by ExampleController#restricted as HTML
|
1895
|
+
Authenticating with gds_sso strategy
|
1896
|
+
Completed in 0ms (ActiveRecord: 0.0ms)
|
1897
|
+
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "users"[0m
|
1898
|
+
[1m[35m (1.7ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
1899
|
+
[1m[35m (8.2ms)[0m [1m[35mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "uid" varchar NOT NULL, "email" varchar NOT NULL, "remotely_signed_out" boolean, "permissions" text, "organisation_slug" varchar, "organisation_content_id" varchar, "disabled" boolean DEFAULT 'f')[0m
|
1900
|
+
[1m[35m (7.8ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
1901
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
1867
1902
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1868
|
-
[1m[35mSQL (0.
|
1869
|
-
[1m[35m (
|
1870
|
-
[1m[35m (6.
|
1871
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.
|
1872
|
-
[1m[35m (0.
|
1873
|
-
[1m[35m (0.
|
1903
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2018-02-08 12:35:20.397485"], ["updated_at", "2018-02-08 12:35:20.397485"]]
|
1904
|
+
[1m[35m (6.4ms)[0m [1m[36mcommit transaction[0m
|
1905
|
+
[1m[35m (6.3ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
1906
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
1907
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1908
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1909
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1910
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d38555"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1911
|
+
[1m[35m (6.5ms)[0m [1m[36mcommit transaction[0m
|
1912
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1913
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d34557"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1914
|
+
[1m[35m (4.4ms)[0m [1m[36mcommit transaction[0m
|
1915
|
+
Processing by Api::UserController#update as HTML
|
1916
|
+
Parameters: {"uid"=>"a1s2d38555"}
|
1917
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d38555"], ["LIMIT", 1]]
|
1918
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1919
|
+
[1m[35mSQL (0.3ms)[0m [1m[33mUPDATE "users" SET "email" = ?, "name" = ?, "permissions" = ?, "organisation_slug" = ?, "organisation_content_id" = ? WHERE "users"."id" = ?[0m [["email", "user@domain.com"], ["name", "Joshua Marshall"], ["permissions", "---\n- signin\n- new permission\n"], ["organisation_slug", "justice-league"], ["organisation_content_id", "aae1319e-5788-4677-998c-f1a53af528d0"], ["id", 1]]
|
1920
|
+
[1m[35m (5.6ms)[0m [1m[36mcommit transaction[0m
|
1921
|
+
Completed 200 OK in 11ms (ActiveRecord: 6.2ms)
|
1922
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
1923
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1924
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d37911"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1925
|
+
[1m[35m (5.0ms)[0m [1m[36mcommit transaction[0m
|
1926
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1927
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d32835"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1928
|
+
[1m[35m (5.6ms)[0m [1m[36mcommit transaction[0m
|
1929
|
+
Processing by Api::UserController#update as HTML
|
1930
|
+
Parameters: {"uid"=>"a1s2d37911"}
|
1931
|
+
Rendering /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
1932
|
+
Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.3ms)
|
1933
|
+
Completed 403 Forbidden in 12ms (Views: 11.2ms | ActiveRecord: 0.0ms)
|
1934
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1935
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d32101"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1936
|
+
[1m[35m (7.1ms)[0m [1m[36mcommit transaction[0m
|
1937
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1938
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d31994"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1939
|
+
[1m[35m (8.8ms)[0m [1m[36mcommit transaction[0m
|
1940
|
+
Processing by Api::UserController#reauth as HTML
|
1941
|
+
Parameters: {"uid"=>"a1s2d32101"}
|
1942
|
+
Rendering /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
1943
|
+
Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.0ms)
|
1944
|
+
Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
1945
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1946
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d36631"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1947
|
+
[1m[35m (6.9ms)[0m [1m[36mcommit transaction[0m
|
1948
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1949
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d35426"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1950
|
+
[1m[35m (4.9ms)[0m [1m[36mcommit transaction[0m
|
1951
|
+
Processing by Api::UserController#reauth as HTML
|
1952
|
+
Parameters: {"uid"=>"a1s2d36631"}
|
1953
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d36631"], ["LIMIT", 1]]
|
1954
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1955
|
+
[1m[35mSQL (0.3ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "t"], ["id", 7]]
|
1956
|
+
[1m[35m (7.2ms)[0m [1m[36mcommit transaction[0m
|
1957
|
+
Completed 200 OK in 11ms (ActiveRecord: 7.7ms)
|
1958
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 7], ["LIMIT", 1]]
|
1959
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1960
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d38855"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1961
|
+
[1m[35m (8.2ms)[0m [1m[36mcommit transaction[0m
|
1962
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1963
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d35784"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1964
|
+
[1m[35m (5.9ms)[0m [1m[36mcommit transaction[0m
|
1965
|
+
Processing by Api::UserController#reauth as HTML
|
1966
|
+
Parameters: {"uid"=>"nonexistent-user"}
|
1967
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "nonexistent-user"], ["LIMIT", 1]]
|
1968
|
+
Completed 200 OK in 2ms (ActiveRecord: 0.2ms)
|
1874
1969
|
[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]]
|
1875
|
-
[1m[36mUser Load (0.
|
1970
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["email", "user@example.com"], ["LIMIT", 1]]
|
1876
1971
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1877
|
-
[1m[35mSQL (0.
|
1878
|
-
[1m[35m (
|
1879
|
-
[1m[36mUser Load (0.
|
1880
|
-
[1m[35m (0.
|
1881
|
-
[1m[35m (0.
|
1882
|
-
|
1883
|
-
|
1884
|
-
|
1885
|
-
|
1886
|
-
|
1887
|
-
|
1888
|
-
|
1889
|
-
|
1890
|
-
Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.0ms)
|
1891
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:50 +0000
|
1972
|
+
[1m[35mSQL (0.4ms)[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]]
|
1973
|
+
[1m[35m (9.5ms)[0m [1m[36mcommit transaction[0m
|
1974
|
+
[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]]
|
1975
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1976
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1977
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["email", "dummyapiuser@domain.com"], ["LIMIT", 1]]
|
1978
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1979
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Dummy API user created by gds-sso"], ["uid", "2096"], ["email", "dummyapiuser@domain.com"], ["permissions", "---\n- signin\n"]]
|
1980
|
+
[1m[35m (7.0ms)[0m [1m[36mcommit transaction[0m
|
1981
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1982
|
+
[1m[35mSQL (0.4ms)[0m [1m[33mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = ?[0m [["permissions", "---\n- signin\n- extra_permission\n"], ["id", 12]]
|
1983
|
+
[1m[35m (8.5ms)[0m [1m[36mcommit transaction[0m
|
1984
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-08 12:35:21 +0000
|
1892
1985
|
Processing by ExampleController#restricted as HTML
|
1893
1986
|
Authenticating with gds_sso strategy
|
1894
|
-
Completed in
|
1895
|
-
Started GET "/
|
1896
|
-
|
1897
|
-
|
1898
|
-
|
1899
|
-
|
1900
|
-
[1m[
|
1901
|
-
[1m[
|
1987
|
+
Completed in 14ms (ActiveRecord: 0.0ms)
|
1988
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2018-02-08 12:35:21 +0000
|
1989
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
1990
|
+
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1991
|
+
[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]]
|
1992
|
+
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
1993
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions", "disabled") VALUES (?, ?, ?, ?, ?)[0m [["name", "Test User"], ["uid", "integration-uid"], ["email", "test@example-client.com"], ["permissions", "---\n- signin\n"], ["disabled", nil]]
|
1994
|
+
[1m[35m (7.5ms)[0m [1m[36mcommit transaction[0m
|
1995
|
+
[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]]
|
1902
1996
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1903
|
-
[1m[
|
1904
|
-
[1m[
|
1905
|
-
[1m[35m (0.
|
1906
|
-
[1m[
|
1907
|
-
[1m[
|
1908
|
-
|
1909
|
-
|
1910
|
-
|
1911
|
-
|
1912
|
-
[1m[
|
1997
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1998
|
+
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1999
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2000
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
2001
|
+
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
2002
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2003
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
2004
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2005
|
+
[1m[35mSQL (0.4ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id", 13]]
|
2006
|
+
[1m[35m (5.6ms)[0m [1m[36mcommit transaction[0m
|
1913
2007
|
Rendering text template
|
1914
2008
|
Rendered text template (0.0ms)
|
1915
|
-
Completed 200 OK in
|
1916
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-
|
1917
|
-
Processing by ExampleController#restricted as
|
1918
|
-
Authenticating with gds_sso strategy
|
1919
|
-
Completed in 2ms (ActiveRecord: 0.0ms)
|
1920
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2018-01-23 17:16:50 +0000
|
1921
|
-
Started GET "/auth/gds/callback?code=d030ff31e907ea07c245d2f883f3473e09d2585af84690b451ffb8a971e3229d&state=637cebcfea31685c91f69fc6a5f6fd5d5412fa6bfd0778ec" for 127.0.0.1 at 2018-01-23 17:16:50 +0000
|
1922
|
-
Processing by AuthenticationsController#callback as HTML
|
1923
|
-
Parameters: {"code"=>"d030ff31e907ea07c245d2f883f3473e09d2585af84690b451ffb8a971e3229d", "state"=>"637cebcfea31685c91f69fc6a5f6fd5d5412fa6bfd0778ec"}
|
1924
|
-
Authenticating with gds_sso strategy
|
2009
|
+
Completed 200 OK in 151ms (Views: 1.7ms | ActiveRecord: 16.1ms)
|
2010
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-08 12:35:21 +0000
|
2011
|
+
Processing by ExampleController#restricted as JSON
|
1925
2012
|
[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]]
|
1926
2013
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1927
2014
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1928
|
-
|
1929
|
-
|
1930
|
-
|
1931
|
-
|
1932
|
-
[1m[
|
2015
|
+
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
2016
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2017
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
2018
|
+
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
2019
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2020
|
+
[1m[35m (0.2ms)[0m [1m[36mcommit transaction[0m
|
2021
|
+
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
2022
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2023
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1933
2024
|
Rendering text template
|
1934
2025
|
Rendered text template (0.0ms)
|
1935
|
-
Completed 200 OK in
|
1936
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-
|
2026
|
+
Completed 200 OK in 116ms (Views: 0.6ms | ActiveRecord: 1.4ms)
|
2027
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-08 12:35:21 +0000
|
2028
|
+
Processing by ExampleController#restricted as JSON
|
2029
|
+
Completed in 21ms (ActiveRecord: 0.0ms)
|
2030
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-08 12:35:21 +0000
|
2031
|
+
Processing by ExampleController#restricted as JSON
|
2032
|
+
Completed in 43ms (ActiveRecord: 0.0ms)
|
2033
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-08 12:35:21 +0000
|
1937
2034
|
Processing by ExampleController#restricted as HTML
|
1938
2035
|
Authenticating with gds_sso strategy
|
1939
2036
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1940
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2018-
|
1941
|
-
Started GET "/auth/gds/callback?code=
|
2037
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-02-08 12:35:21 +0000
|
2038
|
+
Started GET "/auth/gds/callback?code=259edae08f10a888a26e125af0bd12f1ceb5057e99faa943d8a577594cb22610&state=fd7d0e8341af861e44f62f51da9ec8a5a69b5717517fe96d" for 127.0.0.1 at 2018-02-08 12:35:21 +0000
|
1942
2039
|
Processing by AuthenticationsController#callback as HTML
|
1943
|
-
Parameters: {"code"=>"
|
2040
|
+
Parameters: {"code"=>"259edae08f10a888a26e125af0bd12f1ceb5057e99faa943d8a577594cb22610", "state"=>"fd7d0e8341af861e44f62f51da9ec8a5a69b5717517fe96d"}
|
1944
2041
|
Authenticating with gds_sso strategy
|
1945
|
-
[1m[36mUser Load (0.
|
2042
|
+
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1946
2043
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1947
|
-
[1m[
|
2044
|
+
[1m[35mSQL (0.4ms)[0m [1m[33mUPDATE "users" SET "disabled" = ? WHERE "users"."id" = ?[0m [["disabled", "f"], ["id", 13]]
|
2045
|
+
[1m[35m (6.6ms)[0m [1m[36mcommit transaction[0m
|
1948
2046
|
Redirected to http://www.example-client.com/restricted
|
1949
|
-
Completed 302 Found in
|
1950
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-
|
2047
|
+
Completed 302 Found in 15ms (ActiveRecord: 7.5ms)
|
2048
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-08 12:35:22 +0000
|
1951
2049
|
Processing by ExampleController#restricted as HTML
|
1952
|
-
[1m[36mUser Load (0.
|
2050
|
+
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
1953
2051
|
Rendering text template
|
1954
2052
|
Rendered text template (0.0ms)
|
1955
|
-
Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.
|
1956
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2018-
|
2053
|
+
Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.4ms)
|
2054
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2018-02-08 12:35:22 +0000
|
1957
2055
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
1958
2056
|
Authenticating with gds_sso strategy
|
1959
2057
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1960
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2018-
|
1961
|
-
Started GET "/auth/gds/callback?code=
|
2058
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-02-08 12:35:22 +0000
|
2059
|
+
Started GET "/auth/gds/callback?code=bed5d512f30db125d17758a67c70589a99a2e01ec8674941937927dac81933e3&state=367a3ffcbfc0123809a4100b1be49b9d22b0df59db67e57b" for 127.0.0.1 at 2018-02-08 12:35:22 +0000
|
1962
2060
|
Processing by AuthenticationsController#callback as HTML
|
1963
|
-
Parameters: {"code"=>"
|
2061
|
+
Parameters: {"code"=>"bed5d512f30db125d17758a67c70589a99a2e01ec8674941937927dac81933e3", "state"=>"367a3ffcbfc0123809a4100b1be49b9d22b0df59db67e57b"}
|
1964
2062
|
Authenticating with gds_sso strategy
|
1965
|
-
[1m[36mUser Load (0.
|
1966
|
-
[1m[35m (0.
|
1967
|
-
[1m[35m (0.
|
2063
|
+
[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]]
|
2064
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2065
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1968
2066
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
1969
|
-
Completed 302 Found in
|
1970
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2018-
|
2067
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.8ms)
|
2068
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2018-02-08 12:35:22 +0000
|
1971
2069
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
1972
|
-
[1m[36mUser Load (0.
|
2070
|
+
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
1973
2071
|
Rendering text template
|
1974
2072
|
Rendered text template (0.0ms)
|
1975
|
-
Completed 200 OK in
|
1976
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2018-
|
2073
|
+
Completed 200 OK in 4ms (Views: 0.5ms | ActiveRecord: 0.4ms)
|
2074
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2018-02-08 12:35:22 +0000
|
1977
2075
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
1978
2076
|
Authenticating with gds_sso strategy
|
1979
2077
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1980
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2018-
|
1981
|
-
Started GET "/auth/gds/callback?code=
|
2078
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-02-08 12:35:22 +0000
|
2079
|
+
Started GET "/auth/gds/callback?code=6e5453ddbe9c3610a82f87ac4d3d600de3f08c3815f06aa531d049dc6ffa1e91&state=5b3c261beee72fdb06239c386875e23256b8220523e6d328" for 127.0.0.1 at 2018-02-08 12:35:22 +0000
|
1982
2080
|
Processing by AuthenticationsController#callback as HTML
|
1983
|
-
Parameters: {"code"=>"
|
2081
|
+
Parameters: {"code"=>"6e5453ddbe9c3610a82f87ac4d3d600de3f08c3815f06aa531d049dc6ffa1e91", "state"=>"5b3c261beee72fdb06239c386875e23256b8220523e6d328"}
|
1984
2082
|
Authenticating with gds_sso strategy
|
1985
|
-
[1m[36mUser Load (0.
|
2083
|
+
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1986
2084
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1987
2085
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1988
2086
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
1989
|
-
Completed 302 Found in
|
1990
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2018-
|
2087
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.6ms)
|
2088
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2018-02-08 12:35:22 +0000
|
1991
2089
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
1992
|
-
[1m[36mUser Load (0.
|
2090
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
2091
|
+
Rendering text template
|
2092
|
+
Rendered text template (0.0ms)
|
2093
|
+
Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.3ms)
|
2094
|
+
Started GET "/" for 127.0.0.1 at 2018-02-08 12:35:22 +0000
|
2095
|
+
Processing by ExampleController#index as HTML
|
1993
2096
|
Rendering text template
|
1994
2097
|
Rendered text template (0.0ms)
|
1995
|
-
Completed 200 OK in
|
1996
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-
|
2098
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
2099
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-08 12:35:22 +0000
|
1997
2100
|
Processing by ExampleController#restricted as HTML
|
1998
2101
|
Authenticating with gds_sso strategy
|
1999
2102
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
2000
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2018-
|
2001
|
-
Started GET "/auth/gds/callback?code=
|
2103
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-02-08 12:35:22 +0000
|
2104
|
+
Started GET "/auth/gds/callback?code=ca189ca72544b9a66632faff3894b193b24b89b1b9d5486e3c353308b10ec59b&state=e5f74303e88e6836c08c4ad8145bb258930b50b1e31e5c4f" for 127.0.0.1 at 2018-02-08 12:35:22 +0000
|
2002
2105
|
Processing by AuthenticationsController#callback as HTML
|
2003
|
-
Parameters: {"code"=>"
|
2106
|
+
Parameters: {"code"=>"ca189ca72544b9a66632faff3894b193b24b89b1b9d5486e3c353308b10ec59b", "state"=>"e5f74303e88e6836c08c4ad8145bb258930b50b1e31e5c4f"}
|
2004
2107
|
Authenticating with gds_sso strategy
|
2005
|
-
[1m[36mUser Load (0.
|
2108
|
+
[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]]
|
2006
2109
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2007
|
-
[1m[35m (0.
|
2110
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
2008
2111
|
Redirected to http://www.example-client.com/restricted
|
2009
|
-
Completed 302 Found in
|
2010
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-
|
2112
|
+
Completed 302 Found in 6ms (ActiveRecord: 0.6ms)
|
2113
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-08 12:35:23 +0000
|
2011
2114
|
Processing by ExampleController#restricted as HTML
|
2012
|
-
[1m[36mUser Load (0.
|
2115
|
+
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
2013
2116
|
Rendering text template
|
2014
2117
|
Rendered text template (0.0ms)
|
2015
|
-
Completed 200 OK in
|
2016
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-
|
2017
|
-
Processing by ExampleController#restricted as HTML
|
2018
|
-
Authenticating with gds_sso strategy
|
2019
|
-
Completed in 0ms (ActiveRecord: 0.0ms)
|
2020
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2018-01-24 13:21:51 +0000
|
2021
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:51 +0000
|
2118
|
+
Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.4ms)
|
2119
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-08 12:35:23 +0000
|
2022
2120
|
Processing by ExampleController#restricted as HTML
|
2023
2121
|
Authenticating with gds_sso strategy
|
2024
2122
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
2025
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2018-
|
2026
|
-
Started GET "/auth/gds/callback?code=
|
2123
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-02-08 12:35:23 +0000
|
2124
|
+
Started GET "/auth/gds/callback?code=400cb676ebbe2591173e6e35c76ba52d1b8a209e44e629db0f8ac6b80cdedcf8&state=0f969f7a954a897e10db14aac7dbbb096f62ac5887cb0979" for 127.0.0.1 at 2018-02-08 12:35:23 +0000
|
2027
2125
|
Processing by AuthenticationsController#callback as HTML
|
2028
|
-
Parameters: {"code"=>"
|
2126
|
+
Parameters: {"code"=>"400cb676ebbe2591173e6e35c76ba52d1b8a209e44e629db0f8ac6b80cdedcf8", "state"=>"0f969f7a954a897e10db14aac7dbbb096f62ac5887cb0979"}
|
2029
2127
|
Authenticating with gds_sso strategy
|
2030
|
-
[1m[36mUser Load (0.
|
2031
|
-
[1m[35m (0.
|
2032
|
-
[1m[35m (0.
|
2128
|
+
[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]]
|
2129
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2130
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
2033
2131
|
Redirected to http://www.example-client.com/restricted
|
2034
|
-
Completed 302 Found in
|
2035
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-
|
2132
|
+
Completed 302 Found in 6ms (ActiveRecord: 0.6ms)
|
2133
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-08 12:35:23 +0000
|
2036
2134
|
Processing by ExampleController#restricted as HTML
|
2037
2135
|
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
2038
2136
|
Rendering text template
|
2039
2137
|
Rendered text template (0.0ms)
|
2040
|
-
Completed 200 OK in
|
2041
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-
|
2138
|
+
Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.4ms)
|
2139
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-08 12:35:23 +0000
|
2140
|
+
Processing by ExampleController#restricted as HTML
|
2141
|
+
Authenticating with gds_sso strategy
|
2142
|
+
Completed in 0ms (ActiveRecord: 0.0ms)
|
2143
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-02-08 12:35:23 +0000
|
2144
|
+
Started GET "/auth/gds/callback?code=cad5f13d761480b34e9224a8d82a4321350858467384b95df90e52b065b8ca59&state=e8ca0265470ac7f618850aa1a978d2ce526183aa73f05af5" for 127.0.0.1 at 2018-02-08 12:35:23 +0000
|
2145
|
+
Processing by AuthenticationsController#callback as HTML
|
2146
|
+
Parameters: {"code"=>"cad5f13d761480b34e9224a8d82a4321350858467384b95df90e52b065b8ca59", "state"=>"e8ca0265470ac7f618850aa1a978d2ce526183aa73f05af5"}
|
2147
|
+
Authenticating with gds_sso strategy
|
2148
|
+
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
2149
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2150
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
2151
|
+
Redirected to http://www.example-client.com/restricted
|
2152
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.7ms)
|
2153
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-08 12:35:23 +0000
|
2042
2154
|
Processing by ExampleController#restricted as HTML
|
2043
|
-
[1m[36mUser Load (0.
|
2155
|
+
[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", "f"], ["LIMIT", 1]]
|
2044
2156
|
Rendering text template
|
2045
2157
|
Rendered text template (0.0ms)
|
2046
|
-
Completed 200 OK in
|
2047
|
-
|
2158
|
+
Completed 200 OK in 5ms (Views: 0.5ms | ActiveRecord: 0.7ms)
|
2159
|
+
[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]]
|
2160
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2161
|
+
[1m[35mSQL (0.4ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "t"], ["id", 13]]
|
2162
|
+
[1m[35m (8.2ms)[0m [1m[36mcommit transaction[0m
|
2163
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-08 12:35:23 +0000
|
2048
2164
|
Processing by ExampleController#restricted as HTML
|
2165
|
+
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
2049
2166
|
Authenticating with gds_sso strategy
|
2050
|
-
Completed in
|
2051
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2018-
|
2052
|
-
Started GET "/auth/gds/callback?code=
|
2167
|
+
Completed in 2ms (ActiveRecord: 0.4ms)
|
2168
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-02-08 12:35:23 +0000
|
2169
|
+
Started GET "/auth/gds/callback?code=4d6fe8e1808970fdf7a5f0500749915e01f6cf3a2a956c8515d0b9121570b4f3&state=ae5a72220d0a71607d54c7e29f2df4c708d3c3d3e14d9c3e" for 127.0.0.1 at 2018-02-08 12:35:23 +0000
|
2053
2170
|
Processing by AuthenticationsController#callback as HTML
|
2054
|
-
Parameters: {"code"=>"
|
2171
|
+
Parameters: {"code"=>"4d6fe8e1808970fdf7a5f0500749915e01f6cf3a2a956c8515d0b9121570b4f3", "state"=>"ae5a72220d0a71607d54c7e29f2df4c708d3c3d3e14d9c3e"}
|
2055
2172
|
Authenticating with gds_sso strategy
|
2056
2173
|
[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]]
|
2057
2174
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2058
|
-
[1m[35m (0.
|
2175
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
2176
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2177
|
+
[1m[35mSQL (0.3ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id", 13]]
|
2178
|
+
[1m[35m (6.5ms)[0m [1m[36mcommit transaction[0m
|
2059
2179
|
Redirected to http://www.example-client.com/restricted
|
2060
|
-
Completed 302 Found in
|
2061
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-
|
2180
|
+
Completed 302 Found in 14ms (ActiveRecord: 7.6ms)
|
2181
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-08 12:35:24 +0000
|
2062
2182
|
Processing by ExampleController#restricted as HTML
|
2063
|
-
[1m[36mUser Load (0.
|
2183
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
2064
2184
|
Rendering text template
|
2065
2185
|
Rendered text template (0.0ms)
|
2066
|
-
Completed 200 OK in
|
2067
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-
|
2186
|
+
Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.3ms)
|
2187
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-08 12:35:24 +0000
|
2068
2188
|
Processing by ExampleController#restricted as HTML
|
2069
2189
|
Authenticating with gds_sso strategy
|
2070
2190
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
2071
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2018-
|
2072
|
-
Started GET "/auth/gds/callback?code=
|
2191
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-02-08 12:35:24 +0000
|
2192
|
+
Started GET "/auth/gds/callback?code=5f7c066490e4caa68d0a52033453072d064c14e777b06f8a2f161e47a2f0105e&state=3a08fe5362b8eebb42719da8373934729415df0da666a2d4" for 127.0.0.1 at 2018-02-08 12:35:24 +0000
|
2073
2193
|
Processing by AuthenticationsController#callback as HTML
|
2074
|
-
Parameters: {"code"=>"
|
2194
|
+
Parameters: {"code"=>"5f7c066490e4caa68d0a52033453072d064c14e777b06f8a2f161e47a2f0105e", "state"=>"3a08fe5362b8eebb42719da8373934729415df0da666a2d4"}
|
2075
2195
|
Authenticating with gds_sso strategy
|
2076
2196
|
[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]]
|
2077
2197
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2078
|
-
[1m[35m (0.
|
2198
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
2079
2199
|
Redirected to http://www.example-client.com/restricted
|
2080
|
-
Completed 302 Found in
|
2081
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-
|
2200
|
+
Completed 302 Found in 6ms (ActiveRecord: 0.6ms)
|
2201
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-08 12:35:24 +0000
|
2082
2202
|
Processing by ExampleController#restricted as HTML
|
2083
|
-
[1m[36mUser Load (0.
|
2203
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
2084
2204
|
Rendering text template
|
2085
2205
|
Rendered text template (0.0ms)
|
2086
|
-
Completed 200 OK in 3ms (Views: 0.
|
2087
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-
|
2206
|
+
Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.3ms)
|
2207
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-09 08:40:24 +0000
|
2088
2208
|
Processing by ExampleController#restricted as HTML
|
2089
2209
|
Authenticating with gds_sso strategy
|
2090
|
-
Completed in
|
2091
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2018-
|
2092
|
-
Started GET "/auth/gds/callback?code=
|
2210
|
+
Completed in 1ms (ActiveRecord: 0.0ms)
|
2211
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-02-09 08:40:24 +0000
|
2212
|
+
Started GET "/auth/gds/callback?code=ac6f1c431d4166e5553b1ef58651995276560e93a9013e0eb6731136a56b7f5c&state=68dbf137439dcf120ad9a65867e74bf10fa7ff120c00b2ba" for 127.0.0.1 at 2018-02-09 08:40:24 +0000
|
2093
2213
|
Processing by AuthenticationsController#callback as HTML
|
2094
|
-
Parameters: {"code"=>"
|
2214
|
+
Parameters: {"code"=>"ac6f1c431d4166e5553b1ef58651995276560e93a9013e0eb6731136a56b7f5c", "state"=>"68dbf137439dcf120ad9a65867e74bf10fa7ff120c00b2ba"}
|
2095
2215
|
Authenticating with gds_sso strategy
|
2096
|
-
[1m[36mUser Load (
|
2216
|
+
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
2097
2217
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2098
|
-
[1m[35m (0.
|
2218
|
+
[1m[35m (0.2ms)[0m [1m[36mcommit transaction[0m
|
2099
2219
|
Redirected to http://www.example-client.com/restricted
|
2100
|
-
Completed 302 Found in
|
2101
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-
|
2220
|
+
Completed 302 Found in 6ms (ActiveRecord: 0.8ms)
|
2221
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-09 08:40:24 +0000
|
2102
2222
|
Processing by ExampleController#restricted as HTML
|
2103
|
-
[1m[36mUser Load (0.
|
2223
|
+
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
2104
2224
|
Rendering text template
|
2105
|
-
Rendered text template (0.
|
2106
|
-
Completed 200 OK in
|
2107
|
-
|
2108
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2109
|
-
[1m[35mSQL (0.6ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "t"], ["id", 2]]
|
2110
|
-
[1m[35m (7.1ms)[0m [1m[36mcommit transaction[0m
|
2111
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:52 +0000
|
2225
|
+
Rendered text template (0.0ms)
|
2226
|
+
Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.4ms)
|
2227
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-08 12:35:24 +0000
|
2112
2228
|
Processing by ExampleController#restricted as HTML
|
2113
|
-
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
2114
2229
|
Authenticating with gds_sso strategy
|
2115
|
-
Completed in
|
2116
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2018-
|
2117
|
-
Started GET "/auth/gds/callback?code=
|
2230
|
+
Completed in 0ms (ActiveRecord: 0.0ms)
|
2231
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-02-08 12:35:24 +0000
|
2232
|
+
Started GET "/auth/gds/callback?code=945580dad7da4b1a340f3032b838042b86947c400bc7a5ccf6e6bf0feccfbf25&state=322ddc743d54791baf5c3c8b31da6eaa55d337d579a8c3af" for 127.0.0.1 at 2018-02-08 12:35:24 +0000
|
2118
2233
|
Processing by AuthenticationsController#callback as HTML
|
2119
|
-
Parameters: {"code"=>"
|
2234
|
+
Parameters: {"code"=>"945580dad7da4b1a340f3032b838042b86947c400bc7a5ccf6e6bf0feccfbf25", "state"=>"322ddc743d54791baf5c3c8b31da6eaa55d337d579a8c3af"}
|
2120
2235
|
Authenticating with gds_sso strategy
|
2121
|
-
[1m[36mUser Load (0.
|
2236
|
+
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
2122
2237
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2123
|
-
[1m[35m (0.
|
2124
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2125
|
-
[1m[35mSQL (0.3ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id", 2]]
|
2126
|
-
[1m[35m (9.2ms)[0m [1m[36mcommit transaction[0m
|
2238
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
2127
2239
|
Redirected to http://www.example-client.com/restricted
|
2128
|
-
Completed 302 Found in
|
2129
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-
|
2240
|
+
Completed 302 Found in 6ms (ActiveRecord: 0.7ms)
|
2241
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-08 12:35:24 +0000
|
2130
2242
|
Processing by ExampleController#restricted as HTML
|
2131
|
-
[1m[36mUser Load (0.
|
2243
|
+
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
2132
2244
|
Rendering text template
|
2133
2245
|
Rendered text template (0.0ms)
|
2134
|
-
Completed 200 OK in
|
2135
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-
|
2136
|
-
Processing by ExampleController#restricted as
|
2137
|
-
|
2138
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-01-23 17:16:52 +0000
|
2139
|
-
Processing by ExampleController#restricted as JSON
|
2140
|
-
Completed in 16ms (ActiveRecord: 0.0ms)
|
2141
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2018-01-23 17:16:53 +0000
|
2142
|
-
Processing by ExampleController#this_requires_signin_permission as JSON
|
2143
|
-
[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]]
|
2144
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2145
|
-
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "users" SET "disabled" = ? WHERE "users"."id" = ?[0m [["disabled", nil], ["id", 2]]
|
2146
|
-
[1m[35m (6.6ms)[0m [1m[36mcommit transaction[0m
|
2147
|
-
[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]]
|
2148
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2149
|
-
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2150
|
-
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
2151
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2152
|
-
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2153
|
-
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
2154
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2155
|
-
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2246
|
+
Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.4ms)
|
2247
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-09 08:30:24 +0000
|
2248
|
+
Processing by ExampleController#restricted as HTML
|
2249
|
+
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
2156
2250
|
Rendering text template
|
2157
2251
|
Rendered text template (0.0ms)
|
2158
|
-
Completed 200 OK in
|
2159
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-
|
2160
|
-
Processing by ExampleController#restricted as
|
2161
|
-
|
2162
|
-
|
2163
|
-
|
2164
|
-
|
2165
|
-
|
2166
|
-
|
2167
|
-
|
2252
|
+
Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.4ms)
|
2253
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-08 12:35:24 +0000
|
2254
|
+
Processing by ExampleController#restricted as HTML
|
2255
|
+
Authenticating with gds_sso strategy
|
2256
|
+
Completed in 0ms (ActiveRecord: 0.0ms)
|
2257
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-02-08 12:35:24 +0000
|
2258
|
+
Started GET "/auth/gds/callback?code=7aa6dc10642ec0a5a82aee1454d676ca106d20c6736dabc043c4d97fb0bf45e7&state=7ac6752753943390bc49aee8ee3c18989d98a72ce31f4f15" for 127.0.0.1 at 2018-02-08 12:35:24 +0000
|
2259
|
+
Processing by AuthenticationsController#callback as HTML
|
2260
|
+
Parameters: {"code"=>"7aa6dc10642ec0a5a82aee1454d676ca106d20c6736dabc043c4d97fb0bf45e7", "state"=>"7ac6752753943390bc49aee8ee3c18989d98a72ce31f4f15"}
|
2261
|
+
Authenticating with gds_sso strategy
|
2262
|
+
[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]]
|
2168
2263
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2169
2264
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
2170
|
-
|
2171
|
-
|
2172
|
-
|
2265
|
+
Redirected to http://www.example-client.com/restricted
|
2266
|
+
Completed 302 Found in 6ms (ActiveRecord: 0.6ms)
|
2267
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-08 12:35:25 +0000
|
2268
|
+
Processing by ExampleController#restricted as HTML
|
2269
|
+
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
2173
2270
|
Rendering text template
|
2174
2271
|
Rendered text template (0.0ms)
|
2175
|
-
Completed 200 OK in
|
2176
|
-
|
2177
|
-
|
2178
|
-
|
2179
|
-
|
2180
|
-
|
2181
|
-
[1m[35m (6.1ms)[0m [1m[36mcommit transaction[0m
|
2182
|
-
Processing by Api::UserController#reauth as HTML
|
2183
|
-
Parameters: {"uid"=>"nonexistent-user"}
|
2184
|
-
[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]]
|
2185
|
-
Completed 200 OK in 2ms (ActiveRecord: 0.1ms)
|
2186
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2187
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d31284"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
2188
|
-
[1m[35m (6.4ms)[0m [1m[36mcommit transaction[0m
|
2189
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2190
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d379"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
2191
|
-
[1m[35m (5.3ms)[0m [1m[36mcommit transaction[0m
|
2192
|
-
Processing by Api::UserController#reauth as HTML
|
2193
|
-
Parameters: {"uid"=>"a1s2d31284"}
|
2194
|
-
Rendering /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
2195
|
-
Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.5ms)
|
2196
|
-
Completed 403 Forbidden in 9ms (Views: 8.8ms | ActiveRecord: 0.0ms)
|
2197
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2198
|
-
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d3661"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
2199
|
-
[1m[35m (6.5ms)[0m [1m[36mcommit transaction[0m
|
2200
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2201
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d31303"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
2202
|
-
[1m[35m (5.8ms)[0m [1m[36mcommit transaction[0m
|
2203
|
-
Processing by Api::UserController#reauth as HTML
|
2204
|
-
Parameters: {"uid"=>"a1s2d3661"}
|
2205
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d3661"], ["LIMIT", 1]]
|
2206
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2207
|
-
[1m[35mSQL (0.4ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "t"], ["id", 7]]
|
2208
|
-
[1m[35m (7.0ms)[0m [1m[36mcommit transaction[0m
|
2209
|
-
Completed 200 OK in 10ms (ActiveRecord: 7.6ms)
|
2210
|
-
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 7], ["LIMIT", 1]]
|
2211
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2212
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d395"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
2213
|
-
[1m[35m (5.0ms)[0m [1m[36mcommit transaction[0m
|
2214
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2215
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d36582"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
2216
|
-
[1m[35m (5.8ms)[0m [1m[36mcommit transaction[0m
|
2217
|
-
Processing by Api::UserController#update as HTML
|
2218
|
-
Parameters: {"uid"=>"a1s2d395"}
|
2219
|
-
Rendering /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
2220
|
-
Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.0ms)
|
2221
|
-
Completed 403 Forbidden in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
|
2222
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2223
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d3568"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
2224
|
-
[1m[35m (6.0ms)[0m [1m[36mcommit transaction[0m
|
2225
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2226
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d31082"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
2227
|
-
[1m[35m (6.0ms)[0m [1m[36mcommit transaction[0m
|
2228
|
-
Processing by Api::UserController#update as HTML
|
2229
|
-
Parameters: {"uid"=>"a1s2d3568"}
|
2230
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d3568"], ["LIMIT", 1]]
|
2231
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2232
|
-
[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", 11]]
|
2233
|
-
[1m[35m (6.1ms)[0m [1m[36mcommit transaction[0m
|
2234
|
-
Completed 200 OK in 9ms (ActiveRecord: 6.4ms)
|
2235
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 11], ["LIMIT", 1]]
|
2272
|
+
Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.4ms)
|
2273
|
+
Started GET "/restricted" for 127.0.0.1 at 2018-02-09 08:40:25 +0000
|
2274
|
+
Processing by ExampleController#restricted as HTML
|
2275
|
+
Authenticating with gds_sso strategy
|
2276
|
+
Completed in 1ms (ActiveRecord: 0.0ms)
|
2277
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2018-02-09 08:40:25 +0000
|