gds-sso 13.1.0 → 13.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/gds-sso/user.rb +2 -20
- data/lib/gds-sso/version.rb +1 -1
- data/spec/controller/api_user_controller_spec.rb +0 -5
- data/spec/internal/db/combustion_test.sqlite +0 -0
- data/spec/internal/log/test.log +765 -765
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9f4c161463202bb5caf2111be0f9bc790949aa9c
|
4
|
+
data.tar.gz: 277d9b63b33fe337b234a898b1bfb169498bdc85
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e42272e73d5174d05e51f846f0f53335daf1559ba570ff5ef60c65bbc4b51c29d881cf24a91fdf773633dfcf008567d321400d68d598fffa0f6103386e8e756b
|
7
|
+
data.tar.gz: b7ee2256c17aba4a9a42861996749f86d2c5d8297985c070caf42097d05db5530ed539492a2d543f68fdabbce107ec99cbb8e5c679af63032db66e9b28a2f37f
|
data/lib/gds-sso/user.rb
CHANGED
@@ -5,16 +5,6 @@ module GDS
|
|
5
5
|
module User
|
6
6
|
extend ActiveSupport::Concern
|
7
7
|
|
8
|
-
def self.below_rails_4?
|
9
|
-
Gem.loaded_specs['rails'] && Gem.loaded_specs['rails'].version < Gem::Version.new("4.0")
|
10
|
-
end
|
11
|
-
|
12
|
-
included do
|
13
|
-
if GDS::SSO::User.below_rails_4? && respond_to?(:attr_accessible)
|
14
|
-
attr_accessible :uid, :email, :name, :permissions, :organisation_slug, :organisation_content_id, :disabled, as: :oauth
|
15
|
-
end
|
16
|
-
end
|
17
|
-
|
18
8
|
def has_permission?(permission)
|
19
9
|
if permissions
|
20
10
|
permissions.include?(permission)
|
@@ -48,18 +38,10 @@ module GDS
|
|
48
38
|
self.where(:email => user_params['email']).first
|
49
39
|
|
50
40
|
if user
|
51
|
-
|
52
|
-
user.update_attributes(user_params, as: :oauth)
|
53
|
-
else
|
54
|
-
user.update_attributes(user_params)
|
55
|
-
end
|
41
|
+
user.update_attributes(user_params)
|
56
42
|
user
|
57
43
|
else # Create a new user.
|
58
|
-
|
59
|
-
self.create!(user_params, as: :oauth)
|
60
|
-
else
|
61
|
-
self.create!(user_params)
|
62
|
-
end
|
44
|
+
create!(user_params)
|
63
45
|
end
|
64
46
|
end
|
65
47
|
end
|
data/lib/gds-sso/version.rb
CHANGED
@@ -29,11 +29,6 @@ describe Api::UserController, type: :controller do
|
|
29
29
|
:name => "SSO Push user",
|
30
30
|
:permissions => ["signin", "user_update_permission"] }]
|
31
31
|
|
32
|
-
if GDS::SSO::User.below_rails_4?
|
33
|
-
user_to_update_attrs << { as: :oauth }
|
34
|
-
signon_sso_push_user_attrs << { as: :oauth }
|
35
|
-
end
|
36
|
-
|
37
32
|
@user_to_update = User.create!(*user_to_update_attrs)
|
38
33
|
@signon_sso_push_user = User.create!(*signon_sso_push_user_attrs)
|
39
34
|
end
|
Binary file
|
data/spec/internal/log/test.log
CHANGED
@@ -1,84 +1,81 @@
|
|
1
|
-
[1m[36m (
|
2
|
-
[1m[35m (
|
1
|
+
[1m[36m (24.5ms)[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 (15.3ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
3
3
|
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
4
|
-
[1m[35m (
|
5
|
-
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "asd"]]
|
6
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "user@example.com"]]
|
4
|
+
[1m[35m (44.7ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
7
5
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
8
|
-
[1m[35mSQL (0.
|
9
|
-
[1m[36m (
|
10
|
-
[1m[
|
6
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d36712"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
7
|
+
[1m[36m (25.7ms)[0m [1mcommit transaction[0m
|
8
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d36205"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
10
|
+
[1m[35m (13.2ms)[0m commit transaction
|
11
|
+
Processing by Api::UserController#reauth as HTML
|
12
|
+
Parameters: {"uid"=>"nonexistent-user"}
|
13
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "nonexistent-user"]]
|
14
|
+
Completed 200 OK in 6ms (ActiveRecord: 0.2ms)
|
15
|
+
[1m[35m (0.1ms)[0m begin transaction
|
16
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d35653"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
17
|
+
[1m[35m (35.2ms)[0m commit transaction
|
11
18
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12
|
-
[1m[
|
19
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d39384"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
20
|
+
[1m[36m (18.1ms)[0m [1mcommit transaction[0m
|
21
|
+
Processing by Api::UserController#reauth as HTML
|
22
|
+
Parameters: {"uid"=>"a1s2d35653"}
|
23
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "a1s2d35653"]]
|
24
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
25
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 3]]
|
26
|
+
[1m[36m (16.7ms)[0m [1mcommit transaction[0m
|
27
|
+
Completed 200 OK in 21ms (ActiveRecord: 17.1ms)
|
28
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
|
13
29
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
14
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "
|
15
|
-
[1m[36m (
|
30
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d39946"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
31
|
+
[1m[36m (9.6ms)[0m [1mcommit transaction[0m
|
16
32
|
[1m[35m (0.1ms)[0m begin transaction
|
17
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "
|
18
|
-
[1m[35m (
|
19
|
-
Processing by Api::UserController#
|
20
|
-
Parameters: {"uid"=>"
|
33
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d34132"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
34
|
+
[1m[35m (13.1ms)[0m commit transaction
|
35
|
+
Processing by Api::UserController#reauth as HTML
|
36
|
+
Parameters: {"uid"=>"a1s2d39946"}
|
21
37
|
Rendered /home/jenkins/workspace/govuk_gds_sso/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.3ms)
|
22
|
-
Completed 403 Forbidden in 9ms (Views: 8.
|
38
|
+
Completed 403 Forbidden in 9ms (Views: 8.7ms | ActiveRecord: 0.0ms)
|
23
39
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "
|
25
|
-
[1m[36m (
|
26
|
-
[1m[35m (0.
|
27
|
-
[1m[36mSQL (0.
|
28
|
-
[1m[35m (
|
40
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d39843"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
41
|
+
[1m[36m (18.1ms)[0m [1mcommit transaction[0m
|
42
|
+
[1m[35m (0.1ms)[0m begin transaction
|
43
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d34615"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
44
|
+
[1m[35m (15.5ms)[0m commit transaction
|
29
45
|
Processing by Api::UserController#update as HTML
|
30
|
-
Parameters: {"uid"=>"
|
31
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "
|
46
|
+
Parameters: {"uid"=>"a1s2d39843"}
|
47
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "a1s2d39843"]]
|
32
48
|
[1m[35m (0.1ms)[0m begin transaction
|
33
|
-
[1m[36mSQL (0.
|
34
|
-
[1m[35m (
|
35
|
-
Completed 200 OK in
|
36
|
-
[1m[36mUser Load (0.
|
49
|
+
[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", 7]]
|
50
|
+
[1m[35m (18.3ms)[0m commit transaction
|
51
|
+
Completed 200 OK in 23ms (ActiveRecord: 18.7ms)
|
52
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 7]]
|
37
53
|
[1m[35m (0.1ms)[0m begin transaction
|
38
|
-
[1m[36mSQL (0.
|
39
|
-
[1m[35m (
|
54
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d3479"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
55
|
+
[1m[35m (10.7ms)[0m commit transaction
|
40
56
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
41
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "
|
42
|
-
[1m[36m (
|
43
|
-
Processing by Api::UserController#
|
44
|
-
Parameters: {"uid"=>"
|
57
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d36505"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
58
|
+
[1m[36m (9.8ms)[0m [1mcommit transaction[0m
|
59
|
+
Processing by Api::UserController#update as HTML
|
60
|
+
Parameters: {"uid"=>"a1s2d3479"}
|
45
61
|
Rendered /home/jenkins/workspace/govuk_gds_sso/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.1ms)
|
46
62
|
Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
63
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "asd"]]
|
64
|
+
[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"]]
|
47
65
|
[1m[35m (0.1ms)[0m begin transaction
|
48
|
-
[1m[36mSQL (0.
|
49
|
-
[1m[35m (
|
50
|
-
[1m[
|
51
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d3547"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
52
|
-
[1m[36m (9.2ms)[0m [1mcommit transaction[0m
|
53
|
-
Processing by Api::UserController#reauth as HTML
|
54
|
-
Parameters: {"uid"=>"nonexistent-user"}
|
55
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "nonexistent-user"]]
|
56
|
-
Completed 200 OK in 1ms (ActiveRecord: 0.1ms)
|
57
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
58
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d35459"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
59
|
-
[1m[36m (10.1ms)[0m [1mcommit transaction[0m
|
60
|
-
[1m[35m (0.1ms)[0m begin transaction
|
61
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d34974"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
62
|
-
[1m[35m (10.4ms)[0m commit transaction
|
63
|
-
Processing by Api::UserController#reauth as HTML
|
64
|
-
Parameters: {"uid"=>"a1s2d35459"}
|
65
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "a1s2d35459"]]
|
66
|
+
[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]]
|
67
|
+
[1m[35m (13.5ms)[0m commit transaction
|
68
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "asd"]]
|
66
69
|
[1m[35m (0.1ms)[0m begin transaction
|
67
|
-
[1m[
|
68
|
-
|
69
|
-
Completed 200 OK in 35ms (ActiveRecord: 32.6ms)
|
70
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 10]]
|
71
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-11-25 13:43:28 +0000
|
70
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
71
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-12-20 12:13:26 +0000
|
72
72
|
Processing by ExampleController#restricted as JSON
|
73
|
-
|
74
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2016-11-25 13:43:28 +0000
|
75
|
-
Processing by ExampleController#this_requires_signin_permission as JSON
|
76
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
73
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
77
74
|
[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"]]
|
78
75
|
[1m[35m (0.1ms)[0m begin transaction
|
79
76
|
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions", "disabled") VALUES (?, ?, ?, ?, ?)[0m [["uid", "integration-uid"], ["email", "test@example-client.com"], ["name", "Test User"], ["permissions", "---\n- signin\n"], ["disabled", nil]]
|
80
|
-
[1m[35m (
|
81
|
-
[1m[36mUser Load (0.
|
77
|
+
[1m[35m (52.1ms)[0m commit transaction
|
78
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
82
79
|
[1m[35m (0.1ms)[0m begin transaction
|
83
80
|
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
84
81
|
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
@@ -89,14 +86,17 @@ Processing by ExampleController#this_requires_signin_permission as JSON
|
|
89
86
|
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
90
87
|
[1m[35m (0.1ms)[0m begin transaction
|
91
88
|
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id", 12]]
|
92
|
-
[1m[35m (
|
89
|
+
[1m[35m (9.7ms)[0m commit transaction
|
93
90
|
Rendered text template (0.0ms)
|
94
|
-
Completed 200 OK in
|
95
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
91
|
+
Completed 200 OK in 386ms (Views: 1.4ms | ActiveRecord: 63.5ms)
|
92
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-12-20 12:13:26 +0000
|
96
93
|
Processing by ExampleController#restricted as JSON
|
97
|
-
Completed in
|
98
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
94
|
+
Completed in 17ms (ActiveRecord: 0.0ms)
|
95
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-12-20 12:13:26 +0000
|
99
96
|
Processing by ExampleController#restricted as JSON
|
97
|
+
Completed in 29ms (ActiveRecord: 0.0ms)
|
98
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2016-12-20 12:13:26 +0000
|
99
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
100
100
|
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
101
101
|
[1m[35m (0.1ms)[0m begin transaction
|
102
102
|
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
@@ -112,173 +112,151 @@ Processing by ExampleController#restricted as JSON
|
|
112
112
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
113
113
|
[1m[35m (0.1ms)[0m commit transaction
|
114
114
|
Rendered text template (0.0ms)
|
115
|
-
Completed 200 OK in
|
116
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2016-
|
115
|
+
Completed 200 OK in 73ms (Views: 0.3ms | ActiveRecord: 1.0ms)
|
116
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2016-12-20 12:13:26 +0000
|
117
117
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
118
118
|
Authenticating with gds_sso strategy
|
119
|
-
Completed in
|
120
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2016-
|
121
|
-
Started GET "/auth/gds/callback?code=
|
119
|
+
Completed in 0ms (ActiveRecord: 0.0ms)
|
120
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2016-12-20 12:13:26 +0000
|
121
|
+
Started GET "/auth/gds/callback?code=de1b1f9a5f817b4c5056335f3605ea461d9af17cc482b46464b7c6c5c2dadf7d&state=3b9f926e0d91f1510f4eb1ae914e097c934e99c0f7e00835" for 127.0.0.1 at 2016-12-20 12:13:38 +0000
|
122
122
|
Processing by AuthenticationsController#callback as HTML
|
123
|
-
Parameters: {"code"=>"
|
123
|
+
Parameters: {"code"=>"de1b1f9a5f817b4c5056335f3605ea461d9af17cc482b46464b7c6c5c2dadf7d", "state"=>"3b9f926e0d91f1510f4eb1ae914e097c934e99c0f7e00835"}
|
124
124
|
Authenticating with gds_sso strategy
|
125
125
|
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
126
126
|
[1m[35m (0.1ms)[0m begin transaction
|
127
127
|
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "disabled" = ? WHERE "users"."id" = ?[0m [["disabled", "f"], ["id", 12]]
|
128
|
-
[1m[35m (
|
128
|
+
[1m[35m (81.7ms)[0m commit transaction
|
129
129
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
130
130
|
[1m[35m (0.1ms)[0m commit transaction
|
131
131
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
132
|
-
Completed 302 Found in
|
133
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2016-
|
132
|
+
Completed 302 Found in 88ms (ActiveRecord: 82.3ms)
|
133
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2016-12-20 12:13:38 +0000
|
134
134
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
135
135
|
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
136
136
|
Rendered text template (0.0ms)
|
137
|
-
Completed 200 OK in 2ms (Views: 0.
|
138
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2016-
|
137
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
138
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2016-12-20 12:13:38 +0000
|
139
139
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
140
140
|
Authenticating with gds_sso strategy
|
141
141
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
142
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2016-
|
143
|
-
Started GET "/auth/gds/callback?code=
|
142
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2016-12-20 12:13:38 +0000
|
143
|
+
Started GET "/auth/gds/callback?code=81a39364e7be9158e0087c8d911cd1bf803a2ec649d26ad2c3cf6e87e1d0c65f&state=8006dd92f3a1ce45dfda380f87af525550a0c04630cc18ac" for 127.0.0.1 at 2016-12-20 12:13:38 +0000
|
144
144
|
Processing by AuthenticationsController#callback as HTML
|
145
|
-
Parameters: {"code"=>"
|
145
|
+
Parameters: {"code"=>"81a39364e7be9158e0087c8d911cd1bf803a2ec649d26ad2c3cf6e87e1d0c65f", "state"=>"8006dd92f3a1ce45dfda380f87af525550a0c04630cc18ac"}
|
146
146
|
Authenticating with gds_sso strategy
|
147
|
-
[1m[35mUser Load (0.
|
147
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
148
148
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
149
149
|
[1m[35m (0.1ms)[0m commit transaction
|
150
150
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
151
151
|
[1m[35m (0.1ms)[0m commit transaction
|
152
152
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
153
|
-
Completed 302 Found in
|
154
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2016-
|
153
|
+
Completed 302 Found in 6ms (ActiveRecord: 0.5ms)
|
154
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2016-12-20 12:13:38 +0000
|
155
155
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
156
156
|
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
157
157
|
Rendered text template (0.0ms)
|
158
158
|
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
159
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
159
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-12-20 12:13:38 +0000
|
160
160
|
Processing by ExampleController#restricted as HTML
|
161
161
|
Authenticating with gds_sso strategy
|
162
162
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
163
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2016-
|
164
|
-
Started GET "/auth/gds/callback?code=
|
163
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2016-12-20 12:13:38 +0000
|
164
|
+
Started GET "/auth/gds/callback?code=62941e74cdcee54d19756dc8d4878b1842ae56c3f476128a16a4786bbdf6af50&state=1cad8d6d414084b60e21cb12cd8e1cabaddf906cf35b73a5" for 127.0.0.1 at 2016-12-20 12:13:39 +0000
|
165
165
|
Processing by AuthenticationsController#callback as HTML
|
166
|
-
Parameters: {"code"=>"
|
166
|
+
Parameters: {"code"=>"62941e74cdcee54d19756dc8d4878b1842ae56c3f476128a16a4786bbdf6af50", "state"=>"1cad8d6d414084b60e21cb12cd8e1cabaddf906cf35b73a5"}
|
167
167
|
Authenticating with gds_sso strategy
|
168
168
|
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
169
169
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
170
170
|
[1m[35m (0.1ms)[0m commit transaction
|
171
|
-
[1m[36m (0.
|
171
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
172
172
|
[1m[35m (0.1ms)[0m commit transaction
|
173
173
|
Redirected to http://www.example-client.com/restricted
|
174
174
|
Completed 302 Found in 5ms (ActiveRecord: 0.4ms)
|
175
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
175
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-12-20 12:13:39 +0000
|
176
176
|
Processing by ExampleController#restricted as HTML
|
177
177
|
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
178
178
|
Rendered text template (0.0ms)
|
179
|
-
Completed 200 OK in
|
180
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
179
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
180
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-12-20 12:13:39 +0000
|
181
181
|
Processing by ExampleController#restricted as HTML
|
182
182
|
Authenticating with gds_sso strategy
|
183
183
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
184
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2016-
|
185
|
-
Started GET "/auth/gds/callback?code=
|
184
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2016-12-20 12:13:39 +0000
|
185
|
+
Started GET "/auth/gds/callback?code=135beefaeab8cbb75e0c23bfe939009fe38e4ca915fdaf79a52a7b4cd07ac7e9&state=d4aab73e45047f92804335bae78a926312ef65d6ce7d9fd0" for 127.0.0.1 at 2016-12-20 12:13:39 +0000
|
186
186
|
Processing by AuthenticationsController#callback as HTML
|
187
|
-
Parameters: {"code"=>"
|
187
|
+
Parameters: {"code"=>"135beefaeab8cbb75e0c23bfe939009fe38e4ca915fdaf79a52a7b4cd07ac7e9", "state"=>"d4aab73e45047f92804335bae78a926312ef65d6ce7d9fd0"}
|
188
188
|
Authenticating with gds_sso strategy
|
189
189
|
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
190
190
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
191
191
|
[1m[35m (0.1ms)[0m commit transaction
|
192
192
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
193
|
-
[1m[35m (0.
|
193
|
+
[1m[35m (0.1ms)[0m commit transaction
|
194
194
|
Redirected to http://www.example-client.com/restricted
|
195
|
-
Completed 302 Found in 5ms (ActiveRecord: 0.
|
196
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
195
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.4ms)
|
196
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-12-20 12:13:39 +0000
|
197
197
|
Processing by ExampleController#restricted as HTML
|
198
198
|
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
199
199
|
Rendered text template (0.0ms)
|
200
200
|
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
201
|
-
Started GET "/" for 127.0.0.1 at 2016-
|
202
|
-
Processing by ExampleController#index as HTML
|
203
|
-
Rendered text template (0.0ms)
|
204
|
-
Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
205
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-11-25 13:43:40 +0000
|
201
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-12-20 12:13:39 +0000
|
206
202
|
Processing by ExampleController#restricted as HTML
|
207
203
|
Authenticating with gds_sso strategy
|
208
204
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
209
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2016-
|
210
|
-
Started GET "/auth/gds/callback?code=
|
205
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2016-12-20 12:13:39 +0000
|
206
|
+
Started GET "/auth/gds/callback?code=4755abe3e81e73b9d8aeb594407867d2d86d6b9c42f88e1152959404f6a376ec&state=5484c7035dcf78a67094e81301c4342219bfe24f5e1ba124" for 127.0.0.1 at 2016-12-20 12:13:39 +0000
|
211
207
|
Processing by AuthenticationsController#callback as HTML
|
212
|
-
Parameters: {"code"=>"
|
208
|
+
Parameters: {"code"=>"4755abe3e81e73b9d8aeb594407867d2d86d6b9c42f88e1152959404f6a376ec", "state"=>"5484c7035dcf78a67094e81301c4342219bfe24f5e1ba124"}
|
213
209
|
Authenticating with gds_sso strategy
|
214
210
|
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
215
211
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
216
212
|
[1m[35m (0.1ms)[0m commit transaction
|
217
|
-
[1m[36m (0.
|
213
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
218
214
|
[1m[35m (0.1ms)[0m commit transaction
|
219
215
|
Redirected to http://www.example-client.com/restricted
|
220
216
|
Completed 302 Found in 5ms (ActiveRecord: 0.4ms)
|
221
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
217
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-12-20 12:13:39 +0000
|
222
218
|
Processing by ExampleController#restricted as HTML
|
223
219
|
[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"]]
|
224
220
|
Rendered text template (0.0ms)
|
225
|
-
Completed 200 OK in 2ms (Views: 0.
|
226
|
-
Started GET "/
|
221
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
222
|
+
Started GET "/" for 127.0.0.1 at 2016-12-20 12:13:39 +0000
|
223
|
+
Processing by ExampleController#index as HTML
|
224
|
+
Rendered text template (0.0ms)
|
225
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
226
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-12-20 12:13:39 +0000
|
227
227
|
Processing by ExampleController#restricted as HTML
|
228
228
|
Authenticating with gds_sso strategy
|
229
229
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
230
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2016-
|
231
|
-
Started GET "/auth/gds/callback?code=
|
230
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2016-12-20 12:13:39 +0000
|
231
|
+
Started GET "/auth/gds/callback?code=de9732b79db33c8d7a6bdd545f54ae922c0676b29118451c314ec444767e3ff2&state=21c7e39676db8e33228d0d8b9ed5592365cd7d72446c9a7f" for 127.0.0.1 at 2016-12-20 12:13:39 +0000
|
232
232
|
Processing by AuthenticationsController#callback as HTML
|
233
|
-
Parameters: {"code"=>"
|
233
|
+
Parameters: {"code"=>"de9732b79db33c8d7a6bdd545f54ae922c0676b29118451c314ec444767e3ff2", "state"=>"21c7e39676db8e33228d0d8b9ed5592365cd7d72446c9a7f"}
|
234
234
|
Authenticating with gds_sso strategy
|
235
|
-
[1m[35mUser Load (0.
|
235
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
236
236
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
237
237
|
[1m[35m (0.1ms)[0m commit transaction
|
238
238
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
239
239
|
[1m[35m (0.1ms)[0m commit transaction
|
240
240
|
Redirected to http://www.example-client.com/restricted
|
241
|
-
Completed 302 Found in
|
242
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
241
|
+
Completed 302 Found in 6ms (ActiveRecord: 0.5ms)
|
242
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-12-20 12:13:39 +0000
|
243
243
|
Processing by ExampleController#restricted as HTML
|
244
244
|
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
245
245
|
Rendered text template (0.0ms)
|
246
|
-
Completed 200 OK in
|
247
|
-
|
248
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
249
|
-
[1m[35mSQL (0.1ms)[0m UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 12]]
|
250
|
-
[1m[36m (32.1ms)[0m [1mcommit transaction[0m
|
251
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-11-25 13:43:41 +0000
|
246
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
247
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-12-21 08:18:39 +0000
|
252
248
|
Processing by ExampleController#restricted as HTML
|
253
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
254
|
-
Authenticating with gds_sso strategy
|
255
|
-
Completed in 1ms (ActiveRecord: 0.1ms)
|
256
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2016-11-25 13:43:41 +0000
|
257
|
-
Started GET "/auth/gds/callback?code=91b37d0ce383321139a08eca982c84913d700302e93332efe20934390b11cefb&state=e31feeb10724049b767acdeb26b0e740815c99b933970a73" for 127.0.0.1 at 2016-11-25 13:43:41 +0000
|
258
|
-
Processing by AuthenticationsController#callback as HTML
|
259
|
-
Parameters: {"code"=>"91b37d0ce383321139a08eca982c84913d700302e93332efe20934390b11cefb", "state"=>"e31feeb10724049b767acdeb26b0e740815c99b933970a73"}
|
260
249
|
Authenticating with gds_sso strategy
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
[1m[35m (0.1ms)[0m begin transaction
|
265
|
-
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id", 12]]
|
266
|
-
[1m[35m (76.4ms)[0m commit transaction
|
267
|
-
Redirected to http://www.example-client.com/restricted
|
268
|
-
Completed 302 Found in 83ms (ActiveRecord: 77.0ms)
|
269
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-11-25 13:43:41 +0000
|
270
|
-
Processing by ExampleController#restricted as HTML
|
271
|
-
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
272
|
-
Rendered text template (0.0ms)
|
273
|
-
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
274
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-11-25 13:43:41 +0000
|
250
|
+
Completed in 1ms (ActiveRecord: 0.0ms)
|
251
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2016-12-21 08:18:39 +0000
|
252
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-12-20 12:13:40 +0000
|
275
253
|
Processing by ExampleController#restricted as HTML
|
276
254
|
Authenticating with gds_sso strategy
|
277
|
-
Completed in
|
278
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2016-
|
279
|
-
Started GET "/auth/gds/callback?code=
|
255
|
+
Completed in 0ms (ActiveRecord: 0.0ms)
|
256
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2016-12-20 12:13:40 +0000
|
257
|
+
Started GET "/auth/gds/callback?code=b0c0798cd4048315f2195c7f6c46ce9f1484e5e3dca69e63888d363df233d593&state=3d3a16c647c1d6c5263992925b92da57c3c361827d012892" for 127.0.0.1 at 2016-12-20 12:13:40 +0000
|
280
258
|
Processing by AuthenticationsController#callback as HTML
|
281
|
-
Parameters: {"code"=>"
|
259
|
+
Parameters: {"code"=>"b0c0798cd4048315f2195c7f6c46ce9f1484e5e3dca69e63888d363df233d593", "state"=>"3d3a16c647c1d6c5263992925b92da57c3c361827d012892"}
|
282
260
|
Authenticating with gds_sso strategy
|
283
261
|
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
284
262
|
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
@@ -286,419 +264,376 @@ Authenticating with gds_sso strategy
|
|
286
264
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
287
265
|
[1m[35m (0.1ms)[0m commit transaction
|
288
266
|
Redirected to http://www.example-client.com/restricted
|
289
|
-
Completed 302 Found in
|
290
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
267
|
+
Completed 302 Found in 39ms (ActiveRecord: 0.6ms)
|
268
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-12-20 12:13:40 +0000
|
291
269
|
Processing by ExampleController#restricted as HTML
|
292
270
|
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
293
271
|
Rendered text template (0.0ms)
|
294
|
-
Completed 200 OK in
|
295
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
272
|
+
Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.2ms)
|
273
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-12-21 08:08:40 +0000
|
296
274
|
Processing by ExampleController#restricted as HTML
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
275
|
+
[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"]]
|
276
|
+
Rendered text template (0.0ms)
|
277
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.1ms)
|
278
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-12-20 12:13:40 +0000
|
301
279
|
Processing by ExampleController#restricted as HTML
|
302
280
|
Authenticating with gds_sso strategy
|
303
281
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
304
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2016-
|
305
|
-
Started GET "/auth/gds/callback?code=
|
282
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2016-12-20 12:13:40 +0000
|
283
|
+
Started GET "/auth/gds/callback?code=21d581ed8bbb4d27a73cc823b03adeb098300af5f279362c46c72daa26fe2956&state=0aca4107c24efac67ba0dca7998edb05c6ec90a4b6cb65d5" for 127.0.0.1 at 2016-12-20 12:13:40 +0000
|
306
284
|
Processing by AuthenticationsController#callback as HTML
|
307
|
-
Parameters: {"code"=>"
|
285
|
+
Parameters: {"code"=>"21d581ed8bbb4d27a73cc823b03adeb098300af5f279362c46c72daa26fe2956", "state"=>"0aca4107c24efac67ba0dca7998edb05c6ec90a4b6cb65d5"}
|
308
286
|
Authenticating with gds_sso strategy
|
309
|
-
[1m[
|
310
|
-
[1m[
|
311
|
-
[1m[
|
312
|
-
[1m[
|
313
|
-
[1m[
|
287
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
288
|
+
[1m[35m (0.1ms)[0m begin transaction
|
289
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
290
|
+
[1m[35m (0.1ms)[0m begin transaction
|
291
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
314
292
|
Redirected to http://www.example-client.com/restricted
|
315
293
|
Completed 302 Found in 5ms (ActiveRecord: 0.4ms)
|
316
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
294
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-12-20 12:13:40 +0000
|
317
295
|
Processing by ExampleController#restricted as HTML
|
318
|
-
[1m[
|
296
|
+
[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"]]
|
319
297
|
Rendered text template (0.0ms)
|
320
298
|
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
321
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
299
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-12-21 08:18:40 +0000
|
300
|
+
Processing by ExampleController#restricted as HTML
|
301
|
+
Authenticating with gds_sso strategy
|
302
|
+
Completed in 1ms (ActiveRecord: 0.0ms)
|
303
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2016-12-21 08:18:40 +0000
|
304
|
+
Started GET "/auth/gds/callback?code=cb65563af847e5f0ee8f1f31521243ba6a7be4dd39af40faf65963f2eab5cfe3&state=8cb244238e8c33ecaec6d1dfc96948214da200a484a9042c" for 127.0.0.1 at 2016-12-21 08:18:40 +0000
|
305
|
+
Processing by AuthenticationsController#callback as HTML
|
306
|
+
Parameters: {"code"=>"cb65563af847e5f0ee8f1f31521243ba6a7be4dd39af40faf65963f2eab5cfe3", "state"=>"8cb244238e8c33ecaec6d1dfc96948214da200a484a9042c"}
|
307
|
+
Authenticating with gds_sso strategy
|
308
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
309
|
+
[1m[35m (0.1ms)[0m begin transaction
|
310
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
311
|
+
[1m[35m (0.1ms)[0m begin transaction
|
312
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
313
|
+
Redirected to http://www.example-client.com/restricted
|
314
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.6ms)
|
315
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-12-21 08:18:40 +0000
|
322
316
|
Processing by ExampleController#restricted as HTML
|
323
317
|
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
324
318
|
Rendered text template (0.0ms)
|
325
|
-
Completed 200 OK in
|
326
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
319
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
320
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-12-20 12:13:40 +0000
|
327
321
|
Processing by ExampleController#restricted as HTML
|
328
322
|
Authenticating with gds_sso strategy
|
329
323
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
330
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2016-
|
331
|
-
Started GET "/auth/gds/callback?code=
|
324
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2016-12-20 12:13:40 +0000
|
325
|
+
Started GET "/auth/gds/callback?code=a3cfeb5bc3f0559f6c71b07255dbbcaaf14106a2bfdd84f3ef6da71999a12751&state=cdaa23b210d09c4b22389cde774e4cf95f5b42113f5ef06c" for 127.0.0.1 at 2016-12-20 12:13:40 +0000
|
332
326
|
Processing by AuthenticationsController#callback as HTML
|
333
|
-
Parameters: {"code"=>"
|
327
|
+
Parameters: {"code"=>"a3cfeb5bc3f0559f6c71b07255dbbcaaf14106a2bfdd84f3ef6da71999a12751", "state"=>"cdaa23b210d09c4b22389cde774e4cf95f5b42113f5ef06c"}
|
334
328
|
Authenticating with gds_sso strategy
|
335
329
|
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
336
330
|
[1m[35m (0.1ms)[0m begin transaction
|
337
331
|
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
338
|
-
[1m[35m (0.
|
332
|
+
[1m[35m (0.0ms)[0m begin transaction
|
339
333
|
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
340
334
|
Redirected to http://www.example-client.com/restricted
|
341
|
-
Completed 302 Found in 5ms (ActiveRecord: 0.
|
342
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
335
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.4ms)
|
336
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-12-20 12:13:40 +0000
|
343
337
|
Processing by ExampleController#restricted as HTML
|
344
338
|
[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"]]
|
345
339
|
Rendered text template (0.0ms)
|
346
340
|
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
347
|
-
|
341
|
+
[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"]]
|
342
|
+
[1m[35m (0.1ms)[0m begin transaction
|
343
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "t"], ["id", 12]]
|
344
|
+
[1m[35m (35.6ms)[0m commit transaction
|
345
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-12-20 12:13:40 +0000
|
348
346
|
Processing by ExampleController#restricted as HTML
|
347
|
+
[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"]]
|
349
348
|
Authenticating with gds_sso strategy
|
350
|
-
Completed in 1ms (ActiveRecord: 0.
|
351
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2016-
|
352
|
-
Started GET "/auth/gds/callback?code=
|
349
|
+
Completed in 1ms (ActiveRecord: 0.1ms)
|
350
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2016-12-20 12:13:40 +0000
|
351
|
+
Started GET "/auth/gds/callback?code=2f79647f0aad9bb1826d098bffa2c472a3ff75927c4c08965f33a23a26e440e7&state=3751200c9e5faef8aed92355841f12ffa40faf3f2a3fb047" for 127.0.0.1 at 2016-12-20 12:13:41 +0000
|
353
352
|
Processing by AuthenticationsController#callback as HTML
|
354
|
-
Parameters: {"code"=>"
|
353
|
+
Parameters: {"code"=>"2f79647f0aad9bb1826d098bffa2c472a3ff75927c4c08965f33a23a26e440e7", "state"=>"3751200c9e5faef8aed92355841f12ffa40faf3f2a3fb047"}
|
355
354
|
Authenticating with gds_sso strategy
|
356
|
-
[1m[
|
357
|
-
[1m[
|
358
|
-
[1m[
|
359
|
-
[1m[
|
360
|
-
[1m[
|
355
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
356
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
357
|
+
[1m[35m (0.1ms)[0m commit transaction
|
358
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
359
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "f"], ["id", 12]]
|
360
|
+
[1m[36m (9.6ms)[0m [1mcommit transaction[0m
|
361
361
|
Redirected to http://www.example-client.com/restricted
|
362
|
-
Completed 302 Found in
|
363
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
362
|
+
Completed 302 Found in 15ms (ActiveRecord: 10.0ms)
|
363
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-12-20 12:13:41 +0000
|
364
364
|
Processing by ExampleController#restricted as HTML
|
365
365
|
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
366
366
|
Rendered text template (0.0ms)
|
367
367
|
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
368
|
-
[1m[35m (
|
369
|
-
[1m[35m (
|
368
|
+
[1m[35m (50.1ms)[0m [1m[35mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "uid" varchar NOT NULL, "email" varchar NOT NULL, "remotely_signed_out" boolean, "permissions" text, "organisation_slug" varchar, "organisation_content_id" varchar, "disabled" boolean DEFAULT 'f')[0m
|
369
|
+
[1m[35m (28.4ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
370
370
|
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", :environment], ["LIMIT", 1]]
|
371
371
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
372
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", 2016-
|
373
|
-
[1m[35m (
|
374
|
-
[1m[35m (
|
375
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.
|
376
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
377
|
-
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
378
|
-
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "asd"], ["LIMIT", 1]]
|
379
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["email", "user@example.com"], ["LIMIT", 1]]
|
380
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
381
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions", "organisation_slug", "organisation_content_id", "disabled") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["name", "A Name"], ["uid", "asd"], ["email", "user@example.com"], ["permissions", "---\n- signin\n"], ["organisation_slug", "hmrc"], ["organisation_content_id", "67a2b78d-eee3-45b3-80e2-792e7f71cecc"], ["disabled", nil]]
|
382
|
-
[1m[35m (50.4ms)[0m [1m[36mcommit transaction[0m
|
383
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "asd"], ["LIMIT", 1]]
|
372
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", 2016-12-20 12:13:53 UTC], ["updated_at", 2016-12-20 12:13:53 UTC]]
|
373
|
+
[1m[35m (33.5ms)[0m [1m[36mcommit transaction[0m
|
374
|
+
[1m[35m (13.7ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
375
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", :environment], ["LIMIT", 1]]
|
384
376
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
385
377
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
386
|
-
|
387
|
-
|
388
|
-
|
389
|
-
|
390
|
-
|
391
|
-
|
392
|
-
Processing by Api::UserController#reauth as HTML
|
393
|
-
Parameters: {"uid"=>"a1s2d37643"}
|
394
|
-
Rendering /home/jenkins/workspace/govuk_gds_sso/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
395
|
-
Rendered /home/jenkins/workspace/govuk_gds_sso/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
|
396
|
-
Completed 403 Forbidden in 9ms (Views: 8.7ms | ActiveRecord: 0.0ms)
|
397
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
398
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d39074"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
399
|
-
[1m[35m (12.7ms)[0m [1m[36mcommit transaction[0m
|
400
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
401
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d36182"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
402
|
-
[1m[35m (34.5ms)[0m [1m[36mcommit transaction[0m
|
403
|
-
Processing by Api::UserController#reauth as HTML
|
404
|
-
Parameters: {"uid"=>"nonexistent-user"}
|
405
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "nonexistent-user"], ["LIMIT", 1]]
|
406
|
-
Completed 200 OK in 1ms (ActiveRecord: 0.1ms)
|
407
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
408
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d38554"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
409
|
-
[1m[35m (18.3ms)[0m [1m[36mcommit transaction[0m
|
410
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
411
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d39994"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
412
|
-
[1m[35m (29.3ms)[0m [1m[36mcommit transaction[0m
|
413
|
-
Processing by Api::UserController#reauth as HTML
|
414
|
-
Parameters: {"uid"=>"a1s2d38554"}
|
415
|
-
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d38554"], ["LIMIT", 1]]
|
416
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
417
|
-
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", true], ["id", 6]]
|
418
|
-
[1m[35m (47.6ms)[0m [1m[36mcommit transaction[0m
|
419
|
-
Completed 200 OK in 52ms (ActiveRecord: 48.0ms)
|
420
|
-
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 6], ["LIMIT", 1]]
|
421
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
422
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d39438"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
423
|
-
[1m[35m (32.8ms)[0m [1m[36mcommit transaction[0m
|
424
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
425
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d32962"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
426
|
-
[1m[35m (22.7ms)[0m [1m[36mcommit transaction[0m
|
427
|
-
Processing by Api::UserController#update as HTML
|
428
|
-
Parameters: {"uid"=>"a1s2d39438"}
|
429
|
-
Rendering /home/jenkins/workspace/govuk_gds_sso/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
430
|
-
Rendered /home/jenkins/workspace/govuk_gds_sso/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.1ms)
|
431
|
-
Completed 403 Forbidden in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)
|
432
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
433
|
-
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d32517"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
434
|
-
[1m[35m (42.2ms)[0m [1m[36mcommit transaction[0m
|
435
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
436
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d32395"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
437
|
-
[1m[35m (59.3ms)[0m [1m[36mcommit transaction[0m
|
438
|
-
Processing by Api::UserController#update as HTML
|
439
|
-
Parameters: {"uid"=>"a1s2d32517"}
|
440
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d32517"], ["LIMIT", 1]]
|
441
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
442
|
-
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "users" SET "email" = ?, "name" = ?, "permissions" = ?, "organisation_slug" = ?, "organisation_content_id" = ? WHERE "users"."id" = ?[0m [["email", "user@domain.com"], ["name", "Joshua Marshall"], ["permissions", "---\n- signin\n- new permission\n"], ["organisation_slug", "justice-league"], ["organisation_content_id", "aae1319e-5788-4677-998c-f1a53af528d0"], ["id", 10]]
|
443
|
-
[1m[35m (41.8ms)[0m [1m[36mcommit transaction[0m
|
444
|
-
Completed 200 OK in 47ms (ActiveRecord: 42.3ms)
|
445
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 10], ["LIMIT", 1]]
|
446
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-11-25 13:43:50 +0000
|
378
|
+
Started GET "/" for 127.0.0.1 at 2016-12-20 12:13:53 +0000
|
379
|
+
Processing by ExampleController#index as HTML
|
380
|
+
Rendering text template
|
381
|
+
Rendered text template (0.0ms)
|
382
|
+
Completed 200 OK in 5ms (Views: 4.8ms | ActiveRecord: 0.0ms)
|
383
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-12-20 12:13:53 +0000
|
447
384
|
Processing by ExampleController#restricted as HTML
|
448
385
|
Authenticating with gds_sso strategy
|
449
|
-
Completed in
|
450
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2016-
|
451
|
-
Started GET "/auth/gds/callback?code=
|
386
|
+
Completed in 10ms (ActiveRecord: 0.0ms)
|
387
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2016-12-20 12:13:53 +0000
|
388
|
+
Started GET "/auth/gds/callback?code=b53a54e8b0b3cbdfabdc8a15b70ed0aa08fe90dd93f967f52093010b75deca87&state=75a80f5775406deb80c295cf799b777f47d1fa156a6eddfe" for 127.0.0.1 at 2016-12-20 12:13:53 +0000
|
452
389
|
Processing by AuthenticationsController#callback as HTML
|
453
|
-
Parameters: {"code"=>"
|
390
|
+
Parameters: {"code"=>"b53a54e8b0b3cbdfabdc8a15b70ed0aa08fe90dd93f967f52093010b75deca87", "state"=>"75a80f5775406deb80c295cf799b777f47d1fa156a6eddfe"}
|
454
391
|
Authenticating with gds_sso strategy
|
455
|
-
[1m[36mUser Load (0.
|
456
|
-
[1m[36mUser Load (0.
|
392
|
+
[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]]
|
393
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["email", "test@example-client.com"], ["LIMIT", 1]]
|
457
394
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
458
395
|
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Test User"], ["uid", "integration-uid"], ["email", "test@example-client.com"], ["permissions", "---\n- signin\n"]]
|
459
|
-
[1m[35m (
|
396
|
+
[1m[35m (7.4ms)[0m [1m[36mcommit transaction[0m
|
460
397
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
461
|
-
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", false], ["id",
|
462
|
-
[1m[35m (
|
398
|
+
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", false], ["id", 1]]
|
399
|
+
[1m[35m (9.3ms)[0m [1m[36mcommit transaction[0m
|
463
400
|
Redirected to http://www.example-client.com/restricted
|
464
|
-
Completed 302 Found in
|
465
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
401
|
+
Completed 302 Found in 51ms (ActiveRecord: 18.5ms)
|
402
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-12-20 12:13:53 +0000
|
466
403
|
Processing by ExampleController#restricted as HTML
|
467
|
-
[1m[36mUser Load (0.
|
404
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", false], ["LIMIT", 1]]
|
468
405
|
Rendering text template
|
469
406
|
Rendered text template (0.0ms)
|
470
|
-
Completed 200 OK in
|
471
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2016-
|
407
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
408
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2016-12-20 12:13:53 +0000
|
472
409
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
473
410
|
Authenticating with gds_sso strategy
|
474
|
-
Completed in
|
475
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2016-
|
476
|
-
Started GET "/auth/gds/callback?code=
|
411
|
+
Completed in 0ms (ActiveRecord: 0.0ms)
|
412
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2016-12-20 12:13:53 +0000
|
413
|
+
Started GET "/auth/gds/callback?code=2dff3e30ade4d365c8963faf730f164a395b501db877cfcdf7e523a995519d44&state=b73d837ffa9c011e212f1292017d24b7a1a040de5d6f0ac9" for 127.0.0.1 at 2016-12-20 12:13:54 +0000
|
477
414
|
Processing by AuthenticationsController#callback as HTML
|
478
|
-
Parameters: {"code"=>"
|
415
|
+
Parameters: {"code"=>"2dff3e30ade4d365c8963faf730f164a395b501db877cfcdf7e523a995519d44", "state"=>"b73d837ffa9c011e212f1292017d24b7a1a040de5d6f0ac9"}
|
479
416
|
Authenticating with gds_sso strategy
|
480
417
|
[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]]
|
481
418
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
482
419
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
483
420
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
484
|
-
Completed 302 Found in
|
485
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2016-
|
421
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
422
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2016-12-20 12:13:54 +0000
|
486
423
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
487
|
-
[1m[36mUser Load (0.
|
424
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", false], ["LIMIT", 1]]
|
488
425
|
Rendering text template
|
489
426
|
Rendered text template (0.0ms)
|
490
|
-
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.
|
491
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2016-
|
427
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.3ms)
|
428
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2016-12-20 12:13:54 +0000
|
492
429
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
493
430
|
Authenticating with gds_sso strategy
|
494
431
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
495
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2016-
|
496
|
-
Started GET "/auth/gds/callback?code=
|
432
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2016-12-20 12:13:54 +0000
|
433
|
+
Started GET "/auth/gds/callback?code=2b1e005823ea196c061b627a79d864db70127925341c1bd635a2f76e1c976455&state=0a0fba517482b78dcc12e46edad4a167ec962019cb53bb72" for 127.0.0.1 at 2016-12-20 12:13:54 +0000
|
497
434
|
Processing by AuthenticationsController#callback as HTML
|
498
|
-
Parameters: {"code"=>"
|
435
|
+
Parameters: {"code"=>"2b1e005823ea196c061b627a79d864db70127925341c1bd635a2f76e1c976455", "state"=>"0a0fba517482b78dcc12e46edad4a167ec962019cb53bb72"}
|
499
436
|
Authenticating with gds_sso strategy
|
500
|
-
[1m[36mUser Load (0.
|
437
|
+
[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]]
|
501
438
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
502
439
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
503
440
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
504
|
-
Completed 302 Found in
|
505
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2016-
|
441
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
442
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2016-12-20 12:13:54 +0000
|
506
443
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
507
444
|
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", false], ["LIMIT", 1]]
|
508
445
|
Rendering text template
|
509
446
|
Rendered text template (0.0ms)
|
510
|
-
Completed 200 OK in
|
511
|
-
Started GET "/" for 127.0.0.1 at 2016-
|
512
|
-
Processing by ExampleController#index as HTML
|
513
|
-
Rendering text template
|
514
|
-
Rendered text template (0.0ms)
|
515
|
-
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
516
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-11-25 13:43:51 +0000
|
447
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.3ms)
|
448
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-12-20 12:13:54 +0000
|
517
449
|
Processing by ExampleController#restricted as HTML
|
518
450
|
Authenticating with gds_sso strategy
|
519
|
-
Completed in
|
520
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2016-
|
521
|
-
Started GET "/auth/gds/callback?code=
|
451
|
+
Completed in 1ms (ActiveRecord: 0.0ms)
|
452
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2016-12-20 12:13:54 +0000
|
453
|
+
Started GET "/auth/gds/callback?code=2fe545bca5ab9ced8a80b07063bf7005b1ba3b2b3fc02c370f1fd0ea366535e1&state=b6cec9870ae3c453c1ce03e01a251bad2134617d3a92b425" for 127.0.0.1 at 2016-12-20 12:13:54 +0000
|
522
454
|
Processing by AuthenticationsController#callback as HTML
|
523
|
-
Parameters: {"code"=>"
|
455
|
+
Parameters: {"code"=>"2fe545bca5ab9ced8a80b07063bf7005b1ba3b2b3fc02c370f1fd0ea366535e1", "state"=>"b6cec9870ae3c453c1ce03e01a251bad2134617d3a92b425"}
|
524
456
|
Authenticating with gds_sso strategy
|
525
457
|
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
526
458
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
527
459
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
528
460
|
Redirected to http://www.example-client.com/restricted
|
529
|
-
Completed 302 Found in
|
530
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
461
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.4ms)
|
462
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-12-20 12:13:54 +0000
|
531
463
|
Processing by ExampleController#restricted as HTML
|
532
464
|
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", false], ["LIMIT", 1]]
|
533
465
|
Rendering text template
|
534
466
|
Rendered text template (0.0ms)
|
535
|
-
Completed 200 OK in
|
536
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
467
|
+
Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
468
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-12-20 12:13:54 +0000
|
537
469
|
Processing by ExampleController#restricted as HTML
|
538
470
|
Authenticating with gds_sso strategy
|
539
471
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
540
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2016-
|
541
|
-
Started GET "/auth/gds/callback?code=
|
472
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2016-12-20 12:13:54 +0000
|
473
|
+
Started GET "/auth/gds/callback?code=9e72ca947db57c4a38a57cebb7278dc1136149a72edcdce5b9b5da90f9a6b332&state=a1db84704077308e11bc62eb6f4eb9abc0c1101a0d5e534a" for 127.0.0.1 at 2016-12-20 12:13:54 +0000
|
542
474
|
Processing by AuthenticationsController#callback as HTML
|
543
|
-
Parameters: {"code"=>"
|
475
|
+
Parameters: {"code"=>"9e72ca947db57c4a38a57cebb7278dc1136149a72edcdce5b9b5da90f9a6b332", "state"=>"a1db84704077308e11bc62eb6f4eb9abc0c1101a0d5e534a"}
|
544
476
|
Authenticating with gds_sso strategy
|
545
477
|
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
546
478
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
547
479
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
548
480
|
Redirected to http://www.example-client.com/restricted
|
549
|
-
Completed 302 Found in
|
550
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
481
|
+
Completed 302 Found in 6ms (ActiveRecord: 0.4ms)
|
482
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-12-20 12:13:54 +0000
|
551
483
|
Processing by ExampleController#restricted as HTML
|
552
|
-
[1m[36mUser Load (0.
|
484
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", false], ["LIMIT", 1]]
|
553
485
|
Rendering text template
|
554
486
|
Rendered text template (0.0ms)
|
555
|
-
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.
|
556
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
487
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
488
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-12-20 12:13:54 +0000
|
557
489
|
Processing by ExampleController#restricted as HTML
|
558
490
|
Authenticating with gds_sso strategy
|
559
491
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
560
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2016-
|
561
|
-
Started GET "/auth/gds/callback?code=
|
492
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2016-12-20 12:13:54 +0000
|
493
|
+
Started GET "/auth/gds/callback?code=f754f3fc8f691d7761bb423ce1a32714eb5033a9ec610293b36b3f960bed6326&state=d53ac52bd80f458329539de3659c9930f94961c168bb7ff3" for 127.0.0.1 at 2016-12-20 12:13:55 +0000
|
562
494
|
Processing by AuthenticationsController#callback as HTML
|
563
|
-
Parameters: {"code"=>"
|
495
|
+
Parameters: {"code"=>"f754f3fc8f691d7761bb423ce1a32714eb5033a9ec610293b36b3f960bed6326", "state"=>"d53ac52bd80f458329539de3659c9930f94961c168bb7ff3"}
|
564
496
|
Authenticating with gds_sso strategy
|
565
|
-
[1m[36mUser Load (0.
|
497
|
+
[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]]
|
566
498
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
567
499
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
568
500
|
Redirected to http://www.example-client.com/restricted
|
569
|
-
Completed 302 Found in
|
570
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
501
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.6ms)
|
502
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-12-20 12:13:55 +0000
|
571
503
|
Processing by ExampleController#restricted as HTML
|
572
504
|
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", false], ["LIMIT", 1]]
|
573
505
|
Rendering text template
|
574
506
|
Rendered text template (0.0ms)
|
575
|
-
Completed 200 OK in
|
576
|
-
|
507
|
+
Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.3ms)
|
508
|
+
[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]]
|
509
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
510
|
+
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", true], ["id", 1]]
|
511
|
+
[1m[35m (10.8ms)[0m [1m[36mcommit transaction[0m
|
512
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-12-20 12:13:55 +0000
|
577
513
|
Processing by ExampleController#restricted as HTML
|
578
514
|
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", false], ["LIMIT", 1]]
|
579
|
-
Rendering text template
|
580
|
-
Rendered text template (0.0ms)
|
581
|
-
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
582
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-11-25 13:43:52 +0000
|
583
|
-
Processing by ExampleController#restricted as HTML
|
584
515
|
Authenticating with gds_sso strategy
|
585
|
-
Completed in
|
586
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2016-
|
587
|
-
Started GET "/auth/gds/callback?code=
|
516
|
+
Completed in 2ms (ActiveRecord: 0.2ms)
|
517
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2016-12-20 12:13:55 +0000
|
518
|
+
Started GET "/auth/gds/callback?code=93557adfd1170e5330a63bc9d3ccbcd44bcf850746ad17f1b80b32f7bfc6d61e&state=f958569a1792a0691bc38738bc879814229af5d76b183065" for 127.0.0.1 at 2016-12-20 12:13:55 +0000
|
588
519
|
Processing by AuthenticationsController#callback as HTML
|
589
|
-
Parameters: {"code"=>"
|
520
|
+
Parameters: {"code"=>"93557adfd1170e5330a63bc9d3ccbcd44bcf850746ad17f1b80b32f7bfc6d61e", "state"=>"f958569a1792a0691bc38738bc879814229af5d76b183065"}
|
590
521
|
Authenticating with gds_sso strategy
|
591
522
|
[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]]
|
592
523
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
593
524
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
525
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
526
|
+
[1m[35mSQL (0.3ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", false], ["id", 1]]
|
527
|
+
[1m[35m (12.7ms)[0m [1m[36mcommit transaction[0m
|
594
528
|
Redirected to http://www.example-client.com/restricted
|
595
|
-
Completed 302 Found in
|
596
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
529
|
+
Completed 302 Found in 20ms (ActiveRecord: 13.6ms)
|
530
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-12-20 12:13:55 +0000
|
597
531
|
Processing by ExampleController#restricted as HTML
|
598
532
|
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", false], ["LIMIT", 1]]
|
599
533
|
Rendering text template
|
600
534
|
Rendered text template (0.0ms)
|
601
535
|
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
602
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
603
|
-
Processing by ExampleController#restricted as HTML
|
604
|
-
Authenticating with gds_sso strategy
|
605
|
-
Completed in 1ms (ActiveRecord: 0.0ms)
|
606
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2016-11-26 09:48:52 +0000
|
607
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-11-25 13:43:52 +0000
|
536
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-12-20 12:13:55 +0000
|
608
537
|
Processing by ExampleController#restricted as HTML
|
609
538
|
Authenticating with gds_sso strategy
|
610
539
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
611
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2016-
|
612
|
-
Started GET "/auth/gds/callback?code=
|
540
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2016-12-20 12:13:55 +0000
|
541
|
+
Started GET "/auth/gds/callback?code=2f4c371ee353aa938a0c0b4884d678c9ca1a3b8f0c4c0ba4f6062409d7a2678b&state=80046ff1a8d68fb5fd872abbbd7a277d13b173fd02bec941" for 127.0.0.1 at 2016-12-20 12:13:55 +0000
|
613
542
|
Processing by AuthenticationsController#callback as HTML
|
614
|
-
Parameters: {"code"=>"
|
543
|
+
Parameters: {"code"=>"2f4c371ee353aa938a0c0b4884d678c9ca1a3b8f0c4c0ba4f6062409d7a2678b", "state"=>"80046ff1a8d68fb5fd872abbbd7a277d13b173fd02bec941"}
|
615
544
|
Authenticating with gds_sso strategy
|
616
545
|
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
617
546
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
618
547
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
619
548
|
Redirected to http://www.example-client.com/restricted
|
620
|
-
Completed 302 Found in 4ms (ActiveRecord: 0.
|
621
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
549
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
550
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-12-20 12:13:55 +0000
|
622
551
|
Processing by ExampleController#restricted as HTML
|
623
552
|
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", false], ["LIMIT", 1]]
|
624
553
|
Rendering text template
|
625
554
|
Rendered text template (0.0ms)
|
626
555
|
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
627
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
556
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-12-21 08:18:55 +0000
|
628
557
|
Processing by ExampleController#restricted as HTML
|
629
558
|
Authenticating with gds_sso strategy
|
630
559
|
Completed in 1ms (ActiveRecord: 0.0ms)
|
631
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2016-
|
632
|
-
Started GET "/auth/gds/callback?code=
|
560
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2016-12-21 08:18:55 +0000
|
561
|
+
Started GET "/auth/gds/callback?code=cf55602d6aac2394eaa6601b069943fbabbfb2b9648bbd7c3d4e463c1ff20a3a&state=d4945f2e66485f1f80aa6c5b875367524a245bfb194ca9e6" for 127.0.0.1 at 2016-12-21 08:18:55 +0000
|
633
562
|
Processing by AuthenticationsController#callback as HTML
|
634
|
-
Parameters: {"code"=>"
|
563
|
+
Parameters: {"code"=>"cf55602d6aac2394eaa6601b069943fbabbfb2b9648bbd7c3d4e463c1ff20a3a", "state"=>"d4945f2e66485f1f80aa6c5b875367524a245bfb194ca9e6"}
|
635
564
|
Authenticating with gds_sso strategy
|
636
|
-
[1m[36mUser Load (0.
|
565
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
637
566
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
638
567
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
639
568
|
Redirected to http://www.example-client.com/restricted
|
640
|
-
Completed 302 Found in 4ms (ActiveRecord: 0.
|
641
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
569
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
570
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-12-21 08:18:55 +0000
|
642
571
|
Processing by ExampleController#restricted as HTML
|
643
572
|
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", false], ["LIMIT", 1]]
|
644
573
|
Rendering text template
|
645
574
|
Rendered text template (0.0ms)
|
646
|
-
Completed 200 OK in 2ms (Views: 0.
|
647
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
575
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
576
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-12-20 12:13:55 +0000
|
648
577
|
Processing by ExampleController#restricted as HTML
|
649
578
|
Authenticating with gds_sso strategy
|
650
579
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
651
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2016-
|
652
|
-
Started GET "/auth/gds/callback?code=
|
580
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2016-12-20 12:13:55 +0000
|
581
|
+
Started GET "/auth/gds/callback?code=eda09e29bd8e2830e0075c5db8fe57e905af2effeb707f71ed2d81fad615311e&state=0c893c6f4a0c2c3084337e46e77fbc9f4494a2f5b5d53004" for 127.0.0.1 at 2016-12-20 12:13:56 +0000
|
653
582
|
Processing by AuthenticationsController#callback as HTML
|
654
|
-
Parameters: {"code"=>"
|
583
|
+
Parameters: {"code"=>"eda09e29bd8e2830e0075c5db8fe57e905af2effeb707f71ed2d81fad615311e", "state"=>"0c893c6f4a0c2c3084337e46e77fbc9f4494a2f5b5d53004"}
|
655
584
|
Authenticating with gds_sso strategy
|
656
|
-
[1m[36mUser Load (0.
|
585
|
+
[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]]
|
657
586
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
658
587
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
659
588
|
Redirected to http://www.example-client.com/restricted
|
660
|
-
Completed 302 Found in
|
661
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
589
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
590
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-12-20 12:13:56 +0000
|
662
591
|
Processing by ExampleController#restricted as HTML
|
663
|
-
[1m[36mUser Load (0.
|
592
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", false], ["LIMIT", 1]]
|
664
593
|
Rendering text template
|
665
|
-
Rendered text template (0.
|
666
|
-
Completed 200 OK in
|
667
|
-
|
668
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
669
|
-
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", true], ["id", 12]]
|
670
|
-
[1m[35m (20.1ms)[0m [1m[36mcommit transaction[0m
|
671
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-11-25 13:43:53 +0000
|
594
|
+
Rendered text template (0.1ms)
|
595
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
596
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-12-21 08:18:56 +0000
|
672
597
|
Processing by ExampleController#restricted as HTML
|
673
|
-
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", false], ["LIMIT", 1]]
|
674
598
|
Authenticating with gds_sso strategy
|
675
|
-
Completed in
|
676
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2016-
|
677
|
-
Started GET "/
|
599
|
+
Completed in 1ms (ActiveRecord: 0.0ms)
|
600
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2016-12-21 08:18:56 +0000
|
601
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-12-20 12:13:56 +0000
|
602
|
+
Processing by ExampleController#restricted as HTML
|
603
|
+
Authenticating with gds_sso strategy
|
604
|
+
Completed in 0ms (ActiveRecord: 0.0ms)
|
605
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2016-12-20 12:13:56 +0000
|
606
|
+
Started GET "/auth/gds/callback?code=d9773150bbaed328cbc0e9467a34f1a9e64ea2b90e6bc724f57ed6d02b33887d&state=4db4e0eb8647cf92aa8bc997695258ce59a493270ae07002" for 127.0.0.1 at 2016-12-20 12:13:56 +0000
|
678
607
|
Processing by AuthenticationsController#callback as HTML
|
679
|
-
Parameters: {"code"=>"
|
608
|
+
Parameters: {"code"=>"d9773150bbaed328cbc0e9467a34f1a9e64ea2b90e6bc724f57ed6d02b33887d", "state"=>"4db4e0eb8647cf92aa8bc997695258ce59a493270ae07002"}
|
680
609
|
Authenticating with gds_sso strategy
|
681
610
|
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
682
611
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
683
612
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
684
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
685
|
-
[1m[35mSQL (0.5ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", false], ["id", 12]]
|
686
|
-
[1m[35m (27.5ms)[0m [1m[36mcommit transaction[0m
|
687
613
|
Redirected to http://www.example-client.com/restricted
|
688
|
-
Completed 302 Found in
|
689
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
614
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.4ms)
|
615
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-12-20 12:13:56 +0000
|
690
616
|
Processing by ExampleController#restricted as HTML
|
691
617
|
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", false], ["LIMIT", 1]]
|
692
618
|
Rendering text template
|
693
619
|
Rendered text template (0.0ms)
|
694
|
-
Completed 200 OK in 2ms (Views: 0.
|
695
|
-
Started GET "/
|
620
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
621
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-12-21 08:08:56 +0000
|
622
|
+
Processing by ExampleController#restricted as HTML
|
623
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", false], ["LIMIT", 1]]
|
624
|
+
Rendering text template
|
625
|
+
Rendered text template (0.0ms)
|
626
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.3ms)
|
627
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-12-20 12:13:56 +0000
|
628
|
+
Processing by ExampleController#restricted as JSON
|
629
|
+
Completed in 24ms (ActiveRecord: 0.0ms)
|
630
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2016-12-20 12:13:56 +0000
|
696
631
|
Processing by ExampleController#this_requires_signin_permission as JSON
|
697
|
-
[1m[36mUser Load (0.
|
632
|
+
[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]]
|
698
633
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
699
|
-
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "users" SET "disabled" = ? WHERE "users"."id" = ?[0m [["disabled", nil], ["id",
|
700
|
-
[1m[35m (
|
701
|
-
[1m[36mUser Load (0.
|
634
|
+
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "users" SET "disabled" = ? WHERE "users"."id" = ?[0m [["disabled", nil], ["id", 1]]
|
635
|
+
[1m[35m (16.8ms)[0m [1m[36mcommit transaction[0m
|
636
|
+
[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]]
|
702
637
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
703
638
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
704
639
|
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
@@ -709,11 +644,11 @@ Processing by ExampleController#this_requires_signin_permission as JSON
|
|
709
644
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
710
645
|
Rendering text template
|
711
646
|
Rendered text template (0.0ms)
|
712
|
-
Completed 200 OK in
|
713
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
647
|
+
Completed 200 OK in 97ms (Views: 0.4ms | ActiveRecord: 18.2ms)
|
648
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-12-20 12:13:56 +0000
|
714
649
|
Processing by ExampleController#restricted as JSON
|
715
650
|
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
716
|
-
[1m[35m (0.
|
651
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
717
652
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
718
653
|
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
719
654
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
@@ -726,203 +661,268 @@ Processing by ExampleController#restricted as JSON
|
|
726
661
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
727
662
|
Rendering text template
|
728
663
|
Rendered text template (0.0ms)
|
729
|
-
Completed 200 OK in
|
730
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
731
|
-
Processing by ExampleController#restricted as JSON
|
732
|
-
Completed in 18ms (ActiveRecord: 0.0ms)
|
733
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-11-25 13:43:53 +0000
|
664
|
+
Completed 200 OK in 86ms (Views: 0.4ms | ActiveRecord: 1.0ms)
|
665
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-12-20 12:13:56 +0000
|
734
666
|
Processing by ExampleController#restricted as JSON
|
735
|
-
Completed in
|
736
|
-
[1m[
|
737
|
-
[1m[
|
738
|
-
[1m[
|
739
|
-
[1m[
|
667
|
+
Completed in 19ms (ActiveRecord: 0.0ms)
|
668
|
+
[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]]
|
669
|
+
[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]]
|
670
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
671
|
+
[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]]
|
672
|
+
[1m[35m (11.5ms)[0m [1m[36mcommit transaction[0m
|
673
|
+
[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]]
|
674
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
675
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
676
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
677
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d38884"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
678
|
+
[1m[35m (11.3ms)[0m [1m[36mcommit transaction[0m
|
679
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
680
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d37324"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
681
|
+
[1m[35m (5.9ms)[0m [1m[36mcommit transaction[0m
|
682
|
+
Processing by Api::UserController#reauth as HTML
|
683
|
+
Parameters: {"uid"=>"nonexistent-user"}
|
684
|
+
[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]]
|
685
|
+
Completed 200 OK in 2ms (ActiveRecord: 0.1ms)
|
686
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
687
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d38288"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
688
|
+
[1m[35m (8.7ms)[0m [1m[36mcommit transaction[0m
|
689
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
690
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d36018"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
691
|
+
[1m[35m (7.0ms)[0m [1m[36mcommit transaction[0m
|
692
|
+
Processing by Api::UserController#reauth as HTML
|
693
|
+
Parameters: {"uid"=>"a1s2d38288"}
|
694
|
+
Rendering /home/jenkins/workspace/govuk_gds_sso/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
695
|
+
Rendered /home/jenkins/workspace/govuk_gds_sso/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.3ms)
|
696
|
+
Completed 403 Forbidden in 8ms (Views: 7.0ms | ActiveRecord: 0.0ms)
|
697
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
698
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d34383"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
699
|
+
[1m[35m (17.2ms)[0m [1m[36mcommit transaction[0m
|
700
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
701
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d31988"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
702
|
+
[1m[35m (8.7ms)[0m [1m[36mcommit transaction[0m
|
703
|
+
Processing by Api::UserController#reauth as HTML
|
704
|
+
Parameters: {"uid"=>"a1s2d34383"}
|
705
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d34383"], ["LIMIT", 1]]
|
706
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
707
|
+
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", true], ["id", 7]]
|
708
|
+
[1m[35m (7.6ms)[0m [1m[36mcommit transaction[0m
|
709
|
+
Completed 200 OK in 11ms (ActiveRecord: 8.1ms)
|
710
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 7], ["LIMIT", 1]]
|
711
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
712
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d34858"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
713
|
+
[1m[35m (8.2ms)[0m [1m[36mcommit transaction[0m
|
714
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
715
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d37304"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
716
|
+
[1m[35m (9.1ms)[0m [1m[36mcommit transaction[0m
|
717
|
+
Processing by Api::UserController#update as HTML
|
718
|
+
Parameters: {"uid"=>"a1s2d34858"}
|
719
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d34858"], ["LIMIT", 1]]
|
720
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
721
|
+
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "users" SET "email" = ?, "name" = ?, "permissions" = ?, "organisation_slug" = ?, "organisation_content_id" = ? WHERE "users"."id" = ?[0m [["email", "user@domain.com"], ["name", "Joshua Marshall"], ["permissions", "---\n- signin\n- new permission\n"], ["organisation_slug", "justice-league"], ["organisation_content_id", "aae1319e-5788-4677-998c-f1a53af528d0"], ["id", 9]]
|
722
|
+
[1m[35m (9.1ms)[0m [1m[36mcommit transaction[0m
|
723
|
+
Completed 200 OK in 14ms (ActiveRecord: 9.5ms)
|
724
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 9], ["LIMIT", 1]]
|
725
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
726
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d38853"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
727
|
+
[1m[35m (24.6ms)[0m [1m[36mcommit transaction[0m
|
728
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
729
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d3825"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
730
|
+
[1m[35m (21.1ms)[0m [1m[36mcommit transaction[0m
|
731
|
+
Processing by Api::UserController#update as HTML
|
732
|
+
Parameters: {"uid"=>"a1s2d38853"}
|
733
|
+
Rendering /home/jenkins/workspace/govuk_gds_sso/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
734
|
+
Rendered /home/jenkins/workspace/govuk_gds_sso/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.1ms)
|
735
|
+
Completed 403 Forbidden in 2ms (Views: 1.3ms | ActiveRecord: 0.0ms)
|
736
|
+
[1m[36m (18.3ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "uid" varchar NOT NULL, "email" varchar NOT NULL, "remotely_signed_out" boolean, "permissions" text, "organisation_slug" varchar, "organisation_content_id" varchar, "disabled" boolean DEFAULT 'f') [0m
|
737
|
+
[1m[35m (11.8ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
738
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
739
|
+
[1m[35m (8.7ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
740
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "asd"]]
|
741
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "user@example.com"]]
|
740
742
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
741
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "
|
742
|
-
[1m[36m (
|
743
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions", "organisation_slug", "organisation_content_id", "disabled") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "asd"], ["email", "user@example.com"], ["name", "A Name"], ["permissions", "---\n- signin\n"], ["organisation_slug", "hmrc"], ["organisation_content_id", "67a2b78d-eee3-45b3-80e2-792e7f71cecc"], ["disabled", nil]]
|
744
|
+
[1m[36m (17.0ms)[0m [1mcommit transaction[0m
|
745
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "asd"]]
|
746
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
747
|
+
[1m[35m (0.1ms)[0m commit transaction
|
748
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
749
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d34590"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
750
|
+
[1m[36m (49.8ms)[0m [1mcommit transaction[0m
|
743
751
|
[1m[35m (0.1ms)[0m begin transaction
|
744
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "
|
745
|
-
[1m[35m (
|
752
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d36466"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
753
|
+
[1m[35m (127.9ms)[0m commit transaction
|
746
754
|
Processing by Api::UserController#reauth as HTML
|
747
|
-
Parameters: {"uid"=>"
|
755
|
+
Parameters: {"uid"=>"a1s2d34590"}
|
748
756
|
Rendered /home/jenkins/workspace/govuk_gds_sso/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.3ms)
|
749
|
-
Completed 403 Forbidden in 9ms (Views: 8.
|
757
|
+
Completed 403 Forbidden in 9ms (Views: 8.7ms | ActiveRecord: 0.0ms)
|
750
758
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
751
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "
|
752
|
-
[1m[36m (
|
759
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d39434"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
760
|
+
[1m[36m (33.3ms)[0m [1mcommit transaction[0m
|
753
761
|
[1m[35m (0.1ms)[0m begin transaction
|
754
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "
|
755
|
-
[1m[35m (
|
762
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d36793"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
763
|
+
[1m[35m (57.5ms)[0m commit transaction
|
756
764
|
Processing by Api::UserController#reauth as HTML
|
757
|
-
Parameters: {"uid"=>"
|
758
|
-
[1m[36mUser Load (0.
|
759
|
-
|
765
|
+
Parameters: {"uid"=>"a1s2d39434"}
|
766
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "a1s2d39434"]]
|
767
|
+
[1m[35m (0.1ms)[0m begin transaction
|
768
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "t"], ["id", 4]]
|
769
|
+
[1m[35m (28.2ms)[0m commit transaction
|
770
|
+
Completed 200 OK in 32ms (ActiveRecord: 28.6ms)
|
771
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 4]]
|
760
772
|
[1m[35m (0.1ms)[0m begin transaction
|
761
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "
|
762
|
-
[1m[35m (
|
773
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d39628"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
774
|
+
[1m[35m (21.9ms)[0m commit transaction
|
763
775
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
764
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "
|
765
|
-
[1m[36m (
|
776
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d34159"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
777
|
+
[1m[36m (45.9ms)[0m [1mcommit transaction[0m
|
766
778
|
Processing by Api::UserController#reauth as HTML
|
767
|
-
Parameters: {"uid"=>"
|
768
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "
|
769
|
-
|
770
|
-
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 5]]
|
771
|
-
[1m[36m (125.8ms)[0m [1mcommit transaction[0m
|
772
|
-
Completed 200 OK in 130ms (ActiveRecord: 126.2ms)
|
773
|
-
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]]
|
779
|
+
Parameters: {"uid"=>"nonexistent-user"}
|
780
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "nonexistent-user"]]
|
781
|
+
Completed 200 OK in 1ms (ActiveRecord: 0.1ms)
|
774
782
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
775
|
-
[1m[35mSQL (0.
|
776
|
-
[1m[36m (
|
783
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d37093"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
784
|
+
[1m[36m (29.8ms)[0m [1mcommit transaction[0m
|
777
785
|
[1m[35m (0.1ms)[0m begin transaction
|
778
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "
|
779
|
-
[1m[35m (
|
786
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d37407"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
787
|
+
[1m[35m (26.3ms)[0m commit transaction
|
780
788
|
Processing by Api::UserController#update as HTML
|
781
|
-
Parameters: {"uid"=>"
|
789
|
+
Parameters: {"uid"=>"a1s2d37093"}
|
782
790
|
Rendered /home/jenkins/workspace/govuk_gds_sso/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.1ms)
|
783
791
|
Completed 403 Forbidden in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
|
784
792
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
785
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "
|
786
|
-
[1m[36m (
|
793
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d34602"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
794
|
+
[1m[36m (18.3ms)[0m [1mcommit transaction[0m
|
787
795
|
[1m[35m (0.1ms)[0m begin transaction
|
788
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "
|
789
|
-
[1m[35m (
|
796
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d32032"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
797
|
+
[1m[35m (8.4ms)[0m commit transaction
|
790
798
|
Processing by Api::UserController#update as HTML
|
791
|
-
Parameters: {"uid"=>"
|
792
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "
|
793
|
-
[1m[35m (0.1ms)[0m begin transaction
|
794
|
-
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "email" = ?, "name" = ?, "permissions" = ?, "organisation_slug" = ?, "organisation_content_id" = ? WHERE "users"."id" = ?[0m [["email", "user@domain.com"], ["name", "Joshua Marshall"], ["permissions", "---\n- signin\n- new permission\n"], ["organisation_slug", "justice-league"], ["organisation_content_id", "aae1319e-5788-4677-998c-f1a53af528d0"], ["id", 9]]
|
795
|
-
[1m[35m (83.7ms)[0m commit transaction
|
796
|
-
Completed 200 OK in 88ms (ActiveRecord: 84.1ms)
|
797
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 9]]
|
798
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "asd"]]
|
799
|
-
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["email", "user@example.com"]]
|
800
|
-
[1m[35m (0.1ms)[0m begin transaction
|
801
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions", "organisation_slug", "organisation_content_id", "disabled") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["uid", "asd"], ["email", "user@example.com"], ["name", "A Name"], ["permissions", "---\n- signin\n"], ["organisation_slug", "hmrc"], ["organisation_content_id", "67a2b78d-eee3-45b3-80e2-792e7f71cecc"], ["disabled", nil]]
|
802
|
-
[1m[35m (66.5ms)[0m commit transaction
|
803
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "asd"]]
|
799
|
+
Parameters: {"uid"=>"a1s2d34602"}
|
800
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "a1s2d34602"]]
|
804
801
|
[1m[35m (0.1ms)[0m begin transaction
|
805
|
-
[1m[
|
806
|
-
|
807
|
-
|
808
|
-
|
809
|
-
|
810
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-11-25 13:43:59 +0000
|
802
|
+
[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", 10]]
|
803
|
+
[1m[35m (56.6ms)[0m commit transaction
|
804
|
+
Completed 200 OK in 61ms (ActiveRecord: 57.0ms)
|
805
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 10]]
|
806
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-12-20 12:14:01 +0000
|
811
807
|
Processing by ExampleController#restricted as HTML
|
812
808
|
Authenticating with gds_sso strategy
|
813
809
|
Completed in 9ms (ActiveRecord: 0.0ms)
|
814
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2016-
|
815
|
-
Started GET "/auth/gds/callback?code=
|
810
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2016-12-20 12:14:01 +0000
|
811
|
+
Started GET "/auth/gds/callback?code=e83c574e24c350ff3a8edc04116dd82d5c6d5423807be6f248399172b2249c86&state=1c6f0e587f72cbd849afd01c9e44eb50d3eda24fadf36c2d" for 127.0.0.1 at 2016-12-20 12:14:01 +0000
|
816
812
|
Processing by AuthenticationsController#callback as HTML
|
817
|
-
Parameters: {"code"=>"
|
813
|
+
Parameters: {"code"=>"e83c574e24c350ff3a8edc04116dd82d5c6d5423807be6f248399172b2249c86", "state"=>"1c6f0e587f72cbd849afd01c9e44eb50d3eda24fadf36c2d"}
|
818
814
|
Authenticating with gds_sso strategy
|
819
815
|
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
820
816
|
[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"]]
|
821
817
|
[1m[35m (0.1ms)[0m begin transaction
|
822
818
|
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "integration-uid"], ["email", "test@example-client.com"], ["name", "Test User"], ["permissions", "---\n- signin\n"]]
|
823
|
-
[1m[35m (
|
819
|
+
[1m[35m (55.8ms)[0m commit transaction
|
824
820
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
825
821
|
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "f"], ["id", 12]]
|
826
|
-
[1m[36m (
|
822
|
+
[1m[36m (59.9ms)[0m [1mcommit transaction[0m
|
827
823
|
Redirected to http://www.example-client.com/restricted
|
828
|
-
Completed 302 Found in
|
829
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
824
|
+
Completed 302 Found in 124ms (ActiveRecord: 116.6ms)
|
825
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-12-20 12:14:01 +0000
|
830
826
|
Processing by ExampleController#restricted as HTML
|
831
|
-
[1m[35mUser Load (0.
|
827
|
+
[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"]]
|
832
828
|
Rendered text template (0.0ms)
|
833
|
-
Completed 200 OK in
|
834
|
-
Started GET "/
|
835
|
-
Processing by ExampleController#
|
829
|
+
Completed 200 OK in 3ms (Views: 1.3ms | ActiveRecord: 0.2ms)
|
830
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2016-12-20 12:14:01 +0000
|
831
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
836
832
|
Authenticating with gds_sso strategy
|
837
833
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
838
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2016-
|
839
|
-
Started GET "/auth/gds/callback?code=
|
834
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2016-12-20 12:14:01 +0000
|
835
|
+
Started GET "/auth/gds/callback?code=815014e9b0d21da1e755c05a6ec370c5dcf1281a4a0d5163a3ab154749c5e5b9&state=d2f7ed5aa6a311325022c700508774724d382acaf0e7bf63" for 127.0.0.1 at 2016-12-20 12:14:02 +0000
|
840
836
|
Processing by AuthenticationsController#callback as HTML
|
841
|
-
Parameters: {"code"=>"
|
837
|
+
Parameters: {"code"=>"815014e9b0d21da1e755c05a6ec370c5dcf1281a4a0d5163a3ab154749c5e5b9", "state"=>"d2f7ed5aa6a311325022c700508774724d382acaf0e7bf63"}
|
842
838
|
Authenticating with gds_sso strategy
|
843
|
-
[1m[36mUser Load (0.
|
839
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
844
840
|
[1m[35m (0.1ms)[0m begin transaction
|
845
841
|
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
846
842
|
[1m[35m (0.1ms)[0m begin transaction
|
847
843
|
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
848
|
-
Redirected to http://www.example-client.com/
|
849
|
-
Completed 302 Found in
|
850
|
-
Started GET "/
|
851
|
-
Processing by ExampleController#
|
844
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
845
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
846
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2016-12-20 12:14:02 +0000
|
847
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
852
848
|
[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"]]
|
853
849
|
Rendered text template (0.0ms)
|
854
850
|
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
855
|
-
Started GET "/
|
856
|
-
Processing by ExampleController#
|
851
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2016-12-20 12:14:02 +0000
|
852
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
857
853
|
Authenticating with gds_sso strategy
|
858
854
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
859
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2016-
|
860
|
-
Started GET "/auth/gds/callback?code=
|
855
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2016-12-20 12:14:02 +0000
|
856
|
+
Started GET "/auth/gds/callback?code=5e9b99cb06e1c34740db954da63a7eb2e560d3192cacf8909335c94021848514&state=697b0a2a06803b0b60b94edcfa5e06d51bbffdc801f042e8" for 127.0.0.1 at 2016-12-20 12:14:02 +0000
|
861
857
|
Processing by AuthenticationsController#callback as HTML
|
862
|
-
Parameters: {"code"=>"
|
858
|
+
Parameters: {"code"=>"5e9b99cb06e1c34740db954da63a7eb2e560d3192cacf8909335c94021848514", "state"=>"697b0a2a06803b0b60b94edcfa5e06d51bbffdc801f042e8"}
|
863
859
|
Authenticating with gds_sso strategy
|
864
860
|
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
865
861
|
[1m[35m (0.1ms)[0m begin transaction
|
866
862
|
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
867
863
|
[1m[35m (0.1ms)[0m begin transaction
|
868
864
|
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
869
|
-
Redirected to http://www.example-client.com/
|
870
|
-
Completed 302 Found in
|
871
|
-
Started GET "/
|
872
|
-
Processing by ExampleController#
|
865
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
866
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.5ms)
|
867
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2016-12-20 12:14:02 +0000
|
868
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
873
869
|
[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"]]
|
874
870
|
Rendered text template (0.0ms)
|
875
|
-
Completed 200 OK in
|
876
|
-
Started GET "/
|
877
|
-
Processing by ExampleController#
|
871
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
872
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-12-20 12:14:02 +0000
|
873
|
+
Processing by ExampleController#restricted as HTML
|
878
874
|
Authenticating with gds_sso strategy
|
879
875
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
880
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2016-
|
881
|
-
Started GET "/auth/gds/callback?code=
|
876
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2016-12-20 12:14:02 +0000
|
877
|
+
Started GET "/auth/gds/callback?code=f61dc7b0678d75071939e02a36a56ffe8cedfb1080fdbf3ebed8f6457c149323&state=652b84b2aec0cb3cfeaeacec285ccabd80e515f432676b10" for 127.0.0.1 at 2016-12-20 12:14:02 +0000
|
882
878
|
Processing by AuthenticationsController#callback as HTML
|
883
|
-
Parameters: {"code"=>"
|
879
|
+
Parameters: {"code"=>"f61dc7b0678d75071939e02a36a56ffe8cedfb1080fdbf3ebed8f6457c149323", "state"=>"652b84b2aec0cb3cfeaeacec285ccabd80e515f432676b10"}
|
884
880
|
Authenticating with gds_sso strategy
|
885
|
-
[1m[36mUser Load (0.
|
881
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
886
882
|
[1m[35m (0.1ms)[0m begin transaction
|
887
883
|
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
888
884
|
[1m[35m (0.1ms)[0m begin transaction
|
889
885
|
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
890
|
-
Redirected to http://www.example-client.com/
|
891
|
-
Completed 302 Found in
|
892
|
-
Started GET "/
|
893
|
-
Processing by ExampleController#
|
886
|
+
Redirected to http://www.example-client.com/restricted
|
887
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
888
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-12-20 12:14:02 +0000
|
889
|
+
Processing by ExampleController#restricted as HTML
|
894
890
|
[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"]]
|
895
891
|
Rendered text template (0.0ms)
|
896
892
|
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
897
|
-
Started GET "/
|
898
|
-
Processing by ExampleController#
|
893
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-12-20 12:14:02 +0000
|
894
|
+
Processing by ExampleController#restricted as HTML
|
899
895
|
Authenticating with gds_sso strategy
|
900
896
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
901
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2016-
|
902
|
-
Started GET "/auth/gds/callback?code=
|
897
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2016-12-20 12:14:02 +0000
|
898
|
+
Started GET "/auth/gds/callback?code=ddb00bddd9c83f7f2fef1957866c328b0fbc5497ed58aff9cf450dde57cfd78d&state=37b1f68c09a1a2ab6d6c363cb0bebe09a9bf02f3ed77fc79" for 127.0.0.1 at 2016-12-20 12:14:02 +0000
|
903
899
|
Processing by AuthenticationsController#callback as HTML
|
904
|
-
Parameters: {"code"=>"
|
900
|
+
Parameters: {"code"=>"ddb00bddd9c83f7f2fef1957866c328b0fbc5497ed58aff9cf450dde57cfd78d", "state"=>"37b1f68c09a1a2ab6d6c363cb0bebe09a9bf02f3ed77fc79"}
|
905
901
|
Authenticating with gds_sso strategy
|
906
902
|
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
907
903
|
[1m[35m (0.1ms)[0m begin transaction
|
908
904
|
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
909
905
|
[1m[35m (0.1ms)[0m begin transaction
|
910
906
|
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
911
|
-
Redirected to http://www.example-client.com/
|
907
|
+
Redirected to http://www.example-client.com/restricted
|
912
908
|
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
913
|
-
Started GET "/
|
914
|
-
Processing by ExampleController#
|
909
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-12-20 12:14:02 +0000
|
910
|
+
Processing by ExampleController#restricted as HTML
|
915
911
|
[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"]]
|
916
912
|
Rendered text template (0.0ms)
|
917
|
-
Completed 200 OK in
|
918
|
-
Started GET "/
|
913
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
914
|
+
Started GET "/" for 127.0.0.1 at 2016-12-20 12:14:02 +0000
|
915
|
+
Processing by ExampleController#index as HTML
|
916
|
+
Rendered text template (0.0ms)
|
917
|
+
Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
918
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-12-20 12:14:02 +0000
|
919
919
|
Processing by ExampleController#restricted as HTML
|
920
920
|
Authenticating with gds_sso strategy
|
921
921
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
922
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2016-
|
923
|
-
Started GET "/auth/gds/callback?code=
|
922
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2016-12-20 12:14:02 +0000
|
923
|
+
Started GET "/auth/gds/callback?code=5d782eb8f92316cc6e1c2aa278e5bdb71e9c1fb7aa5d295ccf21198682694534&state=d3cfca2752cbf51b944c5e70e1738df35602e8c3f640ab23" for 127.0.0.1 at 2016-12-20 12:14:03 +0000
|
924
924
|
Processing by AuthenticationsController#callback as HTML
|
925
|
-
Parameters: {"code"=>"
|
925
|
+
Parameters: {"code"=>"5d782eb8f92316cc6e1c2aa278e5bdb71e9c1fb7aa5d295ccf21198682694534", "state"=>"d3cfca2752cbf51b944c5e70e1738df35602e8c3f640ab23"}
|
926
926
|
Authenticating with gds_sso strategy
|
927
927
|
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
928
928
|
[1m[35m (0.1ms)[0m begin transaction
|
@@ -931,40 +931,40 @@ Authenticating with gds_sso strategy
|
|
931
931
|
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
932
932
|
Redirected to http://www.example-client.com/restricted
|
933
933
|
Completed 302 Found in 5ms (ActiveRecord: 0.4ms)
|
934
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
934
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-12-20 12:14:03 +0000
|
935
935
|
Processing by ExampleController#restricted as HTML
|
936
936
|
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
937
937
|
Rendered text template (0.0ms)
|
938
|
-
Completed 200 OK in 2ms (Views: 0.
|
939
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
938
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
939
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-12-21 08:19:03 +0000
|
940
940
|
Processing by ExampleController#restricted as HTML
|
941
941
|
Authenticating with gds_sso strategy
|
942
942
|
Completed in 1ms (ActiveRecord: 0.0ms)
|
943
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2016-
|
944
|
-
Started GET "/auth/gds/callback?code=
|
943
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2016-12-21 08:19:03 +0000
|
944
|
+
Started GET "/auth/gds/callback?code=1b136b2495606a2bf087a88aaf75a16938bc4c46478aaaf986b56dd879ee0741&state=b0bd5ae90cd2d6153d28844ec95ab09ff0f0a6872cec177b" for 127.0.0.1 at 2016-12-21 08:19:03 +0000
|
945
945
|
Processing by AuthenticationsController#callback as HTML
|
946
|
-
Parameters: {"code"=>"
|
946
|
+
Parameters: {"code"=>"1b136b2495606a2bf087a88aaf75a16938bc4c46478aaaf986b56dd879ee0741", "state"=>"b0bd5ae90cd2d6153d28844ec95ab09ff0f0a6872cec177b"}
|
947
947
|
Authenticating with gds_sso strategy
|
948
948
|
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
949
949
|
[1m[35m (0.1ms)[0m begin transaction
|
950
|
-
[1m[36m (0.
|
950
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
951
951
|
[1m[35m (0.1ms)[0m begin transaction
|
952
952
|
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
953
953
|
Redirected to http://www.example-client.com/restricted
|
954
|
-
Completed 302 Found in 5ms (ActiveRecord: 0.
|
955
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
954
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.5ms)
|
955
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-12-21 08:19:03 +0000
|
956
956
|
Processing by ExampleController#restricted as HTML
|
957
957
|
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
958
|
-
Rendered text template (0.
|
959
|
-
Completed 200 OK in 2ms (Views: 0.
|
960
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
958
|
+
Rendered text template (0.0ms)
|
959
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
960
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-12-20 12:14:03 +0000
|
961
961
|
Processing by ExampleController#restricted as HTML
|
962
962
|
Authenticating with gds_sso strategy
|
963
963
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
964
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2016-
|
965
|
-
Started GET "/auth/gds/callback?code=
|
964
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2016-12-20 12:14:03 +0000
|
965
|
+
Started GET "/auth/gds/callback?code=03db107ba23a498b84abac261855f02c826e2cc5911ac3472d5d24adf6735430&state=cce2324be8ea1af35578a28cbab9fc3f7ff1ba2058e318b2" for 127.0.0.1 at 2016-12-20 12:14:03 +0000
|
966
966
|
Processing by AuthenticationsController#callback as HTML
|
967
|
-
Parameters: {"code"=>"
|
967
|
+
Parameters: {"code"=>"03db107ba23a498b84abac261855f02c826e2cc5911ac3472d5d24adf6735430", "state"=>"cce2324be8ea1af35578a28cbab9fc3f7ff1ba2058e318b2"}
|
968
968
|
Authenticating with gds_sso strategy
|
969
969
|
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
970
970
|
[1m[35m (0.1ms)[0m begin transaction
|
@@ -973,100 +973,97 @@ Authenticating with gds_sso strategy
|
|
973
973
|
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
974
974
|
Redirected to http://www.example-client.com/restricted
|
975
975
|
Completed 302 Found in 5ms (ActiveRecord: 0.4ms)
|
976
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
976
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-12-20 12:14:03 +0000
|
977
977
|
Processing by ExampleController#restricted as HTML
|
978
978
|
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
979
979
|
Rendered text template (0.0ms)
|
980
|
-
Completed 200 OK in
|
981
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
980
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
981
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-12-21 08:09:03 +0000
|
982
982
|
Processing by ExampleController#restricted as HTML
|
983
|
-
|
984
|
-
|
985
|
-
|
986
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
983
|
+
[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"]]
|
984
|
+
Rendered text template (0.1ms)
|
985
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
986
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-12-20 12:14:03 +0000
|
987
987
|
Processing by ExampleController#restricted as HTML
|
988
988
|
Authenticating with gds_sso strategy
|
989
989
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
990
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2016-
|
991
|
-
Started GET "/auth/gds/callback?code=
|
990
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2016-12-20 12:14:03 +0000
|
991
|
+
Started GET "/auth/gds/callback?code=339c75ffaa47170c9f408b88132d9d4f2b5d87690c36819a1216662484ae81d0&state=4fbd0c12c577843925499060671b572d7f4e49879704627a" for 127.0.0.1 at 2016-12-20 12:14:03 +0000
|
992
992
|
Processing by AuthenticationsController#callback as HTML
|
993
|
-
Parameters: {"code"=>"
|
993
|
+
Parameters: {"code"=>"339c75ffaa47170c9f408b88132d9d4f2b5d87690c36819a1216662484ae81d0", "state"=>"4fbd0c12c577843925499060671b572d7f4e49879704627a"}
|
994
994
|
Authenticating with gds_sso strategy
|
995
|
-
[1m[
|
996
|
-
[1m[
|
997
|
-
[1m[
|
998
|
-
[1m[
|
999
|
-
[1m[
|
995
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
996
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
997
|
+
[1m[35m (0.1ms)[0m commit transaction
|
998
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
999
|
+
[1m[35m (0.1ms)[0m commit transaction
|
1000
1000
|
Redirected to http://www.example-client.com/restricted
|
1001
1001
|
Completed 302 Found in 5ms (ActiveRecord: 0.4ms)
|
1002
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
1003
|
-
Processing by ExampleController#restricted as HTML
|
1004
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
1005
|
-
Rendered text template (0.0ms)
|
1006
|
-
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.1ms)
|
1007
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-11-26 09:39:02 +0000
|
1002
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-12-20 12:14:03 +0000
|
1008
1003
|
Processing by ExampleController#restricted as HTML
|
1009
1004
|
[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"]]
|
1010
1005
|
Rendered text template (0.0ms)
|
1011
1006
|
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
1012
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
1007
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-12-21 08:19:03 +0000
|
1008
|
+
Processing by ExampleController#restricted as HTML
|
1009
|
+
Authenticating with gds_sso strategy
|
1010
|
+
Completed in 1ms (ActiveRecord: 0.0ms)
|
1011
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2016-12-21 08:19:03 +0000
|
1012
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-12-20 12:14:03 +0000
|
1013
1013
|
Processing by ExampleController#restricted as HTML
|
1014
1014
|
Authenticating with gds_sso strategy
|
1015
1015
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1016
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2016-
|
1017
|
-
Started GET "/auth/gds/callback?code=
|
1016
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2016-12-20 12:14:03 +0000
|
1017
|
+
Started GET "/auth/gds/callback?code=45976954b052808db424af8655041bfd5636b8ab31e88300a2bfc6e4af321335&state=e9b07ec972a760de7b8eae193c3258cb02d35379ba595005" for 127.0.0.1 at 2016-12-20 12:14:03 +0000
|
1018
1018
|
Processing by AuthenticationsController#callback as HTML
|
1019
|
-
Parameters: {"code"=>"
|
1019
|
+
Parameters: {"code"=>"45976954b052808db424af8655041bfd5636b8ab31e88300a2bfc6e4af321335", "state"=>"e9b07ec972a760de7b8eae193c3258cb02d35379ba595005"}
|
1020
1020
|
Authenticating with gds_sso strategy
|
1021
|
-
[1m[35mUser Load (0.
|
1021
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
1022
1022
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1023
1023
|
[1m[35m (0.1ms)[0m commit transaction
|
1024
1024
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1025
1025
|
[1m[35m (0.1ms)[0m commit transaction
|
1026
1026
|
Redirected to http://www.example-client.com/restricted
|
1027
1027
|
Completed 302 Found in 5ms (ActiveRecord: 0.4ms)
|
1028
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
1028
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-12-20 12:14:04 +0000
|
1029
1029
|
Processing by ExampleController#restricted as HTML
|
1030
1030
|
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
1031
1031
|
Rendered text template (0.0ms)
|
1032
|
-
Completed 200 OK in
|
1032
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
1033
1033
|
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "test@example-client.com"]]
|
1034
1034
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1035
1035
|
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 12]]
|
1036
|
-
[1m[36m (
|
1037
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
1036
|
+
[1m[36m (283.7ms)[0m [1mcommit transaction[0m
|
1037
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-12-20 12:14:04 +0000
|
1038
1038
|
Processing by ExampleController#restricted as HTML
|
1039
1039
|
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
1040
1040
|
Authenticating with gds_sso strategy
|
1041
|
-
Completed in
|
1042
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2016-
|
1043
|
-
Started GET "/auth/gds/callback?code=
|
1041
|
+
Completed in 1ms (ActiveRecord: 0.1ms)
|
1042
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2016-12-20 12:14:04 +0000
|
1043
|
+
Started GET "/auth/gds/callback?code=e8aaee5efec2952249ba030aa7f13a3fdefe8310081596ef31995a008cc1e839&state=136e87f9ea15c62569bded7132587fea1c23d5c22c26a2d7" for 127.0.0.1 at 2016-12-20 12:14:04 +0000
|
1044
1044
|
Processing by AuthenticationsController#callback as HTML
|
1045
|
-
Parameters: {"code"=>"
|
1045
|
+
Parameters: {"code"=>"e8aaee5efec2952249ba030aa7f13a3fdefe8310081596ef31995a008cc1e839", "state"=>"136e87f9ea15c62569bded7132587fea1c23d5c22c26a2d7"}
|
1046
1046
|
Authenticating with gds_sso strategy
|
1047
|
-
[1m[36mUser Load (0.
|
1047
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
1048
1048
|
[1m[35m (0.1ms)[0m begin transaction
|
1049
1049
|
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
1050
1050
|
[1m[35m (0.1ms)[0m begin transaction
|
1051
|
-
[1m[36mSQL (0.
|
1052
|
-
[1m[35m (
|
1051
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id", 12]]
|
1052
|
+
[1m[35m (109.5ms)[0m commit transaction
|
1053
1053
|
Redirected to http://www.example-client.com/restricted
|
1054
|
-
Completed 302 Found in
|
1055
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
1054
|
+
Completed 302 Found in 115ms (ActiveRecord: 110.0ms)
|
1055
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-12-20 12:14:04 +0000
|
1056
1056
|
Processing by ExampleController#restricted as HTML
|
1057
1057
|
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
1058
1058
|
Rendered text template (0.0ms)
|
1059
1059
|
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
1060
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
1060
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-12-20 12:14:04 +0000
|
1061
1061
|
Processing by ExampleController#restricted as JSON
|
1062
|
-
|
1063
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-11-25 13:44:03 +0000
|
1064
|
-
Processing by ExampleController#restricted as JSON
|
1065
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
1062
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
1066
1063
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1067
1064
|
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "disabled" = ? WHERE "users"."id" = ? [["disabled", nil], ["id", 12]]
|
1068
|
-
[1m[36m (
|
1069
|
-
[1m[35mUser Load (0.
|
1065
|
+
[1m[36m (44.2ms)[0m [1mcommit transaction[0m
|
1066
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
1070
1067
|
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
1071
1068
|
[1m[35m (0.1ms)[0m commit transaction
|
1072
1069
|
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
@@ -1078,11 +1075,8 @@ Processing by ExampleController#restricted as JSON
|
|
1078
1075
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1079
1076
|
[1m[35m (0.1ms)[0m commit transaction
|
1080
1077
|
Rendered text template (0.0ms)
|
1081
|
-
Completed 200 OK in
|
1082
|
-
Started GET "/
|
1083
|
-
Processing by ExampleController#restricted as JSON
|
1084
|
-
Completed in 16ms (ActiveRecord: 0.0ms)
|
1085
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2016-11-25 13:44:03 +0000
|
1078
|
+
Completed 200 OK in 118ms (Views: 0.3ms | ActiveRecord: 45.6ms)
|
1079
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2016-12-20 12:14:04 +0000
|
1086
1080
|
Processing by ExampleController#this_requires_signin_permission as JSON
|
1087
1081
|
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
1088
1082
|
[1m[35m (0.1ms)[0m begin transaction
|
@@ -1099,372 +1093,378 @@ Processing by ExampleController#this_requires_signin_permission as JSON
|
|
1099
1093
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1100
1094
|
[1m[35m (0.1ms)[0m commit transaction
|
1101
1095
|
Rendered text template (0.0ms)
|
1102
|
-
Completed 200 OK in
|
1103
|
-
|
1104
|
-
|
1096
|
+
Completed 200 OK in 70ms (Views: 0.4ms | ActiveRecord: 1.0ms)
|
1097
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-12-20 12:14:04 +0000
|
1098
|
+
Processing by ExampleController#restricted as JSON
|
1099
|
+
Completed in 16ms (ActiveRecord: 0.0ms)
|
1100
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-12-20 12:14:04 +0000
|
1101
|
+
Processing by ExampleController#restricted as JSON
|
1102
|
+
Completed in 16ms (ActiveRecord: 0.0ms)
|
1103
|
+
[1m[35m (62.8ms)[0m [1m[35mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "uid" varchar NOT NULL, "email" varchar NOT NULL, "remotely_signed_out" boolean, "permissions" text, "organisation_slug" varchar, "organisation_content_id" varchar, "disabled" boolean DEFAULT 'f')[0m
|
1104
|
+
[1m[35m (26.6ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
1105
1105
|
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", :environment], ["LIMIT", 1]]
|
1106
1106
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1107
|
-
[1m[35mSQL (0.
|
1108
|
-
[1m[35m (
|
1109
|
-
[1m[35m (
|
1110
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.
|
1107
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", 2016-12-20 12:14:08 UTC], ["updated_at", 2016-12-20 12:14:08 UTC]]
|
1108
|
+
[1m[35m (48.2ms)[0m [1m[36mcommit transaction[0m
|
1109
|
+
[1m[35m (22.5ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
1110
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", :environment], ["LIMIT", 1]]
|
1111
1111
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1112
1112
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1113
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-11-25 13:44:08 +0000
|
1114
|
-
Processing by ExampleController#restricted as JSON
|
1115
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1116
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["email", "test@example-client.com"], ["LIMIT", 1]]
|
1117
1113
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1118
|
-
[1m[35mSQL (0.
|
1119
|
-
[1m[35m (
|
1120
|
-
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1114
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d32278"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1115
|
+
[1m[35m (16.2ms)[0m [1m[36mcommit transaction[0m
|
1121
1116
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1122
|
-
[1m[
|
1123
|
-
[1m[
|
1117
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d38130"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1118
|
+
[1m[35m (20.4ms)[0m [1m[36mcommit transaction[0m
|
1119
|
+
Processing by Api::UserController#update as HTML
|
1120
|
+
Parameters: {"uid"=>"a1s2d32278"}
|
1121
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d32278"], ["LIMIT", 1]]
|
1124
1122
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1125
|
-
[1m[
|
1126
|
-
[1m[
|
1123
|
+
[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", 1]]
|
1124
|
+
[1m[35m (15.5ms)[0m [1m[36mcommit transaction[0m
|
1125
|
+
Completed 200 OK in 22ms (ActiveRecord: 16.0ms)
|
1126
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
1127
1127
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1128
|
-
[1m[
|
1128
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d36805"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1129
|
+
[1m[35m (17.4ms)[0m [1m[36mcommit transaction[0m
|
1129
1130
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1130
|
-
[1m[35mSQL (0.2ms)[0m [1m[
|
1131
|
-
[1m[35m (
|
1132
|
-
|
1133
|
-
|
1134
|
-
|
1135
|
-
|
1136
|
-
|
1137
|
-
Completed in 25ms (ActiveRecord: 0.0ms)
|
1138
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2016-11-25 13:44:08 +0000
|
1139
|
-
Processing by ExampleController#this_requires_signin_permission as JSON
|
1140
|
-
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1131
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d3981"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1132
|
+
[1m[35m (14.4ms)[0m [1m[36mcommit transaction[0m
|
1133
|
+
Processing by Api::UserController#update as HTML
|
1134
|
+
Parameters: {"uid"=>"a1s2d36805"}
|
1135
|
+
Rendering /home/jenkins/workspace/govuk_gds_sso/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
1136
|
+
Rendered /home/jenkins/workspace/govuk_gds_sso/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.3ms)
|
1137
|
+
Completed 403 Forbidden in 9ms (Views: 8.6ms | ActiveRecord: 0.0ms)
|
1141
1138
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1142
|
-
[1m[
|
1143
|
-
[1m[
|
1139
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d36327"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1140
|
+
[1m[35m (15.0ms)[0m [1m[36mcommit transaction[0m
|
1144
1141
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1145
|
-
[1m[
|
1146
|
-
[1m[
|
1142
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d31900"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1143
|
+
[1m[35m (10.8ms)[0m [1m[36mcommit transaction[0m
|
1144
|
+
Processing by Api::UserController#reauth as HTML
|
1145
|
+
Parameters: {"uid"=>"a1s2d36327"}
|
1146
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d36327"], ["LIMIT", 1]]
|
1147
1147
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1148
|
-
[1m[
|
1149
|
-
[1m[
|
1148
|
+
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", true], ["id", 5]]
|
1149
|
+
[1m[35m (11.5ms)[0m [1m[36mcommit transaction[0m
|
1150
|
+
Completed 200 OK in 15ms (ActiveRecord: 11.8ms)
|
1151
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 5], ["LIMIT", 1]]
|
1152
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1153
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d31201"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1154
|
+
[1m[35m (16.8ms)[0m [1m[36mcommit transaction[0m
|
1155
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1156
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d35356"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1157
|
+
[1m[35m (55.4ms)[0m [1m[36mcommit transaction[0m
|
1158
|
+
Processing by Api::UserController#reauth as HTML
|
1159
|
+
Parameters: {"uid"=>"nonexistent-user"}
|
1160
|
+
[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]]
|
1161
|
+
Completed 200 OK in 1ms (ActiveRecord: 0.1ms)
|
1162
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1163
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d35825"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1164
|
+
[1m[35m (53.0ms)[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", "SSO Push user"], ["uid", "a1s2d33840"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1167
|
+
[1m[35m (12.5ms)[0m [1m[36mcommit transaction[0m
|
1168
|
+
Processing by Api::UserController#reauth as HTML
|
1169
|
+
Parameters: {"uid"=>"a1s2d35825"}
|
1170
|
+
Rendering /home/jenkins/workspace/govuk_gds_sso/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
1171
|
+
Rendered /home/jenkins/workspace/govuk_gds_sso/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.0ms)
|
1172
|
+
Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
|
1173
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "asd"], ["LIMIT", 1]]
|
1174
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["email", "user@example.com"], ["LIMIT", 1]]
|
1175
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1176
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions", "organisation_slug", "organisation_content_id", "disabled") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["name", "A Name"], ["uid", "asd"], ["email", "user@example.com"], ["permissions", "---\n- signin\n"], ["organisation_slug", "hmrc"], ["organisation_content_id", "67a2b78d-eee3-45b3-80e2-792e7f71cecc"], ["disabled", nil]]
|
1177
|
+
[1m[35m (34.1ms)[0m [1m[36mcommit transaction[0m
|
1178
|
+
[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]]
|
1150
1179
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1151
1180
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1152
|
-
|
1153
|
-
Rendered text template (0.0ms)
|
1154
|
-
Completed 200 OK in 91ms (Views: 0.4ms | ActiveRecord: 1.0ms)
|
1155
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-11-25 13:44:08 +0000
|
1156
|
-
Processing by ExampleController#restricted as JSON
|
1157
|
-
Completed in 18ms (ActiveRecord: 0.0ms)
|
1158
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-11-25 13:44:08 +0000
|
1181
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-12-20 12:14:09 +0000
|
1159
1182
|
Processing by ExampleController#restricted as HTML
|
1160
1183
|
Authenticating with gds_sso strategy
|
1161
|
-
Completed in
|
1162
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2016-
|
1163
|
-
Started GET "/auth/gds/callback?code=
|
1184
|
+
Completed in 8ms (ActiveRecord: 0.0ms)
|
1185
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2016-12-20 12:14:09 +0000
|
1186
|
+
Started GET "/auth/gds/callback?code=d8dc5f3f1e4f979188078210eb672cc65e65886a1911d3a04e007b6920639aae&state=aacd9976277328788208a01786c2d724c983a1af89b3428c" for 127.0.0.1 at 2016-12-20 12:14:09 +0000
|
1164
1187
|
Processing by AuthenticationsController#callback as HTML
|
1165
|
-
Parameters: {"code"=>"
|
1188
|
+
Parameters: {"code"=>"d8dc5f3f1e4f979188078210eb672cc65e65886a1911d3a04e007b6920639aae", "state"=>"aacd9976277328788208a01786c2d724c983a1af89b3428c"}
|
1166
1189
|
Authenticating with gds_sso strategy
|
1167
|
-
[1m[36mUser Load (0.
|
1190
|
+
[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]]
|
1191
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["email", "test@example-client.com"], ["LIMIT", 1]]
|
1168
1192
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1169
|
-
[1m[35mSQL (0.2ms)[0m [1m[
|
1170
|
-
[1m[35m (
|
1193
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Test User"], ["uid", "integration-uid"], ["email", "test@example-client.com"], ["permissions", "---\n- signin\n"]]
|
1194
|
+
[1m[35m (41.4ms)[0m [1m[36mcommit transaction[0m
|
1195
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1196
|
+
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", false], ["id", 12]]
|
1197
|
+
[1m[35m (32.3ms)[0m [1m[36mcommit transaction[0m
|
1171
1198
|
Redirected to http://www.example-client.com/restricted
|
1172
|
-
Completed 302 Found in
|
1173
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
1199
|
+
Completed 302 Found in 81ms (ActiveRecord: 74.8ms)
|
1200
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-12-20 12:14:09 +0000
|
1174
1201
|
Processing by ExampleController#restricted as HTML
|
1175
1202
|
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", false], ["LIMIT", 1]]
|
1176
1203
|
Rendering text template
|
1177
1204
|
Rendered text template (0.0ms)
|
1178
|
-
Completed 200 OK in 3ms (Views:
|
1179
|
-
Started GET "/
|
1180
|
-
Processing by ExampleController#
|
1205
|
+
Completed 200 OK in 3ms (Views: 1.4ms | ActiveRecord: 0.2ms)
|
1206
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-12-20 12:14:09 +0000
|
1207
|
+
Processing by ExampleController#restricted as HTML
|
1181
1208
|
Authenticating with gds_sso strategy
|
1182
1209
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1183
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2016-
|
1184
|
-
Started GET "/auth/gds/callback?code=
|
1210
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2016-12-20 12:14:09 +0000
|
1211
|
+
Started GET "/auth/gds/callback?code=6454c026e285afaade3a0287a25f253e179535e150366a539d95c1abb56c781c&state=bd7243c7e76af115c65015bda69fe6ba81f9d5990191e936" for 127.0.0.1 at 2016-12-20 12:14:09 +0000
|
1185
1212
|
Processing by AuthenticationsController#callback as HTML
|
1186
|
-
Parameters: {"code"=>"
|
1213
|
+
Parameters: {"code"=>"6454c026e285afaade3a0287a25f253e179535e150366a539d95c1abb56c781c", "state"=>"bd7243c7e76af115c65015bda69fe6ba81f9d5990191e936"}
|
1187
1214
|
Authenticating with gds_sso strategy
|
1188
1215
|
[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]]
|
1189
1216
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1190
1217
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1191
|
-
Redirected to http://www.example-client.com/
|
1218
|
+
Redirected to http://www.example-client.com/restricted
|
1192
1219
|
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
1193
|
-
Started GET "/
|
1194
|
-
Processing by ExampleController#
|
1220
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-12-20 12:14:09 +0000
|
1221
|
+
Processing by ExampleController#restricted as HTML
|
1195
1222
|
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", false], ["LIMIT", 1]]
|
1196
1223
|
Rendering text template
|
1197
1224
|
Rendered text template (0.0ms)
|
1198
1225
|
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
1199
|
-
Started GET "/
|
1200
|
-
Processing by ExampleController#
|
1226
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-12-20 12:14:09 +0000
|
1227
|
+
Processing by ExampleController#restricted as HTML
|
1201
1228
|
Authenticating with gds_sso strategy
|
1202
1229
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1203
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2016-
|
1204
|
-
Started GET "/auth/gds/callback?code=
|
1230
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2016-12-20 12:14:09 +0000
|
1231
|
+
Started GET "/auth/gds/callback?code=80e5e5b28eee67bab0781cf4c142b6780cc1b7880cf6d51136b354cd3fb5cf9f&state=7a704ce64594ad2f0d857d02e7e650ca49316059a861cec9" for 127.0.0.1 at 2016-12-20 12:14:09 +0000
|
1205
1232
|
Processing by AuthenticationsController#callback as HTML
|
1206
|
-
Parameters: {"code"=>"
|
1233
|
+
Parameters: {"code"=>"80e5e5b28eee67bab0781cf4c142b6780cc1b7880cf6d51136b354cd3fb5cf9f", "state"=>"7a704ce64594ad2f0d857d02e7e650ca49316059a861cec9"}
|
1207
1234
|
Authenticating with gds_sso strategy
|
1208
|
-
[1m[36mUser Load (0.
|
1235
|
+
[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]]
|
1209
1236
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1210
1237
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1211
|
-
Redirected to http://www.example-client.com/
|
1238
|
+
Redirected to http://www.example-client.com/restricted
|
1212
1239
|
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
1213
|
-
Started GET "/
|
1214
|
-
Processing by ExampleController#
|
1240
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-12-20 12:14:09 +0000
|
1241
|
+
Processing by ExampleController#restricted as HTML
|
1215
1242
|
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", false], ["LIMIT", 1]]
|
1216
1243
|
Rendering text template
|
1217
1244
|
Rendered text template (0.0ms)
|
1218
1245
|
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
1219
|
-
Started GET "/
|
1220
|
-
Processing by ExampleController#
|
1246
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2016-12-20 12:14:09 +0000
|
1247
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
1221
1248
|
Authenticating with gds_sso strategy
|
1222
1249
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1223
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2016-
|
1224
|
-
Started GET "/auth/gds/callback?code=
|
1250
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2016-12-20 12:14:09 +0000
|
1251
|
+
Started GET "/auth/gds/callback?code=d67a4a1b558a511c1ad6b1f2c3812383c8cb3f0f0a26b57165027a34b7cabf66&state=015ab0b69b3f7d1ee20818ddfa8ac11a9531568e29cf0cde" for 127.0.0.1 at 2016-12-20 12:14:10 +0000
|
1225
1252
|
Processing by AuthenticationsController#callback as HTML
|
1226
|
-
Parameters: {"code"=>"
|
1253
|
+
Parameters: {"code"=>"d67a4a1b558a511c1ad6b1f2c3812383c8cb3f0f0a26b57165027a34b7cabf66", "state"=>"015ab0b69b3f7d1ee20818ddfa8ac11a9531568e29cf0cde"}
|
1227
1254
|
Authenticating with gds_sso strategy
|
1228
1255
|
[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]]
|
1229
1256
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1230
1257
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1231
|
-
Redirected to http://www.example-client.com/
|
1258
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
1232
1259
|
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
1233
|
-
Started GET "/
|
1234
|
-
Processing by ExampleController#
|
1235
|
-
[1m[36mUser Load (0.
|
1260
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2016-12-20 12:14:10 +0000
|
1261
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
1262
|
+
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", false], ["LIMIT", 1]]
|
1236
1263
|
Rendering text template
|
1237
1264
|
Rendered text template (0.0ms)
|
1238
|
-
Completed 200 OK in 2ms (Views: 0.
|
1239
|
-
Started GET "/
|
1240
|
-
Processing by ExampleController#
|
1265
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.4ms)
|
1266
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2016-12-20 12:14:10 +0000
|
1267
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
1241
1268
|
Authenticating with gds_sso strategy
|
1242
1269
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1243
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2016-
|
1244
|
-
Started GET "/auth/gds/callback?code=
|
1270
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2016-12-20 12:14:10 +0000
|
1271
|
+
Started GET "/auth/gds/callback?code=cdad962a36a08db481fe4fecede9f8cc1cad75e8b062efc1f2f9ca7d914cd492&state=7e5b155263da27fc8d73ea1f08761c51db8fb1548965f534" for 127.0.0.1 at 2016-12-20 12:14:10 +0000
|
1245
1272
|
Processing by AuthenticationsController#callback as HTML
|
1246
|
-
Parameters: {"code"=>"
|
1273
|
+
Parameters: {"code"=>"cdad962a36a08db481fe4fecede9f8cc1cad75e8b062efc1f2f9ca7d914cd492", "state"=>"7e5b155263da27fc8d73ea1f08761c51db8fb1548965f534"}
|
1247
1274
|
Authenticating with gds_sso strategy
|
1248
1275
|
[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]]
|
1249
1276
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1250
1277
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1251
|
-
Redirected to http://www.example-client.com/
|
1278
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
1252
1279
|
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
1253
|
-
Started GET "/
|
1254
|
-
Processing by ExampleController#
|
1280
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2016-12-20 12:14:10 +0000
|
1281
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
1255
1282
|
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", false], ["LIMIT", 1]]
|
1256
1283
|
Rendering text template
|
1257
1284
|
Rendered text template (0.0ms)
|
1258
1285
|
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
1259
|
-
Started GET "/" for 127.0.0.1 at 2016-
|
1286
|
+
Started GET "/" for 127.0.0.1 at 2016-12-20 12:14:10 +0000
|
1260
1287
|
Processing by ExampleController#index as HTML
|
1261
1288
|
Rendering text template
|
1262
1289
|
Rendered text template (0.0ms)
|
1263
|
-
Completed 200 OK in
|
1264
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
1290
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
1291
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-12-20 12:14:10 +0000
|
1265
1292
|
Processing by ExampleController#restricted as HTML
|
1266
1293
|
Authenticating with gds_sso strategy
|
1267
1294
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1268
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2016-
|
1269
|
-
Started GET "/auth/gds/callback?code=
|
1295
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2016-12-20 12:14:10 +0000
|
1296
|
+
Started GET "/auth/gds/callback?code=999e4432f7bc83f228510f96699d778c15f0c70804900a679decfecca294149b&state=8c12733cf664d98a06a6ff8733f940688ea9bdef5d6dfcbf" for 127.0.0.1 at 2016-12-20 12:14:10 +0000
|
1270
1297
|
Processing by AuthenticationsController#callback as HTML
|
1271
|
-
Parameters: {"code"=>"
|
1298
|
+
Parameters: {"code"=>"999e4432f7bc83f228510f96699d778c15f0c70804900a679decfecca294149b", "state"=>"8c12733cf664d98a06a6ff8733f940688ea9bdef5d6dfcbf"}
|
1272
1299
|
Authenticating with gds_sso strategy
|
1273
1300
|
[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]]
|
1274
1301
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1275
1302
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1276
1303
|
Redirected to http://www.example-client.com/restricted
|
1277
1304
|
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
1278
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
1305
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-12-20 12:14:10 +0000
|
1279
1306
|
Processing by ExampleController#restricted as HTML
|
1280
1307
|
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", false], ["LIMIT", 1]]
|
1281
1308
|
Rendering text template
|
1282
1309
|
Rendered text template (0.0ms)
|
1283
1310
|
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
1284
|
-
[1m[36mUser Load (0.
|
1311
|
+
[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]]
|
1285
1312
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1286
|
-
[1m[35mSQL (0.
|
1287
|
-
[1m[35m (
|
1288
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
1313
|
+
[1m[35mSQL (0.3ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", true], ["id", 12]]
|
1314
|
+
[1m[35m (16.3ms)[0m [1m[36mcommit transaction[0m
|
1315
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-12-20 12:14:10 +0000
|
1289
1316
|
Processing by ExampleController#restricted as HTML
|
1290
1317
|
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", false], ["LIMIT", 1]]
|
1291
1318
|
Authenticating with gds_sso strategy
|
1292
1319
|
Completed in 2ms (ActiveRecord: 0.2ms)
|
1293
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2016-
|
1294
|
-
Started GET "/auth/gds/callback?code=
|
1320
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2016-12-20 12:14:10 +0000
|
1321
|
+
Started GET "/auth/gds/callback?code=587251ab2106b620669466be04d27c6654c5e7c8d2b7c17bd1612e6f84b5edae&state=28d71131564fb6b03e614171919d5ba4d9301592c363a253" for 127.0.0.1 at 2016-12-20 12:14:10 +0000
|
1295
1322
|
Processing by AuthenticationsController#callback as HTML
|
1296
|
-
Parameters: {"code"=>"
|
1323
|
+
Parameters: {"code"=>"587251ab2106b620669466be04d27c6654c5e7c8d2b7c17bd1612e6f84b5edae", "state"=>"28d71131564fb6b03e614171919d5ba4d9301592c363a253"}
|
1297
1324
|
Authenticating with gds_sso strategy
|
1298
1325
|
[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]]
|
1299
1326
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1300
1327
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1301
1328
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1302
|
-
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", false], ["id",
|
1303
|
-
[1m[35m (
|
1329
|
+
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", false], ["id", 12]]
|
1330
|
+
[1m[35m (31.1ms)[0m [1m[36mcommit transaction[0m
|
1304
1331
|
Redirected to http://www.example-client.com/restricted
|
1305
|
-
Completed 302 Found in
|
1306
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
1332
|
+
Completed 302 Found in 36ms (ActiveRecord: 31.7ms)
|
1333
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-12-20 12:14:11 +0000
|
1307
1334
|
Processing by ExampleController#restricted as HTML
|
1308
1335
|
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", false], ["LIMIT", 1]]
|
1309
1336
|
Rendering text template
|
1310
1337
|
Rendered text template (0.0ms)
|
1311
|
-
Completed 200 OK in 2ms (Views: 0.
|
1312
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
1338
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.3ms)
|
1339
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-12-20 12:14:11 +0000
|
1313
1340
|
Processing by ExampleController#restricted as HTML
|
1314
1341
|
Authenticating with gds_sso strategy
|
1315
1342
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1316
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2016-
|
1317
|
-
Started GET "/auth/gds/callback?code=
|
1343
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2016-12-20 12:14:11 +0000
|
1344
|
+
Started GET "/auth/gds/callback?code=cfc2685d922c20e75a7f1d20b934df05f23e946e3f15ecef516f23905acedb07&state=aea99e3314d693dbb15b849aab75622a8a02c6879af64e94" for 127.0.0.1 at 2016-12-20 12:14:11 +0000
|
1318
1345
|
Processing by AuthenticationsController#callback as HTML
|
1319
|
-
Parameters: {"code"=>"
|
1346
|
+
Parameters: {"code"=>"cfc2685d922c20e75a7f1d20b934df05f23e946e3f15ecef516f23905acedb07", "state"=>"aea99e3314d693dbb15b849aab75622a8a02c6879af64e94"}
|
1320
1347
|
Authenticating with gds_sso strategy
|
1321
1348
|
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1322
1349
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1323
1350
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1324
1351
|
Redirected to http://www.example-client.com/restricted
|
1325
1352
|
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
1326
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
1353
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-12-20 12:14:11 +0000
|
1327
1354
|
Processing by ExampleController#restricted as HTML
|
1328
|
-
[1m[36mUser Load (0.
|
1355
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", false], ["LIMIT", 1]]
|
1329
1356
|
Rendering text template
|
1330
1357
|
Rendered text template (0.0ms)
|
1331
|
-
Completed 200 OK in
|
1332
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
1358
|
+
Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.3ms)
|
1359
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-12-21 08:19:11 +0000
|
1333
1360
|
Processing by ExampleController#restricted as HTML
|
1334
1361
|
Authenticating with gds_sso strategy
|
1335
1362
|
Completed in 1ms (ActiveRecord: 0.0ms)
|
1336
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2016-
|
1337
|
-
Started GET "/
|
1363
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2016-12-21 08:19:11 +0000
|
1364
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-12-20 12:14:11 +0000
|
1365
|
+
Processing by ExampleController#restricted as HTML
|
1366
|
+
Authenticating with gds_sso strategy
|
1367
|
+
Completed in 0ms (ActiveRecord: 0.0ms)
|
1368
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2016-12-20 12:14:11 +0000
|
1369
|
+
Started GET "/auth/gds/callback?code=cc8e3d9ba9293b955555a89768762ce042047954203cc212ff0c40084773b2a3&state=ea6a2412469dde362d03b75a0c8564f429102b049922442c" for 127.0.0.1 at 2016-12-20 12:14:11 +0000
|
1338
1370
|
Processing by AuthenticationsController#callback as HTML
|
1339
|
-
Parameters: {"code"=>"
|
1371
|
+
Parameters: {"code"=>"cc8e3d9ba9293b955555a89768762ce042047954203cc212ff0c40084773b2a3", "state"=>"ea6a2412469dde362d03b75a0c8564f429102b049922442c"}
|
1340
1372
|
Authenticating with gds_sso strategy
|
1341
1373
|
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1342
1374
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1343
1375
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1344
1376
|
Redirected to http://www.example-client.com/restricted
|
1345
|
-
Completed 302 Found in
|
1346
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
1377
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
1378
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-12-20 12:14:11 +0000
|
1347
1379
|
Processing by ExampleController#restricted as HTML
|
1348
1380
|
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", false], ["LIMIT", 1]]
|
1349
1381
|
Rendering text template
|
1350
1382
|
Rendered text template (0.0ms)
|
1351
1383
|
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
1352
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
1384
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-12-21 08:19:11 +0000
|
1353
1385
|
Processing by ExampleController#restricted as HTML
|
1354
1386
|
Authenticating with gds_sso strategy
|
1355
|
-
Completed in
|
1356
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2016-
|
1357
|
-
Started GET "/auth/gds/callback?code=
|
1387
|
+
Completed in 1ms (ActiveRecord: 0.0ms)
|
1388
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2016-12-21 08:19:11 +0000
|
1389
|
+
Started GET "/auth/gds/callback?code=265d8668574607c86d4d00412135ca852843df7d4f2d7763a0ab34cb035e7ec1&state=2cb9733c5a52d5b5baca3dc7d994508d94e68134fce016e0" for 127.0.0.1 at 2016-12-21 08:19:11 +0000
|
1358
1390
|
Processing by AuthenticationsController#callback as HTML
|
1359
|
-
Parameters: {"code"=>"
|
1391
|
+
Parameters: {"code"=>"265d8668574607c86d4d00412135ca852843df7d4f2d7763a0ab34cb035e7ec1", "state"=>"2cb9733c5a52d5b5baca3dc7d994508d94e68134fce016e0"}
|
1360
1392
|
Authenticating with gds_sso strategy
|
1361
|
-
[1m[36mUser Load (0.
|
1393
|
+
[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]]
|
1362
1394
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1363
1395
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1364
1396
|
Redirected to http://www.example-client.com/restricted
|
1365
1397
|
Completed 302 Found in 4ms (ActiveRecord: 0.5ms)
|
1366
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
1398
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-12-21 08:19:11 +0000
|
1367
1399
|
Processing by ExampleController#restricted as HTML
|
1368
1400
|
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", false], ["LIMIT", 1]]
|
1369
1401
|
Rendering text template
|
1370
1402
|
Rendered text template (0.0ms)
|
1371
1403
|
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.3ms)
|
1372
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
1373
|
-
Processing by ExampleController#restricted as HTML
|
1374
|
-
Authenticating with gds_sso strategy
|
1375
|
-
Completed in 1ms (ActiveRecord: 0.0ms)
|
1376
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2016-11-26 09:49:11 +0000
|
1377
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-11-25 13:44:11 +0000
|
1404
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-12-20 12:14:11 +0000
|
1378
1405
|
Processing by ExampleController#restricted as HTML
|
1379
1406
|
Authenticating with gds_sso strategy
|
1380
1407
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1381
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2016-
|
1382
|
-
Started GET "/auth/gds/callback?code=
|
1408
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2016-12-20 12:14:11 +0000
|
1409
|
+
Started GET "/auth/gds/callback?code=31e8519894ba3863039ba3f1e53d8fc6af605386299e4dd3df858f748027c413&state=0d3dfd7f5d02df402964f955d6e1556024c3c1a61076779d" for 127.0.0.1 at 2016-12-20 12:14:11 +0000
|
1383
1410
|
Processing by AuthenticationsController#callback as HTML
|
1384
|
-
Parameters: {"code"=>"
|
1411
|
+
Parameters: {"code"=>"31e8519894ba3863039ba3f1e53d8fc6af605386299e4dd3df858f748027c413", "state"=>"0d3dfd7f5d02df402964f955d6e1556024c3c1a61076779d"}
|
1385
1412
|
Authenticating with gds_sso strategy
|
1386
1413
|
[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]]
|
1387
1414
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1388
1415
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1389
1416
|
Redirected to http://www.example-client.com/restricted
|
1390
1417
|
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
1391
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
1418
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-12-20 12:14:11 +0000
|
1392
1419
|
Processing by ExampleController#restricted as HTML
|
1393
1420
|
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", false], ["LIMIT", 1]]
|
1394
1421
|
Rendering text template
|
1395
1422
|
Rendered text template (0.0ms)
|
1396
1423
|
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
1397
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-
|
1424
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-12-21 08:09:11 +0000
|
1398
1425
|
Processing by ExampleController#restricted as HTML
|
1399
|
-
[1m[36mUser Load (0.
|
1426
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", false], ["LIMIT", 1]]
|
1400
1427
|
Rendering text template
|
1401
1428
|
Rendered text template (0.0ms)
|
1402
|
-
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.
|
1403
|
-
|
1404
|
-
|
1405
|
-
|
1406
|
-
|
1407
|
-
|
1408
|
-
[1m[
|
1409
|
-
Processing by Api::UserController#update as HTML
|
1410
|
-
Parameters: {"uid"=>"a1s2d39"}
|
1411
|
-
Rendering /home/jenkins/workspace/govuk_gds_sso/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
1412
|
-
Rendered /home/jenkins/workspace/govuk_gds_sso/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.3ms)
|
1413
|
-
Completed 403 Forbidden in 8ms (Views: 6.9ms | ActiveRecord: 0.0ms)
|
1414
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1415
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d36889"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1416
|
-
[1m[35m (87.2ms)[0m [1m[36mcommit transaction[0m
|
1417
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1418
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d31361"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1419
|
-
[1m[35m (83.9ms)[0m [1m[36mcommit transaction[0m
|
1420
|
-
Processing by Api::UserController#update as HTML
|
1421
|
-
Parameters: {"uid"=>"a1s2d36889"}
|
1422
|
-
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d36889"], ["LIMIT", 1]]
|
1423
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1424
|
-
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "users" SET "email" = ?, "name" = ?, "permissions" = ?, "organisation_slug" = ?, "organisation_content_id" = ? WHERE "users"."id" = ?[0m [["email", "user@domain.com"], ["name", "Joshua Marshall"], ["permissions", "---\n- signin\n- new permission\n"], ["organisation_slug", "justice-league"], ["organisation_content_id", "aae1319e-5788-4677-998c-f1a53af528d0"], ["id", 4]]
|
1425
|
-
[1m[35m (70.7ms)[0m [1m[36mcommit transaction[0m
|
1426
|
-
Completed 200 OK in 76ms (ActiveRecord: 71.2ms)
|
1427
|
-
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 4], ["LIMIT", 1]]
|
1428
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1429
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d34414"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1430
|
-
[1m[35m (100.0ms)[0m [1m[36mcommit transaction[0m
|
1429
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.3ms)
|
1430
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-12-20 12:14:11 +0000
|
1431
|
+
Processing by ExampleController#restricted as JSON
|
1432
|
+
Completed in 20ms (ActiveRecord: 0.0ms)
|
1433
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2016-12-20 12:14:12 +0000
|
1434
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
1435
|
+
[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]]
|
1431
1436
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1432
|
-
[1m[35mSQL (0.2ms)[0m [1m[
|
1433
|
-
[1m[35m (
|
1434
|
-
|
1435
|
-
Parameters: {"uid"=>"a1s2d34414"}
|
1436
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d34414"], ["LIMIT", 1]]
|
1437
|
+
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "users" SET "disabled" = ? WHERE "users"."id" = ?[0m [["disabled", nil], ["id", 12]]
|
1438
|
+
[1m[35m (14.7ms)[0m [1m[36mcommit transaction[0m
|
1439
|
+
[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]]
|
1437
1440
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1438
|
-
[1m[
|
1439
|
-
[1m[
|
1440
|
-
Completed 200 OK in 169ms (ActiveRecord: 165.5ms)
|
1441
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 6], ["LIMIT", 1]]
|
1441
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1442
|
+
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1442
1443
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1443
|
-
[1m[
|
1444
|
-
[1m[
|
1444
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1445
|
+
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1445
1446
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1446
|
-
[1m[
|
1447
|
-
|
1448
|
-
|
1449
|
-
|
1450
|
-
|
1451
|
-
|
1447
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1448
|
+
Rendering text template
|
1449
|
+
Rendered text template (0.0ms)
|
1450
|
+
Completed 200 OK in 95ms (Views: 0.4ms | ActiveRecord: 16.0ms)
|
1451
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-12-20 12:14:12 +0000
|
1452
|
+
Processing by ExampleController#restricted as JSON
|
1453
|
+
[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]]
|
1452
1454
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1453
|
-
[1m[
|
1454
|
-
[1m[
|
1455
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1456
|
+
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1455
1457
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1456
|
-
[1m[
|
1457
|
-
[1m[
|
1458
|
-
Processing by Api::UserController#reauth as HTML
|
1459
|
-
Parameters: {"uid"=>"a1s2d33449"}
|
1460
|
-
Rendering /home/jenkins/workspace/govuk_gds_sso/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
1461
|
-
Rendered /home/jenkins/workspace/govuk_gds_sso/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.1ms)
|
1462
|
-
Completed 403 Forbidden in 2ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
1463
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "asd"], ["LIMIT", 1]]
|
1464
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["email", "user@example.com"], ["LIMIT", 1]]
|
1458
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1459
|
+
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1465
1460
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1466
|
-
[1m[
|
1467
|
-
[1m[
|
1468
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "asd"], ["LIMIT", 1]]
|
1461
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1462
|
+
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1469
1463
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1470
|
-
[1m[35m (0.
|
1464
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1465
|
+
Rendering text template
|
1466
|
+
Rendered text template (0.0ms)
|
1467
|
+
Completed 200 OK in 91ms (Views: 0.5ms | ActiveRecord: 1.0ms)
|
1468
|
+
Started GET "/restricted" for 127.0.0.1 at 2016-12-20 12:14:12 +0000
|
1469
|
+
Processing by ExampleController#restricted as JSON
|
1470
|
+
Completed in 21ms (ActiveRecord: 0.0ms)
|